[PATCH 3/4] dt-bindings: riscv: add Sophgo x4 EVB bindings

Han Gao posted 4 patches 9 months ago
[PATCH 3/4] dt-bindings: riscv: add Sophgo x4 EVB bindings
Posted by Han Gao 9 months ago
Add DT binding documentation for the Sophgo x4 EVB board [1].

Link: https://github.com/sophgo/sophgo-hardware/tree/master/SG2042/SG2042-x4-EVB [1]

Signed-off-by: Han Gao <rabenda.cn@gmail.com>
---
 Documentation/devicetree/bindings/riscv/sophgo.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/riscv/sophgo.yaml b/Documentation/devicetree/bindings/riscv/sophgo.yaml
index ee244c9f75cc..0f93f4cbfc6c 100644
--- a/Documentation/devicetree/bindings/riscv/sophgo.yaml
+++ b/Documentation/devicetree/bindings/riscv/sophgo.yaml
@@ -35,6 +35,7 @@ properties:
           - enum:
               - milkv,pioneer
               - sophgo,sg2042-x8evb
+              - sophgo,sg2042-x4evb
           - const: sophgo,sg2042
 
 additionalProperties: true
-- 
2.47.2
Re: [PATCH 3/4] dt-bindings: riscv: add Sophgo x4 EVB bindings
Posted by Inochi Amaoto 9 months ago
On Sat, May 10, 2025 at 02:13:29AM +0800, Han Gao wrote:
> Add DT binding documentation for the Sophgo x4 EVB board [1].
> 
> Link: https://github.com/sophgo/sophgo-hardware/tree/master/SG2042/SG2042-x4-EVB [1]
> 
> Signed-off-by: Han Gao <rabenda.cn@gmail.com>
> ---
>  Documentation/devicetree/bindings/riscv/sophgo.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/riscv/sophgo.yaml b/Documentation/devicetree/bindings/riscv/sophgo.yaml
> index ee244c9f75cc..0f93f4cbfc6c 100644
> --- a/Documentation/devicetree/bindings/riscv/sophgo.yaml
> +++ b/Documentation/devicetree/bindings/riscv/sophgo.yaml
> @@ -35,6 +35,7 @@ properties:
>            - enum:
>                - milkv,pioneer
>                - sophgo,sg2042-x8evb
> +              - sophgo,sg2042-x4evb
>            - const: sophgo,sg2042
>  
>  additionalProperties: true
> -- 
> 2.47.2
> 

Please keep alphabetical order.

Regards,
Inochi
Re: [PATCH 3/4] dt-bindings: riscv: add Sophgo x4 EVB bindings
Posted by Conor Dooley 9 months ago
On Sat, May 10, 2025 at 06:37:00AM +0800, Inochi Amaoto wrote:
> On Sat, May 10, 2025 at 02:13:29AM +0800, Han Gao wrote:
> > Add DT binding documentation for the Sophgo x4 EVB board [1].
> > 
> > Link: https://github.com/sophgo/sophgo-hardware/tree/master/SG2042/SG2042-x4-EVB [1]
> > 
> > Signed-off-by: Han Gao <rabenda.cn@gmail.com>
> > ---
> >  Documentation/devicetree/bindings/riscv/sophgo.yaml | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/riscv/sophgo.yaml b/Documentation/devicetree/bindings/riscv/sophgo.yaml
> > index ee244c9f75cc..0f93f4cbfc6c 100644
> > --- a/Documentation/devicetree/bindings/riscv/sophgo.yaml
> > +++ b/Documentation/devicetree/bindings/riscv/sophgo.yaml
> > @@ -35,6 +35,7 @@ properties:
> >            - enum:
> >                - milkv,pioneer
> >                - sophgo,sg2042-x8evb
> > +              - sophgo,sg2042-x4evb
> >            - const: sophgo,sg2042
> >  
> >  additionalProperties: true
> > -- 
> > 2.47.2
> > 
> 
> Please keep alphabetical order.

Additionally, I think it'd be pretty reasonable to add both of these
compatibles at the same time since they're variants p much.