* [PATCH] dt-bindings: rtc: ds3231: Remove text binding
@ 2023-09-02 13:44 Fabio Estevam
2023-09-03 17:29 ` Krzysztof Kozlowski
2023-09-05 23:28 ` Alexandre Belloni
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2023-09-02 13:44 UTC (permalink / raw)
To: alexandre.belloni
Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, linux-rtc, devicetree,
Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
The "maxim,ds3231" compatible is described in the rtc-ds1307.yaml, so
there is no need to keep the text bindings version.
Remove the maxim,ds3231.txt file in favor of the rtc-ds1307.yaml binding.
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
.../devicetree/bindings/rtc/maxim,ds3231.txt | 38 -------------------
1 file changed, 38 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/rtc/maxim,ds3231.txt
diff --git a/Documentation/devicetree/bindings/rtc/maxim,ds3231.txt b/Documentation/devicetree/bindings/rtc/maxim,ds3231.txt
deleted file mode 100644
index 85be53a42180..000000000000
--- a/Documentation/devicetree/bindings/rtc/maxim,ds3231.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-* Maxim DS3231 Real Time Clock
-
-Required properties:
-- compatible: Should contain "maxim,ds3231".
-- reg: I2C address for chip.
-
-Optional property:
-- #clock-cells: Should be 1.
-- clock-output-names:
- overwrite the default clock names "ds3231_clk_sqw" and "ds3231_clk_32khz".
-
-Each clock is assigned an identifier and client nodes can use this identifier
-to specify the clock which they consume. Following indices are allowed:
- - 0: square-wave output on the SQW pin
- - 1: square-wave output on the 32kHz pin
-
-- interrupts: rtc alarm/event interrupt. When this property is selected,
- clock on the SQW pin cannot be used.
-
-Example:
-
-ds3231: ds3231@51 {
- compatible = "maxim,ds3231";
- reg = <0x68>;
- #clock-cells = <1>;
-};
-
-device1 {
-...
- clocks = <&ds3231 0>;
-...
-};
-
-device2 {
-...
- clocks = <&ds3231 1>;
-...
-};
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: rtc: ds3231: Remove text binding
2023-09-02 13:44 [PATCH] dt-bindings: rtc: ds3231: Remove text binding Fabio Estevam
@ 2023-09-03 17:29 ` Krzysztof Kozlowski
2023-09-05 23:28 ` Alexandre Belloni
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-03 17:29 UTC (permalink / raw)
To: Fabio Estevam, alexandre.belloni
Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, linux-rtc, devicetree,
Fabio Estevam
On 02/09/2023 15:44, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
>
> The "maxim,ds3231" compatible is described in the rtc-ds1307.yaml, so
> there is no need to keep the text bindings version.
>
> Remove the maxim,ds3231.txt file in favor of the rtc-ds1307.yaml binding.
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: rtc: ds3231: Remove text binding
2023-09-02 13:44 [PATCH] dt-bindings: rtc: ds3231: Remove text binding Fabio Estevam
2023-09-03 17:29 ` Krzysztof Kozlowski
@ 2023-09-05 23:28 ` Alexandre Belloni
1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2023-09-05 23:28 UTC (permalink / raw)
To: Fabio Estevam
Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, linux-rtc, devicetree,
Fabio Estevam
On Sat, 02 Sep 2023 10:44:07 -0300, Fabio Estevam wrote:
> The "maxim,ds3231" compatible is described in the rtc-ds1307.yaml, so
> there is no need to keep the text bindings version.
>
> Remove the maxim,ds3231.txt file in favor of the rtc-ds1307.yaml binding.
>
>
Applied, thanks!
[1/1] dt-bindings: rtc: ds3231: Remove text binding
commit: ce413486c9a0d735d86cc7d88660abeac99c2501
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-05 23:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-02 13:44 [PATCH] dt-bindings: rtc: ds3231: Remove text binding Fabio Estevam
2023-09-03 17:29 ` Krzysztof Kozlowski
2023-09-05 23:28 ` Alexandre Belloni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.