18c2ecf20Sopenharmony_ciMaxim MAX8952 voltage regulator 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: must be equal to "maxim,max8952" 58c2ecf20Sopenharmony_ci- reg: I2C slave address, usually 0x60 68c2ecf20Sopenharmony_ci- max8952,dvs-mode-microvolt: array of 4 integer values defining DVS voltages 78c2ecf20Sopenharmony_ci in microvolts. All values must be from range <770000, 1400000> 88c2ecf20Sopenharmony_ci- any required generic properties defined in regulator.txt 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciOptional properties: 118c2ecf20Sopenharmony_ci- max8952,vid-gpios: array of two GPIO pins used for DVS voltage selection 128c2ecf20Sopenharmony_ci- max8952,en-gpio: GPIO used to control enable status of regulator 138c2ecf20Sopenharmony_ci- max8952,default-mode: index of default DVS voltage, from <0, 3> range 148c2ecf20Sopenharmony_ci- max8952,sync-freq: sync frequency, must be one of following values: 158c2ecf20Sopenharmony_ci - 0: 26 MHz 168c2ecf20Sopenharmony_ci - 1: 13 MHz 178c2ecf20Sopenharmony_ci - 2: 19.2 MHz 188c2ecf20Sopenharmony_ci Defaults to 26 MHz if not specified. 198c2ecf20Sopenharmony_ci- max8952,ramp-speed: voltage ramp speed, must be one of following values: 208c2ecf20Sopenharmony_ci - 0: 32mV/us 218c2ecf20Sopenharmony_ci - 1: 16mV/us 228c2ecf20Sopenharmony_ci - 2: 8mV/us 238c2ecf20Sopenharmony_ci - 3: 4mV/us 248c2ecf20Sopenharmony_ci - 4: 2mV/us 258c2ecf20Sopenharmony_ci - 5: 1mV/us 268c2ecf20Sopenharmony_ci - 6: 0.5mV/us 278c2ecf20Sopenharmony_ci - 7: 0.25mV/us 288c2ecf20Sopenharmony_ci Defaults to 32mV/us if not specified. 298c2ecf20Sopenharmony_ci- any available generic properties defined in regulator.txt 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ciExample: 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci vdd_arm_reg: pmic@60 { 348c2ecf20Sopenharmony_ci compatible = "maxim,max8952"; 358c2ecf20Sopenharmony_ci reg = <0x60>; 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci /* max8952-specific properties */ 388c2ecf20Sopenharmony_ci max8952,vid-gpios = <&gpx0 3 0>, <&gpx0 4 0>; 398c2ecf20Sopenharmony_ci max8952,en-gpio = <&gpx0 1 0>; 408c2ecf20Sopenharmony_ci max8952,default-mode = <0>; 418c2ecf20Sopenharmony_ci max8952,dvs-mode-microvolt = <1250000>, <1200000>, 428c2ecf20Sopenharmony_ci <1050000>, <950000>; 438c2ecf20Sopenharmony_ci max8952,sync-freq = <0>; 448c2ecf20Sopenharmony_ci max8952,ramp-speed = <0>; 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci /* generic regulator properties */ 478c2ecf20Sopenharmony_ci regulator-name = "vdd_arm"; 488c2ecf20Sopenharmony_ci regulator-min-microvolt = <770000>; 498c2ecf20Sopenharmony_ci regulator-max-microvolt = <1400000>; 508c2ecf20Sopenharmony_ci regulator-always-on; 518c2ecf20Sopenharmony_ci regulator-boot-on; 528c2ecf20Sopenharmony_ci }; 53