forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/Documentation/devicetree/bindings/mfd/rk808.txt
....@@ -3,11 +3,15 @@
33 The rk8xx family current members:
44 rk805
55 rk808
6
+rk809
7
+rk817
68 rk818
79
810 Required properties:
911 - compatible: "rockchip,rk805"
1012 - compatible: "rockchip,rk808"
13
+- compatible: "rockchip,rk809"
14
+- compatible: "rockchip,rk817"
1115 - compatible: "rockchip,rk818"
1216 - reg: I2C slave address
1317 - interrupts: the interrupt outputs of the controller.
....@@ -44,6 +48,23 @@
4448 for 2 host gpio's used for dvs. The format of the gpio specifier depends in
4549 the gpio controller. If DVS GPIOs aren't present, voltage changes will happen
4650 very quickly with no slow ramp time.
51
+
52
+Optional shared RK809 and RK817 properties:
53
+- vcc1-supply: The input supply for DCDC_REG1
54
+- vcc2-supply: The input supply for DCDC_REG2
55
+- vcc3-supply: The input supply for DCDC_REG3
56
+- vcc4-supply: The input supply for DCDC_REG4
57
+- vcc5-supply: The input supply for LDO_REG1, LDO_REG2, LDO_REG3
58
+- vcc6-supply: The input supply for LDO_REG4, LDO_REG5, LDO_REG6
59
+- vcc7-supply: The input supply for LDO_REG7, LDO_REG8, LDO_REG9
60
+
61
+Optional RK809 properties:
62
+- vcc8-supply: The input supply for SWITCH_REG1
63
+- vcc9-supply: The input supply for DCDC_REG5, SWITCH_REG2
64
+
65
+Optional RK817 properties:
66
+- vcc8-supply: The input supply for BOOST
67
+- vcc9-supply: The input supply for OTG_SWITCH
4768
4869 Optional RK818 properties:
4970 - vcc1-supply: The input supply for DCDC_REG1
....@@ -86,6 +107,21 @@
86107 - SWITCH_REGn
87108 - valid values for n are 1 to 2
88109
110
+Following regulators of the RK809 and RK817 PMIC blocks are supported. Note that
111
+the 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
112
+number as described in RK809 and RK817 datasheets.
113
+
114
+ - DCDC_REGn
115
+ - valid values for n are 1 to 5 for RK809.
116
+ - valid values for n are 1 to 4 for RK817.
117
+ - LDO_REGn
118
+ - valid values for n are 1 to 9 for RK809.
119
+ - valid values for n are 1 to 9 for RK817.
120
+ - SWITCH_REGn
121
+ - valid values for n are 1 to 2 for RK809.
122
+ - BOOST for RK817
123
+ - OTG_SWITCH for RK817
124
+
89125 Following regulators of the RK818 PMIC block are supported. Note that
90126 the 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
91127 number as described in RK818 datasheet.
....@@ -98,6 +134,14 @@
98134 - HDMI_SWITCH
99135 - OTG_SWITCH
100136
137
+It is necessary to configure three pins for both the RK809 and RK817, the three
138
+pins are "gpio_ts" "gpio_gt" "gpio_slp".
139
+ The gpio_gt and gpio_ts pins support the gpio function.
140
+ The gpio_slp pin is for controlling the pmic states, as below:
141
+ - reset
142
+ - power down
143
+ - sleep
144
+
101145 Standard regulator bindings are used inside regulator subnodes. Check
102146 Documentation/devicetree/bindings/regulator/regulator.txt
103147 for more details