Message ID | 20221118011714.70877-2-hal.feng@starfivetech.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Conor Dooley |
Headers | show |
Series | Basic device tree support for StarFive JH7110 RISC-V SoC | expand |
Context | Check | Description |
---|---|---|
conchuod/patch_count | success | Link |
conchuod/cover_letter | success | Series has a cover letter |
conchuod/tree_selection | success | Guessed tree name to be for-next |
conchuod/fixes_present | success | Fixes tag not required for -next series |
conchuod/verify_signedoff | success | Signed-off-by tag matches author and committer |
conchuod/kdoc | success | Errors and warnings before: 0 this patch: 0 |
conchuod/module_param | success | Was 0 now: 0 |
conchuod/build_rv32_defconfig | success | Build OK |
conchuod/build_warn_rv64 | success | Errors and warnings before: 0 this patch: 0 |
conchuod/dtb_warn_rv64 | success | Errors and warnings before: 0 this patch: 0 |
conchuod/header_inline | success | No static functions without inline keyword in header files |
conchuod/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 10 lines checked |
conchuod/source_inline | success | Was 0 now: 0 |
conchuod/build_rv64_nommu_k210_defconfig | success | Build OK |
conchuod/verify_fixes | success | No Fixes tag |
conchuod/build_rv64_nommu_virt_defconfig | success | Build OK |
On Fri, Nov 18, 2022 at 09:17:07AM +0800, Hal Feng wrote: > From: Emil Renner Berthing <kernel@esmil.dk> > > Add device tree bindings for the StarFive JH7110 RISC-V SoC [1] > and the VisionFive2 board [2] equipped with it. > > [1]: https://doc-en.rvspace.org/Doc_Center/jh7110.html > [2]: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html Could you make these two into "Link:" tags please? Otherwise, Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> > Signed-off-by: Hal Feng <hal.feng@starfivetech.com> > --- > Documentation/devicetree/bindings/riscv/starfive.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml > index 5b36243fd674..64008c57e31f 100644 > --- a/Documentation/devicetree/bindings/riscv/starfive.yaml > +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml > @@ -22,6 +22,10 @@ properties: > - const: beagle,beaglev-starlight-jh7100-r0 > - const: starfive,jh7100 > > + - items: > + - const: starfive,visionfive-v2 > + - const: starfive,jh7110 > + > additionalProperties: true > > ... > -- > 2.38.1 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv
On 18/11/2022 02:17, Hal Feng wrote: > From: Emil Renner Berthing <kernel@esmil.dk> > > Add device tree bindings for the StarFive JH7110 RISC-V SoC [1] > and the VisionFive2 board [2] equipped with it. > > [1]: https://doc-en.rvspace.org/Doc_Center/jh7110.html As Conor said, I think Links are preferred. With that: Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Fri, 18 Nov 2022 at 02:17, Hal Feng <hal.feng@starfivetech.com> wrote: > > From: Emil Renner Berthing <kernel@esmil.dk> > > Add device tree bindings for the StarFive JH7110 RISC-V SoC [1] > and the VisionFive2 board [2] equipped with it. > > [1]: https://doc-en.rvspace.org/Doc_Center/jh7110.html > [2]: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html > > Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> > Signed-off-by: Hal Feng <hal.feng@starfivetech.com> > --- > Documentation/devicetree/bindings/riscv/starfive.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml > index 5b36243fd674..64008c57e31f 100644 > --- a/Documentation/devicetree/bindings/riscv/starfive.yaml > +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml > @@ -22,6 +22,10 @@ properties: > - const: beagle,beaglev-starlight-jh7100-r0 > - const: starfive,jh7100 > > + - items: > + - const: starfive,visionfive-v2 I think StarFive has switched to just calling it VisionFive 2 and not V2. Please check up on this before committing to the compatible string. Also there are going to be different revisions of the VisionFive 2 board, so maybe consider adding eg. starfive,visionfive-2-v1.1 and starfive,visionfive-2-v1,2b early. > + - const: starfive,jh7110 > + > additionalProperties: true > > ... > -- > 2.38.1 >
On Fri, 18 Nov 2022 19:31:36 +0800, Conor Dooley wrote: > On Fri, Nov 18, 2022 at 09:17:07AM +0800, Hal Feng wrote: > > From: Emil Renner Berthing <kernel@esmil.dk> > > > > Add device tree bindings for the StarFive JH7110 RISC-V SoC [1] > > and the VisionFive2 board [2] equipped with it. > > > > [1]: https://doc-en.rvspace.org/Doc_Center/jh7110.html > > [2]: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html > > Could you make these two into "Link:" tags please? > Otherwise, > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> OK, will fix it in the next version. Thanks. Best regards, Hal
On Sat, 19 Nov 2022 01:28:48 +0800, Emil Renner Berthing wrote: > On Fri, 18 Nov 2022 at 02:17, Hal Feng <hal.feng@starfivetech.com> wrote: > > > > From: Emil Renner Berthing <kernel@esmil.dk> > > > > Add device tree bindings for the StarFive JH7110 RISC-V SoC [1] > > and the VisionFive2 board [2] equipped with it. > > > > [1]: https://doc-en.rvspace.org/Doc_Center/jh7110.html > > [2]: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html > > > > Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> > > Signed-off-by: Hal Feng <hal.feng@starfivetech.com> > > --- > > Documentation/devicetree/bindings/riscv/starfive.yaml | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml > > index 5b36243fd674..64008c57e31f 100644 > > --- a/Documentation/devicetree/bindings/riscv/starfive.yaml > > +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml > > @@ -22,6 +22,10 @@ properties: > > - const: beagle,beaglev-starlight-jh7100-r0 > > - const: starfive,jh7100 > > > > + - items: > > + - const: starfive,visionfive-v2 > > I think StarFive has switched to just calling it VisionFive 2 and not > V2. Please check up on this before committing to the compatible > string. > > Also there are going to be different revisions of the VisionFive 2 > board, so maybe consider adding eg. starfive,visionfive-2-v1.1 and > starfive,visionfive-2-v1,2b early. I checked that the official name of this board is "VisionFive 2". The board has version A and version B, which are different in gmac and phy chip. The version A board has one 1000M and one 100M Ethernet ports while the version B board has two 1000M Ethernet ports. In dts, they have different configuration parameters for gmac. So I would like to distinguish them by two compatibles as below in the next version. - items: - enum: - starfive,visionfive-2-va - starfive,visionfive-2-vb - const: starfive,jh7110 Best regards, Hal > > > + - const: starfive,jh7110 > > + > > additionalProperties: true
On Thu, 24 Nov 2022 at 06:56, Hal Feng <hal.feng@starfivetech.com> wrote: > > On Sat, 19 Nov 2022 01:28:48 +0800, Emil Renner Berthing wrote: > > On Fri, 18 Nov 2022 at 02:17, Hal Feng <hal.feng@starfivetech.com> wrote: > > > > > > From: Emil Renner Berthing <kernel@esmil.dk> > > > > > > Add device tree bindings for the StarFive JH7110 RISC-V SoC [1] > > > and the VisionFive2 board [2] equipped with it. > > > > > > [1]: https://doc-en.rvspace.org/Doc_Center/jh7110.html > > > [2]: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html > > > > > > Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> > > > Signed-off-by: Hal Feng <hal.feng@starfivetech.com> > > > --- > > > Documentation/devicetree/bindings/riscv/starfive.yaml | 4 ++++ > > > 1 file changed, 4 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml > > > index 5b36243fd674..64008c57e31f 100644 > > > --- a/Documentation/devicetree/bindings/riscv/starfive.yaml > > > +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml > > > @@ -22,6 +22,10 @@ properties: > > > - const: beagle,beaglev-starlight-jh7100-r0 > > > - const: starfive,jh7100 > > > > > > + - items: > > > + - const: starfive,visionfive-v2 > > > > I think StarFive has switched to just calling it VisionFive 2 and not > > V2. Please check up on this before committing to the compatible > > string. > > > > Also there are going to be different revisions of the VisionFive 2 > > board, so maybe consider adding eg. starfive,visionfive-2-v1.1 and > > starfive,visionfive-2-v1,2b early. > > I checked that the official name of this board is "VisionFive 2". The > board has version A and version B, which are different in gmac and phy > chip. The version A board has one 1000M and one 100M Ethernet ports > while the version B board has two 1000M Ethernet ports. In dts, they > have different configuration parameters for gmac. So I would like to > distinguish them by two compatibles as below in the next version. > > - items: > - enum: > - starfive,visionfive-2-va > - starfive,visionfive-2-vb > - const: starfive,jh7110 Cool. Though the silkscreen on my board says "VisionFive 2 V1.2B" so I think it would be less confusing if you used that as the model, and "starfive,visionfive-2-v1.2b" as the compatible string for the board. > Best regards, > Hal > > > > > > + - const: starfive,jh7110 > > > + > > > additionalProperties: true >
On Thu, 24 Nov 2022 10:20:32 +0100, Emil Renner Berthing wrote: > On Thu, 24 Nov 2022 at 06:56, Hal Feng <hal.feng@starfivetech.com> wrote: > > > > On Sat, 19 Nov 2022 01:28:48 +0800, Emil Renner Berthing wrote: > > > On Fri, 18 Nov 2022 at 02:17, Hal Feng <hal.feng@starfivetech.com> wrote: > > > > > > > > From: Emil Renner Berthing <kernel@esmil.dk> > > > > > > > > Add device tree bindings for the StarFive JH7110 RISC-V SoC [1] > > > > and the VisionFive2 board [2] equipped with it. > > > > > > > > [1]: https://doc-en.rvspace.org/Doc_Center/jh7110.html > > > > [2]: https://doc-en.rvspace.org/Doc_Center/visionfive_2.html > > > > > > > > Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> > > > > Signed-off-by: Hal Feng <hal.feng@starfivetech.com> > > > > --- > > > > Documentation/devicetree/bindings/riscv/starfive.yaml | 4 ++++ > > > > 1 file changed, 4 insertions(+) > > > > > > > > diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml > > > > index 5b36243fd674..64008c57e31f 100644 > > > > --- a/Documentation/devicetree/bindings/riscv/starfive.yaml > > > > +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml > > > > @@ -22,6 +22,10 @@ properties: > > > > - const: beagle,beaglev-starlight-jh7100-r0 > > > > - const: starfive,jh7100 > > > > > > > > + - items: > > > > + - const: starfive,visionfive-v2 > > > > > > I think StarFive has switched to just calling it VisionFive 2 and not > > > V2. Please check up on this before committing to the compatible > > > string. > > > > > > Also there are going to be different revisions of the VisionFive 2 > > > board, so maybe consider adding eg. starfive,visionfive-2-v1.1 and > > > starfive,visionfive-2-v1,2b early. > > > > I checked that the official name of this board is "VisionFive 2". The > > board has version A and version B, which are different in gmac and phy > > chip. The version A board has one 1000M and one 100M Ethernet ports > > while the version B board has two 1000M Ethernet ports. In dts, they > > have different configuration parameters for gmac. So I would like to > > distinguish them by two compatibles as below in the next version. > > > > - items: > > - enum: > > - starfive,visionfive-2-va > > - starfive,visionfive-2-vb > > - const: starfive,jh7110 > > Cool. Though the silkscreen on my board says "VisionFive 2 V1.2B" so I > think it would be less confusing if you used that as the model, and > "starfive,visionfive-2-v1.2b" as the compatible string for the board. As far as I know, VisionFive 2 V1.3B is coming and all version B boards use the same configuration. It's unnecessary to add the detailed number of PCB version. > > > > Best regards, > > Hal > > > > > > > > > + - const: starfive,jh7110 > > > > + > > > > additionalProperties: true > >
diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml index 5b36243fd674..64008c57e31f 100644 --- a/Documentation/devicetree/bindings/riscv/starfive.yaml +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml @@ -22,6 +22,10 @@ properties: - const: beagle,beaglev-starlight-jh7100-r0 - const: starfive,jh7100 + - items: + - const: starfive,visionfive-v2 + - const: starfive,jh7110 + additionalProperties: true ...