]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: stm32: correct management pin display of OTYPE
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 21 Jan 2021 16:39:07 +0000 (17:39 +0100)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 9 Feb 2021 09:31:04 +0000 (10:31 +0100)
commit1da426919dedc2ece25e05f5d8ca131142c7348c
treeb72ccd61dbdbd1ec971cf40930bff2401bb69c07
parentca5cc312d4bea03a106dd36026ae637b19fa5599
pinctrl: stm32: correct management pin display of OTYPE

OTYPE can be used for output or for alternate function to select
PP = push-pull or OP = open-drain mode, according reference manual
(Table 81. Port bit configuration table).

This patch removes this indication for input pins and adds it
for AF and output pins for pinmux command output.

Fixes: b305dbc08b08 ("pinctrl: stm32: display bias information for all pins")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/pinctrl/pinctrl_stm32.c