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>
This commit is contained in:
Tomasz Duszynski 2021-05-03 08:00:14 +02:00 committed by Jonathan Cameron
parent b2e171f5a5
commit 7dfc4dc385

View File

@ -22,7 +22,6 @@ properties:
required:
- compatible
- reg
additionalProperties: false
@ -37,5 +36,11 @@ examples:
reg = <0x69>;
};
};
- |
serial {
air-pollution-sensor {
compatible = "sensirion,sps30";
};
};
...