···8899Following properties should be present in main device node of the MFD chip.10101111-Optional node:1111+Optional properties:1212+- inb1-supply: The input supply for BUCK11313+- inb2-supply: The input supply for BUCK21414+- inb3-supply: The input supply for BUCK31515+- inb4-supply: The input supply for BUCK41616+- inb5-supply: The input supply for BUCK51717+- inb6-supply: The input supply for BUCK61818+- inb7-supply: The input supply for BUCK71919+- inb8-supply: The input supply for BUCK82020+- inb9-supply: The input supply for BUCK92121+- inb10-supply: The input supply for BUCK102222+- inl1-supply: The input supply for LDO8 and LDO152323+- inl2-supply: The input supply for LDO17, LDO27, LDO30 and LDO352424+- inl3-supply: The input supply for LDO3, LDO5, LDO6 and LDO72525+- inl4-supply: The input supply for LDO10, LDO11, LDO13 and LDO142626+- inl5-supply: The input supply for LDO9 and LDO192727+- inl6-supply: The input supply for LDO4, LDO21, LDO24 and LDO332828+- inl7-supply: The input supply for LDO18, LDO20, LDO28 and LDO292929+- inl9-supply: The input supply for LDO12, LDO23, LDO25, LDO26, LDO32 and LDO343030+- inl10-supply: The input supply for LDO1 and LDO23131+3232+Optional nodes:1233- regulators : The regulators of max77802 have to be instantiated1334 under subnode named "regulators" using the following format.1435···7857 reg = <0x09>;7958 #address-cells = <1>;8059 #size-cells = <0>;6060+6161+ inb1-supply = <&parent_reg>;81628263 regulators {8364 ldo1_reg: LDO1 {
···1111- regulator-always-on: boolean, regulator should never be disabled1212- regulator-boot-on: bootloader/firmware enabled regulator1313- regulator-allow-bypass: allow the regulator to go into bypass mode1414+- regulator-allow-set-load: allow the regulator performance level to be configured1415- <name>-supply: phandle to the parent supply/regulator node1516- regulator-ramp-delay: ramp delay for regulator(in uV/uS)1617 For hardware which supports disabling ramp rate, it should be explicitly
+1-1
drivers/regulator/Kconfig
···627627628628config REGULATOR_STW481X_VMMC629629 bool "ST Microelectronics STW481X VMMC regulator"630630- depends on MFD_STW481X630630+ depends on MFD_STW481X || COMPILE_TEST631631 default y if MFD_STW481X632632 help633633 This driver supports the internal VMMC regulator in the STw481x
+3
drivers/regulator/of_regulator.c
···7676 if (of_property_read_bool(np, "regulator-allow-bypass"))7777 constraints->valid_ops_mask |= REGULATOR_CHANGE_BYPASS;78787979+ if (of_property_read_bool(np, "regulator-allow-set-load"))8080+ constraints->valid_ops_mask |= REGULATOR_CHANGE_DRMS;8181+7982 ret = of_property_read_u32(np, "regulator-ramp-delay", &pval);8083 if (!ret) {8184 if (pval)