18c2ecf20Sopenharmony_ciLinear Technology LTC3676 8-output regulators 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: "lltc,ltc3676" 58c2ecf20Sopenharmony_ci- reg: I2C slave address 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciRequired child node: 88c2ecf20Sopenharmony_ci- regulators: Contains eight regulator child nodes sw1, sw2, sw3, sw4, 98c2ecf20Sopenharmony_ci ldo1, ldo2, ldo3, and ldo4, specifying the initialization data as 108c2ecf20Sopenharmony_ci documented in Documentation/devicetree/bindings/regulator/regulator.txt. 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciEach regulator is defined using the standard binding for regulators. The 138c2ecf20Sopenharmony_cinodes for sw1, sw2, sw3, sw4, ldo1, ldo2 and ldo4 additionally need to specify 148c2ecf20Sopenharmony_cithe resistor values of their external feedback voltage dividers: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciRequired properties (not on ldo3): 178c2ecf20Sopenharmony_ci- lltc,fb-voltage-divider: An array of two integers containing the resistor 188c2ecf20Sopenharmony_ci values R1 and R2 of the feedback voltage divider in ohms. 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ciRegulators sw1, sw2, sw3, sw4 can regulate the feedback reference from: 218c2ecf20Sopenharmony_ci412.5mV to 800mV in 12.5 mV steps. The output voltage thus ranges between 228c2ecf20Sopenharmony_ci0.4125 * (1 + R1/R2) V and 0.8 * (1 + R1/R2) V. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciRegulators ldo1, ldo2, and ldo4 have a fixed 0.725 V reference and thus output 258c2ecf20Sopenharmony_ci0.725 * (1 + R1/R2) V. The ldo3 regulator is fixed to 1.8 V. The ldo1 standby 268c2ecf20Sopenharmony_ciregulator can not be disabled and thus should have the regulator-always-on 278c2ecf20Sopenharmony_ciproperty set. 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciExample: 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci ltc3676: pmic@3c { 328c2ecf20Sopenharmony_ci compatible = "lltc,ltc3676"; 338c2ecf20Sopenharmony_ci reg = <0x3c>; 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci regulators { 368c2ecf20Sopenharmony_ci sw1_reg: sw1 { 378c2ecf20Sopenharmony_ci regulator-min-microvolt = <674400>; 388c2ecf20Sopenharmony_ci regulator-max-microvolt = <1308000>; 398c2ecf20Sopenharmony_ci lltc,fb-voltage-divider = <127000 200000>; 408c2ecf20Sopenharmony_ci regulator-ramp-delay = <7000>; 418c2ecf20Sopenharmony_ci regulator-boot-on; 428c2ecf20Sopenharmony_ci regulator-always-on; 438c2ecf20Sopenharmony_ci }; 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci sw2_reg: sw2 { 468c2ecf20Sopenharmony_ci regulator-min-microvolt = <1033310>; 478c2ecf20Sopenharmony_ci regulator-max-microvolt = <200400>; 488c2ecf20Sopenharmony_ci lltc,fb-voltage-divider = <301000 200000>; 498c2ecf20Sopenharmony_ci regulator-ramp-delay = <7000>; 508c2ecf20Sopenharmony_ci regulator-boot-on; 518c2ecf20Sopenharmony_ci regulator-always-on; 528c2ecf20Sopenharmony_ci }; 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci sw3_reg: sw3 { 558c2ecf20Sopenharmony_ci regulator-min-microvolt = <674400>; 568c2ecf20Sopenharmony_ci regulator-max-microvolt = <130800>; 578c2ecf20Sopenharmony_ci lltc,fb-voltage-divider = <127000 200000>; 588c2ecf20Sopenharmony_ci regulator-ramp-delay = <7000>; 598c2ecf20Sopenharmony_ci regulator-boot-on; 608c2ecf20Sopenharmony_ci regulator-always-on; 618c2ecf20Sopenharmony_ci }; 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ci sw4_reg: sw4 { 648c2ecf20Sopenharmony_ci regulator-min-microvolt = <868310>; 658c2ecf20Sopenharmony_ci regulator-max-microvolt = <168400>; 668c2ecf20Sopenharmony_ci lltc,fb-voltage-divider = <221000 200000>; 678c2ecf20Sopenharmony_ci regulator-ramp-delay = <7000>; 688c2ecf20Sopenharmony_ci regulator-boot-on; 698c2ecf20Sopenharmony_ci regulator-always-on; 708c2ecf20Sopenharmony_ci }; 718c2ecf20Sopenharmony_ci 728c2ecf20Sopenharmony_ci ldo2_reg: ldo2 { 738c2ecf20Sopenharmony_ci regulator-min-microvolt = <2490375>; 748c2ecf20Sopenharmony_ci regulator-max-microvolt = <2490375>; 758c2ecf20Sopenharmony_ci lltc,fb-voltage-divider = <487000 200000>; 768c2ecf20Sopenharmony_ci regulator-boot-on; 778c2ecf20Sopenharmony_ci regulator-always-on; 788c2ecf20Sopenharmony_ci }; 798c2ecf20Sopenharmony_ci 808c2ecf20Sopenharmony_ci ldo3_reg: ldo3 { 818c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 828c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 838c2ecf20Sopenharmony_ci regulator-boot-on; 848c2ecf20Sopenharmony_ci }; 858c2ecf20Sopenharmony_ci 868c2ecf20Sopenharmony_ci ldo4_reg: ldo4 { 878c2ecf20Sopenharmony_ci regulator-min-microvolt = <3023250>; 888c2ecf20Sopenharmony_ci regulator-max-microvolt = <3023250>; 898c2ecf20Sopenharmony_ci lltc,fb-voltage-divider = <634000 200000>; 908c2ecf20Sopenharmony_ci regulator-boot-on; 918c2ecf20Sopenharmony_ci regulator-always-on; 928c2ecf20Sopenharmony_ci }; 938c2ecf20Sopenharmony_ci }; 948c2ecf20Sopenharmony_ci }; 95