iio: chemical: pms7003: convert bindings to yaml
Tomasz Duszynski
maintainercover iio: chemical: pms7003: convert bindings to yaml
Convert plantower pms7003 air pollution sensor bindings to yaml and while at it add myself as a driver maintainer.
Tomasz Duszynski (2):
dt-bindings: iio: chemical: pms7003: convert bindings to yaml
MAINTAINERS: add entry for plantower pms7003 driver
.../iio/chemical/plantower,pms7003.txt | 26 ---------- .../iio/chemical/plantower,pms7003.yaml | 51 +++++++++++++++++++ MAINTAINERS | 6 +++ 3 files changed, 57 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.txt create mode 100644 Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.yaml
--
2.22.0
Tomasz Duszynski
maintainerPATCH 1/2 dt-bindings: iio: chemical: pms7003: convert bindings to yaml
Convert existing device tree bindings to yaml.
--- .../iio/chemical/plantower,pms7003.txt | 26 ---------- .../iio/chemical/plantower,pms7003.yaml | 51 +++++++++++++++++++ 2 files changed, 51 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.txt create mode 100644 Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.yaml
Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.txt deleted +0 -26
@@ -1,26 +0,0 @@ -* Plantower PMS7003 particulate matter sensor - -Required properties: -- compatible: must one of: - "plantower,pms1003" - "plantower,pms3003" - "plantower,pms5003" - "plantower,pms6003" - "plantower,pms7003" - "plantower,pmsa003" -- vcc-supply: phandle to the regulator that provides power to the sensor - -Optional properties: -- plantower,set-gpios: phandle to the GPIO connected to the SET line -- reset-gpios: phandle to the GPIO connected to the RESET line - -Refer to serial/slave-device.txt for generic serial attached device bindings. - -Example: - -&uart0 { - air-pollution-sensor { - compatible = "plantower,pms7003"; - vcc-supply = <®_vcc5v0>; - }; -};
Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.yaml new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
2.22.0
Re: [PATCH 1/2] dt-bindings: iio: chemical: pms7003: convert bindings to yaml
Quoted 10 lines · Tomasz Duszynski
Convert existing device tree bindings to yaml.
Signed-off-by Tomasz Duszynski <[email protected]>--- .../iio/chemical/plantower,pms7003.txt | 26 ---------- .../iio/chemical/plantower,pms7003.yaml | 51 +++++++++++++++++++ 2 files changed, 51 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.txt create mode 100644 Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.yaml
Jonathan Cameron
maintainerRe: [PATCH 1/2] dt-bindings: iio: chemical: pms7003: convert bindings to yaml
Quoted 12 lines · On Wed, 10 Jul 2019 14:12:26 -0600 Rob Herring <[email protected]> wrote:
Quoted 10 lines · Tomasz Duszynski
Convert existing device tree bindings to yaml.
Signed-off-by Tomasz Duszynski <[email protected]>--- .../iio/chemical/plantower,pms7003.txt | 26 ---------- .../iio/chemical/plantower,pms7003.yaml | 51 +++++++++++++++++++ 2 files changed, 51 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.txt create mode 100644 Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.yaml
Quoted 1 line
Reviewed-by Rob Herring <[email protected]>
Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
Thanks,
Jonathan
Tomasz Duszynski
maintainerPATCH 2/2 MAINTAINERS: add entry for plantower pms7003 driver
In reply to Tomasz DuszynskiAdd myself as a plantower pms7003 driver maintainer.
--- MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+)
MAINTAINERS +6 -0
@@ -12548,6 +12548,12 @@ F: drivers/i2c/busses/i2c-puv3.c F: drivers/video/fbdev/fb-puv3.c F: drivers/rtc/rtc-puv3.c +PLANTOWER PMS7003 AIR POLLUTION SENSOR DRIVER +M: Tomasz Duszynski <[email protected]> +S: Maintained +F: drivers/iio/chemical/pms7003.c +F: Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.yaml + PMBUS HARDWARE MONITORING DRIVERS M: Guenter Roeck <[email protected]> L: [email protected]
Signature · 1 line
2.22.0
Re: [PATCH 2/2] MAINTAINERS: add entry for plantower pms7003 driver
Quoted 3 lines · On Wed, 10 Jul 2019 21:21:55 +0200 Tomasz Duszynski <[email protected]> wrote:
Add myself as a plantower pms7003 driver maintainer.
Signed-off-by Tomasz Duszynski <[email protected]>
Applied,
Thanks,
Jonathan
Quoted 21 lines
--- MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+)MAINTAINERS +6
-0@@ -12548,6 +12548,12 @@ F: drivers/i2c/busses/i2c-puv3.c F: drivers/video/fbdev/fb-puv3.c F: drivers/rtc/rtc-puv3.c +PLANTOWER PMS7003 AIR POLLUTION SENSOR DRIVER +M: Tomasz Duszynski <[email protected]> +S: Maintained +F: drivers/iio/chemical/pms7003.c +F: Documentation/devicetree/bindings/iio/chemical/plantower,pms7003.yaml + PMBUS HARDWARE MONITORING DRIVERS M: Guenter Roeck <[email protected]> L: [email protected]