* [PATCH 2/4] ARM: shmobile: r8a7791: Add VIN clocks to device tree
@ 2014-01-07 8:22 Laurent Pinchart
2014-02-23 12:40 ` [PATCH 2/4] ARM: shmobile: r8a7791: add IIC(B) clocks to dtsi Wolfram Sang
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Laurent Pinchart @ 2014-01-07 8:22 UTC (permalink / raw)
To: linux-sh
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
arch/arm/boot/dts/r8a7791.dtsi | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 450fdd1..be4d3e4 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -654,10 +654,13 @@
mstp8_clks: mstp8_clks@e6150990 {
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
- clocks = <&p_clk>;
+ clocks = <&zg_clk>, <&zg_clk>, <&zg_clk>, <&p_clk>;
#clock-cells = <1>;
- renesas,clock-indices = <R8A7791_CLK_ETHER>;
- clock-output-names = "ether";
+ renesas,clock-indices = <
+ R8A7791_CLK_VIN2 R8A7791_CLK_VIN1 R8A7791_CLK_VIN0
+ R8A7791_CLK_ETHER
+ >;
+ clock-output-names = "vin2", "vin1", "vin0", "ether";
};
mstp9_clks: mstp9_clks@e6150994 {
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
--
1.8.3.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/4] ARM: shmobile: r8a7791: add IIC(B) clocks to dtsi
2014-01-07 8:22 [PATCH 2/4] ARM: shmobile: r8a7791: Add VIN clocks to device tree Laurent Pinchart
@ 2014-02-23 12:40 ` Wolfram Sang
2014-02-23 22:21 ` Laurent Pinchart
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Wolfram Sang @ 2014-02-23 12:40 UTC (permalink / raw)
To: linux-sh
From: Wolfram Sang <wsa@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
---
arch/arm/boot/dts/r8a7791.dtsi | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 3b2cdc8..eb2cec8 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -674,14 +674,16 @@
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
clocks = <&cp_clk>, <&sd2_clk>, <&sd1_clk>,
- <&cpg_clocks R8A7791_CLK_SD0>, <&mmc0_clk>, <&rclk_clk>;
+ <&cpg_clocks R8A7791_CLK_SD0>, <&mmc0_clk>, <&rclk_clk>,
+ <&hp_clk>, <&hp_clk>;
#clock-cells = <1>;
renesas,clock-indices = <
R8A7791_CLK_TPU0 R8A7791_CLK_SDHI2 R8A7791_CLK_SDHI1
R8A7791_CLK_SDHI0 R8A7791_CLK_MMCIF0 R8A7791_CLK_CMT1
+ R8A7791_CLK_IIC0 R8A7791_CLK_IIC1
>;
clock-output-names - "tpu0", "sdhi2", "sdhi1", "sdhi0", "mmcif0", "cmt1";
+ "tpu0", "sdhi2", "sdhi1", "sdhi0", "mmcif0", "cmt1", "i2c7", "i2c8";
};
mstp5_clks: mstp5_clks@e6150144 {
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
@@ -727,16 +729,17 @@
reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
clocks = <&p_clk>, <&p_clk>, <&cpg_clocks R8A7791_CLK_QSPI>,
<&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
- <&p_clk>;
+ <&p_clk>, <&cp_clk>;
#clock-cells = <1>;
renesas,clock-indices = <
R8A7791_CLK_RCAN1 R8A7791_CLK_RCAN0 R8A7791_CLK_QSPI_MOD
R8A7791_CLK_I2C5 R8A7791_CLK_I2C4 R8A7791_CLK_I2C3
R8A7791_CLK_I2C2 R8A7791_CLK_I2C1 R8A7791_CLK_I2C0
+ R8A7791_CLK_IICDVFS
>;
clock-output-names "rcan1", "rcan0", "qspi_mod", "i2c5", "i2c4", "i2c3",
- "i2c2", "i2c1", "i2c0";
+ "i2c2", "i2c1", "i2c0", "i2c6";
};
mstp11_clks: mstp11_clks@e615099c {
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
--
1.8.5.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 2/4] ARM: shmobile: r8a7791: add IIC(B) clocks to dtsi
2014-01-07 8:22 [PATCH 2/4] ARM: shmobile: r8a7791: Add VIN clocks to device tree Laurent Pinchart
2014-02-23 12:40 ` [PATCH 2/4] ARM: shmobile: r8a7791: add IIC(B) clocks to dtsi Wolfram Sang
@ 2014-02-23 22:21 ` Laurent Pinchart
2014-02-23 22:23 ` Laurent Pinchart
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Laurent Pinchart @ 2014-02-23 22:21 UTC (permalink / raw)
To: linux-sh
Hi Wolfram,
Thank you for the patch.
On Sunday 23 February 2014 13:40:22 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 | 11 +++++++----
> 1 file changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
> index 3b2cdc8..eb2cec8 100644
> --- a/arch/arm/boot/dts/r8a7791.dtsi
> +++ b/arch/arm/boot/dts/r8a7791.dtsi
> @@ -674,14 +674,16 @@
> compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-
clocks";
> reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
> clocks = <&cp_clk>, <&sd2_clk>, <&sd1_clk>,
> - <&cpg_clocks R8A7791_CLK_SD0>, <&mmc0_clk>, <&rclk_clk>;
> + <&cpg_clocks R8A7791_CLK_SD0>, <&mmc0_clk>, <&rclk_clk>,
> + <&hp_clk>, <&hp_clk>;
> #clock-cells = <1>;
> renesas,clock-indices = <
> R8A7791_CLK_TPU0 R8A7791_CLK_SDHI2 R8A7791_CLK_SDHI1
> R8A7791_CLK_SDHI0 R8A7791_CLK_MMCIF0 R8A7791_CLK_CMT1
> + R8A7791_CLK_IIC0 R8A7791_CLK_IIC1
That's an arbitrary rule but we've followed it so far, could you please keep
the entries sorted by value as well, here and in patch 3/4 ?
>
> >;
>
> clock-output-names > - "tpu0", "sdhi2", "sdhi1", "sdhi0", "mmcif0", "cmt1";
> + "tpu0", "sdhi2", "sdhi1", "sdhi0", "mmcif0", "cmt1", "i2c7",
> "i2c8";
> };
> mstp5_clks: mstp5_clks@e6150144 {
> compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-
> clocks";
> @@ -727,16 +729,17 @@
> reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
> clocks = <&p_clk>, <&p_clk>, <&cpg_clocks R8A7791_CLK_QSPI>,
> <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
> - <&p_clk>;
> + <&p_clk>, <&cp_clk>;
> #clock-cells = <1>;
> renesas,clock-indices = <
> R8A7791_CLK_RCAN1 R8A7791_CLK_RCAN0 R8A7791_CLK_QSPI_MOD
> R8A7791_CLK_I2C5 R8A7791_CLK_I2C4 R8A7791_CLK_I2C3
> R8A7791_CLK_I2C2 R8A7791_CLK_I2C1 R8A7791_CLK_I2C0
> + R8A7791_CLK_IICDVFS
> >;
>
> clock-output-names > "rcan1", "rcan0", "qspi_mod", "i2c5", "i2c4", "i2c3",
> - "i2c2", "i2c1", "i2c0";
> + "i2c2", "i2c1", "i2c0", "i2c6";
> };
> mstp11_clks: mstp11_clks@e615099c {
> compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-
> clocks";
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/4] ARM: shmobile: r8a7791: add IIC(B) clocks to dtsi
2014-01-07 8:22 [PATCH 2/4] ARM: shmobile: r8a7791: Add VIN clocks to device tree Laurent Pinchart
2014-02-23 12:40 ` [PATCH 2/4] ARM: shmobile: r8a7791: add IIC(B) clocks to dtsi Wolfram Sang
2014-02-23 22:21 ` Laurent Pinchart
@ 2014-02-23 22:23 ` Laurent Pinchart
2014-02-24 10:38 ` Wolfram Sang
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Laurent Pinchart @ 2014-02-23 22:23 UTC (permalink / raw)
To: linux-sh
On Sunday 23 February 2014 23:21:08 Laurent Pinchart wrote:
> Hi Wolfram,
>
> Thank you for the patch.
>
> On Sunday 23 February 2014 13:40:22 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 | 11 +++++++----
> > 1 file changed, 7 insertions(+), 4 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/r8a7791.dtsi
> > b/arch/arm/boot/dts/r8a7791.dtsi index 3b2cdc8..eb2cec8 100644
> > --- a/arch/arm/boot/dts/r8a7791.dtsi
> > +++ b/arch/arm/boot/dts/r8a7791.dtsi
> > @@ -674,14 +674,16 @@
> > compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-
> > mstp-clocks";
> > reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
> > clocks = <&cp_clk>, <&sd2_clk>, <&sd1_clk>,
> > - <&cpg_clocks R8A7791_CLK_SD0>, <&mmc0_clk>, <&rclk_clk>;
> > + <&cpg_clocks R8A7791_CLK_SD0>, <&mmc0_clk>, <&rclk_clk>,
> > + <&hp_clk>, <&hp_clk>;
> > #clock-cells = <1>;
> > renesas,clock-indices = <
> > R8A7791_CLK_TPU0 R8A7791_CLK_SDHI2 R8A7791_CLK_SDHI1
> > R8A7791_CLK_SDHI0 R8A7791_CLK_MMCIF0 R8A7791_CLK_CMT1
> > + R8A7791_CLK_IIC0 R8A7791_CLK_IIC1
>
> That's an arbitrary rule but we've followed it so far, could you please keep
> the entries sorted by value as well, here and in patch 3/4 ?
That comment obviously doesn't apply to patch 3/4. I need sleep I suppose :-)
> > >;
> > clock-output-names > > - "tpu0", "sdhi2", "sdhi1", "sdhi0", "mmcif0", "cmt1";
> > + "tpu0", "sdhi2", "sdhi1", "sdhi0", "mmcif0", "cmt1",
> > "i2c7", "i2c8";
> > };
> > mstp5_clks: mstp5_clks@e6150144 {
> > compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-
> > mstp-clocks";
> > @@ -727,16 +729,17 @@
> > reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
> > clocks = <&p_clk>, <&p_clk>, <&cpg_clocks R8A7791_CLK_QSPI>,
> > <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
> > - <&p_clk>;
> > + <&p_clk>, <&cp_clk>;
> > #clock-cells = <1>;
> > renesas,clock-indices = <
> > R8A7791_CLK_RCAN1 R8A7791_CLK_RCAN0 R8A7791_CLK_QSPI_MOD
> > R8A7791_CLK_I2C5 R8A7791_CLK_I2C4 R8A7791_CLK_I2C3
> > R8A7791_CLK_I2C2 R8A7791_CLK_I2C1 R8A7791_CLK_I2C0
> > + R8A7791_CLK_IICDVFS
> > >;
> > clock-output-names > > "rcan1", "rcan0", "qspi_mod", "i2c5", "i2c4", "i2c3",
> > - "i2c2", "i2c1", "i2c0";
> > + "i2c2", "i2c1", "i2c0", "i2c6";
> > };
> > mstp11_clks: mstp11_clks@e615099c {
> > compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-
> > mstp-clocks";
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/4] ARM: shmobile: r8a7791: add IIC(B) clocks to dtsi
2014-01-07 8:22 [PATCH 2/4] ARM: shmobile: r8a7791: Add VIN clocks to device tree Laurent Pinchart
` (2 preceding siblings ...)
2014-02-23 22:23 ` Laurent Pinchart
@ 2014-02-24 10:38 ` Wolfram Sang
2014-02-24 11:36 ` Laurent Pinchart
2014-02-24 23:47 ` Simon Horman
5 siblings, 0 replies; 7+ messages in thread
From: Wolfram Sang @ 2014-02-24 10:38 UTC (permalink / raw)
To: linux-sh
[-- Attachment #1: Type: text/plain, Size: 581 bytes --]
> > renesas,clock-indices = <
> > R8A7791_CLK_TPU0 R8A7791_CLK_SDHI2 R8A7791_CLK_SDHI1
> > R8A7791_CLK_SDHI0 R8A7791_CLK_MMCIF0 R8A7791_CLK_CMT1
> > + R8A7791_CLK_IIC0 R8A7791_CLK_IIC1
>
> That's an arbitrary rule but we've followed it so far, could you please keep
> the entries sorted by value as well, here and in patch 3/4 ?
OK, can do. Will create a less easy to parse diff, though. Another
question: What about loosening the 80-char rule and have four values per
line? This suits a 32 bit register much better IMO.
Thanks,
Wolfram
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/4] ARM: shmobile: r8a7791: add IIC(B) clocks to dtsi
2014-01-07 8:22 [PATCH 2/4] ARM: shmobile: r8a7791: Add VIN clocks to device tree Laurent Pinchart
` (3 preceding siblings ...)
2014-02-24 10:38 ` Wolfram Sang
@ 2014-02-24 11:36 ` Laurent Pinchart
2014-02-24 23:47 ` Simon Horman
5 siblings, 0 replies; 7+ messages in thread
From: Laurent Pinchart @ 2014-02-24 11:36 UTC (permalink / raw)
To: linux-sh
[-- Attachment #1: Type: text/plain, Size: 796 bytes --]
Hi Wolfram,
On Monday 24 February 2014 11:38:32 Wolfram Sang wrote:
> > > renesas,clock-indices = <
> > >
> > > R8A7791_CLK_TPU0 R8A7791_CLK_SDHI2 R8A7791_CLK_SDHI1
> > > R8A7791_CLK_SDHI0 R8A7791_CLK_MMCIF0 R8A7791_CLK_CMT1
> > >
> > > + R8A7791_CLK_IIC0 R8A7791_CLK_IIC1
> >
> > That's an arbitrary rule but we've followed it so far, could you please
> > keep the entries sorted by value as well, here and in patch 3/4 ?
>
> OK, can do. Will create a less easy to parse diff, though. Another
> question: What about loosening the 80-char rule and have four values per
> line? This suits a 32 bit register much better IMO.
I'd be fine with that. There has never been a strict 80-char rule for .dts
files anyway.
--
Regards,
Laurent Pinchart
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/4] ARM: shmobile: r8a7791: add IIC(B) clocks to dtsi
2014-01-07 8:22 [PATCH 2/4] ARM: shmobile: r8a7791: Add VIN clocks to device tree Laurent Pinchart
` (4 preceding siblings ...)
2014-02-24 11:36 ` Laurent Pinchart
@ 2014-02-24 23:47 ` Simon Horman
5 siblings, 0 replies; 7+ messages in thread
From: Simon Horman @ 2014-02-24 23:47 UTC (permalink / raw)
To: linux-sh
On Mon, Feb 24, 2014 at 12:36:40PM +0100, Laurent Pinchart wrote:
> Hi Wolfram,
>
> On Monday 24 February 2014 11:38:32 Wolfram Sang wrote:
> > > > renesas,clock-indices = <
> > > >
> > > > R8A7791_CLK_TPU0 R8A7791_CLK_SDHI2 R8A7791_CLK_SDHI1
> > > > R8A7791_CLK_SDHI0 R8A7791_CLK_MMCIF0 R8A7791_CLK_CMT1
> > > >
> > > > + R8A7791_CLK_IIC0 R8A7791_CLK_IIC1
> > >
> > > That's an arbitrary rule but we've followed it so far, could you please
> > > keep the entries sorted by value as well, here and in patch 3/4 ?
> >
> > OK, can do. Will create a less easy to parse diff, though. Another
> > question: What about loosening the 80-char rule and have four values per
> > line? This suits a 32 bit register much better IMO.
>
> I'd be fine with that. There has never been a strict 80-char rule for .dts
> files anyway.
I am fine with that too.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-02-24 23:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-07 8:22 [PATCH 2/4] ARM: shmobile: r8a7791: Add VIN clocks to device tree Laurent Pinchart
2014-02-23 12:40 ` [PATCH 2/4] ARM: shmobile: r8a7791: add IIC(B) clocks to dtsi Wolfram Sang
2014-02-23 22:21 ` Laurent Pinchart
2014-02-23 22:23 ` Laurent Pinchart
2014-02-24 10:38 ` Wolfram Sang
2014-02-24 11:36 ` Laurent Pinchart
2014-02-24 23:47 ` Simon Horman
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.