]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: rockchip: enable internal pull-up for Q7_THRM# on RK3399 Puma
authorIskander Amara <iskander.amara@theobroma-systems.com>
Fri, 8 Mar 2024 08:52:42 +0000 (09:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2024 14:32:45 +0000 (16:32 +0200)
commit9b338b25b388f477beea902dc351a990d3f2bd3a
treeedf3312527b991ae007f36a6ae8c5cb7f57c5cea
parente64c81111fe9480be73034828df1826c8e4c678c
arm64: dts: rockchip: enable internal pull-up for Q7_THRM# on RK3399 Puma

commit 0ac417b8f124427c90ec8c2ef4f632b821d924cc upstream.

Q7_THRM# pin is connected to a diode on the module which is used
as a level shifter, and the pin have a pull-down enabled by
default. We need to configure it to internal pull-up, other-
wise whenever the pin is configured as INPUT and we try to
control it externally the value will always remain zero.

Signed-off-by: Iskander Amara <iskander.amara@theobroma-systems.com>
Fixes: 2c66fc34e945 ("arm64: dts: rockchip: add RK3399-Q7 (Puma) SoM")
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240308085243.69903-1-iskander.amara@theobroma-systems.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi