回复: [PATCH v1 1/3] scsi: ufs: dt-bindings: starfive: Add UFS Host Controller for JHB100 soc
From: Minda Chen
Date: Wed Apr 22 2026 - 21:41:30 EST
>
> On Tue, Apr 21, 2026 at 05:12:13PM +0800, Minda Chen wrote:
> > Add devicetree document for UFS Host Controller StarFive JHB100 SoC.
> > The UFS controller is based on the Synopsys DesignWare UFS controller.
> >
> > Signed-off-by: Minda Chen <minda.chen@xxxxxxxxxxxxxxxx>
> > ---
> > .../devicetree/bindings/ufs/starfive,ufs.yaml | 76 +++++++++++++++++++
> > MAINTAINERS | 5 ++
> > 2 files changed, 81 insertions(+)
> > create mode 100644
> > Documentation/devicetree/bindings/ufs/starfive,ufs.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/ufs/starfive,ufs.yaml
> > b/Documentation/devicetree/bindings/ufs/starfive,ufs.yaml
> > new file mode 100644
> > index 000000000000..c408973dd0ce
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/ufs/starfive,ufs.yaml
>
> Filename should be starfive,jhb100-ufs.
>
Okay. Thanks.
> > @@ -0,0 +1,76 @@
> > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause %YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/ufs/starfive,ufs.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Starfive Universal Flash Storage (UFS) Controller
> > +
> > +maintainers:
> > + - Minda Chen <minda.chen@xxxxxxxxxxxxxxxx>
> > +
> > +allOf:
> > + - $ref: ufs-common.yaml
> > +
> > +properties:
> > + compatible:
> > + const: starfive,jhb100-ufs
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + clocks:
> > + items:
> > + - description: UFS reference clock
> > + - description: UFS main enable clock
> > +
> > + clock-names:
> > + items:
> > + - const: ref_clk
>
> Think "ref" suffices here.
>
"ref_clk" is used by ufs host driver code. Can not change.