summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorRustam Adilov <adilov@disroot.org>2026-08-15 14:44:51 +0500
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-09-01 17:54:54 +0200
commit785ec26c37e56ee5f142b6684f7c15c7ca7430a3 (patch)
tree186a04b272ef76953f4d51f1f207691ae551600c /scripts/Makefile.thinlto
parent61ef599b782e776437886f2be0623b3c9055e5d3 (diff)
downloadlinux-next-785ec26c37e56ee5f142b6684f7c15c7ca7430a3.tar.gz
linux-next-785ec26c37e56ee5f142b6684f7c15c7ca7430a3.zip
gpio: realtek-otto: make bank_read/write overridable by endian property
In order to have a working gpio controller with SWAP_IO_SPACE, the bank_read/bank_write functions and the gen_gc_flag used for gpio_generic_chip_config must be able to be changed to their respective counterparts. To do that, introduce checks for the presence of endian property under the device tree node and if so, override what has been set by GPIO_PORTS_REVERSED quirk flag. This way, existing device trees are kept working as they were originally. Both big-endian and little-endian properties must be checked because there are devices that have GPIO_PORTS_REVERSED flag and the others that don't. Signed-off-by: Rustam Adilov <adilov@disroot.org> Link: https://patch.msgid.link/20260815094451.31792-3-adilov@disroot.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions