]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: iio: adc: ti,tlc4541 binding conversion
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 9 Aug 2020 11:17:53 +0000 (12:17 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Sep 2020 18:40:58 +0000 (19:40 +0100)
commitd0a5b2efc087448399d54be9aa1bf12388c3ea49
tree10e1f7bb6c57766d3272ded5a50abf3955fdc911
parent8e22f72b6a14339a1e43d0b0a0e48f9ac26f9c04
dt-bindings: iio: adc: ti,tlc4541 binding conversion

Simple binding so easy to convert.
Dropped the stated value of maximum spi bus frequency as it does
not seem to correspond to the datasheet.  The value of 200kHz
is the max sampling frequency of the ADC, not the clock frequency of
the SPI bus.

Added #io-channel-cells to allow use as a provider of channels to
other devices via the consumer binding.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-By: Phil Reid <preid@electromag.com.au>
Cc: Phil Reid <preid@electromag.com.au>
Link: https://lore.kernel.org/r/20200809111753.156236-14-jic23@kernel.org
Documentation/devicetree/bindings/iio/adc/ti,tlc4541.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/iio/adc/ti-tlc4541.txt [deleted file]