* Re: [PATCH 3/4] ARM: shmobile: r8a7791: add IIC(B) cores to dtsi
2014-02-23 12:40 [PATCH 3/4] ARM: shmobile: r8a7791: add IIC(B) cores to dtsi Wolfram Sang
@ 2014-02-23 22:28 ` Laurent Pinchart
2014-02-24 10:34 ` Wolfram Sang
2015-07-21 0:27 ` [PATCH 3/4] ARM: shmobile: r8a7791: Add Audio CTU support on DTSI Kuninori Morimoto
2 siblings, 0 replies; 4+ messages in thread
From: Laurent Pinchart @ 2014-02-23 22:28 UTC (permalink / raw)
To: linux-sh
Hi Wolfram,
Thank you for the patch.
On Sunday 23 February 2014 13:40:23 Wolfram Sang wrote:
> From: Wolfram Sang <wsa@sang-engineering.com>
>
> Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
> ---
> arch/arm/boot/dts/r8a7791.dtsi | 36 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
>
> diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
> index eb2cec8..d3aed50 100644
> --- a/arch/arm/boot/dts/r8a7791.dtsi
> +++ b/arch/arm/boot/dts/r8a7791.dtsi
> @@ -26,6 +26,9 @@
> i2c3 = &i2c3;
> i2c4 = &i2c4;
> i2c5 = &i2c5;
> + i2c6 = &i2c6;
> + i2c7 = &i2c7;
> + i2c8 = &i2c8;
> };
>
> cpus {
> @@ -179,6 +182,7 @@
> <0 17 IRQ_TYPE_LEVEL_HIGH>;
> };
>
> + /* The memory map in the User's Manual maps the cores to bus numbers */
> i2c0: i2c@e6508000 {
> #address-cells = <1>;
> #size-cells = <0>;
> @@ -230,6 +234,7 @@
> };
>
> i2c5: i2c@e6528000 {
> + /* doesn't need pinmux */
> #address-cells = <1>;
> #size-cells = <0>;
> compatible = "renesas,i2c-r8a7791";
> @@ -239,6 +244,37 @@
> status = "disabled";
> };
>
> + i2c6: i2c@e60b0000 {
> + /* doesn't need pinmux */
> + #address-cells = <1>;
> + #size-cells = <0>;
> + compatible = "renesas,i2cB-r8a7791", "renesas,rmobile-iic";
Wouldn't "renesas,iic-r8a7791" be more appropriate ? It would be closer to
"renesas,rmobile-iic".
> + reg = <0 0xe60b0000 0 0x425>;
> + interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&mstp9_clks R8A7791_CLK_IICDVFS>;
> + status = "disabled";
> + };
> +
> + i2c7: i2c@e6500000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + compatible = "renesas,i2cB-r8a7791", "renesas,rmobile-iic";
> + reg = <0 0xe6500000 0 0x425>;
> + interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&mstp3_clks R8A7791_CLK_IIC0>;
> + status = "disabled";
> + };
> +
> + i2c8: i2c@e6510000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + compatible = "renesas,i2cB-r8a7791", "renesas,rmobile-iic";
> + reg = <0 0xe6510000 0 0x425>;
> + interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&mstp3_clks R8A7791_CLK_IIC1>;
> + status = "disabled";
> + };
> +
> pfc: pfc@e6060000 {
> compatible = "renesas,pfc-r8a7791";
> reg = <0 0xe6060000 0 0x250>;
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 3/4] ARM: shmobile: r8a7791: Add Audio CTU support on DTSI
2014-02-23 12:40 [PATCH 3/4] ARM: shmobile: r8a7791: add IIC(B) cores to dtsi Wolfram Sang
2014-02-23 22:28 ` Laurent Pinchart
2014-02-24 10:34 ` Wolfram Sang
@ 2015-07-21 0:27 ` Kuninori Morimoto
2 siblings, 0 replies; 4+ messages in thread
From: Kuninori Morimoto @ 2015-07-21 0:27 UTC (permalink / raw)
To: linux-sh
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
arch/arm/boot/dts/r8a7791.dtsi | 16 ++++++++++++++++
include/dt-bindings/clock/r8a7791-clock.h | 2 ++
2 files changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 07ea2be..cdd55b8 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -1311,6 +1311,7 @@
<&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
<&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
<&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
+ <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
<&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>;
#clock-cells = <1>;
@@ -1320,6 +1321,7 @@
R8A7791_CLK_SSI4 R8A7791_CLK_SSI3 R8A7791_CLK_SSI2 R8A7791_CLK_SSI1 R8A7791_CLK_SSI0
R8A7791_CLK_SCU_ALL
R8A7791_CLK_SCU_DVC1 R8A7791_CLK_SCU_DVC0
+ R8A7791_CLK_SCU_CTU1_MIX1 R8A7791_CLK_SCU_CTU0_MIX0
R8A7791_CLK_SCU_SRC9 R8A7791_CLK_SCU_SRC8 R8A7791_CLK_SCU_SRC7 R8A7791_CLK_SCU_SRC6 R8A7791_CLK_SCU_SRC5
R8A7791_CLK_SCU_SRC4 R8A7791_CLK_SCU_SRC3 R8A7791_CLK_SCU_SRC2 R8A7791_CLK_SCU_SRC1 R8A7791_CLK_SCU_SRC0
>;
@@ -1329,6 +1331,7 @@
"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";
};
@@ -1582,6 +1585,7 @@
<&mstp10_clks R8A7791_CLK_SCU_SRC5>, <&mstp10_clks R8A7791_CLK_SCU_SRC4>,
<&mstp10_clks R8A7791_CLK_SCU_SRC3>, <&mstp10_clks R8A7791_CLK_SCU_SRC2>,
<&mstp10_clks R8A7791_CLK_SCU_SRC1>, <&mstp10_clks R8A7791_CLK_SCU_SRC0>,
+ <&mstp10_clks R8A7791_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7791_CLK_SCU_CTU1_MIX1>,
<&mstp10_clks R8A7791_CLK_SCU_DVC0>, <&mstp10_clks R8A7791_CLK_SCU_DVC1>,
<&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>;
clock-names = "ssi-all",
@@ -1589,6 +1593,7 @@
"ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
"src.9", "src.8", "src.7", "src.6", "src.5",
"src.4", "src.3", "src.2", "src.1", "src.0",
+ "ctu.0", "ctu.1",
"dvc.0", "dvc.1",
"clk_a", "clk_b", "clk_c", "clk_i";
@@ -1605,6 +1610,17 @@
};
};
+ rcar_sound,ctu {
+ ctu00: ctu@0 { };
+ ctu01: ctu@1 { };
+ ctu02: ctu@2 { };
+ ctu03: ctu@3 { };
+ ctu10: ctu@4 { };
+ ctu11: ctu@5 { };
+ ctu12: ctu@6 { };
+ ctu13: ctu@7 { };
+ };
+
rcar_sound,src {
src0: src@0 {
interrupts = <0 352 IRQ_TYPE_LEVEL_HIGH>;
diff --git a/include/dt-bindings/clock/r8a7791-clock.h b/include/dt-bindings/clock/r8a7791-clock.h
index 4022683..dd09b73 100644
--- a/include/dt-bindings/clock/r8a7791-clock.h
+++ b/include/dt-bindings/clock/r8a7791-clock.h
@@ -141,6 +141,8 @@
#define R8A7791_CLK_SCU_ALL 17
#define R8A7791_CLK_SCU_DVC1 18
#define R8A7791_CLK_SCU_DVC0 19
+#define R8A7791_CLK_SCU_CTU1_MIX1 20
+#define R8A7791_CLK_SCU_CTU0_MIX0 21
#define R8A7791_CLK_SCU_SRC9 22
#define R8A7791_CLK_SCU_SRC8 23
#define R8A7791_CLK_SCU_SRC7 24
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread