aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorTomasz Duszynski <tomasz.duszynski@octakon.com>2021-05-03 08:00:14 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-05-17 13:49:11 +0100
commit7dfc4dc385dc851d3247cee6f98afd5ebe580282 (patch)
tree4d31d2308d6ece2206b1915cbd0e1ef048d16cd2 /Documentation
parentiio: sps30: add support for serial interface (diff)
downloadlinux-dev-7dfc4dc385dc851d3247cee6f98afd5ebe580282.tar.xz
linux-dev-7dfc4dc385dc851d3247cee6f98afd5ebe580282.zip
dt-bindings: iio: chemical: sps30: update binding with serial example
sps30 has gained support for serial communication so add example to the binding file. While at it remove reg property from list of required properties because it's no-op in case of serial communication. Signed-off-by: Tomasz Duszynski <tomasz.duszynski@octakon.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml b/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml
index a93d1972a5c2..967500b7e773 100644
--- a/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml
+++ b/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.yaml
@@ -22,7 +22,6 @@ properties:
required:
- compatible
- - reg
additionalProperties: false
@@ -37,5 +36,11 @@ examples:
reg = <0x69>;
};
};
+ - |
+ serial {
+ air-pollution-sensor {
+ compatible = "sensirion,sps30";
+ };
+ };
...