mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 05:54:23 +08:00
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:
parent
b2e171f5a5
commit
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";
|
||||
};
|
||||
};
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user