]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
arm64: tegra: Fix 'active-low' warning for Jetson Xavier regulator
authorJon Hunter <jonathanh@nvidia.com>
Wed, 25 Sep 2019 14:12:28 +0000 (15:12 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 16 Dec 2019 15:32:13 +0000 (09:32 -0600)
commitd44208608199e201a7cca45c032e4e93191a9f58
treeee08b001c712c7741420503cc2d07becbc3bff2c
parentff1b7e6c42728936fc06230d75c5ffa132a623be
arm64: tegra: Fix 'active-low' warning for Jetson Xavier regulator

BugLink: https://bugs.launchpad.net/bugs/1856583
commit d440538e5f219900a9fc9d96fd10727b4d2b3c48 upstream.

Commit 4fdbfd60a3a2 ("arm64: tegra: Add PCIe slot supply information
in p2972-0000 platform") added regulators for the PCIe slot on the
Jetson Xavier platform. One of these regulators has an active-low enable
and this commit incorrectly added an active-low specifier for the GPIO
which causes the following warning to occur on boot ...

 WARNING KERN regulator@3 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. Finally, remove the
'enable-active-low' as this is not a valid property.

Fixes: 4fdbfd60a3a2 ("arm64: tegra: Add PCIe slot supply information in p2972-0000 platform")
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: Seth Forshee <seth.forshee@canonical.com>
arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi