Re: [git pull] clk: renesas: Updates for v4.17 (take two)

2018-03-23 Thread Stephen Boyd
Quoting Geert Uytterhoeven (2018-03-22 10:09:20)
> Hi Mike, Stephen,
> 
> The following changes since commit 7ce36da900c0a2ff4777d9ba51c4f1cb74205463:
> 
>   clk: renesas: cpg-mssr: Add support for R-Car M3-N (2018-02-26 09:13:29 
> +0100)
> 
> 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.17-tag2
> 
> for you to fetch changes up to 472f5f391819b4b22ec040f227aea26f515b6ae2:
> 
>   clk: renesas: cpg-mssr: Adjust r8a77980 ifdef (2018-03-21 17:35:02 +0100)
> 
> 
> clk: renesas: Updates for v4.17 (take two)
> 
>   - Fix the incorrect display clock on R-Car M3-N,
>   - Always use readl()/writel(),
>   - Small fixes.
> 
> Thanks for pulling!
> 

Thanks. Pulled.


[git pull] clk: renesas: Updates for v4.17 (take two)

2018-03-22 Thread Geert Uytterhoeven
Hi Mike, Stephen,

The following changes since commit 7ce36da900c0a2ff4777d9ba51c4f1cb74205463:

  clk: renesas: cpg-mssr: Add support for R-Car M3-N (2018-02-26 09:13:29 +0100)

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.17-tag2

for you to fetch changes up to 472f5f391819b4b22ec040f227aea26f515b6ae2:

  clk: renesas: cpg-mssr: Adjust r8a77980 ifdef (2018-03-21 17:35:02 +0100)


clk: renesas: Updates for v4.17 (take two)

  - Fix the incorrect display clock on R-Car M3-N,
  - Always use readl()/writel(),
  - Small fixes.

Thanks for pulling!


Geert Uytterhoeven (8):
  clk: renesas: div6: Always use readl()/writel()
  clk: renesas: mstp: Always use readl()/writel()
  clk: renesas: r8a73a4: Always use readl()/writel()
  clk: renesas: r8a7740: Always use readl()/writel()
  clk: renesas: rcar-gen2: Always use readl()/writel()
  clk: renesas: rza1: Always use readl()/writel()
  clk: renesas: sh73a0: Always use readl()/writel()
  clk: renesas: rcar-gen3: Always use readl()/writel()

Jacopo Mondi (1):
  clk: renesas: r8a77965: Replace DU2 clock

Magnus Damm (1):
  clk: renesas: cpg-mssr: Adjust r8a77980 ifdef

 drivers/clk/renesas/clk-div6.c  | 22 +++---
 drivers/clk/renesas/clk-mstp.c  |  4 ++--
 drivers/clk/renesas/clk-r8a73a4.c   | 11 +--
 drivers/clk/renesas/clk-r8a7740.c   |  8 
 drivers/clk/renesas/clk-rcar-gen2.c | 17 -
 drivers/clk/renesas/clk-rz.c|  4 ++--
 drivers/clk/renesas/clk-sh73a0.c| 14 +++---
 drivers/clk/renesas/r8a77965-cpg-mssr.c |  2 +-
 drivers/clk/renesas/rcar-gen3-cpg.c | 14 +++---
 drivers/clk/renesas/renesas-cpg-mssr.c  |  2 +-
 10 files changed, 48 insertions(+), 50 deletions(-)

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@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


Re: [git pull] clk: renesas: Updates for v4.17

2018-03-15 Thread Stephen Boyd
Quoting Geert Uytterhoeven (2018-03-15 02:27:33)
> Hi Stephen,
> 
> On Wed, Mar 14, 2018 at 10:43 PM, Stephen Boyd  wrote:
> 
> > Did you need to use clk_readl() or was it just copy-paste? I hope we can
> > get rid of that function at some point.
> 
> That's an oversight. I will get rid of them in the second pull request
> for v4.17.
> 

Awesome. Thanks.


Re: [git pull] clk: renesas: Updates for v4.17

2018-03-15 Thread Geert Uytterhoeven
Hi Stephen,

On Wed, Mar 14, 2018 at 10:43 PM, Stephen Boyd  wrote:
> Quoting Geert Uytterhoeven (2018-03-02 02:17:52)
>> The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2:
>>
>>   Linux 4.16-rc1 (2018-02-11 15:04:29 -0800)
>>
>> 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.17-tag1
>>
>> for you to fetch changes up to 7ce36da900c0a2ff4777d9ba51c4f1cb74205463:
>>
>>   clk: renesas: cpg-mssr: Add support for R-Car M3-N (2018-02-26 09:13:29 
>> +0100)
>>
>> 
>> clk: renesas: Updates for v4.17
>>
>>   - Update legacy DT Kconfig default,
>>   - Add support for CPU (Z/Z2) clocks on R-Car H3 and M3-W,
>>   - Add support for the watchdog module clocks on R-Car Gen2 and RZ/G1,
>>   - Add support for the new R-Car M3-N and V3H SoCs.
>>
>> Thanks for pulling!
>>
>
> Thanks. Pulled into clk-next.

Thanks!

> Did you need to use clk_readl() or was it just copy-paste? I hope we can
> get rid of that function at some point.

That's an oversight. I will get rid of them in the second pull request
for v4.17.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@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


Re: [git pull] clk: renesas: Updates for v4.17

2018-03-14 Thread Stephen Boyd
Quoting Geert Uytterhoeven (2018-03-02 02:17:52)
> Hi Mike, Stephen,
> 
> The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2:
> 
>   Linux 4.16-rc1 (2018-02-11 15:04:29 -0800)
> 
> 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.17-tag1
> 
> for you to fetch changes up to 7ce36da900c0a2ff4777d9ba51c4f1cb74205463:
> 
>   clk: renesas: cpg-mssr: Add support for R-Car M3-N (2018-02-26 09:13:29 
> +0100)
> 
> 
> clk: renesas: Updates for v4.17
> 
>   - Update legacy DT Kconfig default,
>   - Add support for CPU (Z/Z2) clocks on R-Car H3 and M3-W,
>   - Add support for the watchdog module clocks on R-Car Gen2 and RZ/G1,
>   - Add support for the new R-Car M3-N and V3H SoCs.
> 
> Thanks for pulling!
> 

Thanks. Pulled into clk-next.

Did you need to use clk_readl() or was it just copy-paste? I hope we can
get rid of that function at some point.


[git pull] clk: renesas: Updates for v4.17

2018-03-02 Thread Geert Uytterhoeven
Hi Mike, Stephen,

The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2:

  Linux 4.16-rc1 (2018-02-11 15:04:29 -0800)

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.17-tag1

for you to fetch changes up to 7ce36da900c0a2ff4777d9ba51c4f1cb74205463:

  clk: renesas: cpg-mssr: Add support for R-Car M3-N (2018-02-26 09:13:29 +0100)


clk: renesas: Updates for v4.17

  - Update legacy DT Kconfig default,
  - Add support for CPU (Z/Z2) clocks on R-Car H3 and M3-W,
  - Add support for the watchdog module clocks on R-Car Gen2 and RZ/G1,
  - Add support for the new R-Car M3-N and V3H SoCs.

Thanks for pulling!


Fabrizio Castro (5):
  clk: renesas: r8a7743: Add rwdt clock
  clk: renesas: r8a7745: Add rwdt clock
  clk: renesas: r8a7790: Add rwdt clock
  clk: renesas: r8a7791/r8a7793: Add rwdt clock
  clk: renesas: r8a7794: Add rwdt clock

Geert Uytterhoeven (2):
  clk: renesas: Stop enabling legacy DT clock support by default
  clk: renesas: r8a7792: Add rwdt clock

Jacopo Mondi (1):
  clk: renesas: cpg-mssr: Add support for R-Car M3-N

Sergei Shtylyov (2):
  dt-bindings: clock: add R8A77980 CPG core clock definitions
  clk: renesas: cpg-mssr: add R8A77980 support

Takeshi Kihara (6):
  clk: renesas: rcar-gen3: Add Z clock divider support
  clk: renesas: rcar-gen3: Add Z2 clock divider support
  clk: renesas: r8a7795: Add Z clock
  clk: renesas: r8a7795: Add Z2 clock
  clk: renesas: r8a7796: Add Z clock
  clk: renesas: r8a7796: Add Z2 clock

 .../devicetree/bindings/clock/renesas,cpg-mssr.txt |   6 +-
 drivers/clk/renesas/Kconfig|  13 +-
 drivers/clk/renesas/Makefile   |   2 +
 drivers/clk/renesas/r8a7743-cpg-mssr.c |   2 +
 drivers/clk/renesas/r8a7745-cpg-mssr.c |   2 +
 drivers/clk/renesas/r8a7790-cpg-mssr.c |   2 +
 drivers/clk/renesas/r8a7791-cpg-mssr.c |   2 +
 drivers/clk/renesas/r8a7792-cpg-mssr.c |   2 +
 drivers/clk/renesas/r8a7794-cpg-mssr.c |   2 +
 drivers/clk/renesas/r8a7795-cpg-mssr.c |   2 +
 drivers/clk/renesas/r8a7796-cpg-mssr.c |   2 +
 drivers/clk/renesas/r8a77965-cpg-mssr.c| 334 +
 drivers/clk/renesas/r8a77980-cpg-mssr.c| 227 ++
 drivers/clk/renesas/rcar-gen3-cpg.c| 143 +
 drivers/clk/renesas/rcar-gen3-cpg.h|   2 +
 drivers/clk/renesas/renesas-cpg-mssr.c |  12 +
 drivers/clk/renesas/renesas-cpg-mssr.h |   2 +
 include/dt-bindings/clock/r8a77965-cpg-mssr.h  |  62 
 include/dt-bindings/clock/r8a77980-cpg-mssr.h  |  51 
 19 files changed, 867 insertions(+), 3 deletions(-)
 create mode 100644 drivers/clk/renesas/r8a77965-cpg-mssr.c
 create mode 100644 drivers/clk/renesas/r8a77980-cpg-mssr.c
 create mode 100644 include/dt-bindings/clock/r8a77965-cpg-mssr.h
 create mode 100644 include/dt-bindings/clock/r8a77980-cpg-mssr.h

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@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