linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [git pull] clk: renesas: Add support for R-Car M3-W
@ 2016-06-06 11:33 Geert Uytterhoeven
  2016-06-14 12:23 ` Geert Uytterhoeven
  2016-06-21  0:51 ` Stephen Boyd
  0 siblings, 2 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2016-06-06 11:33 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: Simon Horman, Magnus Damm, linux-renesas-soc, linux-clk,
	Geert Uytterhoeven

	Hi Mike, Stephen,

The following changes since commit 1a695a905c18548062509178b98bc91e67510864:

  Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git tags/clk-renesas-for-v4.8-tag1

for you to fetch changes up to e4e2d7c388350eba8b1dbc2569441ac9b545a8c4:

  clk: renesas: cpg-mssr: Add support for R-Car M3-W (2016-06-06 11:58:35 +0200)

----------------------------------------------------------------
clk: renesas: Add support for R-Car M3-W

Add initial support for the Clock Pulse Generator and Module Standby and
Software Reset modules on the Renesas R-Car M3-W SoC:
  - Basic core clocks,
  - SCIF2 (console) module clock,
  - INTC-AP (GIC) module clock.

As <dt-bindings/clock/r8a7796-cpg-mssr.h> is a hard dependency for the
initial r8a7796.dtsi file, I would appreciate if you could pull this
sooner rather than later, so Simon can pull it as well, and start
queueing up the DT files for R-Car M3-W.

Thanks for pulling!
----------------------------------------------------------------
Geert Uytterhoeven (4):
      clk: renesas: cpg-mssr: Document r8a7796 support
      clk: renesas: Add r8a7796 CPG Core Clock Definitions
      clk: renesas: cpg-mssr: Extract common R-Car Gen3 support code
      clk: renesas: cpg-mssr: Add support for R-Car M3-W

 .../devicetree/bindings/clock/renesas,cpg-mssr.txt |   7 +-
 drivers/clk/renesas/Kconfig                        |   1 +
 drivers/clk/renesas/Makefile                       |   3 +-
 drivers/clk/renesas/r8a7795-cpg-mssr.c             | 360 +--------------------
 drivers/clk/renesas/r8a7796-cpg-mssr.c             | 192 +++++++++++
 drivers/clk/renesas/rcar-gen3-cpg.c                | 359 ++++++++++++++++++++
 drivers/clk/renesas/rcar-gen3-cpg.h                |  43 +++
 drivers/clk/renesas/renesas-cpg-mssr.c             |   6 +
 drivers/clk/renesas/renesas-cpg-mssr.h             |   1 +
 include/dt-bindings/clock/r8a7796-cpg-mssr.h       |  69 ++++
 10 files changed, 682 insertions(+), 359 deletions(-)
 create mode 100644 drivers/clk/renesas/r8a7796-cpg-mssr.c
 create mode 100644 drivers/clk/renesas/rcar-gen3-cpg.c
 create mode 100644 drivers/clk/renesas/rcar-gen3-cpg.h
 create mode 100644 include/dt-bindings/clock/r8a7796-cpg-mssr.h

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] 7+ messages in thread

* Re: [git pull] clk: renesas: Add support for R-Car M3-W
  2016-06-06 11:33 [git pull] clk: renesas: Add support for R-Car M3-W Geert Uytterhoeven
@ 2016-06-14 12:23 ` Geert Uytterhoeven
  2016-06-21  0:51 ` Stephen Boyd
  1 sibling, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2016-06-14 12:23 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: Simon Horman, Magnus Damm, linux-renesas-soc, linux-clk,
	Geert Uytterhoeven

On Mon, Jun 6, 2016 at 1:33 PM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
> The following changes since commit 1a695a905c18548062509178b98bc91e67510864:
>
>   Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)
>
> are available in the git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git tags/clk-renesas-for-v4.8-tag1
>
> for you to fetch changes up to e4e2d7c388350eba8b1dbc2569441ac9b545a8c4:
>
>   clk: renesas: cpg-mssr: Add support for R-Car M3-W (2016-06-06 11:58:35 +0200)
>
> ----------------------------------------------------------------
> clk: renesas: Add support for R-Car M3-W
>
> Add initial support for the Clock Pulse Generator and Module Standby and
> Software Reset modules on the Renesas R-Car M3-W SoC:
>   - Basic core clocks,
>   - SCIF2 (console) module clock,
>   - INTC-AP (GIC) module clock.
>
> As <dt-bindings/clock/r8a7796-cpg-mssr.h> is a hard dependency for the
> initial r8a7796.dtsi file, I would appreciate if you could pull this
> sooner rather than later, so Simon can pull it as well, and start
> queueing up the DT files for R-Car M3-W.
>
> Thanks for pulling!

Ping?

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] 7+ messages in thread

* Re: [git pull] clk: renesas: Add support for R-Car M3-W
  2016-06-06 11:33 [git pull] clk: renesas: Add support for R-Car M3-W Geert Uytterhoeven
  2016-06-14 12:23 ` Geert Uytterhoeven
@ 2016-06-21  0:51 ` Stephen Boyd
  2016-06-21  5:56   ` Geert Uytterhoeven
  1 sibling, 1 reply; 7+ messages in thread
From: Stephen Boyd @ 2016-06-21  0:51 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Michael Turquette, Simon Horman, Magnus Damm, linux-renesas-soc,
	linux-clk

On 06/06, Geert Uytterhoeven wrote:
> 	Hi Mike, Stephen,
> 
> The following changes since commit 1a695a905c18548062509178b98bc91e67510864:
> 
>   Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git tags/clk-renesas-for-v4.8-tag1
> 
> for you to fetch changes up to e4e2d7c388350eba8b1dbc2569441ac9b545a8c4:
> 
>   clk: renesas: cpg-mssr: Add support for R-Car M3-W (2016-06-06 11:58:35 +0200)
> 

Checkpatch complains...

ERROR: Use of const init definition must use __initconst
#712: FILE: drivers/clk/renesas/rcar-gen3-cpg.c:248:
+static const struct rcar_gen3_cpg_pll_config *cpg_pll_config __initdata;

Seems like a valid problem. Any chance it can be fixed?

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [git pull] clk: renesas: Add support for R-Car M3-W
  2016-06-21  0:51 ` Stephen Boyd
@ 2016-06-21  5:56   ` Geert Uytterhoeven
  2016-06-28 17:13     ` Stephen Boyd
  0 siblings, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 2016-06-21  5:56 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Geert Uytterhoeven, Michael Turquette, Simon Horman, Magnus Damm,
	open list:MEDIA DRIVERS FOR RENESAS - FCP, linux-clk, Joe Perches

Hi Stephen,

On Tue, Jun 21, 2016 at 2:51 AM, Stephen Boyd <sboyd@codeaurora.org> wrote:
> On 06/06, Geert Uytterhoeven wrote:
>>       Hi Mike, Stephen,
>>
>> The following changes since commit 1a695a905c18548062509178b98bc91e67510864:
>>
>>   Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)
>>
>> are available in the git repository at:
>>
>>   git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git tags/clk-renesas-for-v4.8-tag1
>>
>> for you to fetch changes up to e4e2d7c388350eba8b1dbc2569441ac9b545a8c4:
>>
>>   clk: renesas: cpg-mssr: Add support for R-Car M3-W (2016-06-06 11:58:35 +0200)
>>
>
> Checkpatch complains...
>
> ERROR: Use of const init definition must use __initconst
> #712: FILE: drivers/clk/renesas/rcar-gen3-cpg.c:248:
> +static const struct rcar_gen3_cpg_pll_config *cpg_pll_config __initdata;
>
> Seems like a valid problem. Any chance it can be fixed?

It is a false positive: the data pointed to is const, the pointer
variable isn't.

Thanks!

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] 7+ messages in thread

* Re: [git pull] clk: renesas: Add support for R-Car M3-W
  2016-06-21  5:56   ` Geert Uytterhoeven
@ 2016-06-28 17:13     ` Stephen Boyd
  2016-06-28 17:25       ` Geert Uytterhoeven
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Boyd @ 2016-06-28 17:13 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Geert Uytterhoeven, Michael Turquette, Simon Horman, Magnus Damm,
	open list:MEDIA DRIVERS FOR RENESAS - FCP, linux-clk, Joe Perches

On 06/21, Geert Uytterhoeven wrote:
> Hi Stephen,
> 
> On Tue, Jun 21, 2016 at 2:51 AM, Stephen Boyd <sboyd@codeaurora.org> wrote:
> > On 06/06, Geert Uytterhoeven wrote:
> >>       Hi Mike, Stephen,
> >>
> >> The following changes since commit 1a695a905c18548062509178b98bc91e67510864:
> >>
> >>   Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)
> >>
> >> are available in the git repository at:
> >>
> >>   git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git tags/clk-renesas-for-v4.8-tag1
> >>
> >> for you to fetch changes up to e4e2d7c388350eba8b1dbc2569441ac9b545a8c4:
> >>
> >>   clk: renesas: cpg-mssr: Add support for R-Car M3-W (2016-06-06 11:58:35 +0200)
> >>
> >
> > Checkpatch complains...
> >
> > ERROR: Use of const init definition must use __initconst
> > #712: FILE: drivers/clk/renesas/rcar-gen3-cpg.c:248:
> > +static const struct rcar_gen3_cpg_pll_config *cpg_pll_config __initdata;
> >
> > Seems like a valid problem. Any chance it can be fixed?
> 
> It is a false positive: the data pointed to is const, the pointer
> variable isn't.
> 

Argh thanks. It would be nice if sparse complained about that
instead of checkpatch so that we got a better parse on the actual
type that is marked initdata. Anyway, I see this pull is
superseded now.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [git pull] clk: renesas: Add support for R-Car M3-W
  2016-06-28 17:13     ` Stephen Boyd
@ 2016-06-28 17:25       ` Geert Uytterhoeven
  2016-06-28 23:27         ` Stephen Boyd
  0 siblings, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 2016-06-28 17:25 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Geert Uytterhoeven, Michael Turquette, Simon Horman, Magnus Damm,
	open list:MEDIA DRIVERS FOR RENESAS - FCP, linux-clk, Joe Perches

Hi Stephen,

On Tue, Jun 28, 2016 at 7:13 PM, Stephen Boyd <sboyd@codeaurora.org> wrote:
> On 06/21, Geert Uytterhoeven wrote:
>> On Tue, Jun 21, 2016 at 2:51 AM, Stephen Boyd <sboyd@codeaurora.org> wrote:
>> > On 06/06, Geert Uytterhoeven wrote:
>> >> The following changes since commit 1a695a905c18548062509178b98bc91e67510864:
>> >>
>> >>   Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)
>> >>
>> >> are available in the git repository at:
>> >>
>> >>   git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git tags/clk-renesas-for-v4.8-tag1
>> >>
>> >> for you to fetch changes up to e4e2d7c388350eba8b1dbc2569441ac9b545a8c4:
>> >>
>> >>   clk: renesas: cpg-mssr: Add support for R-Car M3-W (2016-06-06 11:58:35 +0200)
>> >>
>> >
>> > Checkpatch complains...
>> >
>> > ERROR: Use of const init definition must use __initconst
>> > #712: FILE: drivers/clk/renesas/rcar-gen3-cpg.c:248:
>> > +static const struct rcar_gen3_cpg_pll_config *cpg_pll_config __initdata;
>> >
>> > Seems like a valid problem. Any chance it can be fixed?
>>
>> It is a false positive: the data pointed to is const, the pointer
>> variable isn't.
>
> Argh thanks. It would be nice if sparse complained about that
> instead of checkpatch so that we got a better parse on the actual
> type that is marked initdata. Anyway, I see this pull is
> superseded now.

It is not; there's just a second pull request with more commits on top.

I think you best pull this one first, as git will use the summary from the
signed tag. The signed tag of the second pull request only summarizes
the additions, compared to the first tag.

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] 7+ messages in thread

* Re: [git pull] clk: renesas: Add support for R-Car M3-W
  2016-06-28 17:25       ` Geert Uytterhoeven
@ 2016-06-28 23:27         ` Stephen Boyd
  0 siblings, 0 replies; 7+ messages in thread
From: Stephen Boyd @ 2016-06-28 23:27 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Geert Uytterhoeven, Michael Turquette, Simon Horman, Magnus Damm,
	open list:MEDIA DRIVERS FOR RENESAS - FCP, linux-clk, Joe Perches

On 06/28, Geert Uytterhoeven wrote:
> It is not; there's just a second pull request with more commits on top.
> 
> I think you best pull this one first, as git will use the summary from the
> signed tag. The signed tag of the second pull request only summarizes
> the additions, compared to the first tag.
> 

Ok. Pulled into clk-next. Thanks.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-28 23:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-06 11:33 [git pull] clk: renesas: Add support for R-Car M3-W Geert Uytterhoeven
2016-06-14 12:23 ` Geert Uytterhoeven
2016-06-21  0:51 ` Stephen Boyd
2016-06-21  5:56   ` Geert Uytterhoeven
2016-06-28 17:13     ` Stephen Boyd
2016-06-28 17:25       ` Geert Uytterhoeven
2016-06-28 23:27         ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).