summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/accel
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-12-03 12:47:40 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-12-08 11:08:53 +0000
commitc3e566c8cb553026cf530f01c80b665a2a0926f9 (patch)
treeb03c2b4f42f61922c06318e1a3786c2cd96a5088 /Documentation/devicetree/bindings/iio/accel
parentd45ebf1f986db608e0c7d69e8792ee85c9b7f3f4 (diff)
dt-bindings: iio: accel: use a generic node name for lis302
The example should follow the practice or using a generic node name instead of the precise programming model, as recommended by the DTSpec. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/accel')
-rw-r--r--Documentation/devicetree/bindings/iio/accel/lis302.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/iio/accel/lis302.txt b/Documentation/devicetree/bindings/iio/accel/lis302.txt
index dfdce67826ba..764e28ec1a0a 100644
--- a/Documentation/devicetree/bindings/iio/accel/lis302.txt
+++ b/Documentation/devicetree/bindings/iio/accel/lis302.txt
@@ -64,7 +64,7 @@ Optional properties for all bus drivers:
Example for a SPI device node:
- lis302@0 {
+ accelerometer@0 {
compatible = "st,lis302dl-spi";
reg = <0>;
spi-max-frequency = <1000000>;
@@ -89,7 +89,7 @@ Example for a SPI device node:
Example for a I2C device node:
- lis331dlh: lis331dlh@18 {
+ lis331dlh: accelerometer@18 {
compatible = "st,lis331dlh", "st,lis3lv02d";
reg = <0x18>;
Vdd-supply = <&lis3_reg>;