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

Gary Yang gary.yang at cixtech.com
Sun Nov 9 21:56:04 PST 2025


Hi Krzysztof:

I'm glad to see your comments again.

> -----邮件原件-----
> 发件人: Krzysztof Kozlowski <krzk at kernel.org>
> 发送时间: 2025年11月7日 15:18
> 收件人: Gary Yang <gary.yang at cixtech.com>; p.zabel at pengutronix.de;
> robh at kernel.org; krzk+dt at kernel.org; conor+dt at kernel.org
> 抄送: devicetree at vger.kernel.org; linux-kernel at vger.kernel.org;
> linux-arm-kernel at lists.infradead.org; cix-kernel-upstream
> <cix-kernel-upstream at cixtech.com>
> 主题: 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 at cixtech.com>
> > +
> > +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 at 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


More information about the linux-arm-kernel mailing list