* [PATCH V3] ARM: dts: r8a7791: Add GyroADC clock and device node
@ 2017-04-24 15:26 Marek Vasut
2017-05-02 8:26 ` Simon Horman
2017-05-02 8:39 ` Geert Uytterhoeven
0 siblings, 2 replies; 4+ messages in thread
From: Marek Vasut @ 2017-04-24 15:26 UTC (permalink / raw)
To: linux-renesas-soc; +Cc: Marek Vasut, Geert Uytterhoeven, Simon Horman
Add node for the GyroADC block and it's associated clock.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Simon Horman <horms+renesas@verge.net.au>
To: linux-renesas-soc@vger.kernel.org
---
V2: - Drop the whole ad-hoc ADC clock block
V3: - Add gyroadc p_clk phandle into the mstp9 clocks node
---
arch/arm/boot/dts/r8a7791.dtsi | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 4d0c2ce59900..17b38f88bb7f 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -776,6 +776,15 @@
status = "disabled";
};
+ adc: adc@e6e54000 {
+ compatible = "renesas,r8a7791-gyroadc", "renesas,rcar-gyroadc";
+ reg = <0 0xe6e54000 0 64>;
+ clocks = <&mstp9_clks R8A7791_CLK_GYROADC>;
+ clock-names = "fck";
+ power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
+ status = "disabled";
+ };
+
scif2: serial@e6e58000 {
compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
"renesas,scif";
@@ -1425,13 +1434,15 @@
mstp9_clks: mstp9_clks@e6150994 {
compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
- clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
+ clocks = <&p_clk>,
+ <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
<&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
<&p_clk>, <&p_clk>, <&cpg_clocks R8A7791_CLK_QSPI>, <&hp_clk>,
<&cp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>,
<&hp_clk>, <&hp_clk>;
#clock-cells = <1>;
clock-indices = <
+ R8A7791_CLK_GYROADC
R8A7791_CLK_GPIO7 R8A7791_CLK_GPIO6 R8A7791_CLK_GPIO5 R8A7791_CLK_GPIO4
R8A7791_CLK_GPIO3 R8A7791_CLK_GPIO2 R8A7791_CLK_GPIO1 R8A7791_CLK_GPIO0
R8A7791_CLK_RCAN1 R8A7791_CLK_RCAN0 R8A7791_CLK_QSPI_MOD R8A7791_CLK_I2C5
@@ -1439,6 +1450,7 @@
R8A7791_CLK_I2C1 R8A7791_CLK_I2C0
>;
clock-output-names =
+ "gyroadc",
"gpio7", "gpio6", "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0",
"rcan1", "rcan0", "qspi_mod", "i2c5", "i2c6", "i2c4", "i2c3", "i2c2",
"i2c1", "i2c0";
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH V3] ARM: dts: r8a7791: Add GyroADC clock and device node
2017-04-24 15:26 [PATCH V3] ARM: dts: r8a7791: Add GyroADC clock and device node Marek Vasut
@ 2017-05-02 8:26 ` Simon Horman
2017-05-02 8:39 ` Geert Uytterhoeven
1 sibling, 0 replies; 4+ messages in thread
From: Simon Horman @ 2017-05-02 8:26 UTC (permalink / raw)
To: Marek Vasut; +Cc: linux-renesas-soc, Marek Vasut, Geert Uytterhoeven
Hi Marek, Hi Geert,
On Mon, Apr 24, 2017 at 05:26:32PM +0200, Marek Vasut wrote:
> Add node for the GyroADC block and it's associated clock.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Simon Horman <horms+renesas@verge.net.au>
> To: linux-renesas-soc@vger.kernel.org
> ---
> V2: - Drop the whole ad-hoc ADC clock block
> V3: - Add gyroadc p_clk phandle into the mstp9 clocks node
What is the status of the review of this patch?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH V3] ARM: dts: r8a7791: Add GyroADC clock and device node
2017-04-24 15:26 [PATCH V3] ARM: dts: r8a7791: Add GyroADC clock and device node Marek Vasut
2017-05-02 8:26 ` Simon Horman
@ 2017-05-02 8:39 ` Geert Uytterhoeven
2017-05-02 8:48 ` Simon Horman
1 sibling, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2017-05-02 8:39 UTC (permalink / raw)
To: Marek Vasut; +Cc: Linux-Renesas, Marek Vasut, Geert Uytterhoeven, Simon Horman
On Mon, Apr 24, 2017 at 5:26 PM, Marek Vasut <marek.vasut@gmail.com> wrote:
> Add node for the GyroADC block and it's associated clock.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Simon Horman <horms+renesas@verge.net.au>
> To: linux-renesas-soc@vger.kernel.org
> ---
> V2: - Drop the whole ad-hoc ADC clock block
> V3: - Add gyroadc p_clk phandle into the mstp9 clocks node
Thanks for the update!
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH V3] ARM: dts: r8a7791: Add GyroADC clock and device node
2017-05-02 8:39 ` Geert Uytterhoeven
@ 2017-05-02 8:48 ` Simon Horman
0 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2017-05-02 8:48 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Marek Vasut, Linux-Renesas, Marek Vasut, Geert Uytterhoeven
On Tue, May 02, 2017 at 10:39:37AM +0200, Geert Uytterhoeven wrote:
> On Mon, Apr 24, 2017 at 5:26 PM, Marek Vasut <marek.vasut@gmail.com> wrote:
> > Add node for the GyroADC block and it's associated clock.
> >
> > Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> > Cc: Geert Uytterhoeven <geert+renesas@glider.be>
> > Cc: Simon Horman <horms+renesas@verge.net.au>
> > To: linux-renesas-soc@vger.kernel.org
> > ---
> > V2: - Drop the whole ad-hoc ADC clock block
> > V3: - Add gyroadc p_clk phandle into the mstp9 clocks node
>
> Thanks for the update!
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Thanks for the review; I have queued this up.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-05-02 8:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-24 15:26 [PATCH V3] ARM: dts: r8a7791: Add GyroADC clock and device node Marek Vasut
2017-05-02 8:26 ` Simon Horman
2017-05-02 8:39 ` Geert Uytterhoeven
2017-05-02 8:48 ` 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.