[PATCH 19/25] ARM: tegra: Add dummy backlight power supplies

Thierry Reding
2021-12-09T17:34:52Z

From: Thierry Reding <treding@nvidia.com>

The Medcom Wide and PAZ00 boards don't specify the power supply for the
backlight, which means that the Linux driver will provide a dummy one.
Wire up an explicit dummy to also make the DT schema validation succeed.
Unfortunately I don't have access to the schematics for these boards, so
I don't know if a more accurate description is possible.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
arch/arm/boot/dts/tegra20-medcom-wide.dts | 3 +++
arch/arm/boot/dts/tegra20-paz00.dts | 3 +++
2 files changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/tegra20-medcom-wide.dts b/arch/arm/boot/dts/tegra20-medcom-wide.dts
index ed0e4012e140..b072d715999e 100644
--- a/arch/arm/boot/dts/tegra20-medcom-wide.dts
+++ b/arch/arm/boot/dts/tegra20-medcom-wide.dts
@@ -54,6 +54,9 @@ backlight: backlight {

brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <6>;
+
+ /* dummy */
+ power-supply = <&vdd_5v0_reg>;
};

panel: panel {
diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts
index e4c6c1363fc5..dd80108ac72c 100644
--- a/arch/arm/boot/dts/tegra20-paz00.dts
+++ b/arch/arm/boot/dts/tegra20-paz00.dts
@@ -571,6 +571,9 @@ backlight: backlight {

brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>;
default-brightness-level = <10>;
+
+ /* dummy */
+ power-supply = <&p5valw_reg>;
};

clk32k_in: clock-32k {
--
2.34.1