public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/6] Add a driver for the atmel ram controller
@ 2014-07-08 16:21 Alexandre Belloni
  2014-07-08 16:21 ` [PATCHv2 1/6] ARM: at91: Add new binding for sama5d3-ddramc Alexandre Belloni
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Alexandre Belloni @ 2014-07-08 16:21 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Jean-Christophe Plagniol-Villard, Boris Brezillon,
	linux-arm-kernel, linux-kernel, Alexandre Belloni

The atmel ram controller needs one or more clocks to work. For now the
CLK_IGNORE_UNUSED flag is used on those clocks. This patch set introduce a
driver that will take care of taking those clocks.

The final goal is also to move the ioremap done in mach-at91 to that driver with
a proper power management driver.

Changes in v2:
 - use ATMEL_SDRAMC instead of ATMEL_RAMC
 - use "atmel,sama5d3-ddramc" instead of "atmel,sama5d3-mpddramc"
 - not getting mpddrck is now an error
 - handle "atmel,sama5d3-ddramc" in mach-at91/setup.c

Alexandre Belloni (6):
  ARM: at91: Add new binding for sama5d3-ddramc
  memory: add a driver for atmel ram controllers
  ARM: at91: select ATMEL_SDRAMC when using OF
  ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks
  ARM: at91/dt: at91sam9: use ddrck in ramc
  clk: at91: remove the useless CLK_IGNORE_UNUSED flag

 .../devicetree/bindings/arm/atmel-at91.txt         |  1 +
 arch/arm/boot/dts/at91sam9n12.dtsi                 |  2 +
 arch/arm/boot/dts/at91sam9x5.dtsi                  |  2 +
 arch/arm/boot/dts/sama5d3.dtsi                     |  9 +-
 arch/arm/mach-at91/Kconfig                         |  4 +
 arch/arm/mach-at91/setup.c                         |  1 +
 drivers/clk/at91/clk-system.c                      |  8 +-
 drivers/memory/Kconfig                             | 10 +++
 drivers/memory/Makefile                            |  1 +
 drivers/memory/atmel-sdramc.c                      | 98 ++++++++++++++++++++++
 10 files changed, 128 insertions(+), 8 deletions(-)
 create mode 100644 drivers/memory/atmel-sdramc.c

-- 
1.9.1


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

end of thread, other threads:[~2014-07-08 16:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-08 16:21 [PATCHv2 0/6] Add a driver for the atmel ram controller Alexandre Belloni
2014-07-08 16:21 ` [PATCHv2 1/6] ARM: at91: Add new binding for sama5d3-ddramc Alexandre Belloni
2014-07-08 16:21 ` [PATCHv2 2/6] memory: add a driver for atmel ram controllers Alexandre Belloni
2014-07-08 16:21 ` [PATCHv2 3/6] ARM: at91: select ATMEL_SDRAMC when using OF Alexandre Belloni
2014-07-08 16:21 ` [PATCHv2 4/6] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks Alexandre Belloni
2014-07-08 16:21 ` [PATCHv2 5/6] ARM: at91/dt: at91sam9: use ddrck in ramc Alexandre Belloni
2014-07-08 16:21 ` [PATCHv2 6/6] clk: at91: remove the useless CLK_IGNORE_UNUSED flag Alexandre Belloni
2014-07-08 16:39 ` [PATCHv2 0/6] Add a driver for the atmel ram controller Nicolas Ferre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox