diff options
author | Maxime Ripard <mripard@kernel.org> | 2019-10-02 16:45:42 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-10-02 14:14:28 -0500 |
commit | 4d32db74a3cafa9c96608265db6c40317040df41 (patch) | |
tree | 663ed99639837fe9c78b59fae018461116e9f9ff /Documentation | |
parent | 932bae3a5b4e9b9a40133e4dc989c2099f3d1823 (diff) | |
download | linux-4d32db74a3cafa9c96608265db6c40317040df41.tar.gz linux-4d32db74a3cafa9c96608265db6c40317040df41.tar.bz2 linux-4d32db74a3cafa9c96608265db6c40317040df41.zip |
dt-bindings: iio: ad7192: Fix DTC warning in the example
The example contains an SPI bus and device, but doesn't have the
appropriate size and address cells size.
This creates a DTC warning when the example is compiled since the default
ones will not match what the device uses. Let's add them to remove that
warning.
Fixes: f7356e47032c ("dt-bindings: iio: adc: ad7192: Add binding documentation for AD7192")
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml index 9e62f54c891a..567a33a83dce 100644 --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml @@ -95,6 +95,9 @@ required: examples: - | spi0 { + #address-cells = <1>; + #size-cells = <0>; + adc@0 { compatible = "adi,ad7192"; reg = <0>; |