linux-stable/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
amba
android
ata ata changes for 6.1-rc1 2022-10-07 10:48:49 -07:00
atm
auxdisplay
base
bcma
block for-6.1/block-2022-10-03 2022-10-07 09:19:14 -07:00
bluetooth
bus
cdrom
char
clk
clocksource
comedi
connector
counter
cpufreq linux-kselftest-next-6.1-rc1 2022-10-06 12:53:15 -07:00
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf whack-a-mole: cropped up open-coded file_inode() uses... 2022-10-06 17:22:11 -07:00
edac
eisa
extcon
firewire
firmware arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
fpga
fsi
gnss
gpio
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
hwmon
hwspinlock
hwtracing
i2c
i3c
idle
iio
infiniband
input
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
leds
macintosh
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
memstick
message
mfd
misc whack-a-mole: cropped up open-coded file_inode() uses... 2022-10-06 17:22:11 -07:00
mmc
most
mtd
mux
net
nfc
ntb
nubus
nvdimm
nvme for-6.1/passthrough-2022-10-04 2022-10-07 09:35:50 -07:00
nvmem
of
opp
parisc asm-generic updates for v6.1 2022-10-06 12:10:37 -07:00
parport
pci
pcmcia
peci
perf arm64 updates for 6.1: 2022-10-06 11:51:49 -07:00
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
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
spi
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
thermal
thunderbolt
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
vdpa
vfio
vhost
video
virt
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile