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

Lothar Rubusch posted 6 patches 1 year, 10 months ago
There is a newer version of this series
[PATCH v3 6/6] dt-bindings: iio: accel: adxl345: Add spi-3wire
Posted by Lothar Rubusch 1 year, 10 months ago
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(+)

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
 
-- 
2.25.1
Re: [PATCH v3 6/6] dt-bindings: iio: accel: adxl345: Add spi-3wire
Posted by Krzysztof Kozlowski 1 year, 10 months ago
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