dt-bindings:iio:adc:brcm,iproc-static-adc: txt to yaml conversion
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 31 Oct 2020 18:48:40 +0000 (18:48 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 25 Nov 2020 14:35:53 +0000 (14:35 +0000)
commit25b49a31fb03357f5c330ad709f9ec5365136cc0
tree72883d44c5d2ef47a0630ee5a7afe565ac724206
parent749c1e1481e1d242ded9dd1bf210ddb7c0d22a4f
dt-bindings:iio:adc:brcm,iproc-static-adc: txt to yaml conversion

A few questions came up in this one.
1) Why does the txt file document io-channel-ranges as a required property.
   That property is for iio-channel consumers, and this is a provider.
   I have dropped it.
2) The example had an @180a6000 for the ADC but given it uses syscon for
   all access, it doesn't have its own reg etc.  I've dropped that from
   the binding example.

Note this example was lifted directly from bcm-cygnus.dtsi so both
issues are present there as well.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Link: https://lore.kernel.org/r/20201031184854.745828-33-jic23@kernel.org
Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.txt [deleted file]
Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.yaml [new file with mode: 0644]