Skip to contentSkip to conversation

dt-bindings: Move sophgo,cv1800b-rtc to rtc directory

PATCH Applied Rob Herring (Arm) 4 participants 8 messages Jun 8, 2025 – Jul 7, 2025

Subsystems (3)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: Move sophgo,cv1800b-rtc to rtc directory

The $id path for the sophgo,cv1800b-rtc binding was missing part of the path 'soc'. However, the correct place for RTC bindings (even if it's also a "syscon") is the rtc directory, so move the binding there while fixing the $id value.

Fixes 76517429dbfd ("dt-bindings: soc: sophgo: add RTC support for Sophgo CV1800 series")
---
 .../bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename Documentation/devicetree/bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml (96%)
Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml renamed from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml +1 -1
similarity index 96%
rename from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml
rename to Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml
index 5cf186c396c9..c695d2ff9fcc 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/sophgo/sophgo,cv1800b-rtc.yaml#
+$id: http://devicetree.org/schemas/rtc/sophgo,cv1800b-rtc.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Real Time Clock of the Sophgo CV1800 SoC
Signature · 1 line
2.47.2
maintainer
#1 lore raw
Quoted 31 lines · Rob Herring (Arm)

The $id path for the sophgo,cv1800b-rtc binding was missing part of the path 'soc'. However, the correct place for RTC bindings (even if it's also a "syscon") is the rtc directory, so move the binding there while fixing the $id value.

Fixes 76517429dbfd ("dt-bindings: soc: sophgo: add RTC support for Sophgo CV1800 series")
---
 .../bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename Documentation/devicetree/bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml (96%)
Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml renamed from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml +1 -1
similarity index 96%
rename from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml
rename to Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml
index 5cf186c396c9..c695d2ff9fcc 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/sophgo/sophgo,cv1800b-rtc.yaml#
+$id: http://devicetree.org/schemas/rtc/sophgo,cv1800b-rtc.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Real Time Clock of the Sophgo CV1800 SoC
Signature · 1 line
2.47.2

As the rtc syscon has a sub function for remoteproc, is it proper to move this binding into rtc subsystem?

Regards,
Inochi

author maintainer
#2 lore raw
Quoted 28 lines · Inochi Amaoto
Quoted 27 lines · Rob Herring (Arm)

The $id path for the sophgo,cv1800b-rtc binding was missing part of the path 'soc'. However, the correct place for RTC bindings (even if it's also a "syscon") is the rtc directory, so move the binding there while fixing the $id value.

Fixes 76517429dbfd ("dt-bindings: soc: sophgo: add RTC support for Sophgo CV1800 series")
---
 .../bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename Documentation/devicetree/bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml (96%)
Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml renamed from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml +1 -1
similarity index 96%
rename from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml
rename to Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml
index 5cf186c396c9..c695d2ff9fcc 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/sophgo/sophgo,cv1800b-rtc.yaml#
+$id: http://devicetree.org/schemas/rtc/sophgo,cv1800b-rtc.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
Quoted 7 lines
Quoted 4 lines
Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml renamed from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml +0 -0
 title: Real Time Clock of the Sophgo CV1800 SoC
Signature · 1 line
2.47.2

As the rtc syscon has a sub function for remoteproc, is it proper to move this binding into rtc subsystem?

Does that affect the binding (is there more to add)? Looks like an RTC from the binding.

Rob

maintainer
#3 lore raw
Quoted 37 lines · Rob Herring
Quoted 28 lines · Inochi Amaoto
Quoted 27 lines · Rob Herring (Arm)

The $id path for the sophgo,cv1800b-rtc binding was missing part of the path 'soc'. However, the correct place for RTC bindings (even if it's also a "syscon") is the rtc directory, so move the binding there while fixing the $id value.

Fixes 76517429dbfd ("dt-bindings: soc: sophgo: add RTC support for Sophgo CV1800 series")
---
 .../bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename Documentation/devicetree/bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml (96%)
Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml renamed from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml +1 -1
similarity index 96%
rename from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml
rename to Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml
index 5cf186c396c9..c695d2ff9fcc 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/sophgo/sophgo,cv1800b-rtc.yaml#
+$id: http://devicetree.org/schemas/rtc/sophgo,cv1800b-rtc.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
Quoted 7 lines
Quoted 4 lines
Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml renamed from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml +0 -0
 title: Real Time Clock of the Sophgo CV1800 SoC
Signature · 1 line
2.47.2

As the rtc syscon has a sub function for remoteproc, is it proper to move this binding into rtc subsystem?

Quoted 3 lines

Does that affect the binding (is there more to add)? Looks like an RTC from the binding.

I think at least "resets" property may be added for the this, but I am not sure whether there will be more.

Regards,
Inochi

#4 lore raw
Quoted 38 lines · Inochi Amaoto
Quoted 37 lines · Rob Herring
Quoted 35 lines · Inochi Amaoto
Quoted 31 lines · Rob Herring (Arm)

The $id path for the sophgo,cv1800b-rtc binding was missing part of the path 'soc'. However, the correct place for RTC bindings (even if it's also a "syscon") is the rtc directory, so move the binding there while fixing the $id value.

Fixes 76517429dbfd ("dt-bindings: soc: sophgo: add RTC support for Sophgo CV1800 series")
---
 .../bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename Documentation/devicetree/bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml (96%)
Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml renamed from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml +1 -1
similarity index 96%
rename from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml
rename to Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml
index 5cf186c396c9..c695d2ff9fcc 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/sophgo/sophgo,cv1800b-rtc.yaml#
+$id: http://devicetree.org/schemas/rtc/sophgo,cv1800b-rtc.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Real Time Clock of the Sophgo CV1800 SoC
Signature · 1 line
2.47.2

As the rtc syscon has a sub function for remoteproc, is it proper to move this binding into rtc subsystem?

Quoted 6 lines
Quoted 3 lines

Does that affect the binding (is there more to add)? Looks like an RTC from the binding.

I think at least "resets" property may be added for the this, but I am not sure whether there will be more.

Just post complete bindings - see writing bindings...

Best regards,
Krzysztof

maintainer
#5 lore raw
Quoted 39 lines · Krzysztof Kozlowski
Quoted 38 lines · Inochi Amaoto
Quoted 37 lines · Rob Herring
Quoted 35 lines · Inochi Amaoto
Quoted 31 lines · Rob Herring (Arm)

The $id path for the sophgo,cv1800b-rtc binding was missing part of the path 'soc'. However, the correct place for RTC bindings (even if it's also a "syscon") is the rtc directory, so move the binding there while fixing the $id value.

Fixes 76517429dbfd ("dt-bindings: soc: sophgo: add RTC support for Sophgo CV1800 series")
---
 .../bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename Documentation/devicetree/bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml (96%)
Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml renamed from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml +1 -1
similarity index 96%
rename from Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml
rename to Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml
index 5cf186c396c9..c695d2ff9fcc 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/sophgo/sophgo,cv1800b-rtc.yaml#
+$id: http://devicetree.org/schemas/rtc/sophgo,cv1800b-rtc.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Real Time Clock of the Sophgo CV1800 SoC
Signature · 1 line
2.47.2

As the rtc syscon has a sub function for remoteproc, is it proper to move this binding into rtc subsystem?

Quoted 9 lines
Quoted 6 lines
Quoted 3 lines

Does that affect the binding (is there more to add)? Looks like an RTC from the binding.

I think at least "resets" property may be added for the this, but I am not sure whether there will be more.

Just post complete bindings - see writing bindings...

Ignore my guess, I have confirmed the binding is complete, so free to move.

Regards,
Inochi

Reviewed-by on v1 1/1
#6 lore raw
In reply to Rob Herring (Arm)
Quoted 11 lines · Rob Herring (Arm)

The $id path for the sophgo,cv1800b-rtc binding was missing part of the path 'soc'. However, the correct place for RTC bindings (even if it's also a "syscon") is the rtc directory, so move the binding there while fixing the $id value.

Fixes 76517429dbfd ("dt-bindings: soc: sophgo: add RTC support for Sophgo CV1800 series")
---
 .../bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename Documentation/devicetree/bindings/{soc/sophgo => rtc}/sophgo,cv1800b-rtc.yaml (96%)

Best regards,
Krzysztof

maintainer Applied
#7 lore raw
In reply to Rob Herring (Arm)
Quoted 6 lines · Rob Herring (Arm)

The $id path for the sophgo,cv1800b-rtc binding was missing part of the path 'soc'. However, the correct place for RTC bindings (even if it's also a "syscon") is the rtc directory, so move the binding there while fixing the $id value.

Applied, thanks!

[1/1] dt-bindings: Move sophgo,cv1800b-rtc to rtc directory

      https://git.kernel.org/abelloni/c/590951f908f2

Best regards,

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com