On 2026/4/25 18:16, Krzysztof Kozlowski wrote:
> On Fri, Apr 24, 2026 at 11:20:25AM +0800, Xingyu Wu wrote:
> > Add the new documentation of hardware spinlock for the StarFive JHB100 SoC.
> 
> Simplify the subject. You cannot add here support for a device, you just add a
> device simply.
> 
> "Add StarFive JHB100 HW lock"
> 
> >
> > Signed-off-by: Xingyu Wu <[email protected]>
> > ---
> >  .../hwlock/starfive,jhb100-hwspinlock.yaml    | 40 +++++++++++++++++++
> >  1 file changed, 40 insertions(+)
> >  create mode 100644
> > Documentation/devicetree/bindings/hwlock/starfive,jhb100-hwspinlock.ya
> > ml
> >
> > diff --git
> > a/Documentation/devicetree/bindings/hwlock/starfive,jhb100-hwspinlock.
> > yaml
> > b/Documentation/devicetree/bindings/hwlock/starfive,jhb100-hwspinlock.
> > yaml
> > new file mode 100644
> > index 000000000000..b1b27fafe9bc
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/hwlock/starfive,jhb100-hwspinl
> > +++ ock.yaml
> > @@ -0,0 +1,40 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2
> > +---
> > +$id:
> > +http://devicetree.org/schemas/hwlock/starfive,jhb100-hwspinlock.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: StarFive Hardware Spinlock
> 
> StarFive JHB100?

Noted.

> 
> > +
> > +maintainers:
> > +  - Xingyu Wu <[email protected]>
> > +
> > +properties:
> > +  compatible:
> > +    const: starfive,jhb100-hwspinlock
> > +
> > +  reg:
> > +    maxItems: 1
> > +
> > +  resets:
> > +    maxItems: 1
> > +
> > +  "#hwlock-cells":
> > +    const: 1
> > +
> > +required:
> > +  - compatible
> > +  - reg
> > +  - resets
> > +  - "#hwlock-cells"
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > +  - |
> > +    hwspinlock@13012000 {
> 
> name: hwlock

Noted.

Best regards,
Xingyu Wu

Reply via email to