Skip to contentSkip to conversation

iio: light: bh1750: convert bindings to yaml

PATCH Applied Tomasz Duszynski 3 participants 7 messages Sep 16, 2019 – Oct 5, 2019

Subsystems (3)
lore
Share & tools
lore

Tomasz Duszynski

author maintainer
#0 lore raw

cover iio: light: bh1750: convert bindings to yaml

Convert ROHM BH1750 ambient light sensor bindings to yaml format and while at it add myself as a driver maintainer.

Tomasz Duszynski (2):
dt-bindings: iio: light: bh1750: convert bindings to yaml
MAINTAINERS: add entry for ROHM BH1750 driver

 .../devicetree/bindings/iio/light/bh1750.txt  | 18 --------
 .../devicetree/bindings/iio/light/bh1750.yaml | 43 +++++++++++++++++++
 MAINTAINERS                                   |  6 +++
 3 files changed, 49 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt
 create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.yaml

--
2.23.0

author maintainer
#1 lore raw

PATCH 1/2 dt-bindings: iio: light: bh1750: convert bindings to yaml

Convert existing device tree bindings to yaml.

---
 .../devicetree/bindings/iio/light/bh1750.txt  | 18 --------
 .../devicetree/bindings/iio/light/bh1750.yaml | 43 +++++++++++++++++++
 2 files changed, 43 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt
 create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.yaml
Documentation/devicetree/bindings/iio/light/bh1750.txt deleted +0 -18
deleted file mode 100644
index 1e7685797d7a..000000000000
@@ -1,18 +0,0 @@
-ROHM BH1750 - ALS, Ambient light sensor
-
-Required properties:
-
-- compatible: Must be one of:
-    "rohm,bh1710"
-    "rohm,bh1715"
-    "rohm,bh1721"
-    "rohm,bh1750"
-    "rohm,bh1751"
-- reg: the I2C address of the sensor
-
-Example:
-
-light-sensor@23 {
-	compatible = "rohm,bh1750";
-	reg = <0x23>;
-};
Documentation/devicetree/bindings/iio/light/bh1750.yaml new file +43 -0

43 lines not on this page · raw message

Signature · 1 line
2.23.0
author maintainer
#5 lore raw

PATCH 2/2 MAINTAINERS: add entry for ROHM BH1750 driver

In reply to Tomasz Duszynski

Add myself as a ROHM BH1750 ambient light sensor driver maintainer.

---
 MAINTAINERS | 6 ++++++
 1 file changed, 6 insertions(+)
MAINTAINERS +6 -0
index f0c03740b9fb..928059c5cd49 100644
@@ -13792,6 +13792,12 @@ L:	[email protected]
 S:	Odd Fixes
 F:	drivers/tty/serial/rp2.*
 
+ROHM BH1750 AMBIENT LIGHT SENSOR DRIVER
+M:	Tomasz Duszynski <[email protected]>
+S:	Maintained
+F:	drivers/iio/light/bh1750.c
+F:	Documentation/devicetree/bindings/iio/light/bh1750.yaml
+
 ROHM MULTIFUNCTION BD9571MWV-M PMIC DEVICE DRIVERS
 M:	Marek Vasut <[email protected]>
 L:	[email protected]
Signature · 1 line
2.23.0
Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] dt-bindings: iio: light: bh1750: convert bindings to yaml

In reply to Tomasz Duszynski
Quoted 10 lines · Tomasz Duszynski

Convert existing device tree bindings to yaml.

---
 .../devicetree/bindings/iio/light/bh1750.txt  | 18 --------
 .../devicetree/bindings/iio/light/bh1750.yaml | 43 +++++++++++++++++++
 2 files changed, 43 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt
 create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.yaml
maintainer
#3 lore raw

Re: [PATCH 1/2] dt-bindings: iio: light: bh1750: convert bindings to yaml

Quoted 12 lines · On Tue, 17 Sep 2019 09:17:40 -0500 Rob Herring <[email protected]> wrote:
Quoted 10 lines · Tomasz Duszynski

Convert existing device tree bindings to yaml.

---
 .../devicetree/bindings/iio/light/bh1750.txt  | 18 --------
 .../devicetree/bindings/iio/light/bh1750.yaml | 43 +++++++++++++++++++
 2 files changed, 43 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt
 create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.yaml  
Quoted 1 line

Applied to the togreg branch of iio.git and pushed out as testing.

Thanks,

Jonathan

maintainer
#4 lore raw

Re: [PATCH 1/2] dt-bindings: iio: light: bh1750: convert bindings to yaml

In reply to Rob Herring
Quoted 12 lines · On Tue, 17 Sep 2019 09:17:40 -0500 Rob Herring <[email protected]> wrote:
Quoted 10 lines · Tomasz Duszynski

Convert existing device tree bindings to yaml.

---
 .../devicetree/bindings/iio/light/bh1750.txt  | 18 --------
 .../devicetree/bindings/iio/light/bh1750.yaml | 43 +++++++++++++++++++
 2 files changed, 43 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.txt
 create mode 100644 Documentation/devicetree/bindings/iio/light/bh1750.yaml  
Quoted 1 line

Applied to the togreg branch of iio.git and pushed out as testing.

Thanks,

Jonathan

maintainer Applied
#6 lore raw

Re: [PATCH 2/2] MAINTAINERS: add entry for ROHM BH1750 driver

In reply to Tomasz Duszynski
Quoted 3 lines · On Mon, 16 Sep 2019 21:00:24 +0200 Tomasz Duszynski <[email protected]> wrote:

Add myself as a ROHM BH1750 ambient light sensor driver maintainer.

Applied.

Thanks,

Jonathan

Quoted 21 lines
---
 MAINTAINERS | 6 ++++++
 1 file changed, 6 insertions(+)
MAINTAINERS +6 -0
index f0c03740b9fb..928059c5cd49 100644
@@ -13792,6 +13792,12 @@ L:	[email protected]
 S:	Odd Fixes
 F:	drivers/tty/serial/rp2.*
 
+ROHM BH1750 AMBIENT LIGHT SENSOR DRIVER
+M:	Tomasz Duszynski <[email protected]>
+S:	Maintained
+F:	drivers/iio/light/bh1750.c
+F:	Documentation/devicetree/bindings/iio/light/bh1750.yaml
+
 ROHM MULTIFUNCTION BD9571MWV-M PMIC DEVICE DRIVERS
 M:	Marek Vasut <[email protected]>
 L:	[email protected]