回复: [PATCH 1/3] dt-bindings: reset: add sky1 reset controller

From: Gary Yang
Date: Mon Nov 10 2025 - 00:56:23 EST


Hi Krzysztof:

I'm glad to see your comments again.

> -----邮件原件-----
> 发件人: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> 发送时间: 2025年11月7日 15:18
> 收件人: Gary Yang <gary.yang@xxxxxxxxxxx>; p.zabel@xxxxxxxxxxxxxx;
> robh@xxxxxxxxxx; krzk+dt@xxxxxxxxxx; conor+dt@xxxxxxxxxx
> 抄送: devicetree@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; cix-kernel-upstream
> <cix-kernel-upstream@xxxxxxxxxxx>
> 主题: Re: [PATCH 1/3] dt-bindings: reset: add sky1 reset controller
>
> EXTERNAL EMAIL
>
> On 07/11/2025 04:38, Gary Yang wrote:
> > +maintainers:
> > + - Gary Yang <gary.yang@xxxxxxxxxxx>
> > +
> > +description: |
> > + CIX Sky1 reset controller can be used to reset various set of peripherals.
> > + There are two reset controllers, one is located in S0 domain, the other
> > + is located in S5 domain.
> > +
> > + See also:
> > + - dt-bindings/reset/cix,sky1-rst.h
>
> Use full path here.
>

OK, we will use full path: include/dt-bindings/reset/cix,sky1-rst.h

> > +
> > +properties:
> > + compatible:
> > + items:
> > + - enum:
> > + - cix,sky1-rst
> > + - cix,sky1-rst-fch
> > + - const: syscon
> > +
> > + reg:
> > + maxItems: 2
>
> You need to list the items.
>

Sorry, to fix a build warning, make a mistake, we will fix it

> > +
> > + '#reset-cells':
> > + const: 1
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - '#reset-cells'
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > + #include <dt-bindings/reset/cix,sky1-rst.h>
> > + reset-controller@16000000 {
> > + compatible = "cix,sky1-rst", "syscon";
> > + reg = <0x0 0x16000000 0x0 0x1000>;
>
> Clearly wrong - you said two items.
>

We will use reg = <0x16000000 0x1000> to instead of it

> > + #reset-cells = <1>;
> > + };
>
>
> ...
>
>
> > +
> > +#define SKY1_FCH_RESET_NUM 29
>
> Drop, not ABI (usually).
>

Ok, we will delete it

> > +
> > +#endif
> > +
>
> ...
>
> > +
> > +#define SKY1_RESET_NUM 143
>
> Drop
>
>

Ok, we will delete it

Best wishes
Gary

>
> Best regards,
> Krzysztof