1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/Documentation/devicetree/bindings
Greg Kroah-Hartman 1bb866dcb8 1st set of IIO new device support, features and cleanup for 5.17
Includes some fixes that were either late breaking, low priority or
 complex enough to not be good to rush in late in the cycle.
 
 Tree rebased today to fix up some trivial issues + pull in a fix that
 was previously on the fixes-togreg branch. Vast majority have been
 in linux-next for some time now.
 
 New device support
 * adi,ad7293
   - New driver and bindings for this Power Amplifier drain current
     controller.  A complex device with various related monitoring functions.
 * adi,ad75513R
   - New driver and bindings for this combined ADC and DAC device.
   - A few follow up fixes.
 * adi,admv8818
   - New driver (and type) for this 2-18GHz filter device. Includes
     bindings and ABI documentation to allow clk_notifier based auto
     adjustment of the filters in appropriate applications.
 * liteon,ltr501
   - Support for the ltr303.  ID and chip specific info table.
 * xilinx,ams
   - New generic firmware function fwnode_iomap() as used in this driver.
   - New driver and bindings for this ADC and on-chip sensors as found
     in various Xilinx devices.
 
 Core
 * Introduced IIO_VAL_INT_64 which uses val and val2 in IIO callbacks to
   form a 64 bit integer when higher precision needed.
 * Allow IIO_ENUM_AVAILABLE to be used with different shared values.
 * Fix a long term issue with scheduling whilst atomic when iio_trig_poll()
   is called but no trigger consumers are actually enabled and hence the
   trigger may be reenabled from the interrupt handler.  Seen in the wild
   on the tsc2046.
 * Mark iio_device_type const.
 * buffer: Use a separate index variable to simplify code.
 * buffer-dma: Clear out unused struct iio_buffer_block
 * buffer-dmaengine: Switch to cheaper round_down() as power of 2 values.
 
 Tests/tools
 * format_value
   - Check against NULL returns from allocations in tests.
   - Add IIO_VAL_INT_64 test case.
 * event_monitor
   - Flush the output after event to given more consistent latency
     when tool output piped to other programs.
 
 Driver Features
 * axp20x
   - Add support for NTC thermistor channel and document TS pin binding.
 * arm,scmi
   - Add reading of raw channel values (using IIO_VAL_INT_64)
 * liteon,ltr501
   - Add proximity-near-level support and dt-binding.
 
 Tree wide cleanup
 * Remove no-op trigger ops from multiple drivers.
 * Stop using dev_get_drvdata() on the iio_dev->dev in various drivers
   and then stop assigning it to allow this to be used for other purposes.
   We can always get to the indio_dev using dev_to_iio_dev() which is
   a container_of() based approach. Also cleanup up some related unnecessary
   convoluted cases.
   - atmel,at91-sam5d2
   - nxp,imx7d
   - meas,ms5611
   - st,st_sensors
 * Where available (or easy to introduce) use the scan_type.* values
   in place of a second copy for read_raw and similar paths.
   - adi,ad7266
   - bosch,bma220
   - fsl,mac3110
   - fsl,mma7455
   - fsl,mpl3115
   - kionix,kcjk-1013
   - sensortek,stk8ba50
   - sensortek,stk8312
   - ti,adc12138
   - ti,ads1015
   - vti,sca3000
   - xilinx,xadc-core
 * Switch drives over to generic firmware properties including appropriate
   header changes to avoid including of.h
   - Various DACs had false CONFIG_OF dependencies.
   - dpot-dac
   - envelope-detector
   - adi,ad5755
   - adi,ad5758
   - capella,cm3605
   - maxim,max9611
   - microchip,mcp41010
   - microchip,mcp3911
   - ti,adc12138
 * Trivial clang warning fixes for W=1 warnings.
 
 Driver specific cleanup and minor fixes
 * adi,ad7606
   - Comment fixes.
 * ams,ad3935
   - Drop pointless cast to the same type.
 * atmel,at91-sama5d2
   - Fix wrong cast of iio_dev->dev to platform_device that happened to
     be harmless.
 * fsl,mma7660
   - Stop i2c remove() function returning an error code. Part of a rework
     to eventually stop returning anything from these.
 * fsl,mma8452
   - Use correct type for local irqreturn_t.
 * nxp,imx8mq
   - Maintainer email address update.
 * nxp,lpc18xx_adc
   - Ensure clk_prepare_enable() called before clk_get_rate().
   - Switch of.h for mod_devicetable.h to reflect no of specific functions,
     just the id table.
 * renesas,rzg2l
   - Drop a dev_err() that just duplicates error printed in platform_get_irq()
 * sgx,vz89x
   - Drop pointless cast.
 * st,lsm6dsx
   - Make it possible to disable the sensorhub from DT to avoid a corner
     case where the address of a slave device many be accidentally modified.
 * st,stm32-adc
   - Stop leaking an of_node in an error path.
 * st,stmp2
    - Avoid wrong sized type for bit field which could result in
      over-reading (harmless). Precursor to enabling -Warray-bounds.
 * ti,adc081c
   - Put back some ACPI support for non standards compliant ADC081C
     ID because it is known to be in the wild on some Aaeon boards.
 * ti,ads8688
   - Cleanup redundant local ret variable assignment.
 * ti,ina2xx-adc
   - Use helper macro kthread_run() to replace some boilerplate.
   - Avoid double reference counting.
   - Drop pointless cast.
 * xilinx,xadc
   - Make the IRQ optional as not always wired to the host system.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEbilms4eEBlKRJoGxVIU0mcT0FogFAmHB8WsRHGppYzIzQGtl
 cm5lbC5vcmcACgkQVIU0mcT0FoiiUg/8Dsg+oaZ126Wo+xW1FGk8LQ2GjCpIMHnt
 pLW+O1ezBipqCL3pemQeV5b8GcAo5Tia/yplzZxxhbP3GMY9gMkMWqnCdY/81E69
 w1SQF84OvMFdN+jHGAqu0mnyBkHEdT/nLyNMExBXSXMzXWzITY3bWbygMsKeN5Rs
 /GWyiAgqA8PPi6DoMa9tiGiPGxejic7jEVHMLjXk4ytRLndNtD1IxUElD9yTFxhk
 Hteba0hq+Et56nw/yOjz3mP4oSZSd//qPWQJ/qbMcHCvnr6LJ24sqhXiEQXyZ2vA
 hjkoYRXQnzKdPcrYFcre4VY1nJdQ3v0GKCDEFPUHzRJh8iKJleQCH6dIGNNkiRld
 KvBah2SetS43zQ11c4JywAUxENiWrUGIrF6u9xPCLq8Pe9b454r+Fb5BCwR7Ra+7
 bit11aIazCQV98bFwQvwMzPL9L/SZI6cmsbizdjT2VMRBTPIWl4NhQRVoYQjb8v0
 yZ6/S1560ibTxurTStkcGjjBC+mUzvVNuKir2mHaBdzCVAX82+babJcOhxzlI8jh
 9adyfHsBL8HwOWBjxHgybjw87DDtuByiVuVy7h2jAVgQevPknVC1toj4Q2bNCbUj
 tB2Ln6hBIaU29B1dj6GDwGvrCmi9XQzHOd0MSf524E/GlOKy4JEDQZU9bHFW5MKS
 VcQSGTXSG7s=
 =xXvq
 -----END PGP SIGNATURE-----

Merge tag 'iio-for-5.17a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next

Jonathan writes:

1st set of IIO new device support, features and cleanup for 5.17

Includes some fixes that were either late breaking, low priority or
complex enough to not be good to rush in late in the cycle.

Tree rebased today to fix up some trivial issues + pull in a fix that
was previously on the fixes-togreg branch. Vast majority have been
in linux-next for some time now.

New device support
* adi,ad7293
  - New driver and bindings for this Power Amplifier drain current
    controller.  A complex device with various related monitoring functions.
* adi,ad75513R
  - New driver and bindings for this combined ADC and DAC device.
  - A few follow up fixes.
* adi,admv8818
  - New driver (and type) for this 2-18GHz filter device. Includes
    bindings and ABI documentation to allow clk_notifier based auto
    adjustment of the filters in appropriate applications.
* liteon,ltr501
  - Support for the ltr303.  ID and chip specific info table.
* xilinx,ams
  - New generic firmware function fwnode_iomap() as used in this driver.
  - New driver and bindings for this ADC and on-chip sensors as found
    in various Xilinx devices.

Core
* Introduced IIO_VAL_INT_64 which uses val and val2 in IIO callbacks to
  form a 64 bit integer when higher precision needed.
* Allow IIO_ENUM_AVAILABLE to be used with different shared values.
* Fix a long term issue with scheduling whilst atomic when iio_trig_poll()
  is called but no trigger consumers are actually enabled and hence the
  trigger may be reenabled from the interrupt handler.  Seen in the wild
  on the tsc2046.
* Mark iio_device_type const.
* buffer: Use a separate index variable to simplify code.
* buffer-dma: Clear out unused struct iio_buffer_block
* buffer-dmaengine: Switch to cheaper round_down() as power of 2 values.

Tests/tools
* format_value
  - Check against NULL returns from allocations in tests.
  - Add IIO_VAL_INT_64 test case.
* event_monitor
  - Flush the output after event to given more consistent latency
    when tool output piped to other programs.

Driver Features
* axp20x
  - Add support for NTC thermistor channel and document TS pin binding.
* arm,scmi
  - Add reading of raw channel values (using IIO_VAL_INT_64)
* liteon,ltr501
  - Add proximity-near-level support and dt-binding.

Tree wide cleanup
* Remove no-op trigger ops from multiple drivers.
* Stop using dev_get_drvdata() on the iio_dev->dev in various drivers
  and then stop assigning it to allow this to be used for other purposes.
  We can always get to the indio_dev using dev_to_iio_dev() which is
  a container_of() based approach. Also cleanup up some related unnecessary
  convoluted cases.
  - atmel,at91-sam5d2
  - nxp,imx7d
  - meas,ms5611
  - st,st_sensors
* Where available (or easy to introduce) use the scan_type.* values
  in place of a second copy for read_raw and similar paths.
  - adi,ad7266
  - bosch,bma220
  - fsl,mac3110
  - fsl,mma7455
  - fsl,mpl3115
  - kionix,kcjk-1013
  - sensortek,stk8ba50
  - sensortek,stk8312
  - ti,adc12138
  - ti,ads1015
  - vti,sca3000
  - xilinx,xadc-core
* Switch drives over to generic firmware properties including appropriate
  header changes to avoid including of.h
  - Various DACs had false CONFIG_OF dependencies.
  - dpot-dac
  - envelope-detector
  - adi,ad5755
  - adi,ad5758
  - capella,cm3605
  - maxim,max9611
  - microchip,mcp41010
  - microchip,mcp3911
  - ti,adc12138
* Trivial clang warning fixes for W=1 warnings.

Driver specific cleanup and minor fixes
* adi,ad7606
  - Comment fixes.
* ams,ad3935
  - Drop pointless cast to the same type.
* atmel,at91-sama5d2
  - Fix wrong cast of iio_dev->dev to platform_device that happened to
    be harmless.
* fsl,mma7660
  - Stop i2c remove() function returning an error code. Part of a rework
    to eventually stop returning anything from these.
* fsl,mma8452
  - Use correct type for local irqreturn_t.
* nxp,imx8mq
  - Maintainer email address update.
* nxp,lpc18xx_adc
  - Ensure clk_prepare_enable() called before clk_get_rate().
  - Switch of.h for mod_devicetable.h to reflect no of specific functions,
    just the id table.
* renesas,rzg2l
  - Drop a dev_err() that just duplicates error printed in platform_get_irq()
* sgx,vz89x
  - Drop pointless cast.
* st,lsm6dsx
  - Make it possible to disable the sensorhub from DT to avoid a corner
    case where the address of a slave device many be accidentally modified.
* st,stm32-adc
  - Stop leaking an of_node in an error path.
* st,stmp2
   - Avoid wrong sized type for bit field which could result in
     over-reading (harmless). Precursor to enabling -Warray-bounds.
* ti,adc081c
  - Put back some ACPI support for non standards compliant ADC081C
    ID because it is known to be in the wild on some Aaeon boards.
* ti,ads8688
  - Cleanup redundant local ret variable assignment.
* ti,ina2xx-adc
  - Use helper macro kthread_run() to replace some boilerplate.
  - Avoid double reference counting.
  - Drop pointless cast.
* xilinx,xadc
  - Make the IRQ optional as not always wired to the host system.

* tag 'iio-for-5.17a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (103 commits)
  iio: adc: ti-adc081c: Partial revert of removal of ACPI IDs
  iio:addac:ad74413r: Fix uninitialized ret in a path that won't be hit.
  MAINTAINERS: Add maintainer for xilinx-ams
  dt-bindings: iio: adc: Add Xilinx AMS binding documentation
  iio: adc: Add Xilinx AMS driver
  device property: Add fwnode_iomap()
  iio:accel:kxcjk-1013: Mark struct __maybe_unused to avoid warning.
  iio:accel:bmc150: Mark structure __maybe_unused as only needed with for pm ops.
  iio:dummy: Drop set but unused variable len.
  iio:magn:ak8975: Suppress clang W=1 warning about pointer to enum conversion.
  iio:imu:inv_mpu6050: Suppress clang W=1 warning about pointer to enum conversion.
  iio:imu:inv_icm42600: Suppress clang W=1 warning about pointer to enum conversion.
  iio:dac:mcp4725: Suppress clang W=1 warning about pointer to enum conversion.
  iio:amplifiers:hmc425a: Suppress clang W=1 warning about pointer to enum conversion.
  iio:adc:ti-ads1015: Suppress clang W=1 warning about pointer to enum conversion.
  iio:adc:rcar: Suppress clang W=1 warning about pointer to enum conversion.
  iio:adc:ina2xx-adc: Suppress clang W=1 warning about pointer to enum conversion.
  iio:accel:bma180: Suppress clang W=1 warning about pointer to enum conversion.
  drivers:iio:dac: Add AD3552R driver support
  dt-bindings: iio: dac: Add adi,ad3552r.yaml
  ...
2021-12-22 12:33:01 +01:00
..
arc
arm dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
ata Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
auxdisplay dt-bindings: auxdisplay: ht16k33: Document LED subnode 2021-10-21 23:36:30 +02:00
board
bus dt-bindings: bus: ti-sysc: Update to use yaml binding 2021-10-28 07:27:26 -05:00
chrome
clock Devicetree fixes for v5.16, take 1: 2021-11-14 11:11:51 -08:00
connector dt-bindings: connector: Add pd-disable property 2021-08-13 13:05:51 +02:00
counter
cpu
cpufreq Merge branch 'pm-opp' 2021-09-08 16:42:13 +02:00
crypto dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
csky
devfreq dt-bindings: devfreq: rk3399_dmc: fix clocks in example 2021-10-11 20:04:48 -05:00
display Devicetree fixes for v5.16, take 1: 2021-11-14 11:11:51 -08:00
dma dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
dsp dt-bindings: dsp: fsl: Update binding document for remote proc driver 2021-10-12 09:17:26 -06:00
dvfs dt-bindings: dvfs: Add support for generic performance domains 2021-05-20 09:24:07 +05:30
edac dt-bindings: Drop redundant minItems/maxItems 2021-06-21 13:56:46 -06:00
eeprom dt-bindings: at24: add ON Semi CAT24C04 and CAT24C05 2021-09-13 09:28:57 +02:00
extcon dt-bindings: extcon: usbc-tusb320: Add TUSB320L compatible string 2021-10-27 14:13:39 +09:00
firmware dt-bindings: firmware: qcom-scm: Document msm8953 bindings 2021-09-21 17:41:49 -05:00
fpga Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
fsi dt-bindings: fsi: Remove ibm,fsi2spi-restricted compatible 2021-07-19 16:56:22 +01:00
fuse
gnss dt-bindings: gnss: Convert UBlox Neo-6M binding to a schema 2021-09-13 08:20:19 -05:00
goldfish
gpio dt-bindings: Remove Netlogic bindings 2021-11-11 22:27:16 -06:00
gpu dt-bindings: Add YAML bindings for NVDEC 2021-10-06 20:16:14 +02:00
h8300
hsi
hwlock dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
hwmon dt-bindings: hwmon: Add nct7802 bindings 2021-10-27 10:42:22 -07:00
i2c dt-bindings: i2c: imx-lpi2c: Fix i.MX 8QM compatible matching 2021-11-23 09:54:00 +01:00
i3c I3C for 5.13 2021-05-07 13:06:34 -07:00
iio 1st set of IIO new device support, features and cleanup for 5.17 2021-12-22 12:33:01 +01:00
infiniband
input dt-bindings: input: gpio-keys: Fix interrupts in example 2021-12-06 14:16:59 -06:00
interconnect dt-bindings: interconnect: sdm660: Add missing a2noc qos clocks 2021-09-13 15:49:55 +03:00
interrupt-controller dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
iommu Merge branches 'apple/dart', 'arm/mediatek', 'arm/renesas', 'arm/smmu', 'arm/tegra', 'iommu/fixes', 'x86/amd', 'x86/vt-d' and 'core' into next 2021-10-31 22:26:53 +01:00
ipmi ipmi:ipmb: Add OF support 2021-10-14 11:17:18 -05:00
leds dt-bindings: leds: register-bit-led: Use 'reg' instead of 'offset' 2021-10-13 17:23:23 -05:00
mailbox dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
media dt-bindings: media: nxp,imx7-mipi-csi2: Drop bad if/then schema 2021-12-03 11:33:06 -06:00
memory-controllers dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
mfd dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
mips dt-bindings: Rename Ingenic CGU headers to ingenic,*.h 2021-11-11 22:27:14 -06:00
misc Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
mmc dt-bindings: Rename Ingenic CGU headers to ingenic,*.h 2021-11-11 22:27:14 -06:00
mtd dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
mux dt-bindings: mux: Convert mux controller bindings to schema 2021-06-01 18:20:06 -05:00
nds32
net dt-bindings: net: Reintroduce PHY no lane swap binding 2021-12-06 14:15:22 -06:00
nios2
nvmem dt-bindings: nvmem: Add missing 'reg' property 2021-12-21 10:26:50 +01:00
openrisc/opencores
opp dt-bindings: opp: Allow multi-worded OPP entry name 2021-11-02 09:25:05 +05:30
pci pci-v5.16-changes 2021-11-06 14:36:12 -07:00
perf dt-bindings: Drop redundant minItems/maxItems 2021-06-21 13:56:46 -06:00
phy dt-bindings: phy: zynqmp-psgtr: fix USB phy name 2021-11-23 10:41:20 +05:30
pinctrl dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
pmem
power dt-bindings: bq25980: Fixup the example 2021-12-06 14:23:22 -06:00
powerpc
pps
ptp
pwm dt-bindings: pwm: tpu: Add R-Car M3-W+ device tree bindings 2021-11-05 11:54:01 +01:00
regmap
regulator dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
remoteproc dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
reserved-memory dt-bindings: reserved-memory: ramoops: Convert txt bindings to yaml 2021-10-18 08:01:36 -05:00
reset dt-bindings: reset: Add lan966x support 2021-10-18 14:09:56 +02:00
riscv dt-bindings: riscv: correct e51 and u54-mc CPU bindings 2021-09-20 17:00:32 -05:00
rng dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
rtc Devicetree fixes for v5.16, take 1: 2021-11-14 11:11:51 -08:00
scsi
security/tpm
serial dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
serio
sifive
siox
slimbus
soc ARM: SoC drivers for 5.16 2021-11-03 17:00:52 -07:00
sound sound fixes for 5.16-rc5 2021-12-10 11:43:00 -08:00
soundwire dt-bindings: soundwire: qcom: clarify data port bus parameters 2021-03-30 22:55:06 +05:30
spi spi: Update for v5.16 2021-12-06 10:22:12 -08:00
spmi dt-bindings: spmi: document binding for the Mediatek SPMI controller 2021-12-17 17:18:18 +01:00
sram ARM: SoC drivers for 5.16 2021-11-03 17:00:52 -07:00
staging/iio/adc
thermal dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
timer dt-bindings: timer: Update maintainers for st,stm32-timer 2021-11-11 22:27:15 -06:00
ufs dt-bindings: ufs: exynos-ufs: add exynosautov9 compatible 2021-10-29 08:42:03 -05:00
usb dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
virtio dt-bindings: virtio: Add binding for virtio devices 2021-09-05 16:23:08 -04:00
w1 dt-bindings: w1-gpio: Drop redundant 'maxItems' 2021-10-04 13:11:22 -05:00
watchdog dt-bindings: watchdog: sunxi: fix error in schema 2021-11-11 22:27:27 -06:00
x86
xillybus
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
.yamllint
ABI.rst
chosen.txt of: fdt: Add generic support for handling usable memory range property 2021-08-24 17:09:01 -05:00
common-properties.txt
example-schema.yaml docs: dt: Fix a few grammar nits in the binding/schema docs 2021-10-04 13:55:37 -05:00
graph.txt
index.rst docs: dt: Group DT docs into relevant sub-sections 2021-03-27 12:58:04 -06:00
jailhouse.txt
Makefile dt-bindings: Add a help message when dtschema tools are missing 2021-10-28 07:27:26 -05:00
numa.txt Documentation, dt, numa: Add note to empty NUMA node 2021-10-04 13:13:36 -05:00
resource-names.txt
submitting-patches.rst docs: dt: submitting-patches: Add note about other project usage 2021-09-21 12:59:15 -05:00
trivial-devices.yaml dt-bindings: hwmon: ibm,cffps: move to trivial devices 2021-10-12 07:22:40 -07:00
unittest.txt
vendor-prefixes.yaml drm next/fixes for 5.16-rc1 2021-11-12 12:11:07 -08:00
writing-bindings.rst docs: dt: Fix a few grammar nits in the binding/schema docs 2021-10-04 13:55:37 -05:00
writing-schema.rst docs: dt: Fix a few grammar nits in the binding/schema docs 2021-10-04 13:55:37 -05:00
xilinx.txt