diff mbox

[v3,2/2] dt-bindings: iio: light: Add bh1730fvc bindings

Message ID 20180228001525.96044-2-delroth@google.com (mailing list archive)
State New, archived
Headers show

Commit Message

Pierre Bourdon Feb. 28, 2018, 12:15 a.m. UTC
Signed-off-by: Pierre Bourdon <delroth@google.com>
---
 .../devicetree/bindings/iio/light/bh1730.txt      | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/light/bh1730.txt

Comments

Rob Herring (Arm) March 5, 2018, 10:56 p.m. UTC | #1
On Wed, Feb 28, 2018 at 01:15:25AM +0100, Pierre Bourdon wrote:
> Signed-off-by: Pierre Bourdon <delroth@google.com>
> ---
>  .../devicetree/bindings/iio/light/bh1730.txt      | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/iio/light/bh1730.txt

Reviewed-by: Rob Herring <robh@kernel.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/iio/light/bh1730.txt b/Documentation/devicetree/bindings/iio/light/bh1730.txt
new file mode 100644
index 000000000000..6b38c4010647
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/light/bh1730.txt
@@ -0,0 +1,15 @@ 
+* ROHM BH1730FVC ambient light sensor
+
+http://www.rohm.com/web/global/products/-/product/BH1730FVC
+
+Required properties:
+
+  - compatible : should be "rohm,bh1730fvc"
+  - reg : the I2C address of the sensor
+
+Example:
+
+bh1730fvc@29 {
+	compatible = "rohm,bh1730fvc";
+	reg = <0x29>;
+};