diff mbox series

[1/2] rtx: x1205: Add DT bindings

Message ID 20190131150642.26289-1-linus.walleij@linaro.org
State Superseded
Headers show
Series [1/2] rtx: x1205: Add DT bindings | expand

Commit Message

Linus Walleij Jan. 31, 2019, 3:06 p.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>

---
 .../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 Feb. 7, 2019, 8:42 p.m. UTC | #1
Hi,

On 31/01/2019 16:06:41+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>

> ---

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

>  1 file changed, 12 insertions(+)

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

> 


I chose to not apply that one and instead amend your following patch to
add the compatible with the trivial RTCs in rtc.txt

> 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>;

> +};

> -- 

> 2.20.1

> 


-- 
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>;
+};