Message ID | 20180812133149.7710-6-erosca@de.adit-jv.com (mailing list archive) |
---|---|
State | Rejected |
Delegated to: | Simon Horman |
Headers | show |
Series | [v2,1/7] dt-bindings: arm: Document Renesas R-Car M3-N-based ULCB board | expand |
On Sun, Aug 12, 2018 at 03:31:48PM +0200, Eugeniu Rosca wrote: > Fix below DTC error: > Error: arch/arm64/boot/dts/renesas/ulcb-kf.dtsi:36.1-8 Label or path hscif0 not found > > The DTC error occurs *after* the addition of r8a77965-m3nulcb-kf.dts. > Fix it beforehand. > > Inspired from v4.12-rc1 commits: > - commit 68cd16107260 ("arm64: dts: r8a7796 dtsi: Add all HSCIF nodes") > - commit 6d50bb893504 ("arm64: dts: r8a7796: Enable HSCIF DMA") > - commit bec0948e810f ("arm64: dts: r8a7796: Add reset control properties") > > Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com> > --- > Changes in v2: > - Slightly improved the commit description. > - Note that this commit could be replaced by > https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git/commit/?h=b8e3c8e17611 That commit has been accepted for upstream so it should be used. > --- > arch/arm64/boot/dts/renesas/r8a77965.dtsi | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi > index 4da479d3c226..d04a8b671cc2 100644 > --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi > +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi > @@ -451,6 +451,24 @@ > status = "disabled"; > }; > > + hscif0: serial@e6540000 { > + compatible = "renesas,hscif-r8a77965", > + "renesas,rcar-gen3-hscif", > + "renesas,hscif"; > + reg = <0 0xe6540000 0 0x60>; > + interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&cpg CPG_MOD 520>, > + <&cpg CPG_CORE R8A77965_CLK_S3D1>, > + <&scif_clk>; > + clock-names = "fck", "brg_int", "scif_clk"; > + dmas = <&dmac1 0x31>, <&dmac1 0x30>, > + <&dmac2 0x31>, <&dmac2 0x30>; > + dma-names = "tx", "rx", "tx", "rx"; > + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; > + resets = <&cpg 520>; > + status = "disabled"; > + }; > + > hsusb: usb@e6590000 { > compatible = "renesas,usbhs-r8a7796", > "renesas,rcar-gen3-usbhs"; > -- > 2.18.0 >
Hi Simon, On Wed, Aug 22, 2018 at 01:12:47PM +0200, Simon Horman wrote: > On Sun, Aug 12, 2018 at 03:31:48PM +0200, Eugeniu Rosca wrote: > > Fix below DTC error: > > Error: arch/arm64/boot/dts/renesas/ulcb-kf.dtsi:36.1-8 Label or path hscif0 not found > > > > The DTC error occurs *after* the addition of r8a77965-m3nulcb-kf.dts. > > Fix it beforehand. > > > > Inspired from v4.12-rc1 commits: > > - commit 68cd16107260 ("arm64: dts: r8a7796 dtsi: Add all HSCIF nodes") > > - commit 6d50bb893504 ("arm64: dts: r8a7796: Enable HSCIF DMA") > > - commit bec0948e810f ("arm64: dts: r8a7796: Add reset control properties") > > > > Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com> > > --- > > Changes in v2: > > - Slightly improved the commit description. > > - Note that this commit could be replaced by > > https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git/commit/?h=b8e3c8e17611 > > That commit has been accepted for upstream so it should be used. Thanks for the explanation. No further questions/concerns. Best regards, Eugeniu.
diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 4da479d3c226..d04a8b671cc2 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -451,6 +451,24 @@ status = "disabled"; }; + hscif0: serial@e6540000 { + compatible = "renesas,hscif-r8a77965", + "renesas,rcar-gen3-hscif", + "renesas,hscif"; + reg = <0 0xe6540000 0 0x60>; + interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cpg CPG_MOD 520>, + <&cpg CPG_CORE R8A77965_CLK_S3D1>, + <&scif_clk>; + clock-names = "fck", "brg_int", "scif_clk"; + dmas = <&dmac1 0x31>, <&dmac1 0x30>, + <&dmac2 0x31>, <&dmac2 0x30>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 520>; + status = "disabled"; + }; + hsusb: usb@e6590000 { compatible = "renesas,usbhs-r8a7796", "renesas,rcar-gen3-usbhs";
Fix below DTC error: Error: arch/arm64/boot/dts/renesas/ulcb-kf.dtsi:36.1-8 Label or path hscif0 not found The DTC error occurs *after* the addition of r8a77965-m3nulcb-kf.dts. Fix it beforehand. Inspired from v4.12-rc1 commits: - commit 68cd16107260 ("arm64: dts: r8a7796 dtsi: Add all HSCIF nodes") - commit 6d50bb893504 ("arm64: dts: r8a7796: Enable HSCIF DMA") - commit bec0948e810f ("arm64: dts: r8a7796: Add reset control properties") Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com> --- Changes in v2: - Slightly improved the commit description. - Note that this commit could be replaced by https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git/commit/?h=b8e3c8e17611 --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)