linux/Documentation
Rob Herring 20051f5fdf dt-bindings: iio: ad7124: Fix dtc warnings in example
With the conversion to DT schema, the examples are now compiled with
dtc. The ad7124 binding example has the following warning:

Documentation/devicetree/bindings/iio/adc/adi,ad7124.example.dts:19.11-21: \
Warning (reg_format): /example-0/adc@0:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1)

There's a default #size-cells and #address-cells values of 1 for
examples. For examples needing different values such as this one on a
SPI bus, they need to provide a SPI bus parent node.

Fixes: 26ae15e62d3c ("Convert AD7124 bindings documentation to YAML format.")

Cc: Jonathan Cameron <jic23@kernel.org>
Cc: linux-iio@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
2019-07-20 20:28:52 -06:00
..
2019-07-16 12:21:41 -07:00
2019-06-28 09:04:14 -06:00
2019-07-16 12:21:41 -07:00
2019-07-02 10:19:34 +02:00
2019-05-31 11:13:10 +02:00
2019-06-27 07:35:47 -04:00
2019-07-16 12:21:41 -07:00
2019-07-18 12:26:59 -07:00
2019-07-15 11:03:04 -03:00
2019-07-16 12:21:41 -07:00
2019-06-27 21:22:15 +08:00
2019-07-12 15:35:14 -07:00
2019-07-18 10:47:59 -07:00
2019-07-16 12:21:41 -07:00