18c2ecf20Sopenharmony_ci* Dialog DA9055 Power Management Integrated Circuit (PMIC) 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciDA9055 consists of a large and varied group of sub-devices (I2C Only): 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciDevice Supply Names Description 68c2ecf20Sopenharmony_ci------ ------------ ----------- 78c2ecf20Sopenharmony_cida9055-gpio : : GPIOs 88c2ecf20Sopenharmony_cida9055-regulator : : Regulators 98c2ecf20Sopenharmony_cida9055-onkey : : On key 108c2ecf20Sopenharmony_cida9055-rtc : : RTC 118c2ecf20Sopenharmony_cida9055-hwmon : : ADC 128c2ecf20Sopenharmony_cida9055-watchdog : : Watchdog 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciThe CODEC device in DA9055 has a separate, configurable I2C address and so 158c2ecf20Sopenharmony_ciis instantiated separately from the PMIC. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciFor details on accompanying CODEC I2C device, see the following: 188c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/sound/da9055.txt 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci====== 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciRequired properties: 238c2ecf20Sopenharmony_ci- compatible : Should be "dlg,da9055-pmic" 248c2ecf20Sopenharmony_ci- reg: Specifies the I2C slave address (defaults to 0x5a but can be modified) 258c2ecf20Sopenharmony_ci- interrupts: IRQ line info for da9055 chip. 268c2ecf20Sopenharmony_ci- interrupt-controller: da9055 has internal IRQs (has own IRQ domain). 278c2ecf20Sopenharmony_ci- #interrupt-cells: Should be 1, is the local IRQ number for da9055. 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciSub-nodes: 308c2ecf20Sopenharmony_ci- regulators : Contain the regulator nodes. The DA9055 regulators are 318c2ecf20Sopenharmony_ci bound using their names as listed below: 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci buck1 : regulator BUCK1 348c2ecf20Sopenharmony_ci buck2 : regulator BUCK2 358c2ecf20Sopenharmony_ci ldo1 : regulator LDO1 368c2ecf20Sopenharmony_ci ldo2 : regulator LDO2 378c2ecf20Sopenharmony_ci ldo3 : regulator LDO3 388c2ecf20Sopenharmony_ci ldo4 : regulator LDO4 398c2ecf20Sopenharmony_ci ldo5 : regulator LDO5 408c2ecf20Sopenharmony_ci ldo6 : regulator LDO6 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci The bindings details of individual regulator device can be found in: 438c2ecf20Sopenharmony_ci Documentation/devicetree/bindings/regulator/regulator.txt 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ciExample: 478c2ecf20Sopenharmony_ci 488c2ecf20Sopenharmony_ci pmic: da9055-pmic@5a { 498c2ecf20Sopenharmony_ci compatible = "dlg,da9055-pmic"; 508c2ecf20Sopenharmony_ci reg = <0x5a>; 518c2ecf20Sopenharmony_ci interrupt-parent = <&intc>; 528c2ecf20Sopenharmony_ci interrupts = <5 IRQ_TYPE_LEVEL_LOW>; 538c2ecf20Sopenharmony_ci interrupt-controller; 548c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ci regulators { 578c2ecf20Sopenharmony_ci buck1: BUCK1 { 588c2ecf20Sopenharmony_ci regulator-min-microvolt = <725000>; 598c2ecf20Sopenharmony_ci regulator-max-microvolt = <2075000>; 608c2ecf20Sopenharmony_ci }; 618c2ecf20Sopenharmony_ci buck2: BUCK2 { 628c2ecf20Sopenharmony_ci regulator-min-microvolt = <925000>; 638c2ecf20Sopenharmony_ci regulator-max-microvolt = <2500000>; 648c2ecf20Sopenharmony_ci }; 658c2ecf20Sopenharmony_ci ldo1: LDO1 { 668c2ecf20Sopenharmony_ci regulator-min-microvolt = <900000>; 678c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 688c2ecf20Sopenharmony_ci }; 698c2ecf20Sopenharmony_ci }; 708c2ecf20Sopenharmony_ci }; 71