[PATCH v3 05/11] dt-bindings: riscv: spacemit: add K3 and Pico-ITX board bindings
Guodong Xu
guodong at riscstar.com
Fri Jan 9 02:12:17 PST 2026
Hi, Yixun
On Fri, Jan 9, 2026 at 11:36 AM Yixun Lan <dlan at gentoo.org> wrote:
>
> Hi Guodong,
>
> On 20:25 Thu 08 Jan , Guodong Xu wrote:
> > Add DT binding documentation for the SpacemiT K3 SoC and the board Pico-ITX
> > which is a 2.5-inch single-board computer.
> >
> > Signed-off-by: Guodong Xu <guodong at riscstar.com>
> > ---
> > v3: No change.
> > v2: Use one-blank-space between name and email address.
> > ---
> > Documentation/devicetree/bindings/riscv/spacemit.yaml | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/riscv/spacemit.yaml b/Documentation/devicetree/bindings/riscv/spacemit.yaml
> > index 9c49482002f768cd0cc59be6db02659a43fa31ce..fe62971c9d1f4a7470eabc0e84e8a747f84baf0d 100644
> > --- a/Documentation/devicetree/bindings/riscv/spacemit.yaml
> > +++ b/Documentation/devicetree/bindings/riscv/spacemit.yaml
> > @@ -9,6 +9,7 @@ title: SpacemiT SoC-based boards
> > maintainers:
> > - Yangyu Chen <cyy at cyyself.name>
> > - Yixun Lan <dlan at gentoo.org>
> > + - Guodong Xu <guodong at riscstar.com>
> >
> sort by alphabet letter of first name?
Thanks for the review comments.
Sure, I can do that.
>
> > description:
> > SpacemiT SoC-based boards
> > @@ -26,6 +27,9 @@ properties:
> > - xunlong,orangepi-r2s
> > - xunlong,orangepi-rv2
> > - const: spacemit,k1
> > + - items:
> ..
> > + - const: spacemit,k3-pico-itx
> if DT mainainer has no objection, I'd suggest to change to enum
> - enum:
> - spacemit,k3-pico-itx
>
> although single enum is effectively equivalent to const, but easy for
> adding more boards in future (no change to previous code)..
>
Ok, I see your point. I can find there are other yaml files doing the same
style. If no other objection, I will change it to enum in next version.
BR,
Guodong Xu
> > + - const: spacemit,k3
> >
> > additionalProperties: true
> >
> >
> > --
> > 2.43.0
> >
>
> --
> Yixun Lan (dlan)
More information about the linux-riscv
mailing list