Skip to contentSkip to conversation

dt-bindings: convert rtc/faraday,ftrtc01 to yaml

PATCH Applied Corentin Labbe 3 participants 3 messages May 10, 2021 – May 24, 2021

Subsystems (3)

v2 of 3 Applied Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: convert rtc/faraday,ftrtc01 to yaml

Converts rtc/faraday,ftrtc01.txt to yaml.
This permits to detect some missing properties: reg, resets, interrupts

---
Changes since v1:
- fixed issues reported by Rob Herring https://lore.kernel.org/linux-rtc/[email protected]/T/#t

 .../bindings/rtc/faraday,ftrtc010.txt         | 28 ---------
 .../bindings/rtc/faraday,ftrtc010.yaml        | 59 +++++++++++++++++++
 2 files changed, 59 insertions(+), 28 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/rtc/faraday,ftrtc010.txt
 create mode 100644 Documentation/devicetree/bindings/rtc/faraday,ftrtc010.yaml
Documentation/devicetree/bindings/rtc/faraday,ftrtc010.txt deleted +0 -28
deleted file mode 100644
index e3938f5e0b6c..000000000000
@@ -1,28 +0,0 @@
-* Faraday Technology FTRTC010 Real Time Clock
-
-This RTC appears in for example the Storlink Gemini family of
-SoCs.
-
-Required properties:
-- compatible : Should be one of:
-  "faraday,ftrtc010"
-  "cortina,gemini-rtc", "faraday,ftrtc010"
-
-Optional properties:
-- clocks: when present should contain clock references to the
-  PCLK and EXTCLK clocks. Faraday calls the later CLK1HZ and
-  says the clock should be 1 Hz, but implementers actually seem
-  to choose different clocks here, like Cortina who chose
-  32768 Hz (a typical low-power clock).
-- clock-names: should name the clocks "PCLK" and "EXTCLK"
-  respectively.
-
-Examples:
-
-rtc@45000000 {
-	compatible = "cortina,gemini-rtc";
-	reg = <0x45000000 0x100>;
-	interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
-	clocks = <&foo 0>, <&foo 1>;
-	clock-names = "PCLK", "EXTCLK";
-};
Documentation/devicetree/bindings/rtc/faraday,ftrtc010.yaml new file +59 -0

59 lines not on this page · raw message

Signature · 1 line
2.26.3
maintainer Reviewed-by on v2 1/1
#1 lore raw
Quoted 5 lines · Corentin Labbe

Converts rtc/faraday,ftrtc01.txt to yaml.
This permits to detect some missing properties: reg, resets, interrupts

Quoted 9 lines

---
Changes since v1:
- fixed issues reported by Rob Herring https://lore.kernel.org/linux-rtc/[email protected]/T/#t

 .../bindings/rtc/faraday,ftrtc010.txt         | 28 ---------
 .../bindings/rtc/faraday,ftrtc010.yaml        | 59 +++++++++++++++++++
 2 files changed, 59 insertions(+), 28 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/rtc/faraday,ftrtc010.txt
 create mode 100644 Documentation/devicetree/bindings/rtc/faraday,ftrtc010.yaml

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer Applied
#2 lore raw
In reply to Corentin Labbe
Quoted 2 lines · Corentin Labbe

Converts rtc/faraday,ftrtc01.txt to yaml.
This permits to detect some missing properties: reg, resets, interrupts

Applied, thanks!

[1/1] dt-bindings: convert rtc/faraday,ftrtc01 to yaml

      commit: 8df65d4adca654180a5c05ecb853c15d1d74e410

Best regards,

Signature · 1 line
Alexandre Belloni <[email protected]>