linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 00/20] ARM: shmobile: r8a7779, marzen: CCF and multiplatform
@ 2014-04-16  1:57 Simon Horman
  2014-04-16  1:57 ` [PATCH v5 01/20] clk: shmobile: r8a7779: Add clocks support Simon Horman
                   ` (19 more replies)
  0 siblings, 20 replies; 28+ messages in thread
From: Simon Horman @ 2014-04-16  1:57 UTC (permalink / raw)
  To: linux-arm-kernel

The aim of this series is to add common clock framework and in turn
multiplatform support to the r8a7779 SoC and marzen-reference.  It
subsequently removes non-multiplatform support from marzen-reference.

This is based on work for R-Car Gen2 by Laurent Pinchart and Magnus Damm.


This series attempts to address the  review received for v4 of this series.
Changes are noted in the changelog of individual patches.


Applied on top of the renesas-devel-v3.15-rc1-20140415 tag of
my renesas tree.

Requires the following patch for correct runtime operation:

spi: sh-hspi: Do not specifically request shyway_clk clock

Caveats:

* SMSC_PHY is known not to work with marzen though the reason for
  this is not known. As this is selected in the shmobile_defconfig
  it should be manually disabled before compiling that configuration
  for use on Marzen.

* Does not appear to work with SMP. A work around is to use maxcpus=1.


Simon Horman (20):
  clk: shmobile: r8a7779: Add clocks support
  clk: shmobile: r8a7779: Add MSTP clock support
  ARM: shmobile: r8a7779: Add clock index macros for DT sources
  ARM: shmobile: r8a7779: Add clocks
  ARM: shmobile: Sync Marzen DTS with Marzen reference DTS
  ARM: shmobile: marzen: Specify external clock frequency in DT
  ARM: shmobile: r8a7779: Reference clocks
  ARM: shmobile: r8a7779: Add helper to read mode pins
  ARM: shmobile: r8a7779: Move r8a7779_earlytimer_init to
    clock-r8a7779.c
  ARM: shmobile: marzen-reference: Move clock and OF device
    initialisation into board code
  ARM: shmobile: r8a7779: Do not include sh_clk.h in r8a7779.h
  ARM: shmobile: r8a7779: Initial multiplatform support
  ARM: shmobile: marzen-reference: Initialize CPG device
  ARM: shmobile: marzen-reference: Instantiate clkdevs for SCIF and TMU
  ARM: shmobile: marzen-reference: Work around core clock issues
  ARM: shmobile: marzen: Add to shmobile defconfig
  ARM: shmobile: Remove non-multiplatform Marzen reference support
  ARM: shmobile: Let Marzen multiplatform boot with Marzen DTB
  ARM: shmobile: Remove Marzen reference DTS
  ARM: shmobile: marzen-reference: Remove legacy clock support

 .../bindings/clock/renesas,cpg-mstp-clocks.txt     |   1 +
 .../bindings/clock/renesas,r8a7779-cpg-clocks.txt  |  27 ++++
 arch/arm/boot/dts/Makefile                         |   4 +-
 arch/arm/boot/dts/r8a7779-marzen-reference.dts     | 120 --------------
 arch/arm/boot/dts/r8a7779-marzen.dts               |  97 +++++++++++
 arch/arm/boot/dts/r8a7779.dtsi                     | 156 ++++++++++++++++++
 arch/arm/configs/shmobile_defconfig                |   2 +
 arch/arm/mach-shmobile/Kconfig                     |  23 ++-
 arch/arm/mach-shmobile/Makefile                    |   2 +-
 arch/arm/mach-shmobile/Makefile.boot               |   1 -
 arch/arm/mach-shmobile/board-marzen-reference.c    |  39 +++++
 arch/arm/mach-shmobile/clock-r8a7779.c             |  22 +--
 arch/arm/mach-shmobile/include/mach/r8a7779.h      |   2 +-
 arch/arm/mach-shmobile/setup-r8a7779.c             |  28 ++--
 drivers/clk/shmobile/Makefile                      |   1 +
 drivers/clk/shmobile/clk-r8a7779.c                 | 180 +++++++++++++++++++++
 include/dt-bindings/clock/r8a7779-clock.h          |  64 ++++++++
 include/linux/clk/shmobile.h                       |   3 +
 18 files changed, 611 insertions(+), 161 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/renesas,r8a7779-cpg-clocks.txt
 delete mode 100644 arch/arm/boot/dts/r8a7779-marzen-reference.dts
 create mode 100644 drivers/clk/shmobile/clk-r8a7779.c
 create mode 100644 include/dt-bindings/clock/r8a7779-clock.h

-- 
1.8.5.2

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

end of thread, other threads:[~2014-04-16  9:27 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-16  1:57 [PATCH v5 00/20] ARM: shmobile: r8a7779, marzen: CCF and multiplatform Simon Horman
2014-04-16  1:57 ` [PATCH v5 01/20] clk: shmobile: r8a7779: Add clocks support Simon Horman
2014-04-16  9:27   ` Laurent Pinchart
2014-04-16  1:57 ` [PATCH v5 02/20] clk: shmobile: r8a7779: Add MSTP clock support Simon Horman
2014-04-16  7:19   ` Geert Uytterhoeven
2014-04-16  1:57 ` [PATCH v5 03/20] ARM: shmobile: r8a7779: Add clock index macros for DT sources Simon Horman
2014-04-16  1:57 ` [PATCH v5 04/20] ARM: shmobile: r8a7779: Add clocks Simon Horman
2014-04-16  9:26   ` Laurent Pinchart
2014-04-16  1:57 ` [PATCH v5 05/20] ARM: shmobile: Sync Marzen DTS with Marzen reference DTS Simon Horman
2014-04-16  1:57 ` [PATCH v5 06/20] ARM: shmobile: marzen: Specify external clock frequency in DT Simon Horman
2014-04-16  1:57 ` [PATCH v5 07/20] ARM: shmobile: r8a7779: Reference clocks Simon Horman
2014-04-16  1:57 ` [PATCH v5 08/20] ARM: shmobile: r8a7779: Add helper to read mode pins Simon Horman
2014-04-16  7:29   ` Geert Uytterhoeven
2014-04-16  7:55     ` Simon Horman
2014-04-16  8:12       ` Geert Uytterhoeven
2014-04-16  8:26         ` Simon Horman
2014-04-16  1:57 ` [PATCH v5 09/20] ARM: shmobile: r8a7779: Move r8a7779_earlytimer_init to clock-r8a7779.c Simon Horman
2014-04-16  1:57 ` [PATCH v5 10/20] ARM: shmobile: marzen-reference: Move clock and OF device initialisation into board code Simon Horman
2014-04-16  1:57 ` [PATCH v5 11/20] ARM: shmobile: r8a7779: Do not include sh_clk.h in r8a7779.h Simon Horman
2014-04-16  1:57 ` [PATCH v5 12/20] ARM: shmobile: r8a7779: Initial multiplatform support Simon Horman
2014-04-16  1:57 ` [PATCH v5 13/20] ARM: shmobile: marzen-reference: Initialize CPG device Simon Horman
2014-04-16  1:57 ` [PATCH v5 14/20] ARM: shmobile: marzen-reference: Instantiate clkdevs for SCIF and TMU Simon Horman
2014-04-16  1:57 ` [PATCH v5 15/20] ARM: shmobile: marzen-reference: Work around core clock issues Simon Horman
2014-04-16  1:57 ` [PATCH v5 16/20] ARM: shmobile: marzen: Add to shmobile defconfig Simon Horman
2014-04-16  1:57 ` [PATCH v5 17/20] ARM: shmobile: Remove non-multiplatform Marzen reference support Simon Horman
2014-04-16  1:57 ` [PATCH v5 18/20] ARM: shmobile: Let Marzen multiplatform boot with Marzen DTB Simon Horman
2014-04-16  1:57 ` [PATCH v5 19/20] ARM: shmobile: Remove Marzen reference DTS Simon Horman
2014-04-16  1:57 ` [PATCH v5 20/20] ARM: shmobile: marzen-reference: Remove legacy clock support Simon Horman

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).