]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/tegra: hdmi - Add connector supply support
authorThierry Reding <treding@nvidia.com>
Fri, 28 Feb 2014 15:57:34 +0000 (16:57 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 23 Apr 2014 10:35:29 +0000 (12:35 +0200)
commit0d6696438d2c87c9514764cdfeb6450985383f53
treea26617e7ad12963da411e4482e47bbcf96f98875
parenta17304cfac99a882afbd8848e36bf95a4fb14086
drm/tegra: hdmi - Add connector supply support

Revert commit 18ebc0f404d5 "drm/tegra: hdmi: Enable VDD earlier for
hotplug/DDC" and instead add a new supply for the +5V pin on the HDMI
connector.

The vdd-supply property refers to the regulator that supplies the
AVDD_HDMI input on Tegra, rather than the +5V HDMI connector pin. This
was never a problem before, because all boards had that pin hooked up to
a regulator that was always on. Starting with Dalmore and continuing
with Venice2, the +5V pin is controllable via a GPIO. For reasons
unknown, the GPIO ended up as the controlling GPIO of the AVDD_HDMI
supply in the Dalmore and Venice2 DTS files. But that's not correct.
Instead, a separate supply must be introduced so that the +5V pin can be
controlled separately from the supplies that feed the HDMI block within
Tegra.

A new hdmi-supply property is introduced that takes the place of the
vdd-supply and vdd-supply is only enabled when HDMI is enabled rather
than all the time.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Documentation/devicetree/bindings/gpu/nvidia,tegra20-host1x.txt
drivers/gpu/drm/tegra/hdmi.c