https://github.com/torvalds/linux
Revision 20051f5fdf6770f05d677e2f03b0a2bab6b0fc64 authored by Rob Herring on 16 July 2019, 20:21:56 UTC, committed by Rob Herring on 21 July 2019, 02:28:52 UTC
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>
1 parent fbbf2b6
History
Tip revision: 20051f5fdf6770f05d677e2f03b0a2bab6b0fc64 authored by Rob Herring on 16 July 2019, 20:21:56 UTC
dt-bindings: iio: ad7124: Fix dtc warnings in example
Tip revision: 20051f5
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 14.6 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.6 KB
.mailmap -rw-r--r-- 12.0 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 97.1 KB
Kbuild -rw-r--r-- 1.5 KB
Kconfig -rw-r--r-- 595 bytes
MAINTAINERS -rw-r--r-- 509.7 KB
Makefile -rw-r--r-- 59.3 KB
README -rw-r--r-- 727 bytes

README

back to top