Skip to content

Commit

Permalink
arm64: dts: zii-ultra: Fix regulator-vsd-3v3's vin-supply
Browse files Browse the repository at this point in the history
Regulator-vsd-3v3 is supplied via GEN_3V3 rail which is an output of
an "always on" load switch supplied by 3V3_MAIN. GEN_3V3 is also used
as vin-supply by a number of peripherals, so adding it also allows us
to follow the schematic more closely.

Signed-off-by: Andrey Smirnov <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Chris Healy <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected],
Cc: [email protected]
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
ndreys authored and Shawn Guo committed Oct 28, 2019
1 parent 91035cb commit 7270a6b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,20 @@
regulator-always-on;
};

reg_gen_3p3: regulator-gen-3p3 {
compatible = "regulator-fixed";
vin-supply = <&reg_3p3_main>;
regulator-name = "GEN_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};

reg_usdhc2_vmmc: regulator-vsd-3v3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reg_usdhc2>;
compatible = "regulator-fixed";
vin-supply = <&reg_3p3_main>;
vin-supply = <&reg_gen_3p3>;
regulator-name = "3V3_SD";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
Expand Down

0 comments on commit 7270a6b

Please sign in to comment.