summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2026-03-27 11:30:04 +0000
committerLinus Walleij <linusw@kernel.org>2026-06-11 13:47:52 +0200
commiteaf84ff673409fa3dfc390c6afb53b641ee5acba (patch)
tree3b09a934dbff8a8e2f00f88663a3c6830697e17b /scripts
parente191518a9e72ec0b9d0254d537a48a4c8d18dc4b (diff)
pinctrl: sunxi: a523: Remove unneeded IRQ remuxing flag
The Allwinner A10 and H3 SoCs cannot read the state of a GPIO line when that line is muxed for IRQ triggering (muxval 6), but only if it's explicitly muxed for GPIO input (muxval 0). Other SoCs do not show this behaviour, so we added a optional workaround, triggered by a quirk bit, which triggers remuxing the pin when it's configured for IRQ, while we need to read its value. For some reasons this quirk flag was copied over to newer SoCs, even though they don't show this behaviour, and the GPIO data register reflects the true GPIO state even with a pin muxed to IRQ trigger. Remove the unneeded quirk from the A523 family, where it's definitely not needed (confirmed by experiments), and where it actually breaks, because the workaround is not compatible with the newer generation pinctrl IP used in that chip. Together with a DT change this fixes GPIO IRQ operation on the A523 family of SoCs, as for instance used for the SD card detection. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Fixes: b8a51e95b376 ("pinctrl: sunxi: Add support for the secondary A523 GPIO ports") Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Acked-by: Chen-Yu Tsai <wens@kernel.org> Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions