hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm64/boot/dts/rockchip/rk3588-vehicle-evb-maxim-max96722-dphy3.dtsi
....@@ -12,6 +12,42 @@
1212 clock-frequency = <25000000>;
1313 clock-output-names = "max96722-dphy3-osc0";
1414 };
15
+
16
+ max96722_dphy3_vcc1v2: max96722-dphy3-vcc1v2 {
17
+ compatible = "regulator-fixed";
18
+ regulator-name = "max96722_dphy3_vcc1v2";
19
+ regulator-boot-on;
20
+ regulator-always-on;
21
+ regulator-min-microvolt = <1200000>;
22
+ regulator-max-microvolt = <1200000>;
23
+ startup-delay-us = <850>;
24
+ vin-supply = <&vcc5v0_sys>;
25
+ };
26
+
27
+ max96722_dphy3_vcc1v8: max96722-dphy3-vcc1v8 {
28
+ compatible = "regulator-fixed";
29
+ regulator-name = "max96722_dphy3_vcc1v8";
30
+ regulator-boot-on;
31
+ regulator-always-on;
32
+ regulator-min-microvolt = <1800000>;
33
+ regulator-max-microvolt = <1800000>;
34
+ startup-delay-us = <200>;
35
+ vin-supply = <&vcc_3v3_s3>;
36
+ };
37
+
38
+ max96722_dphy3_poc: max96722-dphy3-poc {
39
+ compatible = "regulator-fixed";
40
+ regulator-name = "max96722_dphy3_poc";
41
+ regulator-boot-on;
42
+ regulator-always-on;
43
+ regulator-min-microvolt = <12000000>;
44
+ regulator-max-microvolt = <12000000>;
45
+ enable-active-high;
46
+ gpio = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
47
+ startup-delay-us = <1050>;
48
+ off-on-delay-us = <515000>;
49
+ vin-supply = <&vcc12v_dcin>;
50
+ };
1551 };
1652
1753 &csi2_dphy1_hw {
....@@ -64,8 +100,10 @@
64100 power-domains = <&power RK3588_PD_VI>;
65101 rockchip,grf = <&sys_grf>;
66102 pwdn-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
67
- pocen-gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
68103 lock-gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_HIGH>;
104
+ vcc1v2-supply = <&max96722_dphy3_vcc1v2>;
105
+ vcc1v8-supply = <&max96722_dphy3_vcc1v8>;
106
+ poc-supply = <&max96722_dphy3_poc>;
69107
70108 rockchip,camera-module-index = <0>;
71109 rockchip,camera-module-facing = "back";
....@@ -464,15 +502,15 @@
464502 &pinctrl {
465503 max96722-dphy3 {
466504 max96722_dphy3_pwdn: max96722-dphy3-pwdn {
467
- rockchip,pins = <4 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
505
+ rockchip,pins = <4 RK_PA6 RK_FUNC_GPIO &pcfg_output_low>;
468506 };
469507
470508 max96722_dphy3_errb: max96722-dphy3-errb {
471
- rockchip,pins = <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up>;
509
+ rockchip,pins = <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none_smt>;
472510 };
473511
474512 max96722_dphy3_lock: max96722-dphy3-lock {
475
- rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>;
513
+ rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none_smt>;
476514 };
477515 };
478516 };