diff mbox series

[1/2,v2] rtc: x1205: Add DT bindings

Message ID 20190319074014.20616-1-linus.walleij@linaro.org
State New
Headers show
Series [1/2,v2] rtc: x1205: Add DT bindings | expand

Commit Message

Linus Walleij March 19, 2019, 7:40 a.m. UTC
This adds device tree bindings for the Xircom X1205 RTC found
in the Linksys NSLU2.

Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
ChangeLog v1->v2:
- Rebase on v5.1-rc1
- Resend
---
 .../devicetree/bindings/rtc/xircom,x1205.txt         | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/xircom,x1205.txt

-- 
2.20.1

Comments

Alexandre Belloni March 22, 2019, 6:23 a.m. UTC | #1
On 19/03/2019 08:40:13+0100, Linus Walleij wrote:
> This adds device tree bindings for the Xircom X1205 RTC found

> in the Linksys NSLU2.

> 

> Cc: devicetree@vger.kernel.org

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

> ChangeLog v1->v2:

> - Rebase on v5.1-rc1

> - Resend

> ---

>  .../devicetree/bindings/rtc/xircom,x1205.txt         | 12 ++++++++++++

>  1 file changed, 12 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/rtc/xircom,x1205.txt

> 


Both applied (this time), thanks!

I've moved the doc to rtc.txt as this is a trivial rtc.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/rtc/xircom,x1205.txt b/Documentation/devicetree/bindings/rtc/xircom,x1205.txt
new file mode 100644
index 000000000000..3e3102a32728
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/xircom,x1205.txt
@@ -0,0 +1,12 @@ 
+* Xircom X1205 I2C RTC
+
+Required properties:
+- compatible: Should be "xircom,x1205"
+- reg: I2C address
+
+Example:
+
+rtc@6f {
+	compatible = "xicor,x1205";
+	reg = <0x6f>;
+};