Skip to contentSkip to conversation

iio: chemical: pms7003: convert bindings to yaml

PATCH Applied Tomasz Duszynski 3 participants 6 messages Jul 10, 2019 – Jul 14, 2019

Subsystems (3)
lore
Share & tools
lore

Tomasz Duszynski

author maintainer
#0 lore raw

cover 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

author maintainer
#1 lore raw

PATCH 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
deleted file mode 100644
index c52ea2126eaa..000000000000
@@ -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 = <&reg_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
Reviewed-by on v1 1/2
#2 lore raw

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.

---
 .../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
maintainer
#3 lore raw

Re: [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.

---
 .../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

Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.

Thanks,

Jonathan

author maintainer
#4 lore raw

PATCH 2/2 MAINTAINERS: add entry for plantower pms7003 driver

In reply to Tomasz Duszynski

Add myself as a plantower pms7003 driver maintainer.

---
 MAINTAINERS | 6 ++++++
 1 file changed, 6 insertions(+)
MAINTAINERS +6 -0
index ad498428b38c..771de33ef737 100644
@@ -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
maintainer Applied
#5 lore raw

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.

Applied,

Thanks,

Jonathan

Quoted 21 lines
---
 MAINTAINERS | 6 ++++++
 1 file changed, 6 insertions(+)
MAINTAINERS +6 -0
index ad498428b38c..771de33ef737 100644
@@ -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]