| .. | .. |
|---|
| 3 | 3 | The rk8xx family current members: |
|---|
| 4 | 4 | rk805 |
|---|
| 5 | 5 | rk808 |
|---|
| 6 | +rk809 |
|---|
| 7 | +rk817 |
|---|
| 6 | 8 | rk818 |
|---|
| 7 | 9 | |
|---|
| 8 | 10 | Required properties: |
|---|
| 9 | 11 | - compatible: "rockchip,rk805" |
|---|
| 10 | 12 | - compatible: "rockchip,rk808" |
|---|
| 13 | +- compatible: "rockchip,rk809" |
|---|
| 14 | +- compatible: "rockchip,rk817" |
|---|
| 11 | 15 | - compatible: "rockchip,rk818" |
|---|
| 12 | 16 | - reg: I2C slave address |
|---|
| 13 | 17 | - interrupts: the interrupt outputs of the controller. |
|---|
| .. | .. |
|---|
| 44 | 48 | for 2 host gpio's used for dvs. The format of the gpio specifier depends in |
|---|
| 45 | 49 | the gpio controller. If DVS GPIOs aren't present, voltage changes will happen |
|---|
| 46 | 50 | 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 |
|---|
| 47 | 68 | |
|---|
| 48 | 69 | Optional RK818 properties: |
|---|
| 49 | 70 | - vcc1-supply: The input supply for DCDC_REG1 |
|---|
| .. | .. |
|---|
| 86 | 107 | - SWITCH_REGn |
|---|
| 87 | 108 | - valid values for n are 1 to 2 |
|---|
| 88 | 109 | |
|---|
| 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 | + |
|---|
| 89 | 125 | Following regulators of the RK818 PMIC block are supported. Note that |
|---|
| 90 | 126 | the 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO |
|---|
| 91 | 127 | number as described in RK818 datasheet. |
|---|
| .. | .. |
|---|
| 98 | 134 | - HDMI_SWITCH |
|---|
| 99 | 135 | - OTG_SWITCH |
|---|
| 100 | 136 | |
|---|
| 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 | + |
|---|
| 101 | 145 | Standard regulator bindings are used inside regulator subnodes. Check |
|---|
| 102 | 146 | Documentation/devicetree/bindings/regulator/regulator.txt |
|---|
| 103 | 147 | for more details |
|---|