mbox series

[0/9] dt-bindings: IIO: Drop wrong use of io-channel-ranges then drop it as well.

Message ID 20201115192951.1073632-1-jic23@kernel.org (mailing list archive)
Headers show
Series dt-bindings: IIO: Drop wrong use of io-channel-ranges then drop it as well. | expand

Message

Jonathan Cameron Nov. 15, 2020, 7:29 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Rob Herring pointed out that the recent addition of io-channel provider
consumer interfaces to the dt_schema repo [1] has highlighted some misuse of
this property.   It is also clear that we don't have any places where
it is actually needed.

There is at least 1 remaining instance of this in a txt file but that
gets cleaned up in patches already under review to convert that binding
to yaml.

1-2 fix up examples in dts schema where this is missued.
3-6,8 fix up places where the property was given for providers of io-channels
rather than consumers.
7 drops a consumer case where it doesn't seem to be needed
9 is an RFC to drop the support entirely if we don't have any known correct
users of this property outside mainline.  I'm willing to leave the code
in place is we can identify it being used, but still wish to deprecate
it and remote the property from examples and dt_schema.

All of these can go through relevant trees as there should be no
cross dependencies.

[1] https://github.com/devicetree-org/dt-schema/commit/170a908a2204838652407662d326f30cbeb87142

Jonathan Cameron (9):
  dt-bindings:iio:qcom-spmi-vadc drop incorrect io-channel-ranges from
    example
  dt-bindings:iio:samsung,exynos-adc: drop missuse of io-channel-ranges
  ARM: dts: Cygnus: Drop incorrect io-channel-ranges property.
  ARM: dts: exynos: Drop incorrect use of io-channel-ranges
  ARM: dts: s5pv210: Drop incorrect use of io-channel-ranges property.
  ARM: dts: qcom-pma8084: Drop incorrect use of io-channel-ranges
  ARM: dts: s5pv210-aries: Drop unneeded io-channel-ranges property.
  arm64: dts: exynos: Drop incorrect use of io-channel-ranges property.
  iio: inkern: Drop io-channel-ranges dt property support

 .../bindings/iio/adc/qcom,spmi-vadc.yaml      |  3 --
 .../bindings/iio/adc/samsung,exynos-adc.yaml  |  4 --
 arch/arm/boot/dts/bcm-cygnus.dtsi             |  1 -
 arch/arm/boot/dts/exynos3250.dtsi             |  1 -
 arch/arm/boot/dts/exynos4412.dtsi             |  1 -
 arch/arm/boot/dts/exynos5250.dtsi             |  1 -
 arch/arm/boot/dts/exynos54xx.dtsi             |  1 -
 arch/arm/boot/dts/qcom-pma8084.dtsi           |  1 -
 arch/arm/boot/dts/s5pv210-aries.dtsi          |  1 -
 arch/arm/boot/dts/s5pv210.dtsi                |  1 -
 arch/arm64/boot/dts/exynos/exynos5433.dtsi    |  1 -
 arch/arm64/boot/dts/exynos/exynos7.dtsi       |  1 -
 drivers/iio/inkern.c                          | 49 +++++++------------
 13 files changed, 17 insertions(+), 49 deletions(-)