linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: heiko@sntech.de (Heiko Stübner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/4] ARM: rockchip: add dma support
Date: Tue, 02 Sep 2014 22:34:47 +0200	[thread overview]
Message-ID: <7967994.e4G7JcVEG0@diego> (raw)
In-Reply-To: <3132019.Q6dzkQ3ylK@diego>

Am Donnerstag, 14. August 2014, 22:59:48 schrieb Heiko St?bner:
> All Rockchip SoCs currently supported use pl330 dma controllers.
> The first patch introduces the concept of critical clocks, stolen from
> sunxi, as some core clocks shouldn't be disabled under normal circumstances.
> The patch is necessary, as the amba bus uses strict clock gating, which
> without this patch results in the core aclk getting disabled halting the
> system, before other components are able to probe and maybe claim their
> clocks.
> 
> As the patches have no compile-time dependency on each other, the patchset
> could be split with the first patch going through the clock tree and the
> other three going through arm-soc.

I've add the patches 2-4 to a v3.18-next/dma branch.


> 
> changes since v1:
> - address comment Sergei Shtylyov and rename nodes to dma-controller
> - address comments from Doug Anderson:
>   - order by address
>   - rename the controller phandles to reflect the naming in the TRMs
>     On the rk3066/rk3188 there is one diversion in this regard.
>     The clocks really use indices 1 and 2 while the controllers references
>     use 0 and 1 (dmac0 and dmac1), so to prevent to much confusion I used
>     the clock indices for the handles instead of having dmac0 use ACLK_DMAC1
> etc.
> - address comment from Andreas F?rber adding suffixes of "_s" for the
>   secure and "_ns" for the non-secure variants of the first controller
>   As (nearly) all boards seem to use the secure controller, this becomes
>   the default
> 
> Heiko Stuebner (4):
>   clk: rockchip: protect critical clocks from getting disabled
>   ARM: rockchip: enable the AMBA bus
>   ARM: dts: rockchip: add rk3288 dma controllers
>   ARM: dts: rockchip: add rk3188 dma controllers
> 
>  arch/arm/boot/dts/rk3288.dtsi     | 38
> ++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/rk3xxx.dtsi     |
> 38 ++++++++++++++++++++++++++++++++++++++ arch/arm/mach-rockchip/Kconfig   
> |  1 +
>  drivers/clk/rockchip/clk-rk3188.c |  7 +++++++
>  drivers/clk/rockchip/clk-rk3288.c |  7 +++++++
>  drivers/clk/rockchip/clk.c        | 13 +++++++++++++
>  drivers/clk/rockchip/clk.h        |  1 +
>  7 files changed, 105 insertions(+)

      parent reply	other threads:[~2014-09-02 20:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-14 20:59 [PATCH v2 0/4] ARM: rockchip: add dma support Heiko Stübner
2014-08-14 21:00 ` [PATCH v2 1/4] clk: rockchip: protect critical clocks from getting disabled Heiko Stübner
2014-09-02 19:06   ` Heiko Stübner
2014-08-14 21:00 ` [PATCH v2 2/4] ARM: rockchip: enable the AMBA bus Heiko Stübner
2014-08-14 21:01 ` [PATCH v2 3/4] ARM: dts: rockchip: add rk3288 dma controllers Heiko Stübner
2014-08-14 21:01 ` [PATCH v2 4/4] ARM: dts: rockchip: add rk3066 and rk3188 " Heiko Stübner
2014-09-02 20:34 ` Heiko Stübner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7967994.e4G7JcVEG0@diego \
    --to=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).