]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: rgpio2p: Enhance reading of GPIO pin value
authorChristoph Fritz <chf.fritz@googlemail.com>
Tue, 5 Apr 2022 10:29:30 +0000 (12:29 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 23 May 2022 09:37:58 +0000 (11:37 +0200)
commit0539d16d22f65b5958800489701249f990531073
tree5fd79af0aabbd343357e2d4cc78ffa8a33f71a3c
parent9d371e5fea39002c077db3335395ffc62e84e5fa
gpio: rgpio2p: Enhance reading of GPIO pin value

Add support for reading GPIO pin value when function is output.
With this patch applied, gpio toggle command is working.

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
drivers/gpio/imx_rgpio2p.c