]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: iio: adc: ad7606: Remove spi-cpha from required
authorGuillaume Stols <gstols@baylibre.com>
Tue, 15 Oct 2024 13:56:14 +0000 (13:56 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 21 Oct 2024 18:19:25 +0000 (19:19 +0100)
commit0874763642e69542a3717b349da2a53878dc748f
tree99427f1efed8fad13fbfe3d5ebadbcace4717df7
parent012091bc3c38c05224819fb39540b206ac08ad6b
dt-bindings: iio: adc: ad7606: Remove spi-cpha from required

The documentation is erroneously stating that spi-cpha is required, and
the example is erroneously setting both spi-cpol and spi-cpha. According
to the datasheet, only cpol should be set.

On zedboard for instance, setting the devicetree as in the example will
simply not work.

Fixes: 416f882c3b40 ("dt-bindings: iio: adc: Migrate AD7606 documentation to yaml")
Fixes: 6e33a125df66 ("dt-bindings: iio: adc: Add docs for AD7606 ADC")
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Guillaume Stols <gstols@baylibre.com>
Link: https://patch.msgid.link/20241015-ad7606_add_iio_backend_support-v5-1-654faf1ae08c@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml