diff mbox series

[v3,6/6] dt-bindings: iio: accel: adxl345: Add spi-3wire

Message ID 20240323122030.21800-7-l.rubusch@gmail.com
State Not Applicable
Headers show
Series iio: accel: adxl345: Add spi-3wire feature | expand

Checks

Context Check Description
robh/checkpatch success
robh/patch-applied success
robh/dtbs-check warning build log
robh/dt-meta-schema success

Commit Message

Lothar Rubusch March 23, 2024, 12:20 p.m. UTC
Add spi-3wire because the driver optionally supports spi-3wire.

Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
---
 Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Krzysztof Kozlowski March 23, 2024, 2:28 p.m. UTC | #1
On 23/03/2024 13:20, Lothar Rubusch wrote:
> Add spi-3wire because the driver optionally supports spi-3wire.

"the driver and the device"
Bindings should describe hardware, not drivers.

No need to resend just for this.


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
index 07cacc3f6..280ed479e 100644
--- a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
@@ -32,6 +32,8 @@  properties:
 
   spi-cpol: true
 
+  spi-3wire: true
+
   interrupts:
     maxItems: 1