Re: [PATCH] dt-bindings: Move sophgo,cv1800b-rtc to rtc directory
From: Rob Herring
Date: Tue Jun 17 2025 - 09:20:46 EST
On Mon, Jun 09, 2025 at 06:49:38AM +0800, Inochi Amaoto wrote:
> On Sun, Jun 08, 2025 at 05:42:51PM -0500, Rob Herring (Arm) wrote:
> > 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")
> > Signed-off-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
> > ---
> > .../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%)
> >
> > diff --git a/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml b/Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml
> > 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
> > --- a/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800b-rtc.yaml
> > +++ b/Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml
> > @@ -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
> > --
> > 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