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

ARM: tegra: Add missing HDMI +5V regulator

Commit fb50a116bbbc ("drm/tegra: hdmi - Add connector supply support")
introduced a new supply for HDMI connectors that is used to control the
voltage on the +5V pin. Not all boards have had the corresponding supply
added to their device tree files, causing the following warning message
during boot:

[ 0.859698] 54280000.hdmi supply hdmi not found, using dummy regulator

Add such a regulator to the Seaboard DTS to enable the driver to control
this voltage and get rid of the warning.

Reported-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

+12
+12
arch/arm/boot/dts/tegra20-seaboard.dts
··· 31 31 32 32 vdd-supply = <&hdmi_vdd_reg>; 33 33 pll-supply = <&hdmi_pll_reg>; 34 + hdmi-supply = <&vdd_hdmi>; 34 35 35 36 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 36 37 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) ··· 893 892 regulator-max-microvolt = <2800000>; 894 893 gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; 895 894 enable-active-high; 895 + }; 896 + 897 + vdd_hdmi: regulator@6 { 898 + compatible = "regulator-fixed"; 899 + reg = <6>; 900 + regulator-name = "VDDIO_HDMI"; 901 + regulator-min-microvolt = <5000000>; 902 + regulator-max-microvolt = <5000000>; 903 + gpio = <&gpio TEGRA_GPIO(V, 5) GPIO_ACTIVE_HIGH>; 904 + enable-active-high; 905 + vin-supply = <&vdd_5v0_reg>; 896 906 }; 897 907 }; 898 908