linux/drivers
Dmitry Torokhov e75729b2f6 pinctrl: st: stop abusing of_get_named_gpio()
Pin descriptions for this chip only look like standard GPIO device tree
descriptions, while in fact they contain additional data (in excess of
number of cells specified in description of gpio controllers). They also
refer to only pins/gpios belonging to the driver and not to arbitrary
gpio in the system.

Because we want to stop exporting OF-specific handlers from gpiolib-of,
let's parse the pin reference ourself instead of trying to call
of_get_named_gpio().

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/YzSsgoVoJn4+mSpv@google.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2022-10-04 09:58:17 +02:00
..
accessibility TTY / Serial driver changes for 6.0-rc1 2022-08-08 11:31:40 -07:00
acpi More ACPI updates for 5.20-rc1 2022-08-11 13:26:09 -07:00
amba ARM: 9220/1: amba: Remove deferred device addition 2022-07-28 15:09:23 +01:00
android - The usual batches of cleanups from Baoquan He, Muchun Song, Miaohe 2022-08-05 16:32:45 -07:00
ata powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
atm atm: idt77252: fix use-after-free bugs caused by tst_timer 2022-08-08 20:51:59 -07:00
auxdisplay i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
base Driver core / kernfs changes for 6.0-rc1 2022-08-04 11:31:20 -07:00
bcma
block xen: branch for v6.0-rc1b 2022-08-14 09:28:54 -07:00
bluetooth SPDX changes for 6.0-rc1 2022-08-04 12:12:54 -07:00
bus SPDX changes for 6.0-rc1 2022-08-04 12:12:54 -07:00
cdrom
char i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
clk i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
clocksource RISC-V: Add Sstc extension support 2022-08-11 14:41:52 -07:00
comedi pci-v5.20-changes 2022-08-04 19:30:35 -07:00
connector
counter
cpufreq More power management updates for 5.20-rc1 2022-08-08 14:29:00 -07:00
cpuidle More power management updates for 5.20-rc1 2022-08-08 14:29:00 -07:00
crypto i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
cxl cxl/hdm: Fix skip allocations vs multiple pmem allocations 2022-08-05 16:11:38 -07:00
dax
dca
devfreq More power management updates for 5.20-rc1 2022-08-08 14:29:00 -07:00
dio
dma pci-v5.20-changes 2022-08-04 19:30:35 -07:00
dma-buf drm for 5.20/6.0 2022-08-03 19:52:08 -07:00
edac powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
eisa
extcon i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
firewire firewire: net: Make use of get_unaligned_be48(), put_unaligned_be48() 2022-07-28 22:21:54 -07:00
firmware RISC-V Patches for the 5.20 Merge Window, Part 1 2022-08-06 15:04:48 -07:00
fpga
fsi
gnss
gpio gpio: rockchip: request GPIO mux to pinctrl when setting direction 2022-10-04 09:20:41 +02:00
gpu i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
greybus
hid i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
hsi
hte
hv
hwmon i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
hwspinlock
hwtracing asm-generic: updates for 6.0 2022-08-05 10:07:23 -07:00
i2c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
i3c
idle Power management updates for 5.20-rc1 2022-08-02 11:17:00 -07:00
iio i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
infiniband dma-mapping updates 2022-08-06 10:56:45 -07:00
input i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
interconnect
iommu Bitmap patches for v6.0-rc1 2022-08-07 17:52:35 -07:00
ipack
irqchip RISC-V Patches for the 5.20 Merge Window, Part 1 2022-08-06 15:04:48 -07:00
isdn
leds i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
macintosh i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
mailbox - mtk: use rx_callback instead of cmdq_task_cb. 2022-08-08 10:19:40 -07:00
mcb
md - A few fixes for the DM verity and bufio changes from the 6.0 merge. 2022-08-11 19:46:48 -07:00
media i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
memory More power management updates for 5.20-rc1 2022-08-08 14:29:00 -07:00
memstick MMC core: 2022-08-04 19:41:09 -07:00
message
mfd i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
misc i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
mmc MMC core: 2022-08-04 19:41:09 -07:00
most
mtd i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
mux
net i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
nfc i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
ntb NTB: epf: Allow more flexibility in the memory BAR map method 2022-08-09 17:54:03 -04:00
nubus
nvdimm virtio: fatures, fixes 2022-08-12 09:50:34 -07:00
nvme block-6.0-2022-08-12 2022-08-13 13:37:36 -07:00
nvmem SPDX changes for 6.0-rc1 2022-08-04 12:12:54 -07:00
of i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
opp OPP updates for 5.20-rc1 2022-08-03 17:49:38 +02:00
parisc parisc architecture fixes and updates for kernel v5.20-rc1: 2022-08-05 09:58:58 -07:00
parport
pci Fix of heap data and clang warnings, support for a new Intel NTB device, 2022-08-13 14:00:45 -07:00
pcmcia
peci
perf perf: riscv_pmu{,_sbi}: Miscallenous improvement & fixes 2022-08-12 07:17:38 -07:00
phy pci-v5.20-changes 2022-08-04 19:30:35 -07:00
pinctrl pinctrl: st: stop abusing of_get_named_gpio() 2022-10-04 09:58:17 +02:00
platform i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
pnp
power i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
powercap Power management updates for 5.20-rc1 2022-08-02 11:17:00 -07:00
pps
ps3
ptp SPDX changes for 6.0-rc1 2022-08-04 12:12:54 -07:00
pwm i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
rapidio
ras
regulator i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
remoteproc virtio: fatures, fixes 2022-08-12 09:50:34 -07:00
reset ARM: SoC: late updates for 6.0 2022-08-05 10:02:33 -07:00
rpmsg
rtc i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
s390 SCSI misc on 20220813 2022-08-13 13:41:48 -07:00
sbus
scsi SCSI misc on 20220813 2022-08-13 13:41:48 -07:00
sh
siox
slimbus
soc More power management updates for 5.20-rc1 2022-08-08 14:29:00 -07:00
soundwire sound updates for 6.0-rc1 2022-08-06 10:19:51 -07:00
spi powerpc updates for 6.0 2022-08-06 16:38:17 -07:00
spmi
ssb
staging i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
target SCSI misc on 20220813 2022-08-13 13:41:48 -07:00
tc
tee
thermal More thermal control updates for 5.20-rc1 2022-08-08 14:23:37 -07:00
thunderbolt USB / Thunderbolt changes for 6.0-rc1 2022-08-04 11:41:28 -07:00
tty i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
ufs SCSI misc on 20220813 2022-08-13 13:41:48 -07:00
uio
usb i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
vdpa vdpa/mlx5: Fix possible uninitialized return value 2022-08-11 10:00:36 -04:00
vfio vfio: Move vfio.c to vfio_main.c 2022-08-08 14:33:41 -06:00
vhost virtio: fatures, fixes 2022-08-12 09:50:34 -07:00
video i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
virt Char / Misc driver changes for 6.0-rc1 2022-08-04 11:05:48 -07:00
virtio virtio: fatures, fixes 2022-08-12 09:50:34 -07:00
vlynq
w1 i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
watchdog i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
xen xen: branch for v6.0-rc1b 2022-08-14 09:28:54 -07:00
zorro
Kconfig
Makefile Staging driver patches for 6.0-rc1 2022-08-04 12:01:42 -07:00