Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: tegra: Add dummy backlight power supplies

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 the Medcom Wide,
so I don't know if a more accurate description is possible.

The AC100 (PAZ00) schematics from here:

https://www.s-manuals.com/pdf/motherboard/compal/compal_la-6352p_r1.0a_schematics.pdf

aren't entirely clear which one of the supplies powers backlight, but
the panel supply is probably close enough.

Based on work by David Heidelberg <david@ixit.cz>.

Signed-off-by: Thierry Reding <treding@nvidia.com>

+6
+3
arch/arm/boot/dts/tegra20-medcom-wide.dts
··· 54 54 55 55 brightness-levels = <0 4 8 16 32 64 128 255>; 56 56 default-brightness-level = <6>; 57 + 58 + /* close enough */ 59 + power-supply = <&vdd_3v3_reg>; 57 60 }; 58 61 59 62 panel: panel {
+3
arch/arm/boot/dts/tegra20-paz00.dts
··· 571 571 572 572 brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>; 573 573 default-brightness-level = <10>; 574 + 575 + /* close enough */ 576 + power-supply = <&vdd_pnl_reg>; 574 577 }; 575 578 576 579 clk32k_in: clock-32k {