dt-bindings: iio: chemical: Add bindings for Dynament Premier series single gas sensor
Subsystems (2)
PATCH v2 2/2 dt-bindings: iio: chemical: Add bindings for Dynament Premier series single gas sensor
Dynament Premier series single gas sensor.
Signed-off-by YuDong Zhang <[email protected]>
--- .../iio/chemical/dynament,premier.yaml | 39 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 1 + 3 files changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/chemical/dynament,premier.yaml
Documentation/devicetree/bindings/iio/chemical/dynament,premier.yaml new file +39 -0
@@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/chemical/dynament,premier.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Dynament Premier series single gas sensor + +maintainers: + - YuDong Zhang <[email protected]> + +description: | + single gas sensor capable of measuring gas concentration of dust + particles, multi-gas sensor are not supported. + + Specifications about the sensor can be found at: + https://www.dynament.com/_webedit/uploaded-files/All%20Files/SIL%20Data/tds0045_1.44.pdf, read chapter 1.5.2 Read live data simple + +properties: + compatible: + enum: + - dynament,premier + + vcc-supply: + description: regulator that provides power to the sensor + +required: + - compatible + +examples: + - | + serial { + single-gas-sensor { + compatible = "dynament,premier"; + vcc-supply = <®_vcc5v0>; + }; + }; + +...
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -261,6 +261,8 @@ patternProperties: description: Dragino Technology Co., Limited "^dserve,.*": description: dServe Technology B.V. + "^dynament,.*": + description: Dynament, Ltd. "^ea,.*": description: Embedded Artists AB "^ebs-systart,.*":
MAINTAINERS +1 -0
@@ -5796,6 +5796,7 @@ DYNAMENT PREMIER SERIES SINGLE GAS SENSOR DRIVER M: YuDong Zhang <[email protected]> S: Maintained F: drivers/iio/chemical/premier.c +F: Documentation/devicetree/bindings/iio/chemical/dynament,premier.yaml DYNAMIC DEBUG M: Jason Baron <[email protected]>
Signature · 1 line
2.24.1
Rob Herring
maintainerQuoted 28 lines · YuDong Zhang
Dynament Premier series single gas sensor.
Signed-off-by YuDong Zhang <[email protected]>--- .../iio/chemical/dynament,premier.yaml | 39 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 1 + 3 files changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/chemical/dynament,premier.yamlDocumentation/devicetree/bindings/iio/chemical/dynament,premier.yaml new file +12
-0@@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/chemical/dynament,premier.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Dynament Premier series single gas sensor + +maintainers: + - YuDong Zhang <[email protected]> + +description: |
Documentation/devicetree/bindings/iio/chemical/dynament,premier.yaml line 22
Quoted 10 lines
Documentation/devicetree/bindings/iio/chemical/dynament,premier.yaml new file +10
-0+ single gas sensor capable of measuring gas concentration of dust + particles, multi-gas sensor are not supported. + + Specifications about the sensor can be found at: + https://www.dynament.com/_webedit/uploaded-files/All%20Files/SIL%20Data/tds0045_1.44.pdf, read chapter 1.5.2 Read live data simple + +properties: + compatible: + enum: + - dynament,premier
Typically compatible strings are for a specific part #, so you can handle any differences. Unless the differences are discoverable in another way (like registers).
Quoted 45 lines
Documentation/devicetree/bindings/iio/chemical/dynament,premier.yaml new file +17
-0+ + vcc-supply: + description: regulator that provides power to the sensor + +required: + - compatible + +examples: + - | + serial { + single-gas-sensor { + compatible = "dynament,premier"; + vcc-supply = <®_vcc5v0>; + }; + }; + +...Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-0@@ -261,6 +261,8 @@ patternProperties: description: Dragino Technology Co., Limited "^dserve,.*": description: dServe Technology B.V. + "^dynament,.*": + description: Dynament, Ltd. "^ea,.*": description: Embedded Artists AB "^ebs-systart,.*":MAINTAINERS +1
-0@@ -5796,6 +5796,7 @@ DYNAMENT PREMIER SERIES SINGLE GAS SENSOR DRIVER M: YuDong Zhang <[email protected]> S: Maintained F: drivers/iio/chemical/premier.c +F: Documentation/devicetree/bindings/iio/chemical/dynament,premier.yaml DYNAMIC DEBUG M: Jason Baron <[email protected]>Signature · 1 line
2.24.1
Quoted 24 lines · YuDong Zhang
Dynament Premier series single gas sensor.
Signed-off-by YuDong Zhang <[email protected]>--- .../iio/chemical/dynament,premier.yaml | 39 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 1 + 3 files changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/chemical/dynament,premier.yamlDocumentation/devicetree/bindings/iio/chemical/dynament,premier.yaml new file +7
-0@@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/chemical/dynament,premier.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Dynament Premier series single gas sensor
Documentation/devicetree/bindings/iio/chemical/dynament,premier.yaml line 17
Quoted 10 lines
Documentation/devicetree/bindings/iio/chemical/dynament,premier.yaml new file +10
-0+ +maintainers: + - YuDong Zhang <[email protected]> + +description: | + single gas sensor capable of measuring gas concentration of dust + particles, multi-gas sensor are not supported. + + Specifications about the sensor can be found at: + https://www.dynament.com/_webedit/uploaded-files/All%20Files/SIL%20Data/tds0045_1.44.pdf, read chapter 1.5.2 Read live data simple
Typo of sample?
- Matt
Quoted 50 lines
Documentation/devicetree/bindings/iio/chemical/dynament,premier.yaml new file +22
-0+ +properties: + compatible: + enum: + - dynament,premier + + vcc-supply: + description: regulator that provides power to the sensor + +required: + - compatible + +examples: + - | + serial { + single-gas-sensor { + compatible = "dynament,premier"; + vcc-supply = <®_vcc5v0>; + }; + }; + +...Documentation/devicetree/bindings/vendor-prefixes.yaml +2
-0@@ -261,6 +261,8 @@ patternProperties: description: Dragino Technology Co., Limited "^dserve,.*": description: dServe Technology B.V. + "^dynament,.*": + description: Dynament, Ltd. "^ea,.*": description: Embedded Artists AB "^ebs-systart,.*":MAINTAINERS +1
-1@@ -5796,6 +5796,7 @@ DYNAMENT PREMIER SERIES SINGLE GAS SENSOR DRIVER M: YuDong Zhang <[email protected]> S: Maintained F: drivers/iio/chemical/premier.c +F: Documentation/devicetree/bindings/iio/chemical/dynament,premier.yaml DYNAMIC DEBUG M: Jason Baron <[email protected]> --2.24.1