OSDN Git Service

ARM: dts: stm32: fix stusb1600 pinctrl used on stm32mp157c-dk
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>
Fri, 26 Nov 2021 11:33:40 +0000 (12:33 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 29 Nov 2021 13:11:55 +0000 (14:11 +0100)
commit1149ccc5e89145a344cfdd8832d83bcc919dc1ed
tree40d82f9a3ca88ecd64e94abf1987090108eca00a
parent28f645fc9424bf455528cb92bd6a7120281bca45
ARM: dts: stm32: fix stusb1600 pinctrl used on stm32mp157c-dk

A pinctrl handle is used to setup a pull-up on the stusb1600 IRQ pin (that
is open drain).
When in ANALOG state, no pull-up can be applied in the GPIO HW controller,
still the setting is done into the register. The pull-up is effective
currently, only when the GPIO IRQ is requested. The correct setting is to
use directly the GPIO, instead of ANALOG state.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi