]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
arm64: tegra: Fix 'active-low' warning for Jetson TX1 regulator
authorJon Hunter <jonathanh@nvidia.com>
Wed, 25 Sep 2019 14:12:29 +0000 (15:12 +0100)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:23:12 +0000 (14:23 -0300)
commitbdcd16f12b8f24f0733124b89ad7cce47626cde7
treea376c563cb0db2c2994ab1320e4299533e26efe9
parent2343db851c5d64523790a47b252950a66265f88d
arm64: tegra: Fix 'active-low' warning for Jetson TX1 regulator

BugLink: https://bugs.launchpad.net/bugs/1856334
commit 1e5e929c009559bd7e898ac8e17a5d01037cb057 upstream.

Commit 34993594181d ("arm64: tegra: Enable HDMI on Jetson TX1")
added a regulator for HDMI on the Jetson TX1 platform. This regulator
has an active high enable, but the GPIO specifier for enabling the
regulator incorrectly defines it as active-low. This causes the
following warning to occur on boot ...

 WARNING KERN regulator@10 GPIO handle specifies active low - ignored

The fixed-regulator binding does not use the active-low flag from the
gpio specifier and purely relies of the presence of the
'enable-active-high' property to determine if it is active high or low
(if this property is omitted). Fix this warning by setting the GPIO
to active-high in the GPIO specifier which aligns with the presense of
the 'enable-active-high' property.

Fixes: 34993594181d ("arm64: tegra: Enable HDMI on Jetson TX1")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi