This patch add device tree binding documentation for ADIS16240.
Signed-off-by: Rodrigo Carvalho
---
V6:
- Update SPDX license identifier
.../bindings/iio/accel/adi,adis16240.yaml | 49 +++
1 file changed, 49 insertions(+)
create mode 100644
Documentation/devicetree
According to the datasheet, this driver supports only SPI mode 3,
so we should enforce it on probe function.
Signed-off-by: Rodrigo Carvalho
---
V6:
-none
drivers/staging/iio/accel/adis16240.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/staging/iio/accel/adis16240.c
b
According to the datasheet, this driver supports only SPI mode 3,
so we should enforce it and call spi_setup() on probe function.
Signed-off-by: Rodrigo Ribeiro Carvalho
---
V5:
- Add this patch to the patchset
drivers/staging/iio/accel/adis16240.c | 7 +++
1 file changed, 7 insertions(+)
This patch add device tree binding documentation for ADIS16240.
Signed-off-by: Rodrigo Ribeiro Carvalho
---
V5:
- None
.../bindings/iio/accel/adi,adis16240.yaml | 49 +++
1 file changed, 49 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iio/accel/adi
This patch add device tree binding documentation for ADIS16240.
Signed-off-by: Rodrigo Ribeiro Carvalho
---
V4:
- Remove spi-cpha and spi-cpol in binding example, since this driver
supports only one timing mode.
.../bindings/iio/accel/adi,adis16240.yaml | 49 +++
1 file ch
This patch add device tree binding documentation for ADIS16240.
Signed-off-by: Rodrigo Ribeiro Carvalho
---
V3:
- Remove spi-cpol and spi-cpha field. They don't seem necessary
.../bindings/iio/accel/adi,adis16240.yaml | 51 +++
1 file changed, 51 insertions(+)
create mode
This patch add device tree binding documentation for ADIS16240.
Signed-off-by: Rodrigo Ribeiro Carvalho
---
V2:
- Remove true constant for spi-cpha and spi-cpol
- Add description field for spi-cpha and spi-cpol
- Add maxItems field for spi-cpha and spi-cpol
.../bindings/iio/accel/adi,adis