18c2ecf20Sopenharmony_ci* Maxim max8925 Power Management IC 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired parent device properties: 48c2ecf20Sopenharmony_ci- compatible : "maxim,max8925" 58c2ecf20Sopenharmony_ci- reg : the I2C slave address for the max8925 chip 68c2ecf20Sopenharmony_ci- interrupts : IRQ line for the max8925 chip 78c2ecf20Sopenharmony_ci- interrupt-controller: describes the max8925 as an interrupt 88c2ecf20Sopenharmony_ci controller (has its own domain) 98c2ecf20Sopenharmony_ci- #interrupt-cells : should be 1. 108c2ecf20Sopenharmony_ci - The cell is the max8925 local IRQ number 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciOptional parent device properties: 138c2ecf20Sopenharmony_ci- maxim,tsc-irq: there are 2 IRQ lines for max8925, one is indicated in 148c2ecf20Sopenharmony_ci interrupts property, the other is indicated here. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_cimax8925 consists of a large and varied group of sub-devices: 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ciDevice Supply Names Description 198c2ecf20Sopenharmony_ci------ ------------ ----------- 208c2ecf20Sopenharmony_cimax8925-onkey : : On key 218c2ecf20Sopenharmony_cimax8925-rtc : : RTC 228c2ecf20Sopenharmony_cimax8925-regulator : : Regulators 238c2ecf20Sopenharmony_cimax8925-backlight : : Backlight 248c2ecf20Sopenharmony_cimax8925-touch : : Touchscreen 258c2ecf20Sopenharmony_cimax8925-power : : Charger 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciExample: 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci pmic: max8925@3c { 308c2ecf20Sopenharmony_ci compatible = "maxim,max8925"; 318c2ecf20Sopenharmony_ci reg = <0x3c>; 328c2ecf20Sopenharmony_ci interrupts = <1>; 338c2ecf20Sopenharmony_ci interrupt-parent = <&intcmux4>; 348c2ecf20Sopenharmony_ci interrupt-controller; 358c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 368c2ecf20Sopenharmony_ci maxim,tsc-irq = <0>; 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci regulators { 398c2ecf20Sopenharmony_ci SDV1 { 408c2ecf20Sopenharmony_ci regulator-min-microvolt = <637500>; 418c2ecf20Sopenharmony_ci regulator-max-microvolt = <1425000>; 428c2ecf20Sopenharmony_ci regulator-boot-on; 438c2ecf20Sopenharmony_ci regulator-always-on; 448c2ecf20Sopenharmony_ci }; 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci LDO1 { 478c2ecf20Sopenharmony_ci regulator-min-microvolt = <750000>; 488c2ecf20Sopenharmony_ci regulator-max-microvolt = <3900000>; 498c2ecf20Sopenharmony_ci regulator-boot-on; 508c2ecf20Sopenharmony_ci regulator-always-on; 518c2ecf20Sopenharmony_ci }; 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ci }; 548c2ecf20Sopenharmony_ci backlight { 558c2ecf20Sopenharmony_ci maxim,max8925-dual-string = <0>; 568c2ecf20Sopenharmony_ci }; 578c2ecf20Sopenharmony_ci charger { 588c2ecf20Sopenharmony_ci batt-detect = <0>; 598c2ecf20Sopenharmony_ci topoff-threshold = <1>; 608c2ecf20Sopenharmony_ci fast-charge = <7>; 618c2ecf20Sopenharmony_ci no-temp-support = <0>; 628c2ecf20Sopenharmony_ci no-insert-detect = <0>; 638c2ecf20Sopenharmony_ci }; 648c2ecf20Sopenharmony_ci }; 65