From: Simon Horman <horms+renesas@verge.net.au> To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm <magnus.damm@gmail.com>, Simon Horman <horms+renesas@verge.net.au> Subject: [PATCH 22/68] ARM: dts: r8a7793: add MSTP10 clocks to device tree Date: Fri, 12 Feb 2016 20:05:12 +0100 [thread overview] Message-ID: <072d326542e491874c31adda10bf513b371e560c.1455303422.git.horms+renesas@verge.net.au> (raw) In-Reply-To: <cover.1455303422.git.horms+renesas@verge.net.au> Instantiate MSTP10 clocks in r8a7793 device tree. Based on similar work for the r8a7791 by Kuninori Morimoto. Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> --- arch/arm/boot/dts/r8a7793.dtsi | 36 +++++++++++++++++++++++++++++++ include/dt-bindings/clock/r8a7793-clock.h | 2 ++ 2 files changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index ea1196b99d52..c4459f147330 100644 --- a/arch/arm/boot/dts/r8a7793.dtsi +++ b/arch/arm/boot/dts/r8a7793.dtsi @@ -963,6 +963,42 @@ "qspi_mod", "i2c5", "i2c6", "i2c4", "i2c3", "i2c2", "i2c1", "i2c0"; }; + mstp10_clks: mstp10_clks@e6150998 { + compatible = "renesas,r8a7793-mstp-clocks", "renesas,cpg-mstp-clocks"; + reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>; + clocks = <&p_clk>, + <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, + <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, + <&p_clk>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>; + + #clock-cells = <1>; + clock-indices = < + R8A7793_CLK_SSI_ALL + R8A7793_CLK_SSI9 R8A7793_CLK_SSI8 R8A7793_CLK_SSI7 R8A7793_CLK_SSI6 R8A7793_CLK_SSI5 + R8A7793_CLK_SSI4 R8A7793_CLK_SSI3 R8A7793_CLK_SSI2 R8A7793_CLK_SSI1 R8A7793_CLK_SSI0 + R8A7793_CLK_SCU_ALL + R8A7793_CLK_SCU_DVC1 R8A7793_CLK_SCU_DVC0 + R8A7793_CLK_SCU_CTU1_MIX1 R8A7793_CLK_SCU_CTU0_MIX0 + R8A7793_CLK_SCU_SRC9 R8A7793_CLK_SCU_SRC8 R8A7793_CLK_SCU_SRC7 R8A7793_CLK_SCU_SRC6 R8A7793_CLK_SCU_SRC5 + R8A7793_CLK_SCU_SRC4 R8A7793_CLK_SCU_SRC3 R8A7793_CLK_SCU_SRC2 R8A7793_CLK_SCU_SRC1 R8A7793_CLK_SCU_SRC0 + >; + clock-output-names = + "ssi-all", + "ssi9", "ssi8", "ssi7", "ssi6", "ssi5", + "ssi4", "ssi3", "ssi2", "ssi1", "ssi0", + "scu-all", + "scu-dvc1", "scu-dvc0", + "scu-ctu1-mix1", "scu-ctu0-mix0", + "scu-src9", "scu-src8", "scu-src7", "scu-src6", "scu-src5", + "scu-src4", "scu-src3", "scu-src2", "scu-src1", "scu-src0"; + }; mstp11_clks: mstp11_clks@e615099c { compatible = "renesas,r8a7793-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe615099c 0 4>, <0 0xe61509ac 0 4>; diff --git a/include/dt-bindings/clock/r8a7793-clock.h b/include/dt-bindings/clock/r8a7793-clock.h index 1579e07f96a3..efcbc594fe82 100644 --- a/include/dt-bindings/clock/r8a7793-clock.h +++ b/include/dt-bindings/clock/r8a7793-clock.h @@ -145,6 +145,8 @@ #define R8A7793_CLK_SCU_ALL 17 #define R8A7793_CLK_SCU_DVC1 18 #define R8A7793_CLK_SCU_DVC0 19 +#define R8A7793_CLK_SCU_CTU1_MIX1 20 +#define R8A7793_CLK_SCU_CTU0_MIX0 21 #define R8A7793_CLK_SCU_SRC9 22 #define R8A7793_CLK_SCU_SRC8 23 #define R8A7793_CLK_SCU_SRC7 24 -- 2.7.0.rc3.207.g0ac5344
WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 22/68] ARM: dts: r8a7793: add MSTP10 clocks to device tree Date: Fri, 12 Feb 2016 20:05:12 +0100 [thread overview] Message-ID: <072d326542e491874c31adda10bf513b371e560c.1455303422.git.horms+renesas@verge.net.au> (raw) In-Reply-To: <cover.1455303422.git.horms+renesas@verge.net.au> Instantiate MSTP10 clocks in r8a7793 device tree. Based on similar work for the r8a7791 by Kuninori Morimoto. Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> --- arch/arm/boot/dts/r8a7793.dtsi | 36 +++++++++++++++++++++++++++++++ include/dt-bindings/clock/r8a7793-clock.h | 2 ++ 2 files changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index ea1196b99d52..c4459f147330 100644 --- a/arch/arm/boot/dts/r8a7793.dtsi +++ b/arch/arm/boot/dts/r8a7793.dtsi @@ -963,6 +963,42 @@ "qspi_mod", "i2c5", "i2c6", "i2c4", "i2c3", "i2c2", "i2c1", "i2c0"; }; + mstp10_clks: mstp10_clks at e6150998 { + compatible = "renesas,r8a7793-mstp-clocks", "renesas,cpg-mstp-clocks"; + reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>; + clocks = <&p_clk>, + <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, + <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, + <&p_clk>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>, + <&mstp10_clks R8A7793_CLK_SCU_ALL>, <&mstp10_clks R8A7793_CLK_SCU_ALL>; + + #clock-cells = <1>; + clock-indices = < + R8A7793_CLK_SSI_ALL + R8A7793_CLK_SSI9 R8A7793_CLK_SSI8 R8A7793_CLK_SSI7 R8A7793_CLK_SSI6 R8A7793_CLK_SSI5 + R8A7793_CLK_SSI4 R8A7793_CLK_SSI3 R8A7793_CLK_SSI2 R8A7793_CLK_SSI1 R8A7793_CLK_SSI0 + R8A7793_CLK_SCU_ALL + R8A7793_CLK_SCU_DVC1 R8A7793_CLK_SCU_DVC0 + R8A7793_CLK_SCU_CTU1_MIX1 R8A7793_CLK_SCU_CTU0_MIX0 + R8A7793_CLK_SCU_SRC9 R8A7793_CLK_SCU_SRC8 R8A7793_CLK_SCU_SRC7 R8A7793_CLK_SCU_SRC6 R8A7793_CLK_SCU_SRC5 + R8A7793_CLK_SCU_SRC4 R8A7793_CLK_SCU_SRC3 R8A7793_CLK_SCU_SRC2 R8A7793_CLK_SCU_SRC1 R8A7793_CLK_SCU_SRC0 + >; + clock-output-names = + "ssi-all", + "ssi9", "ssi8", "ssi7", "ssi6", "ssi5", + "ssi4", "ssi3", "ssi2", "ssi1", "ssi0", + "scu-all", + "scu-dvc1", "scu-dvc0", + "scu-ctu1-mix1", "scu-ctu0-mix0", + "scu-src9", "scu-src8", "scu-src7", "scu-src6", "scu-src5", + "scu-src4", "scu-src3", "scu-src2", "scu-src1", "scu-src0"; + }; mstp11_clks: mstp11_clks at e615099c { compatible = "renesas,r8a7793-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0 0xe615099c 0 4>, <0 0xe61509ac 0 4>; diff --git a/include/dt-bindings/clock/r8a7793-clock.h b/include/dt-bindings/clock/r8a7793-clock.h index 1579e07f96a3..efcbc594fe82 100644 --- a/include/dt-bindings/clock/r8a7793-clock.h +++ b/include/dt-bindings/clock/r8a7793-clock.h @@ -145,6 +145,8 @@ #define R8A7793_CLK_SCU_ALL 17 #define R8A7793_CLK_SCU_DVC1 18 #define R8A7793_CLK_SCU_DVC0 19 +#define R8A7793_CLK_SCU_CTU1_MIX1 20 +#define R8A7793_CLK_SCU_CTU0_MIX0 21 #define R8A7793_CLK_SCU_SRC9 22 #define R8A7793_CLK_SCU_SRC8 23 #define R8A7793_CLK_SCU_SRC7 24 -- 2.7.0.rc3.207.g0ac5344
next prev parent reply other threads:[~2016-02-12 19:05 UTC|newest] Thread overview: 122+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-02-12 19:05 [GIT PULL v2] Renesas ARM Based SoC DT Updates for v4.6 Simon Horman 2016-02-12 19:04 ` [PATCH 01/68] ARM: dts: gose: Add GPIO keys to DT Simon Horman 2016-02-12 19:04 ` Simon Horman 2016-02-13 20:23 ` Geert Uytterhoeven 2016-02-15 7:18 ` Simon Horman 2016-02-15 7:45 ` Geert Uytterhoeven 2016-02-12 19:04 ` [PATCH 02/68] ARM: dts: gose: Add GPIO leds " Simon Horman 2016-02-12 19:04 ` [PATCH 03/68] ARM: dts: porter: add DU DT support Simon Horman 2016-02-12 19:04 ` Simon Horman 2016-02-12 19:04 ` [PATCH 04/68] ARM: dts: r8a7793: Add I2C master nodes to DT Simon Horman 2016-02-12 19:04 ` [PATCH 05/68] ARM: dts: alt: Add QSPI device " Simon Horman 2016-02-12 19:04 ` [PATCH 06/68] ARM: dts: r8a7790: use fallback usbhs compatibility string Simon Horman 2016-02-12 19:04 ` [PATCH 07/68] ARM: dts: r8a7791: " Simon Horman 2016-02-12 19:04 ` [PATCH 08/68] ARM: dts: r8a7794: " Simon Horman 2016-02-12 19:04 ` [PATCH 09/68] ARM: dts: r8a7793: move dmac nodes Simon Horman 2016-02-12 19:04 ` Simon Horman 2016-02-12 19:05 ` [PATCH 10/68] ARM: dts: gose: add i2c2 bus to device tree Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 11/68] ARM: dts: r8a7790: use GIC_* defines Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 12/68] ARM: dts: r8a7791: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 13/68] ARM: dts: silk: add DU DT support Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 14/68] ARM: dts: r8a7793: use GIC_* defines Simon Horman 2016-02-12 19:05 ` [PATCH 15/68] ARM: dts: r8a7794: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 16/68] ARM: dts: r8a7793: gose: Add HDMI video out support Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 17/68] ARM: dts: r8a7778: use GIC_* defines Simon Horman 2016-02-12 19:05 ` [PATCH 18/68] ARM: dts: r8a7779: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 19/68] ARM: dts: porter: add sound support Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 20/68] ARM: dts: r8a73a4: use GIC_* defines Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 21/68] ARM: dts: r8a7740: " Simon Horman 2016-02-12 19:05 ` Simon Horman [this message] 2016-02-12 19:05 ` [PATCH 22/68] ARM: dts: r8a7793: add MSTP10 clocks to device tree Simon Horman 2016-02-12 19:05 ` [PATCH 23/68] ARM: dts: r8a7793: add audio clock " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 24/68] ARM: dts: r8a7793: add m2 " Simon Horman 2016-02-12 19:05 ` [PATCH 25/68] ARM: dts: r8a7793: add R-Car sound support " Simon Horman 2016-02-12 19:05 ` [PATCH 26/68] ARM: dts: r8a7793: add DVC " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 27/68] ARM: dts: r8a7793: add audio DMAC clocks " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 28/68] ARM: dts: r8a7793: add audio DMAC " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 29/68] ARM: dts: r8a7793: enable Audio DMAC peri peri via sound driver Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 30/68] ARM: dts: gose: Enable sound PIO support in device tree Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 31/68] ARM: dts: gose: enable sound DMA " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 32/68] ARM: dts: gose: enable sound DMA support via BUSIF " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 33/68] ARM: dts: gose: enable sound DMA support via SRC " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 34/68] ARM: dts: gose: enable sound DMA support via DVC " Simon Horman 2016-02-12 19:05 ` [PATCH 35/68] ARM: dts: r8a7793: enable audio DMAC " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 36/68] ARM: dts: r7s72100: use GIC_* defines Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 37/68] ARM: dts: sh73a0: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 38/68] ARM: dts: emev2: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 39/68] ARM: dts: r8a7778: Add SCIF fallback compatibility strings Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 40/68] ARM: dts: r8a7779: " Simon Horman 2016-02-12 19:05 ` [PATCH 41/68] ARM: dts: r8a7790: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 42/68] ARM: dts: r8a7791: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 43/68] ARM: dts: r8a7793: " Simon Horman 2016-02-12 19:05 ` [PATCH 44/68] ARM: dts: r8a7794: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 45/68] ARM: dts: sh73a0: Rename the serial port clock to fck Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 46/68] ARM: dts: r7s72100: " Simon Horman 2016-02-12 19:05 ` [PATCH 47/68] ARM: dts: r8a73a4: " Simon Horman 2016-02-12 19:05 ` [PATCH 48/68] ARM: dts: r8a7740: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 49/68] ARM: dts: r8a7778: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 50/68] ARM: dts: r8a7779: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 51/68] ARM: dts: r8a7790: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 52/68] ARM: dts: r8a7791: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 53/68] ARM: dts: r8a7793: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 54/68] ARM: dts: r8a7794: " Simon Horman 2016-02-12 19:05 ` [PATCH 55/68] ARM: dts: r8a7778: Add BRG support for SCIF Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 56/68] ARM: dts: r8a7779: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 57/68] ARM: dts: r8a7790: Add BRG support for (H)SCIF Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 58/68] ARM: dts: r8a7791: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 59/68] ARM: dts: r8a7793: Add BRG support for SCIF Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 60/68] ARM: dts: r8a7794: Add BRG support for (H)SCIF Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 61/68] ARM: dts: alt: Enable SCIF_CLK frequency and pins Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 62/68] ARM: dts: bockw: " Simon Horman 2016-02-12 19:05 ` [PATCH 63/68] ARM: dts: gose: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 64/68] ARM: dts: koelsch: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 65/68] ARM: dts: lager: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 66/68] ARM: dts: marzen: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 67/68] ARM: dts: porter: " Simon Horman 2016-02-12 19:05 ` Simon Horman 2016-02-12 19:05 ` [PATCH 68/68] ARM: dts: silk: " Simon Horman 2016-02-24 22:02 ` [GIT PULL v2] Renesas ARM Based SoC DT Updates for v4.6 Olof Johansson
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=072d326542e491874c31adda10bf513b371e560c.1455303422.git.horms+renesas@verge.net.au \ --to=horms+renesas@verge.net.au \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=magnus.damm@gmail.com \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.