1d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2d5b0e70fSEmmanuel Vadot%YAML 1.2 3d5b0e70fSEmmanuel Vadot--- 4d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/mfd/rockchip,rk817.yaml# 5d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6d5b0e70fSEmmanuel Vadot 7d5b0e70fSEmmanuel Vadottitle: RK817 Power Management Integrated Circuit 8d5b0e70fSEmmanuel Vadot 9d5b0e70fSEmmanuel Vadotmaintainers: 10d5b0e70fSEmmanuel Vadot - Chris Zhong <zyw@rock-chips.com> 11d5b0e70fSEmmanuel Vadot - Zhang Qing <zhangqing@rock-chips.com> 12d5b0e70fSEmmanuel Vadot 13d5b0e70fSEmmanuel Vadotdescription: | 14d5b0e70fSEmmanuel Vadot Rockchip RK817 series PMIC. This device consists of an i2c controlled MFD 15d5b0e70fSEmmanuel Vadot that includes regulators, an RTC, a power button, an audio codec, and a 16d5b0e70fSEmmanuel Vadot battery charger manager. 17d5b0e70fSEmmanuel Vadot 18d5b0e70fSEmmanuel Vadotproperties: 19d5b0e70fSEmmanuel Vadot compatible: 20d5b0e70fSEmmanuel Vadot enum: 21d5b0e70fSEmmanuel Vadot - rockchip,rk817 22d5b0e70fSEmmanuel Vadot 23d5b0e70fSEmmanuel Vadot reg: 24d5b0e70fSEmmanuel Vadot maxItems: 1 25d5b0e70fSEmmanuel Vadot 26d5b0e70fSEmmanuel Vadot interrupts: 27d5b0e70fSEmmanuel Vadot maxItems: 1 28d5b0e70fSEmmanuel Vadot 29d5b0e70fSEmmanuel Vadot '#clock-cells': 30d5b0e70fSEmmanuel Vadot description: 31d5b0e70fSEmmanuel Vadot See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 32d5b0e70fSEmmanuel Vadot minimum: 0 33d5b0e70fSEmmanuel Vadot maximum: 1 34d5b0e70fSEmmanuel Vadot 35d5b0e70fSEmmanuel Vadot clock-output-names: 36d5b0e70fSEmmanuel Vadot description: 37d5b0e70fSEmmanuel Vadot From common clock binding to override the default output clock name. 38d5b0e70fSEmmanuel Vadot 39d5b0e70fSEmmanuel Vadot rockchip,system-power-controller: 40d5b0e70fSEmmanuel Vadot type: boolean 41*84943d6fSEmmanuel Vadot deprecated: true 42d5b0e70fSEmmanuel Vadot description: 43d5b0e70fSEmmanuel Vadot Telling whether or not this PMIC is controlling the system power. 44d5b0e70fSEmmanuel Vadot 45*84943d6fSEmmanuel Vadot system-power-controller: true 46*84943d6fSEmmanuel Vadot 47d5b0e70fSEmmanuel Vadot wakeup-source: 48d5b0e70fSEmmanuel Vadot type: boolean 49d5b0e70fSEmmanuel Vadot description: 50d5b0e70fSEmmanuel Vadot Device can be used as a wakeup source. 51d5b0e70fSEmmanuel Vadot 52d5b0e70fSEmmanuel Vadot vcc1-supply: 53d5b0e70fSEmmanuel Vadot description: 54d5b0e70fSEmmanuel Vadot The input supply for DCDC_REG1. 55d5b0e70fSEmmanuel Vadot 56d5b0e70fSEmmanuel Vadot vcc2-supply: 57d5b0e70fSEmmanuel Vadot description: 58d5b0e70fSEmmanuel Vadot The input supply for DCDC_REG2. 59d5b0e70fSEmmanuel Vadot 60d5b0e70fSEmmanuel Vadot vcc3-supply: 61d5b0e70fSEmmanuel Vadot description: 62d5b0e70fSEmmanuel Vadot The input supply for DCDC_REG3. 63d5b0e70fSEmmanuel Vadot 64d5b0e70fSEmmanuel Vadot vcc4-supply: 65d5b0e70fSEmmanuel Vadot description: 66d5b0e70fSEmmanuel Vadot The input supply for DCDC_REG4. 67d5b0e70fSEmmanuel Vadot 68d5b0e70fSEmmanuel Vadot vcc5-supply: 69d5b0e70fSEmmanuel Vadot description: 70d5b0e70fSEmmanuel Vadot The input supply for LDO_REG1, LDO_REG2, and LDO_REG3. 71d5b0e70fSEmmanuel Vadot 72d5b0e70fSEmmanuel Vadot vcc6-supply: 73d5b0e70fSEmmanuel Vadot description: 74d5b0e70fSEmmanuel Vadot The input supply for LDO_REG4, LDO_REG5, and LDO_REG6. 75d5b0e70fSEmmanuel Vadot 76d5b0e70fSEmmanuel Vadot vcc7-supply: 77d5b0e70fSEmmanuel Vadot description: 78d5b0e70fSEmmanuel Vadot The input supply for LDO_REG7, LDO_REG8, and LDO_REG9. 79d5b0e70fSEmmanuel Vadot 80d5b0e70fSEmmanuel Vadot vcc8-supply: 81d5b0e70fSEmmanuel Vadot description: 82d5b0e70fSEmmanuel Vadot The input supply for BOOST. 83d5b0e70fSEmmanuel Vadot 84d5b0e70fSEmmanuel Vadot vcc9-supply: 85d5b0e70fSEmmanuel Vadot description: 86d5b0e70fSEmmanuel Vadot The input supply for OTG_SWITCH. 87d5b0e70fSEmmanuel Vadot 88d5b0e70fSEmmanuel Vadot regulators: 89d5b0e70fSEmmanuel Vadot type: object 90d5b0e70fSEmmanuel Vadot patternProperties: 91d5b0e70fSEmmanuel Vadot "^(LDO_REG[1-9]|DCDC_REG[1-4]|BOOST|OTG_SWITCH)$": 92d5b0e70fSEmmanuel Vadot type: object 937ef62cebSEmmanuel Vadot unevaluatedProperties: false 94d5b0e70fSEmmanuel Vadot $ref: ../regulator/regulator.yaml# 95d5b0e70fSEmmanuel Vadot unevaluatedProperties: false 96d5b0e70fSEmmanuel Vadot 97d5b0e70fSEmmanuel Vadot clocks: 98d5b0e70fSEmmanuel Vadot description: 99d5b0e70fSEmmanuel Vadot The input clock for the audio codec. 100d5b0e70fSEmmanuel Vadot 101d5b0e70fSEmmanuel Vadot clock-names: 102d5b0e70fSEmmanuel Vadot description: 103d5b0e70fSEmmanuel Vadot The clock name for the codec clock. 104d5b0e70fSEmmanuel Vadot items: 105d5b0e70fSEmmanuel Vadot - const: mclk 106d5b0e70fSEmmanuel Vadot 107d5b0e70fSEmmanuel Vadot '#sound-dai-cells': 108d5b0e70fSEmmanuel Vadot description: 109d5b0e70fSEmmanuel Vadot Needed for the interpretation of sound dais. 110d5b0e70fSEmmanuel Vadot const: 0 111d5b0e70fSEmmanuel Vadot 112d5b0e70fSEmmanuel Vadot codec: 113d5b0e70fSEmmanuel Vadot description: | 114d5b0e70fSEmmanuel Vadot The child node for the codec to hold additional properties. If no 115d5b0e70fSEmmanuel Vadot additional properties are required for the codec, this node can be 116d5b0e70fSEmmanuel Vadot omitted. 117d5b0e70fSEmmanuel Vadot type: object 1187ef62cebSEmmanuel Vadot additionalProperties: false 119d5b0e70fSEmmanuel Vadot properties: 120d5b0e70fSEmmanuel Vadot rockchip,mic-in-differential: 121d5b0e70fSEmmanuel Vadot type: boolean 122d5b0e70fSEmmanuel Vadot description: 123d5b0e70fSEmmanuel Vadot Describes if the microphone uses differential mode. 124d5b0e70fSEmmanuel Vadot 1257ef62cebSEmmanuel Vadot charger: 1267ef62cebSEmmanuel Vadot description: | 1277ef62cebSEmmanuel Vadot The child node for the charger to hold additional properties. If a 1287ef62cebSEmmanuel Vadot battery is not in use, this node can be omitted. 1297ef62cebSEmmanuel Vadot type: object 1308bab661aSEmmanuel Vadot $ref: /schemas/power/supply/power-supply.yaml 1318bab661aSEmmanuel Vadot 1327ef62cebSEmmanuel Vadot properties: 1337ef62cebSEmmanuel Vadot monitored-battery: 1347ef62cebSEmmanuel Vadot description: | 1357ef62cebSEmmanuel Vadot A phandle to a monitored battery node that contains a valid 1367ef62cebSEmmanuel Vadot value for: 1377ef62cebSEmmanuel Vadot charge-full-design-microamp-hours, 1387ef62cebSEmmanuel Vadot charge-term-current-microamp, 1397ef62cebSEmmanuel Vadot constant-charge-current-max-microamp, 1407ef62cebSEmmanuel Vadot constant-charge-voltage-max-microvolt, 1417ef62cebSEmmanuel Vadot voltage-max-design-microvolt, 1427ef62cebSEmmanuel Vadot voltage-min-design-microvolt, 1437ef62cebSEmmanuel Vadot and a valid ocv-capacity table. 1447ef62cebSEmmanuel Vadot 1457ef62cebSEmmanuel Vadot rockchip,resistor-sense-micro-ohms: 1467ef62cebSEmmanuel Vadot description: | 1477ef62cebSEmmanuel Vadot Value in microohms of the battery sense resistor. This value is 1487ef62cebSEmmanuel Vadot used by the driver to set the correct divisor value to translate 1497ef62cebSEmmanuel Vadot ADC readings into the proper units of measure. 1507ef62cebSEmmanuel Vadot enum: [10000, 20000] 1517ef62cebSEmmanuel Vadot 1527ef62cebSEmmanuel Vadot rockchip,sleep-enter-current-microamp: 1537ef62cebSEmmanuel Vadot description: | 1547ef62cebSEmmanuel Vadot Value in microamps of the sleep enter current for the charger. 1557ef62cebSEmmanuel Vadot Value is used by the driver to calibrate the relax threshold. 1567ef62cebSEmmanuel Vadot 1577ef62cebSEmmanuel Vadot rockchip,sleep-filter-current-microamp: 1587ef62cebSEmmanuel Vadot description: 1597ef62cebSEmmanuel Vadot Value in microamps of the sleep filter current for the charger. 1607ef62cebSEmmanuel Vadot Value is used by the driver to derive the sleep sample current. 1617ef62cebSEmmanuel Vadot 1627ef62cebSEmmanuel Vadot required: 1637ef62cebSEmmanuel Vadot - monitored-battery 1647ef62cebSEmmanuel Vadot - rockchip,resistor-sense-micro-ohms 1657ef62cebSEmmanuel Vadot - rockchip,sleep-enter-current-microamp 1667ef62cebSEmmanuel Vadot - rockchip,sleep-filter-current-microamp 1677ef62cebSEmmanuel Vadot 1687ef62cebSEmmanuel Vadot additionalProperties: false 1697ef62cebSEmmanuel Vadot 170d5b0e70fSEmmanuel VadotallOf: 171d5b0e70fSEmmanuel Vadot - if: 172d5b0e70fSEmmanuel Vadot properties: 173d5b0e70fSEmmanuel Vadot '#clock-cells': 174d5b0e70fSEmmanuel Vadot const: 0 175d5b0e70fSEmmanuel Vadot 176d5b0e70fSEmmanuel Vadot then: 177d5b0e70fSEmmanuel Vadot properties: 178d5b0e70fSEmmanuel Vadot clock-output-names: 179d5b0e70fSEmmanuel Vadot maxItems: 1 180d5b0e70fSEmmanuel Vadot 181d5b0e70fSEmmanuel Vadot else: 182d5b0e70fSEmmanuel Vadot properties: 183d5b0e70fSEmmanuel Vadot clock-output-names: 184d5b0e70fSEmmanuel Vadot maxItems: 2 185d5b0e70fSEmmanuel Vadot 186d5b0e70fSEmmanuel Vadotrequired: 187d5b0e70fSEmmanuel Vadot - compatible 188d5b0e70fSEmmanuel Vadot - reg 189d5b0e70fSEmmanuel Vadot - interrupts 190d5b0e70fSEmmanuel Vadot - "#clock-cells" 191d5b0e70fSEmmanuel Vadot 192d5b0e70fSEmmanuel VadotadditionalProperties: false 193d5b0e70fSEmmanuel Vadot 194d5b0e70fSEmmanuel Vadotexamples: 195d5b0e70fSEmmanuel Vadot - | 196d5b0e70fSEmmanuel Vadot #include <dt-bindings/clock/px30-cru.h> 197d5b0e70fSEmmanuel Vadot #include <dt-bindings/pinctrl/rockchip.h> 198d5b0e70fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 199d5b0e70fSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 200d5b0e70fSEmmanuel Vadot i2c { 201d5b0e70fSEmmanuel Vadot #address-cells = <1>; 202d5b0e70fSEmmanuel Vadot #size-cells = <0>; 203d5b0e70fSEmmanuel Vadot 204d5b0e70fSEmmanuel Vadot rk817: pmic@20 { 205d5b0e70fSEmmanuel Vadot compatible = "rockchip,rk817"; 206d5b0e70fSEmmanuel Vadot reg = <0x20>; 207d5b0e70fSEmmanuel Vadot interrupt-parent = <&gpio0>; 208d5b0e70fSEmmanuel Vadot interrupts = <RK_PB2 IRQ_TYPE_LEVEL_LOW>; 209d5b0e70fSEmmanuel Vadot clock-output-names = "rk808-clkout1", "xin32k"; 210d5b0e70fSEmmanuel Vadot clock-names = "mclk"; 211d5b0e70fSEmmanuel Vadot clocks = <&cru SCLK_I2S1_OUT>; 212d5b0e70fSEmmanuel Vadot pinctrl-names = "default"; 213d5b0e70fSEmmanuel Vadot pinctrl-0 = <&pmic_int>, <&i2s1_2ch_mclk>; 214d5b0e70fSEmmanuel Vadot wakeup-source; 215d5b0e70fSEmmanuel Vadot #clock-cells = <1>; 216d5b0e70fSEmmanuel Vadot #sound-dai-cells = <0>; 217d5b0e70fSEmmanuel Vadot 218d5b0e70fSEmmanuel Vadot vcc1-supply = <&vccsys>; 219d5b0e70fSEmmanuel Vadot vcc2-supply = <&vccsys>; 220d5b0e70fSEmmanuel Vadot vcc3-supply = <&vccsys>; 221d5b0e70fSEmmanuel Vadot vcc4-supply = <&vccsys>; 222d5b0e70fSEmmanuel Vadot vcc5-supply = <&vccsys>; 223d5b0e70fSEmmanuel Vadot vcc6-supply = <&vccsys>; 224d5b0e70fSEmmanuel Vadot vcc7-supply = <&vccsys>; 225d5b0e70fSEmmanuel Vadot 226d5b0e70fSEmmanuel Vadot regulators { 227d5b0e70fSEmmanuel Vadot vdd_logic: DCDC_REG1 { 228d5b0e70fSEmmanuel Vadot regulator-name = "vdd_logic"; 229d5b0e70fSEmmanuel Vadot regulator-min-microvolt = <950000>; 230d5b0e70fSEmmanuel Vadot regulator-max-microvolt = <1150000>; 231d5b0e70fSEmmanuel Vadot regulator-ramp-delay = <6001>; 232d5b0e70fSEmmanuel Vadot regulator-always-on; 233d5b0e70fSEmmanuel Vadot regulator-boot-on; 234d5b0e70fSEmmanuel Vadot 235d5b0e70fSEmmanuel Vadot regulator-state-mem { 236d5b0e70fSEmmanuel Vadot regulator-on-in-suspend; 237d5b0e70fSEmmanuel Vadot regulator-suspend-microvolt = <950000>; 238d5b0e70fSEmmanuel Vadot }; 239d5b0e70fSEmmanuel Vadot }; 240d5b0e70fSEmmanuel Vadot 241d5b0e70fSEmmanuel Vadot vdd_arm: DCDC_REG2 { 242d5b0e70fSEmmanuel Vadot regulator-name = "vdd_arm"; 243d5b0e70fSEmmanuel Vadot regulator-min-microvolt = <950000>; 244d5b0e70fSEmmanuel Vadot regulator-max-microvolt = <1350000>; 245d5b0e70fSEmmanuel Vadot regulator-ramp-delay = <6001>; 246d5b0e70fSEmmanuel Vadot regulator-always-on; 247d5b0e70fSEmmanuel Vadot regulator-boot-on; 248d5b0e70fSEmmanuel Vadot 249d5b0e70fSEmmanuel Vadot regulator-state-mem { 250d5b0e70fSEmmanuel Vadot regulator-off-in-suspend; 251d5b0e70fSEmmanuel Vadot regulator-suspend-microvolt = <950000>; 252d5b0e70fSEmmanuel Vadot }; 253d5b0e70fSEmmanuel Vadot }; 254d5b0e70fSEmmanuel Vadot 255d5b0e70fSEmmanuel Vadot vcc_ddr: DCDC_REG3 { 256d5b0e70fSEmmanuel Vadot regulator-name = "vcc_ddr"; 257d5b0e70fSEmmanuel Vadot regulator-always-on; 258d5b0e70fSEmmanuel Vadot regulator-boot-on; 259d5b0e70fSEmmanuel Vadot 260d5b0e70fSEmmanuel Vadot regulator-state-mem { 261d5b0e70fSEmmanuel Vadot regulator-on-in-suspend; 262d5b0e70fSEmmanuel Vadot }; 263d5b0e70fSEmmanuel Vadot }; 264d5b0e70fSEmmanuel Vadot 265d5b0e70fSEmmanuel Vadot vcc_3v3: DCDC_REG4 { 266d5b0e70fSEmmanuel Vadot regulator-name = "vcc_3v3"; 267d5b0e70fSEmmanuel Vadot regulator-min-microvolt = <3300000>; 268d5b0e70fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 269d5b0e70fSEmmanuel Vadot regulator-always-on; 270d5b0e70fSEmmanuel Vadot regulator-boot-on; 271d5b0e70fSEmmanuel Vadot 272d5b0e70fSEmmanuel Vadot regulator-state-mem { 273d5b0e70fSEmmanuel Vadot regulator-off-in-suspend; 274d5b0e70fSEmmanuel Vadot regulator-suspend-microvolt = <3300000>; 275d5b0e70fSEmmanuel Vadot }; 276d5b0e70fSEmmanuel Vadot }; 277d5b0e70fSEmmanuel Vadot 278d5b0e70fSEmmanuel Vadot vcc_1v8: LDO_REG2 { 279d5b0e70fSEmmanuel Vadot regulator-name = "vcc_1v8"; 280d5b0e70fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 281d5b0e70fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 282d5b0e70fSEmmanuel Vadot regulator-always-on; 283d5b0e70fSEmmanuel Vadot regulator-boot-on; 284d5b0e70fSEmmanuel Vadot 285d5b0e70fSEmmanuel Vadot regulator-state-mem { 286d5b0e70fSEmmanuel Vadot regulator-on-in-suspend; 287d5b0e70fSEmmanuel Vadot regulator-suspend-microvolt = <1800000>; 288d5b0e70fSEmmanuel Vadot }; 289d5b0e70fSEmmanuel Vadot }; 290d5b0e70fSEmmanuel Vadot 291d5b0e70fSEmmanuel Vadot vdd_1v0: LDO_REG3 { 292d5b0e70fSEmmanuel Vadot regulator-name = "vdd_1v0"; 293d5b0e70fSEmmanuel Vadot regulator-min-microvolt = <1000000>; 294d5b0e70fSEmmanuel Vadot regulator-max-microvolt = <1000000>; 295d5b0e70fSEmmanuel Vadot regulator-always-on; 296d5b0e70fSEmmanuel Vadot regulator-boot-on; 297d5b0e70fSEmmanuel Vadot 298d5b0e70fSEmmanuel Vadot regulator-state-mem { 299d5b0e70fSEmmanuel Vadot regulator-on-in-suspend; 300d5b0e70fSEmmanuel Vadot regulator-suspend-microvolt = <1000000>; 301d5b0e70fSEmmanuel Vadot }; 302d5b0e70fSEmmanuel Vadot }; 303d5b0e70fSEmmanuel Vadot 304d5b0e70fSEmmanuel Vadot vcc3v3_pmu: LDO_REG4 { 305d5b0e70fSEmmanuel Vadot regulator-name = "vcc3v3_pmu"; 306d5b0e70fSEmmanuel Vadot regulator-min-microvolt = <3300000>; 307d5b0e70fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 308d5b0e70fSEmmanuel Vadot regulator-always-on; 309d5b0e70fSEmmanuel Vadot regulator-boot-on; 310d5b0e70fSEmmanuel Vadot 311d5b0e70fSEmmanuel Vadot regulator-state-mem { 312d5b0e70fSEmmanuel Vadot regulator-on-in-suspend; 313d5b0e70fSEmmanuel Vadot regulator-suspend-microvolt = <3300000>; 314d5b0e70fSEmmanuel Vadot }; 315d5b0e70fSEmmanuel Vadot }; 316d5b0e70fSEmmanuel Vadot 317d5b0e70fSEmmanuel Vadot vccio_sd: LDO_REG5 { 318d5b0e70fSEmmanuel Vadot regulator-name = "vccio_sd"; 319d5b0e70fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 320d5b0e70fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 321d5b0e70fSEmmanuel Vadot regulator-always-on; 322d5b0e70fSEmmanuel Vadot regulator-boot-on; 323d5b0e70fSEmmanuel Vadot 324d5b0e70fSEmmanuel Vadot regulator-state-mem { 325d5b0e70fSEmmanuel Vadot regulator-on-in-suspend; 326d5b0e70fSEmmanuel Vadot regulator-suspend-microvolt = <3300000>; 327d5b0e70fSEmmanuel Vadot }; 328d5b0e70fSEmmanuel Vadot }; 329d5b0e70fSEmmanuel Vadot 330d5b0e70fSEmmanuel Vadot vcc_sd: LDO_REG6 { 331d5b0e70fSEmmanuel Vadot regulator-name = "vcc_sd"; 332d5b0e70fSEmmanuel Vadot regulator-min-microvolt = <3300000>; 333d5b0e70fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 334d5b0e70fSEmmanuel Vadot regulator-boot-on; 335d5b0e70fSEmmanuel Vadot 336d5b0e70fSEmmanuel Vadot regulator-state-mem { 337d5b0e70fSEmmanuel Vadot regulator-on-in-suspend; 338d5b0e70fSEmmanuel Vadot regulator-suspend-microvolt = <3300000>; 339d5b0e70fSEmmanuel Vadot }; 340d5b0e70fSEmmanuel Vadot }; 341d5b0e70fSEmmanuel Vadot 342d5b0e70fSEmmanuel Vadot vcc_bl: LDO_REG7 { 343d5b0e70fSEmmanuel Vadot regulator-name = "vcc_bl"; 344d5b0e70fSEmmanuel Vadot regulator-min-microvolt = <3300000>; 345d5b0e70fSEmmanuel Vadot regulator-max-microvolt = <3300000>; 346d5b0e70fSEmmanuel Vadot 347d5b0e70fSEmmanuel Vadot regulator-state-mem { 348d5b0e70fSEmmanuel Vadot regulator-off-in-suspend; 349d5b0e70fSEmmanuel Vadot regulator-suspend-microvolt = <3300000>; 350d5b0e70fSEmmanuel Vadot }; 351d5b0e70fSEmmanuel Vadot }; 352d5b0e70fSEmmanuel Vadot 353d5b0e70fSEmmanuel Vadot vcc_lcd: LDO_REG8 { 354d5b0e70fSEmmanuel Vadot regulator-name = "vcc_lcd"; 355d5b0e70fSEmmanuel Vadot regulator-min-microvolt = <2800000>; 356d5b0e70fSEmmanuel Vadot regulator-max-microvolt = <2800000>; 357d5b0e70fSEmmanuel Vadot 358d5b0e70fSEmmanuel Vadot regulator-state-mem { 359d5b0e70fSEmmanuel Vadot regulator-off-in-suspend; 360d5b0e70fSEmmanuel Vadot regulator-suspend-microvolt = <2800000>; 361d5b0e70fSEmmanuel Vadot }; 362d5b0e70fSEmmanuel Vadot }; 363d5b0e70fSEmmanuel Vadot 364d5b0e70fSEmmanuel Vadot vcc_cam: LDO_REG9 { 365d5b0e70fSEmmanuel Vadot regulator-name = "vcc_cam"; 366d5b0e70fSEmmanuel Vadot regulator-min-microvolt = <3000000>; 367d5b0e70fSEmmanuel Vadot regulator-max-microvolt = <3000000>; 368d5b0e70fSEmmanuel Vadot 369d5b0e70fSEmmanuel Vadot regulator-state-mem { 370d5b0e70fSEmmanuel Vadot regulator-off-in-suspend; 371d5b0e70fSEmmanuel Vadot regulator-suspend-microvolt = <3000000>; 372d5b0e70fSEmmanuel Vadot }; 373d5b0e70fSEmmanuel Vadot }; 374d5b0e70fSEmmanuel Vadot }; 375d5b0e70fSEmmanuel Vadot 3767ef62cebSEmmanuel Vadot rk817_charger: charger { 3777ef62cebSEmmanuel Vadot monitored-battery = <&battery>; 3787ef62cebSEmmanuel Vadot rockchip,resistor-sense-micro-ohms = <10000>; 3797ef62cebSEmmanuel Vadot rockchip,sleep-enter-current-microamp = <300000>; 3807ef62cebSEmmanuel Vadot rockchip,sleep-filter-current-microamp = <100000>; 3817ef62cebSEmmanuel Vadot }; 3827ef62cebSEmmanuel Vadot 383d5b0e70fSEmmanuel Vadot rk817_codec: codec { 384d5b0e70fSEmmanuel Vadot rockchip,mic-in-differential; 385d5b0e70fSEmmanuel Vadot }; 386d5b0e70fSEmmanuel Vadot }; 387d5b0e70fSEmmanuel Vadot }; 388