Skip to content

Commit

Permalink
ARM: dts: imx7-colibri: add Carrier Board 3.3V/5V regulators
Browse files Browse the repository at this point in the history
Model the Carrier Board power distribution by adding a fixed 3.3V
and 5V regulator. The 3.3V regulator is connected to the backlight
as well as the display supply. The 5V regulator is used to supply
USB VBUS.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
agners authored and Shawn Guo committed Apr 10, 2017
1 parent c9171bb commit 7463801
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,35 @@
panel: panel {
compatible = "edt,et057090dhu";
backlight = <&bl>;
power-supply = <&reg_3v3>;

port {
panel_in: endpoint {
remote-endpoint = <&lcdif_out>;
};
};
};

reg_3v3: regulator-3v3 {
compatible = "regulator-fixed";
regulator-name = "3.3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};

reg_5v0: regulator-5v0 {
compatible = "regulator-fixed";
regulator-name = "5V";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
};

&bl {
brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <6>;
power-supply = <&reg_3v3>;

status = "okay";
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/imx7d-colibri-eval-v3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio4 7 GPIO_ACTIVE_LOW>;
vin-supply = <&reg_5v0>;
};
};

Expand Down

0 comments on commit 7463801

Please sign in to comment.