[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1404836476-23787-1-git-send-email-alexandre.belloni@free-electrons.com>
Date: Tue, 8 Jul 2014 18:21:10 +0200
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Nicolas Ferre <nicolas.ferre@...el.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>
Subject: [PATCHv2 0/6] Add a driver for the atmel ram controller
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists