]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: iio: adc: max1238: Add #io-channel-cells property
authorFrank Li <Frank.Li@nxp.com>
Mon, 18 Aug 2025 20:00:13 +0000 (16:00 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 25 Aug 2025 10:03:06 +0000 (11:03 +0100)
commit21feb435be9b19a0be8b2c44a9efb7a5296c9a66
tree205ef90907285ffc062bcae964ca3f22e38778a2
parentdc757dc1572d579c2634c05d0a03c5676227c571
dt-bindings: iio: adc: max1238: Add #io-channel-cells property

Add #io-channel-cells property with a constant value of 1 because it is
multi-channel ADC.

Fix below CHECK_DTBS warnings:
  arch/arm/boot/dts/nxp/ls/ls1021a-iot.dtb: adc@35 (maxim,max1239): '#io-channel-cells' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/iio/adc/maxim,max1238.yaml#

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20250818200014.3700738-1-Frank.Li@nxp.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/maxim,max1238.yaml