* Re: [PATCH V2 0/2 RESEND] Add DTS for NanoPi R2S Plus
2024-08-01 17:57 ` Sergey Bostandzhyan
@ 2024-08-01 21:22 ` Heiko Stübner
2024-08-02 9:46 ` Bjoern A. Zeeb
2024-08-05 15:00 ` Rob Herring (Arm)
2 siblings, 0 replies; 7+ messages in thread
From: Heiko Stübner @ 2024-08-01 21:22 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, Sergey Bostandzhyan
Cc: devicetree, linux-arm-kernel, linux-rockchip, linux-kernel,
Sergey Bostandzhyan
Hi Sergey,
Am Donnerstag, 1. August 2024, 19:57:34 CEST schrieb Sergey Bostandzhyan:
> Hi,
>
> as requested, I am resending the patch series, now with hopefully all
> relevant addresses on To/Cc.
>
> I noticed, that a DTS for the R2S Plus is not yet available, while the
> R2S is already there. The only difference is, that the Plus version has an
> eMMC, so we can reuse the R2S definitions and only add an eMMC block, which
> I copied from the DTS in the friendlyarm/uboot-rockchip repo.
>
> I applied the same DTS changes to u-boot and tested u-boot 2024.04 with
> kernel 6.6.35 on an R2S Plus which I have here and the eMMC became visible
> and usable.
general remark, please don't send new versions as threaded replies to old
versions. The normal case for git-send-email is to create a new thread
and this continuing inside the old thread confues tooling.
And it's hard to follow too.
Though hopefully the binding might still get an Ack from the dt-maintainers
so I guess don't resend just now :-)
Thanks
Heiko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH V2 0/2 RESEND] Add DTS for NanoPi R2S Plus
2024-08-01 17:57 ` Sergey Bostandzhyan
2024-08-01 21:22 ` Heiko Stübner
@ 2024-08-02 9:46 ` Bjoern A. Zeeb
2024-08-02 10:04 ` Sergey 'Jin' Bostandzhyan
2024-08-05 15:00 ` Rob Herring (Arm)
2 siblings, 1 reply; 7+ messages in thread
From: Bjoern A. Zeeb @ 2024-08-02 9:46 UTC (permalink / raw)
To: Sergey Bostandzhyan
Cc: robh, krzk+dt, conor+dt, heiko, devicetree, linux-arm-kernel,
linux-rockchip, linux-kernel
On Thu, 1 Aug 2024, Sergey Bostandzhyan wrote:
> Hi,
>
> as requested, I am resending the patch series, now with hopefully all
> relevant addresses on To/Cc.
>
> I noticed, that a DTS for the R2S Plus is not yet available, while the
> R2S is already there. The only difference is, that the Plus version has an
> eMMC, so we can reuse the R2S definitions and only add an eMMC block, which
> I copied from the DTS in the friendlyarm/uboot-rockchip repo.
The original has a
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
please don't lose the OR MIT as other projects outside Linux do use the
same dts files; and the original r2s file also preserved it.
--
Bjoern A. Zeeb r15:7
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH V2 0/2 RESEND] Add DTS for NanoPi R2S Plus
2024-08-02 9:46 ` Bjoern A. Zeeb
@ 2024-08-02 10:04 ` Sergey 'Jin' Bostandzhyan
0 siblings, 0 replies; 7+ messages in thread
From: Sergey 'Jin' Bostandzhyan @ 2024-08-02 10:04 UTC (permalink / raw)
To: Bjoern A. Zeeb
Cc: robh, krzk+dt, conor+dt, heiko, devicetree, linux-arm-kernel,
linux-rockchip, linux-kernel
Hi,
On Fri, Aug 02, 2024 at 09:46:40AM +0000, Bjoern A. Zeeb wrote:
> >I noticed, that a DTS for the R2S Plus is not yet available, while the
> >R2S is already there. The only difference is, that the Plus version has an
> >eMMC, so we can reuse the R2S definitions and only add an eMMC block, which
> >I copied from the DTS in the friendlyarm/uboot-rockchip repo.
>
> The original has a
> // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
>
> please don't lose the OR MIT as other projects outside Linux do use the
> same dts files; and the original r2s file also preserved it.
Uhm... I am confused now, I copy-pasted the emmc block from this file:
https://github.com/friendlyarm/uboot-rockchip/blob/nanopi4-v2017.09/arch/arm/dts/rk3328-nanopi-r2.dts#L7
The header does not have the "OR MIT" in there, it's just
"SPDX-License-Identifier: GPL-2.0+" which is what I also copied
over, together with the (c) part.
The source which I was using is described in the commit message:
The eMMC configuration for the DTS has been extracted and copied from
rk3328-nanopi-r2.dts, v2017.09 branch from the friendlyarm/uboot-rockchip
repository.
Maybe you looked at a different branch? Shall I still add the "OR
MIT" or leave it as in the original file which I copied it from?
Kind regards,
Sergey
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH V2 0/2 RESEND] Add DTS for NanoPi R2S Plus
2024-08-01 17:57 ` Sergey Bostandzhyan
2024-08-01 21:22 ` Heiko Stübner
2024-08-02 9:46 ` Bjoern A. Zeeb
@ 2024-08-05 15:00 ` Rob Herring (Arm)
2 siblings, 0 replies; 7+ messages in thread
From: Rob Herring (Arm) @ 2024-08-05 15:00 UTC (permalink / raw)
To: Sergey Bostandzhyan
Cc: linux-arm-kernel, heiko, devicetree, conor+dt, krzk+dt,
linux-kernel, linux-rockchip
On Thu, 01 Aug 2024 17:57:34 +0000, Sergey Bostandzhyan wrote:
> Hi,
>
> as requested, I am resending the patch series, now with hopefully all
> relevant addresses on To/Cc.
>
> I noticed, that a DTS for the R2S Plus is not yet available, while the
> R2S is already there. The only difference is, that the Plus version has an
> eMMC, so we can reuse the R2S definitions and only add an eMMC block, which
> I copied from the DTS in the friendlyarm/uboot-rockchip repo.
>
> I applied the same DTS changes to u-boot and tested u-boot 2024.04 with
> kernel 6.6.35 on an R2S Plus which I have here and the eMMC became visible
> and usable.
>
> Kind regards,
> Sergey
>
>
> Sergey Bostandzhyan (2):
> arm64: dts: rockchip: Add DTS for FriendlyARM NanoPi R2S Plus
> dt-bindings: arm: rockchip: Add NanoPi R2S Plus
>
> .../devicetree/bindings/arm/rockchip.yaml | 1 +
> arch/arm64/boot/dts/rockchip/Makefile | 1 +
> .../dts/rockchip/rk3328-nanopi-r2s-plus.dts | 31 +++++++++++++++++++
> 3 files changed, 33 insertions(+)
> create mode 100644 arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts
>
> --
> 2.20.1
>
>
>
My bot found new DTB warnings on the .dts files added or changed in this
series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:
pip3 install dtschema --upgrade
New warnings running 'make CHECK_DTBS=y rockchip/rk3328-nanopi-r2s-plus.dtb' for 20240801175736.16591-1-jin@mediatomb.cc:
arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dtb: hdmi@ff3c0000: interrupts: [[0, 35, 4], [0, 71, 4]] is too long
from schema $id: http://devicetree.org/schemas/display/rockchip/rockchip,dw-hdmi.yaml#
arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dtb: /phy@ff430000: failed to match any schema with compatible: ['rockchip,rk3328-hdmi-phy']
arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dtb: /clock-controller@ff440000: failed to match any schema with compatible: ['rockchip,rk3328-cru', 'rockchip,cru', 'syscon']
arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dtb: /clock-controller@ff440000: failed to match any schema with compatible: ['rockchip,rk3328-cru', 'rockchip,cru', 'syscon']
arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dtb: mmc@ff520000: Unevaluated properties are not allowed ('num-slots', 'supports-emmc' were unexpected)
from schema $id: http://devicetree.org/schemas/mmc/rockchip-dw-mshc.yaml#
^ permalink raw reply [flat|nested] 7+ messages in thread