lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1473758822-17955-1-git-send-email-andy.yan@rock-chips.com>
Date:   Tue, 13 Sep 2016 17:27:02 +0800
From:   Andy Yan <andy.yan@...k-chips.com>
To:     jic23@...nel.org
Cc:     knaack.h@....de, robh+dt@...nel.org, linux-kernel@...r.kernel.org,
        linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
        lars@...afoo.de, mark.rutland@....com, pmeerw@...erw.net,
        heiko@...ech.de, Andy Yan <andy.yan@...k-chips.com>
Subject: [PATCH] iio: dt-bindings: add documentation for Light&Proximity sensor STK331x

Add the device tree binding documentation for Light & Proximity sensor
STK331X from Sensortek

Signed-off-by: Andy Yan <andy.yan@...k-chips.com>
---

 .../devicetree/bindings/iio/light/stk3310.txt       | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/light/stk3310.txt

diff --git a/Documentation/devicetree/bindings/iio/light/stk3310.txt b/Documentation/devicetree/bindings/iio/light/stk3310.txt
new file mode 100644
index 0000000..d697118
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/light/stk3310.txt
@@ -0,0 +1,21 @@
+* Sensortek STK331X I2C Light&Proximity sensor
+
+Required properties:
+- compatible: should be "sensortek,STK3310" or "sensortek,STK3311"
+- reg: the I2C address of the device
+- interrupt-parent: phandle to the parent interrupt controller
+- interrupts: interrupt mapping for GPIO IRQ
+
+Example:
+	&i2c1 {
+		/* ... */
+
+		stk3310@48 {
+			compatible = "sensortek,STK3310";
+			reg = <0x48>;
+			interrupt-parent = <&gpio1>;
+			interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
+		};
+
+		/* ... */
+	};
-- 
2.7.4


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ