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:
Родитель
b2e171f5a5
Коммит
7dfc4dc385
|
@ -22,7 +22,6 @@ properties:
|
|||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
|
@ -37,5 +36,11 @@ examples:
|
|||
reg = <0x69>;
|
||||
};
|
||||
};
|
||||
- |
|
||||
serial {
|
||||
air-pollution-sensor {
|
||||
compatible = "sensirion,sps30";
|
||||
};
|
||||
};
|
||||
|
||||
...
|
||||
|
|
Загрузка…
Ссылка в новой задаче