[U-Boot] [PATCH 26/27] ARM64: zynqmp: Add clocks for LPDDMA

Soren Brinkmann soren.brinkmann at xilinx.com
Fri Nov 11 18:49:25 CET 2016



> -----Original Message-----
> From: Michal Simek [mailto:monstr at monstr.eu] On Behalf Of Michal Simek
> Sent: November 11, 2016 05:42
> To: u-boot at lists.denx.de
> Cc: Appana Durga Kedareswara Rao <appanad at xilinx.com>; Naga Sureshkumar
> Relli <nagasure at xilinx.com>; Bharat Kumar Gogada <bharatku at xilinx.com>;
> Hyun Kwon <hyunk at xilinx.com>; Albert Aribaud
> <albert.u.boot at aribaud.net>; Soren Brinkmann <sorenb at xilinx.com>; Filip
> Drazic <filip.drazic at aggios.com>
> Subject: [PATCH 26/27] ARM64: zynqmp: Add clocks for LPDDMA
>
> From: Kedareswara rao Appana <appana.durga.rao at xilinx.com>
>
> Zynqmp DMA driver expects two clocks (main clock and apb clock)
> For LPDDMA channels the two clocks are missing in the
> Dma node resulting probe failure.
>
> xilinx-zynqmp-dma ffa80000.dma: main clock not found.
> xilinx-zynqmp-dma ffa80000.dma: Probing channel failed
> xilinx-zynqmp-dma: probe of ffa80000.dma failed with error -2
>
> This patch fixes this issue.
>
> Signed-off-by: Kedareswara rao Appana <appanad at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  arch/arm/dts/zynqmp.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
> index aeeccbf9e9d0..5b4fe0962e05 100644
> --- a/arch/arm/dts/zynqmp.dtsi
> +++ b/arch/arm/dts/zynqmp.dtsi
> @@ -428,6 +428,7 @@
>               lpd_dma_chan1: dma at ffa80000 {
>                       status = "disabled";
>                       compatible = "xlnx,zynqmp-dma-1.0";
> +                     clock-names = "clk_main", "clk_apb";
>                       reg = <0x0 0xffa80000 0x0 0x1000>;
>                       interrupt-parent = <&gic>;
>                       interrupts = <0 77 4>;

Am I missing something? Adding 'clock-names' without 'clocks' doesn't seem right.

        Sören


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.



More information about the U-Boot mailing list