OpenCloudOS-Kernel/drivers
Matt Ranostay 960f9df7c6 HID: mcp2221: add ADC/DAC support via iio subsystem
Add support for 3x 10-bit ADC and 1x DAC channels registered via the iio
subsystem.

To prevent breakage and unexpected dependencies this support only is
only built if CONFIG_IIO is enabled, and is only weakly referenced by
'imply IIO' within the respective Kconfig.

Additionally the iio device only gets registered if at least one channel
is enabled in the power-on configuration read from SRAM.

Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2022-10-18 15:00:01 +02:00
..
accessibility
acpi platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
amba ARM: 9229/1: amba: Fix use-after-free in amba_read_periphid() 2022-08-30 11:12:52 +01:00
android Char/Misc driver fixes for 6.0-rc4 2022-09-02 10:50:08 -07:00
ata ata changes for 6.1-rc1 2022-10-07 10:48:49 -07:00
atm
auxdisplay i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
base regmap: Updates for v6.1 2022-10-04 19:12:16 -07:00
bcma bcma: Fix typo in comments 2022-09-07 11:00:30 +03:00
block for-6.1/block-2022-10-03 2022-10-07 09:19:14 -07:00
bluetooth Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure 2022-09-19 10:33:39 -07:00
bus ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
cdrom
char Merge tag 'v6.0-rc5' into i2c/for-mergewindow 2022-09-16 20:42:18 +01:00
clk * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
clocksource RISC-V: Add Sstc extension support 2022-08-11 14:41:52 -07:00
comedi
connector
counter counter: 104-quad-8: Fix skipped IRQ lines during events configuration 2022-09-22 14:26:37 +02:00
cpufreq linux-kselftest-next-6.1-rc1 2022-10-06 12:53:15 -07:00
cpuidle ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
crypto * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
cxl
dax devdax: Fix soft-reservation memory description 2022-09-24 18:05:53 -07:00
dca
devfreq PM / devfreq: rockchip-dfi: Fix an error message 2022-09-26 03:59:43 +09:00
dio
dma dmaengine: zynqmp_dma: Typecast with enum to fix the coverity warning 2022-09-05 11:54:50 +05:30
dma-buf whack-a-mole: cropped up open-coded file_inode() uses... 2022-10-06 17:22:11 -07:00
edac Merge branches 'edac-drivers' and 'edac-misc' into edac-updates-for-v6.1 2022-10-04 10:00:25 +02:00
eisa
extcon i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
firewire
firmware arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
fpga fpga: m10bmc-sec: Fix possible memory leak of flash_buf 2022-09-19 12:58:19 +08:00
fsi
gnss
gpio platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
gpu drm fix for 6.1-rc1 2022-10-07 09:47:47 -07:00
greybus
hid HID: mcp2221: add ADC/DAC support via iio subsystem 2022-10-18 15:00:01 +02:00
hsi
hte
hv Merge branch 'acpi-dev' 2022-09-30 20:05:16 +02:00
hwmon hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
hwspinlock
hwtracing arm64/sysreg: Fix a few missed conversions 2022-09-21 09:24:29 +01:00
i2c ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
i3c
idle intel_idle: Add AlderLake-N support 2022-09-21 20:33:49 +02:00
iio * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
infiniband Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2022-09-28 19:20:49 -07:00
input * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
interconnect
iommu arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
ipack
irqchip arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
isdn Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-10-03 17:44:18 -07:00
leds platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
macintosh macintosh/ams: Adapt declaration of ams_i2c_remove() to earlier change 2022-09-17 20:37:23 +02:00
mailbox
mcb
md for-6.1/passthrough-2022-10-04 2022-10-07 09:35:50 -07:00
media media updates for v6.1-rc1 2022-10-07 11:04:35 -07:00
memory Memory controller drivers for v6.1 - MediaTek 2022-09-12 17:04:15 +02:00
memstick
message
mfd * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
misc whack-a-mole: cropped up open-coded file_inode() uses... 2022-10-06 17:22:11 -07:00
mmc mmc: Merge branch fixes into next 2022-09-28 10:09:29 +02:00
most
mtd ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
mux
net ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
nfc Merge tag 'v6.0-rc5' into i2c/for-mergewindow 2022-09-16 20:42:18 +01:00
ntb
nubus
nvdimm Merge branch 'for-6.0/dax' into libnvdimm-fixes 2022-09-24 18:14:12 -07:00
nvme for-6.1/passthrough-2022-10-04 2022-10-07 09:35:50 -07:00
nvmem
of * 'remove' callback converted to return void. Big change with trivial 2022-10-04 18:54:33 -07:00
opp OPP: Fix an un-initialized variable usage 2022-08-16 10:48:08 +05:30
parisc asm-generic updates for v6.1 2022-10-06 12:10:37 -07:00
parport
pci arm64: bcmbca: Make BCM4908 drivers depend on ARCH_BCMBCA 2022-08-15 09:55:34 -07:00
pcmcia pcmcia: remove AT91RM9200 Compact Flash driver 2022-09-27 08:12:16 +02:00
peci peci: cpu: Fix use-after-free in adev_release() 2022-08-15 20:31:35 +02:00
perf arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
phy ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
pinctrl ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
platform platform-drivers-x86 for v6.1-1 2022-10-05 10:38:24 -07:00
pnp PNPBIOS: remove unused pnpid32_to_pnpid() declaration 2022-09-24 18:07:42 +02:00
power i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
powercap powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain 2022-09-24 19:32:46 +02:00
pps
ps3
ptp ptp: Remove usage of the deprecated ida_simple_xxx API 2022-09-27 17:33:11 -07:00
pwm hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
rapidio
ras RAS/CEC: Reduce offline page threshold for Intel systems 2022-08-22 19:30:02 +02:00
regulator regulator: Updates for v6.1 2022-10-04 19:27:45 -07:00
remoteproc virtio: Revert "virtio: find_vqs() add arg sizes" 2022-08-16 01:40:24 -04:00
reset ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
rpmsg
rtc i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
s390 for-6.1/block-2022-10-03 2022-10-07 09:19:14 -07:00
sbus
scsi for-6.1/passthrough-2022-10-04 2022-10-07 09:35:50 -07:00
sh
siox
slimbus
soc ARM: SoC code changes for 6.1 2022-10-06 11:22:25 -07:00
soundwire Linux 6.0-rc4 2022-09-13 15:05:38 +01:00
spi spi: Updates for v6.1 2022-10-04 19:36:53 -07:00
spmi
ssb
staging media updates for v6.1-rc1 2022-10-07 11:04:35 -07:00
target for-6.1/passthrough-2022-10-04 2022-10-07 09:35:50 -07:00
tc
tee ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
thermal Networking changes for 6.1. 2022-10-04 13:38:03 -07:00
thunderbolt Networking changes for 6.1. 2022-10-04 13:38:03 -07:00
tty ARM: SoC code changes for 6.1 2022-10-06 11:22:25 -07:00
ufs for-6.1/block-2022-10-03 2022-10-07 09:19:14 -07:00
uio
usb sound updates for 6.1-rc1 2022-10-05 12:02:07 -07:00
vdpa Networking changes for 6.1. 2022-10-04 13:38:03 -07:00
vfio VFIO fix for v6.0-rc5 2022-09-09 07:44:33 -04:00
vhost Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-10-03 17:44:18 -07:00
video drm pull for 6.1-rc1 2022-10-05 11:24:12 -07:00
virt kunit: fix Kconfig for build-in tests USB4 and Nitro Enclaves 2022-09-01 13:00:48 -06:00
virtio virtio: kerneldocs fixes and enhancements 2022-08-16 01:40:24 -04:00
vlynq
w1 i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
watchdog ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
xen xen: branch for v6.0-rc7 2022-09-23 08:31:24 -07:00
zorro
Kconfig
Makefile