summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-10-04 14:56:36 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 22:43:58 +0300
commit1b96d663d97da5205526d7020dad5258b88baee2 (patch)
tree3c6e358ca65710e90ccfb15f3bd1108ff997ea1d /Documentation/devicetree
parentd26b79732d27ff45c83109e2484b96dcac223355 (diff)
downloadlinux-1b96d663d97da5205526d7020dad5258b88baee2.tar.xz
dt-bindings: iio: addac: adi,ad74413r: improve example
Improve example by: dropping unrelated properties (status and cs-gpios) and using generic node name. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20221004115642.63749-2-krzysztof.kozlowski@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml b/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml
index 2e8dad9278f2..58b3ae14ccaa 100644
--- a/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml
+++ b/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml
@@ -116,10 +116,7 @@ examples:
#address-cells = <1>;
#size-cells = <0>;
- cs-gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
- status = "okay";
-
- ad74413r@0 {
+ addac@0 {
compatible = "adi,ad74413r";
reg = <0>;
spi-max-frequency = <1000000>;