From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 02/10] ARM: dts: sun9i: Add mmc module clock nodes for A80
Date: Sat, 6 Dec 2014 18:24:49 +0100 [thread overview]
Message-ID: <20141206172449.GC12434@lukather> (raw)
In-Reply-To: <1417588565-26215-3-git-send-email-wens@csie.org>
Hi,
On Wed, Dec 03, 2014 at 02:35:57PM +0800, Chen-Yu Tsai wrote:
> The mmc module clocks are A80 specific module 0 (storage) type clocks.
>
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
> Signed-off-by: Andreas F?rber <afaerber@suse.de>
> ---
> arch/arm/boot/dts/sun9i-a80.dtsi | 32 ++++++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi
> index 494714f..33d18dc 100644
> --- a/arch/arm/boot/dts/sun9i-a80.dtsi
> +++ b/arch/arm/boot/dts/sun9i-a80.dtsi
> @@ -215,6 +215,38 @@
> clock-output-names = "cci400";
> };
>
> + mmc0_clk: clk at 06000410 {
> + #clock-cells = <0>;
> + compatible = "allwinner,sun9i-a80-mod0-clk";
> + reg = <0x06000410 0x4>;
> + clocks = <&osc24M>, <&pll4>;
> + clock-output-names = "mmc0";
> + };
> +
> + mmc1_clk: clk at 06000414 {
> + #clock-cells = <0>;
> + compatible = "allwinner,sun9i-a80-mod0-clk";
> + reg = <0x06000414 0x4>;
> + clocks = <&osc24M>, <&pll4>;
> + clock-output-names = "mmc1";
> + };
> +
> + mmc2_clk: clk at 06000418 {
> + #clock-cells = <0>;
> + compatible = "allwinner,sun9i-a80-mod0-clk";
> + reg = <0x06000418 0x4>;
> + clocks = <&osc24M>, <&pll4>;
> + clock-output-names = "mmc2";
> + };
> +
> + mmc3_clk: clk at 0600041c {
> + #clock-cells = <0>;
> + compatible = "allwinner,sun9i-a80-mod0-clk";
> + reg = <0x0600041c 0x4>;
> + clocks = <&osc24M>, <&pll4>;
> + clock-output-names = "mmc3";
> + };
> +
How is the phase stuff supposed to work? Is this still used on the A80?
Also, wasn't the mux supposed to have 4 bits (so something like at
least 9 parent clocks?) given your previous patch?
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141206/65168323/attachment.sig>
next prev parent reply other threads:[~2014-12-06 17:24 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-03 6:35 [PATCH 00/10] ARM: sun9i: Enable MMC support on Allwinner A80 Chen-Yu Tsai
2014-12-03 6:35 ` [PATCH 01/10] clk: sunxi: Add module 0 (storage) style clock support for A80 Chen-Yu Tsai
2014-12-06 17:13 ` Maxime Ripard
2014-12-07 1:13 ` [linux-sunxi] " Chen-Yu Tsai
2014-12-07 15:16 ` Maxime Ripard
2014-12-03 6:35 ` [PATCH 02/10] ARM: dts: sun9i: Add mmc module clock nodes " Chen-Yu Tsai
2014-12-06 17:24 ` Maxime Ripard [this message]
2014-12-07 1:11 ` Chen-Yu Tsai
2014-12-07 15:14 ` Maxime Ripard
2014-12-03 6:35 ` [PATCH 03/10] clk: sunxi: Add driver for A80 MMC config clocks/resets Chen-Yu Tsai
2014-12-06 18:01 ` Maxime Ripard
2014-12-07 1:30 ` Chen-Yu Tsai
2014-12-07 15:20 ` Maxime Ripard
2014-12-03 6:35 ` [PATCH 04/10] ARM: dts: sun9i: Add clock-indices property for bus gate clocks Chen-Yu Tsai
2014-12-03 6:36 ` [PATCH 05/10] ARM: dts: sun9i: Add mmc config clock nodes Chen-Yu Tsai
2014-12-07 15:00 ` Maxime Ripard
2014-12-07 16:00 ` Chen-Yu Tsai
2014-12-07 17:45 ` Maxime Ripard
2014-12-03 6:36 ` [PATCH 06/10] ARM: dts: sun9i: Add mmc controller nodes to the A80 dtsi Chen-Yu Tsai
2014-12-03 6:36 ` [PATCH 07/10] ARM: dts: sun9i: Add pinmux setting for mmc0 Chen-Yu Tsai
2014-12-07 15:01 ` Maxime Ripard
2014-12-03 6:36 ` [PATCH 08/10] ARM: dts: sun9i: Enable mmc0 on A80 Optimus Board Chen-Yu Tsai
2014-12-07 15:02 ` Maxime Ripard
2014-12-07 15:18 ` Chen-Yu Tsai
2014-12-07 15:35 ` Maxime Ripard
2014-12-03 6:36 ` [PATCH 09/10] ARM: dts: sun9i: Add pinmux settings for mmc2 Chen-Yu Tsai
2014-12-07 15:03 ` Maxime Ripard
2014-12-07 15:11 ` Chen-Yu Tsai
2014-12-07 17:46 ` Maxime Ripard
2014-12-03 6:36 ` [PATCH 10/10] ARM: dts: sun9i: Enable mmc2 on A80 Optimus Board Chen-Yu Tsai
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=20141206172449.GC12434@lukather \
--to=maxime.ripard@free-electrons.com \
--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).