dt-bindings: rtc: convert haoyu,hym8563.txt to yaml
Subsystems (3)
PATCH 1/3 dt-bindings: rtc: convert haoyu,hym8563.txt to yaml
Convert haoyu,hym8563.txt to yaml.
Changed:
Add clock-frequency property
--- .../devicetree/bindings/rtc/haoyu,hym8563.txt | 30 ---------- .../bindings/rtc/haoyu,hym8563.yaml | 60 +++++++++++++++++++ 2 files changed, 60 insertions(+), 30 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt create mode 100644 Documentation/devicetree/bindings/rtc/haoyu,hym8563.yaml
Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt deleted +0 -30
@@ -1,30 +0,0 @@ -Haoyu Microelectronics HYM8563 Real Time Clock - -The HYM8563 provides basic rtc and alarm functionality -as well as a clock output of up to 32kHz. - -Required properties: -- compatible: should be: "haoyu,hym8563" -- reg: i2c address -- #clock-cells: the value should be 0 - -Optional properties: -- clock-output-names: From common clock binding -- interrupts: rtc alarm/event interrupt - -Example: - -hym8563: hym8563@51 { - compatible = "haoyu,hym8563"; - reg = <0x51>; - - interrupts = <13 IRQ_TYPE_EDGE_FALLING>; - - #clock-cells = <0>; -}; - -device { -... - clocks = <&hym8563>; -... -};
Documentation/devicetree/bindings/rtc/haoyu,hym8563.yaml new file +60 -0
60 lines not on this page · raw message
--
2.20.1
PATCH 2/3 ARM: dts: rockchip: rename "haoyu,hym8563" rtc nodes
The "haoyu,hym8563" RTC node names should be generic, so change them.
--- arch/arm/boot/dts/rk3036-evb.dts | 2 +- arch/arm/boot/dts/rk3288-evb-act8846.dts | 2 +- arch/arm/boot/dts/rk3288-firefly-reload.dts | 2 +- arch/arm/boot/dts/rk3288-firefly.dtsi | 2 +- arch/arm/boot/dts/rk3288-miqi.dts | 2 +- arch/arm/boot/dts/rk3288-rock2-square.dts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
arch/arm/boot/dts/rk3036-evb.dts +1 -1
@@ -35,7 +35,7 @@ &i2c1 { status = "okay"; - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>;
arch/arm/boot/dts/rk3288-evb-act8846.dts +1 -1
@@ -54,7 +54,7 @@ vin-supply = <&vcc_sys>; }; - hym8563@51 { + rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>;
arch/arm/boot/dts/rk3288-firefly-reload.dts +1 -1
@@ -197,7 +197,7 @@ }; &i2c0 { - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>;
arch/arm/boot/dts/rk3288-firefly.dtsi +1 -1
@@ -233,7 +233,7 @@ vin-supply = <&vcc_sys>; }; - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>;
arch/arm/boot/dts/rk3288-miqi.dts +1 -1
@@ -162,7 +162,7 @@ vin-supply = <&vcc_sys>; }; - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>;
arch/arm/boot/dts/rk3288-rock2-square.dts +1 -1
@@ -165,7 +165,7 @@ }; &i2c0 { - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>;
--
2.20.1
_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
Re: [PATCH v1 2/3] ARM: dts: rockchip: rename "haoyu,hym8563" rtc nodes
Quoted 6 lines · Johan Jonker
The "haoyu,hym8563" RTC node names should be generic, so change them.
Signed-off-by Johan Jonker <[email protected]>--- arch/arm/boot/dts/rk3036-evb.dts | 2 +-
Also done.
Best regards,
Krzysztof
PATCH 3/3 arm64: dts: rockchip: rename "haoyu,hym8563" rtc nodes
In reply to Johan JonkerThe "haoyu,hym8563" RTC node names should be generic, so change them.
--- arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts +1 -1
@@ -208,7 +208,7 @@ vin-supply = <&vcc_sys>; }; - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>;
arch/arm64/boot/dts/rockchip/rk3368-r88.dts +1 -1
@@ -192,7 +192,7 @@ vin-supply = <&vcc_sys>; }; - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>;
arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts +1 -1
@@ -98,7 +98,7 @@ }; &i2c0 { - hym8563: hym8563@51 { + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; interrupt-parent = <&gpio0>;
--
2.20.1
_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
Quoted 9 lines · Johan Jonker
Convert haoyu,hym8563.txt to yaml.
Changed:
Add clock-frequency propertySigned-off-by Johan Jonker <[email protected]>--- .../devicetree/bindings/rtc/haoyu,hym8563.txt | 30 ---------- .../bindings/rtc/haoyu,hym8563.yaml | 60 +++++++++++++++++++
https://lore.kernel.org/all/[email protected]/
Best regards,
Krzysztof
Quoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Johan Jonker
Convert haoyu,hym8563.txt to yaml.
Changed:
Add clock-frequency property
Quoted 7 lines
Quoted 4 lines
Signed-off-by Johan Jonker <[email protected]>--- .../devicetree/bindings/rtc/haoyu,hym8563.txt | 30 ---------- .../bindings/rtc/haoyu,hym8563.yaml | 60 +++++++++++++++++++
Ooops, didn't see that one...
Needed it for the rk3128-evb board to pass without notifications.
Johan
Quoted 4 lines
Best regards,
Krzysztof