dt-bindings: rtc: Convert olpc,xo1-rtc to DT schema
Subsystems (2)
PATCH 1/1 dt-bindings: rtc: Convert olpc,xo1-rtc to DT schema
Convert the OLPC XO-1 RTC device tree binding to DT schema format.
---
Note:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings
.../devicetree/bindings/rtc/olpc-xo1-rtc.txt | 5 ---- .../devicetree/bindings/rtc/olpc-xo1-rtc.yaml | 26 +++++++++++++++++++ 2 files changed, 26 insertions(+), 5 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt create mode 100644 Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.yaml
Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt deleted +0 -5
@@ -1,5 +0,0 @@ -OLPC XO-1 RTC -~~~~~~~~~~~~~ - -Required properties: - - compatible : "olpc,xo1-rtc"
Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.yaml new file +26 -0
@@ -0,0 +1,26 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/olpc-xo1-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: OLPC XO-1 RTC + +maintainers: + - Alexandre Belloni <[email protected]> + +properties: + compatible: + enum: + - olpc,xo1-rtc + +required: + - compatible + +additionalProperties: false + +examples: + - | + rtc { + compatible = "olpc,xo1-rtc"; + };
Signature · 1 line
2.43.0
Alexandre Belloni
maintainerQuoted 22 lines · Anushka Badhe
Convert the OLPC XO-1 RTC device tree binding to DT schema format.
Signed-off-by Anushka Badhe <[email protected]>---
Note:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings.../devicetree/bindings/rtc/olpc-xo1-rtc.txt | 5 ---- .../devicetree/bindings/rtc/olpc-xo1-rtc.yaml | 26 +++++++++++++++++++ 2 files changed, 26 insertions(+), 5 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt create mode 100644 Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.yamlDocumentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt deleted +0
-0
Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt line 5
Quoted 5 lines
Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt deleted +0
-5@@ -1,5 +0,0 @@ -OLPC XO-1 RTC -~~~~~~~~~~~~~ - -Required properties: - - compatible : "olpc,xo1-rtc"
I guess this should be move to trivial-rtc
Quoted 35 lines
Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.yaml new file +26
-0@@ -0,0 +1,26 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/olpc-xo1-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: OLPC XO-1 RTC + +maintainers: + - Alexandre Belloni <[email protected]> + +properties: + compatible: + enum: + - olpc,xo1-rtc + +required: + - compatible + +additionalProperties: false + +examples: + - | + rtc { + compatible = "olpc,xo1-rtc"; + };Signature · 1 line
2.43.0
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH v2 1/1 dt-bindings: rtc: add olpc,xo1-rtc to trivial-rtc
Add the OLPC XO-1 RTC compatible string to the trivial-rtc schema instead of creating a standalone binding file, as it only requires a compatible property with no additional configuration.
---
Changes in v2:
- Move binding to trivial-rtc.yaml instead of separate file
Note:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings
Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt | 5 ----- Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt
Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt deleted +0 -5
@@ -1,5 +0,0 @@ -OLPC XO-1 RTC -~~~~~~~~~~~~~ - -Required properties: - - compatible : "olpc,xo1-rtc"
Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +2 -0
@@ -65,6 +65,8 @@ properties: - microcrystal,rv3029 # Real Time Clock - microcrystal,rv8523 + # OLPC XO-1 RTC + - olpc,xo1-rtc # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC - ricoh,r2025sd # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
Signature · 1 line
2.43.0
Re: [PATCH v2] dt-bindings: rtc: add olpc,xo1-rtc to trivial-rtc
Quoted 9 lines · Anushka Badhe
Add the OLPC XO-1 RTC compatible string to the trivial-rtc schema instead of creating a standalone binding file, as it only requires a compatible property with no additional configuration.
Signed-off-by Anushka Badhe <[email protected]>---
Changes in v2:
- Move binding totrivial-rtc.yamlinstead of separate file
Please don't send new versions in response to old ones.
pw-bot: not-applicable
Cheers,
Conor.
Quoted 38 lines
Note:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-BindingsDocumentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt | 5 ----- Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txtDocumentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt deleted +0
-5@@ -1,5 +0,0 @@ -OLPC XO-1 RTC -~~~~~~~~~~~~~ - -Required properties: - - compatible : "olpc,xo1-rtc"Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +2
-0@@ -65,6 +65,8 @@ properties: - microcrystal,rv3029 # Real Time Clock - microcrystal,rv8523 + # OLPC XO-1 RTC + - olpc,xo1-rtc # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC - ricoh,r2025sd # I2C bus SERIAL INTERFACE REAL-TIME CLOCK ICSignature · 1 line
2.43.0
Re: [PATCH v2] dt-bindings: rtc: add olpc,xo1-rtc to trivial-rtc
In reply to Anushka BadheQuoted 3 lines · Anushka Badhe
Add the OLPC XO-1 RTC compatible string to the trivial-rtc schema instead of creating a standalone binding file, as it only requires a compatible property with no additional configuration.
Applied, thanks!
[1/1] dt-bindings: rtc: add olpc,xo1-rtc to trivial-rtc
https://git.kernel.org/abelloni/c/d1b091aaba8c
Best regards,
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com