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>, Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>, Simon Horman <horms+renesas@verge.net.au> Subject: [PATCH 30/41] ARM: dts: r8a7792: add JPU clocks Date: Thu, 30 Jun 2016 16:15:50 +0200 [thread overview] Message-ID: <eebc8e2c5b7a3db19075a02730db8b73be933485.1467294011.git.horms+renesas@verge.net.au> (raw) In-Reply-To: <cover.1467294011.git.horms+renesas@verge.net.au> From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Add JPU clock and its parent, M2 clock to the R8A7792 device tree. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> --- arch/arm/boot/dts/r8a7792.dtsi | 16 ++++++++++++++++ include/dt-bindings/clock/r8a7792-clock.h | 1 + 2 files changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/r8a7792.dtsi b/arch/arm/boot/dts/r8a7792.dtsi index 18b4e50521c3..7077c5db2678 100644 --- a/arch/arm/boot/dts/r8a7792.dtsi +++ b/arch/arm/boot/dts/r8a7792.dtsi @@ -280,8 +280,24 @@ clock-div = <48>; clock-mult = <1>; }; + m2_clk: m2 { + compatible = "fixed-factor-clock"; + clocks = <&cpg_clocks R8A7792_CLK_PLL1>; + #clock-cells = <0>; + clock-div = <8>; + clock-mult = <1>; + }; /* Gate clocks */ + mstp1_clks: mstp1_clks@e6150134 { + compatible = "renesas,r8a7792-mstp-clocks", + "renesas,cpg-mstp-clocks"; + reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>; + clocks = <&m2_clk>; + #clock-cells = <1>; + clock-indices = <R8A7792_CLK_JPU>; + clock-output-names = "jpu"; + }; mstp2_clks: mstp2_clks@e6150138 { compatible = "renesas,r8a7792-mstp-clocks", "renesas,cpg-mstp-clocks"; diff --git a/include/dt-bindings/clock/r8a7792-clock.h b/include/dt-bindings/clock/r8a7792-clock.h index 949801eb0652..89a5155913f6 100644 --- a/include/dt-bindings/clock/r8a7792-clock.h +++ b/include/dt-bindings/clock/r8a7792-clock.h @@ -24,6 +24,7 @@ #define R8A7792_CLK_MSIOF0 0 /* MSTP1 */ +#define R8A7792_CLK_JPU 6 #define R8A7792_CLK_TMU1 11 #define R8A7792_CLK_TMU3 21 #define R8A7792_CLK_TMU2 22 -- 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 30/41] ARM: dts: r8a7792: add JPU clocks Date: Thu, 30 Jun 2016 16:15:50 +0200 [thread overview] Message-ID: <eebc8e2c5b7a3db19075a02730db8b73be933485.1467294011.git.horms+renesas@verge.net.au> (raw) In-Reply-To: <cover.1467294011.git.horms+renesas@verge.net.au> From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Add JPU clock and its parent, M2 clock to the R8A7792 device tree. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> --- arch/arm/boot/dts/r8a7792.dtsi | 16 ++++++++++++++++ include/dt-bindings/clock/r8a7792-clock.h | 1 + 2 files changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/r8a7792.dtsi b/arch/arm/boot/dts/r8a7792.dtsi index 18b4e50521c3..7077c5db2678 100644 --- a/arch/arm/boot/dts/r8a7792.dtsi +++ b/arch/arm/boot/dts/r8a7792.dtsi @@ -280,8 +280,24 @@ clock-div = <48>; clock-mult = <1>; }; + m2_clk: m2 { + compatible = "fixed-factor-clock"; + clocks = <&cpg_clocks R8A7792_CLK_PLL1>; + #clock-cells = <0>; + clock-div = <8>; + clock-mult = <1>; + }; /* Gate clocks */ + mstp1_clks: mstp1_clks at e6150134 { + compatible = "renesas,r8a7792-mstp-clocks", + "renesas,cpg-mstp-clocks"; + reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>; + clocks = <&m2_clk>; + #clock-cells = <1>; + clock-indices = <R8A7792_CLK_JPU>; + clock-output-names = "jpu"; + }; mstp2_clks: mstp2_clks at e6150138 { compatible = "renesas,r8a7792-mstp-clocks", "renesas,cpg-mstp-clocks"; diff --git a/include/dt-bindings/clock/r8a7792-clock.h b/include/dt-bindings/clock/r8a7792-clock.h index 949801eb0652..89a5155913f6 100644 --- a/include/dt-bindings/clock/r8a7792-clock.h +++ b/include/dt-bindings/clock/r8a7792-clock.h @@ -24,6 +24,7 @@ #define R8A7792_CLK_MSIOF0 0 /* MSTP1 */ +#define R8A7792_CLK_JPU 6 #define R8A7792_CLK_TMU1 11 #define R8A7792_CLK_TMU3 21 #define R8A7792_CLK_TMU2 22 -- 2.7.0.rc3.207.g0ac5344
next prev parent reply other threads:[~2016-06-30 14:17 UTC|newest] Thread overview: 86+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-06-30 14:15 [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.8 Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 01/41] ARM: dts: ape6evm: Name serial port pfc subnode after device name Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 02/41] ARM: dts: ape6evm: Name mmc " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 03/41] ARM: dts: armadillo800eva: Name serial port " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 04/41] ARM: dts: bockw: " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 05/41] ARM: dts: marzen: Name serial port pfc subnodes after device names Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 06/41] ARM: dts: lager: " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 07/41] ARM: dts: lager: Name spi " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 08/41] ARM: dts: lager: Name vin pfc subnode after device name Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 09/41] ARM: dts: koelsch: Name serial port pfc subnodes after device names Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 10/41] ARM: dts: koelsch: Name spi " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 11/41] ARM: dts: porter: Name serial port pfc subnode after device name Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 12/41] ARM: dts: porter: Name spi " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 13/41] ARM: dts: gose: Name serial port pfc subnodes after device names Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 14/41] ARM: dts: gose: Name spi pfc subnode after device name Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 15/41] ARM: dts: alt: Name serial port " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 16/41] ARM: dts: alt: Name spi " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 17/41] ARM: dts: silk: Name serial port " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 18/41] ARM: dts: silk: Name spi " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 19/41] ARM: dts: kzm9g: Name serial port " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 20/41] ARM: dts: r8a7792: add clock index macros Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 21/41] ARM: dts: r8a7792: add power domain " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 22/41] ARM: dts: r8a7792: initial SoC device tree Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 23/41] ARM: dts: r8a7792: add SYS-DMAC support Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 24/41] ARM: dts: r8a7792: add [H]SCIF support Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 25/41] ARM: dts: r8a7792: add IRQC support Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 26/41] ARM: dts: blanche: document Blanche board Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 27/41] ARM: dts: blanche: initial device tree Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 28/41] ARM: dts: blanche: add Ethernet support Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 29/41] ARM: dts: silk: add DU pins Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` Simon Horman [this message] 2016-06-30 14:15 ` [PATCH 30/41] ARM: dts: r8a7792: add JPU clocks Simon Horman 2016-06-30 14:15 ` [PATCH 31/41] ARM: dts: r8a7792: add JPU support Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 32/41] ARM: dts: armadillo800eva: Update console parameters Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 33/41] ARM: dts: genmai: " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 34/41] ARM: dts: marzen: Add serial port config to chosen/stdout-path Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 35/41] ARM: dts: kzm9d: Update console parameters Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 36/41] ARM: dts: kzm9g: " Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 37/41] devicetree: bindings: Renesas APMU and SMP Enable method Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 38/41] ARM: dts: r8a7790: Add APMU nodes Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:15 ` [PATCH 39/41] ARM: dts: r8a7791: Add APMU node Simon Horman 2016-06-30 14:15 ` Simon Horman 2016-06-30 14:16 ` [PATCH 40/41] ARM: dts: r8a7793: Add APMU node and second CPU core Simon Horman 2016-06-30 14:16 ` Simon Horman 2016-06-30 14:16 ` [PATCH 41/41] ARM: dts: r8a7792: add SMP support Simon Horman 2016-06-30 14:16 ` Simon Horman 2016-07-07 5:11 ` [GIT PULL] Second Round of Renesas ARM Based SoC DT Updates for v4.8 Olof Johansson 2016-07-07 5:11 ` 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=eebc8e2c5b7a3db19075a02730db8b73be933485.1467294011.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 \ --cc=sergei.shtylyov@cogentembedded.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.