linux-stable/drivers
Chen-Yu Tsai 39b415f846 i2c: of-prober: Add GPIO support to simple helpers
Add GPIO support to the simple helpers for the I2C OF component prober.
Components that the prober intends to probe likely require their
regulator supplies be enabled, and GPIOs be toggled to enable them or
bring them out of reset before they will respond to probe attempts.
Regulator supplies were handled in the previous patch.

The assumption is that the same class of components to be probed are
always connected in the same fashion with the same regulator supply
and GPIO. The names may vary due to binding differences, but the
physical layout does not change.

This supports at most one GPIO pin. The user must specify the GPIO name,
the polarity, and the amount of time to wait after the GPIO is toggled.
Devices with more than one GPIO pin likely require specific power
sequencing beyond what generic code can easily support.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
2024-11-27 12:04:26 +01:00
..
accel Backmerge v6.12-rc6 of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next 2024-11-04 14:25:33 +10:00
accessibility
acpi More power management updates for 6.13-rc1 2024-11-22 19:29:48 -08:00
amba
android mm/list_lru: simplify the list_lru walk callback function 2024-11-11 17:22:26 -08:00
ata pci-v6.13-changes 2024-11-26 18:05:44 -08:00
atm
auxdisplay auxdisplay for v6.13-1 2024-11-20 12:55:41 -08:00
base soc: driver updates for 6.12 2024-11-20 15:40:54 -08:00
bcma
block Rust changes for v6.13 2024-11-26 14:00:26 -08:00
bluetooth Networking changes for 6.13. 2024-11-21 08:28:08 -08:00
bus bus: Switch back to struct platform_driver::remove() 2024-11-12 15:53:37 +01:00
cache
cdrom
cdx
char tpm: atmel: Drop PPC64 specific MMIO setup 2024-11-22 00:56:50 +02:00
clk The core framework gained a clk provider helper, a clk consumer helper, and 2024-11-22 17:02:25 -08:00
clocksource clocksource/drivers/arm_arch_timer: Use of_property_present() for non-boolean properties 2024-11-13 13:49:33 +01:00
comedi
connector
counter
cpufreq powerpc updates for 6.13 2024-11-23 10:44:31 -08:00
cpuidle powerpc updates for 6.13 2024-11-23 10:44:31 -08:00
crypto pci-v6.13-changes 2024-11-26 18:05:44 -08:00
cxl cxl changes for v6.13 2024-11-22 12:33:52 -08:00
dax libnvdimm additions for 6.13 2024-11-25 18:31:48 -08:00
dca
devfreq
dio
dma dmaengine fixes for v6.12 2024-11-03 10:15:50 -10:00
dma-buf dma-buf: use atomic64_inc_return() in dma_buf_getfile() 2024-11-06 13:36:37 -08:00
dpll dpll: add clock quality level attribute and op 2024-11-03 08:39:07 -08:00
edac powerpc updates for 6.13 2024-11-23 10:44:31 -08:00
eisa
extcon
firewire firewire updates for v6.13 2024-11-25 17:12:54 -08:00
firmware The biggest change here is eliminating the awful idea that KVM had, of 2024-11-23 16:00:50 -08:00
fpga pci-v6.13-changes 2024-11-26 18:05:44 -08:00
fsi
gnss
gpio pci-v6.13-changes 2024-11-26 18:05:44 -08:00
gpu Rust changes for v6.13 2024-11-26 14:00:26 -08:00
greybus
hid Revert "HID: bpf: allow write access to quirks field in struct hid_device" 2024-11-25 09:21:47 -08:00
hsi
hte
hv
hwmon hwmon: (aquacomputer_d5next) Fix length of speed_input array 2024-11-24 07:36:47 -08:00
hwspinlock
hwtracing intel_th: pci: Replace deprecated PCI functions 2024-10-30 16:07:37 -05:00
i2c i2c: of-prober: Add GPIO support to simple helpers 2024-11-27 12:04:26 +01:00
i3c i3c: Use i3cdev->desc->info instead of calling i3c_device_get_info() to avoid deadlock 2024-11-18 14:29:13 +01:00
idle intel_idle: add Granite Rapids Xeon D support 2024-11-11 15:48:50 +01:00
iio Locking changes for v6.13 are: 2024-11-19 12:43:11 -08:00
infiniband RDMA v6.13 merge window pull request 2024-11-22 20:03:57 -08:00
input Input updates for v6.13-rc0 2024-11-25 10:31:39 -08:00
interconnect
iommu - The series "zram: optimal post-processing target selection" from 2024-11-23 09:58:07 -08:00
ipack
irqchip The biggest change here is eliminating the awful idea that KVM had, of 2024-11-23 16:00:50 -08:00
isdn mISDN: Fix typos 2024-11-09 09:14:12 -08:00
leds - Removed unused local header files from various drivers. 2024-11-22 16:25:20 -08:00
macintosh macintosh: Use common error handling code in via_pmu_led_init() 2024-11-14 22:54:28 +11:00
mailbox mailbox: pcc: Check before sending MCTP PCC response ACK 2024-11-24 13:20:40 -06:00
mcb
md - Dm: remove unused functions and variables 2024-11-25 18:54:00 -08:00
media media updates for v6.13-rc1 2024-11-20 14:05:34 -08:00
memory
memstick
message scsi: fusion: Remove unused variable 'rc' 2024-11-06 20:46:07 -05:00
mfd - Several drivers, including atmel-flexcom/rk8xx-core, palmas, and 2024-11-22 16:19:47 -08:00
misc hardening updates for v6.13-rc1 2024-11-25 15:22:35 -08:00
mmc MMC core: 2024-11-20 12:51:32 -08:00
most
mtd MTD device changes: Aside from the platform_driver::remove() switch, two 2024-11-22 17:06:59 -08:00
mux
net pci-v6.13-changes 2024-11-26 18:05:44 -08:00
nfc
ntb ntb: idt: Replace deprecated PCI functions 2024-10-30 16:07:38 -05:00
nubus
nvdimm nvdimm: rectify the illogical code within nd_dax_probe() 2024-11-13 12:58:37 -06:00
nvme for-6.13/block-20241118 2024-11-18 16:50:08 -08:00
nvmem
of of: base: Add for_each_child_of_node_with_prefix() 2024-11-27 12:04:01 +01:00
opp
parisc
parport
pci pci-v6.13-changes 2024-11-26 18:05:44 -08:00
pcmcia pcmcia: soc_common: Avoid using GPIOF_ACTIVE_LOW 2024-11-09 14:55:33 +01:00
peci
perf arm64 updates for 6.13: 2024-11-18 18:10:37 -08:00
phy
pinctrl This is the bulk of the pin control changes for v6.13: 2024-11-25 17:24:51 -08:00
platform Input updates for v6.13-rc0 2024-11-25 10:31:39 -08:00
pmdomain pmdomain: qcom: rpmhpd: Add rpmhpd support for SM8750 2024-11-12 19:46:51 +01:00
pnp
power power sequencing updates for v6.13-rc1 2024-11-20 12:41:03 -08:00
powercap
pps
ps3 ps3: Correct some typos in comments 2024-11-15 00:32:29 +11:00
ptp ptp: Remove 'default y' for VMCLOCK PTP device 2024-11-04 18:18:10 -08:00
pwm pwm: Assume a disabled PWM to emit a constant inactive output 2024-11-07 12:03:39 +01:00
rapidio
ras RAS/AMD/ATL: Add debug prints for DF register reads 2024-10-22 18:55:57 +02:00
regulator - Several drivers, including atmel-flexcom/rk8xx-core, palmas, and 2024-11-22 16:19:47 -08:00
remoteproc remoteproc: qcom: wcss: Remove double assignment in q6v5_wcss_probe() 2024-11-15 20:36:27 -08:00
reset The core framework gained a clk provider helper, a clk consumer helper, and 2024-11-22 17:02:25 -08:00
rpmsg rpmsg updates for v6.13 2024-11-26 18:36:55 -08:00
rtc - Several drivers, including atmel-flexcom/rk8xx-core, palmas, and 2024-11-22 16:19:47 -08:00
s390 s390 updates for 6.13 merge window 2024-11-18 17:45:41 -08:00
sbus
scsi SCSI misc on 20241125 2024-11-25 18:50:55 -08:00
sh
siox
slimbus
soc Networking changes for 6.13. 2024-11-21 08:28:08 -08:00
soundwire ASoC: Merge up fixes 2024-11-14 11:39:47 +00:00
spi MTD device changes: Aside from the platform_driver::remove() switch, two 2024-11-22 17:06:59 -08:00
spmi
ssb
staging Networking changes for 6.13. 2024-11-21 08:28:08 -08:00
target SCSI misc on 20241125 2024-11-25 18:50:55 -08:00
tc TC: Fix the wrong format specifier 2024-11-12 15:48:08 +01:00
tee
thermal pci-v6.13-changes 2024-11-26 18:05:44 -08:00
thunderbolt thunderbolt: Fixes for v6.12-rc7 2024-11-07 16:11:57 +01:00
tty pci-v6.13-changes 2024-11-26 18:05:44 -08:00
ufs SCSI misc on 20241125 2024-11-25 18:50:55 -08:00
uio
usb - Several drivers, including atmel-flexcom/rk8xx-core, palmas, and 2024-11-22 16:19:47 -08:00
vdpa vdpa/mlx5: Fix PA offset with unaligned starting iotlb map 2024-11-12 18:05:04 -05:00
vfio iommufd 6.13 merge window pull 2024-11-21 12:40:50 -08:00
vhost mm: page_frag: avoid caller accessing 'page_frag_cache' directly 2024-11-11 10:56:27 -08:00
video fbdev fixes and updates for 6.13-rc1: 2024-11-25 12:07:45 -08:00
virt - Do the proper memory conversion of guest memory in order to be able to kexec 2024-11-19 12:21:35 -08:00
virtio Networking changes for 6.13. 2024-11-21 08:28:08 -08:00
w1
watchdog asm-generic updates for 6.13 2024-11-20 15:13:02 -08:00
xen A set of updates for the interrupt subsystem: 2024-11-19 15:54:19 -08:00
zorro
Kconfig
Makefile