linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Fix SMC layout register for sama5d2
@ 2017-07-18 13:22 Ludovic Desroches
  2017-07-18 13:22 ` [PATCH v2 1/3] mfd: syscon: update Atmel SMC binding doc Ludovic Desroches
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Ludovic Desroches @ 2017-07-18 13:22 UTC (permalink / raw)
  To: devicetree, linux-arm-kernel, linux-mtd
  Cc: linux-kernel, lee.jones, nicolas.ferre, alexandre.belloni,
	boris.brezillon, computersforpeace, romain.izard.pro,
	Ludovic Desroches

Hi,

The offset of some registers of the SMC is different between sama5d3/sama5d4
and sama5d2. An helper function has been added to retrieve the correct layout
with the help of a new compatible string for sama5d2. The atmel-ebi device will
store the register layout to allow the nand controller to setup correctly the
data interface.

Changes:
- v2: rebase patches on top of v4.13-rc1 and collect acked-by

Ludovic Desroches (3):
  mfd: syscon: update Atmel SMC binding doc
  mfd: syscon: atmel-smc: add helper to retrieve register layout
  ARM: dts: at91: sama5d2: use sama5d2 compatible string for SMC

 .../devicetree/bindings/mfd/atmel-smc.txt          |  1 +
 arch/arm/boot/dts/sama5d2.dtsi                     |  2 +-
 drivers/memory/atmel-ebi.c                         | 13 +++--
 drivers/mfd/atmel-smc.c                            | 67 +++++++++++++++++-----
 drivers/mtd/nand/atmel/nand-controller.c           | 10 +++-
 include/linux/mfd/syscon/atmel-smc.h               | 32 ++++++++---
 6 files changed, 94 insertions(+), 31 deletions(-)

-- 
2.12.2

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

end of thread, other threads:[~2017-08-08  7:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-18 13:22 [PATCH v2 0/3] Fix SMC layout register for sama5d2 Ludovic Desroches
2017-07-18 13:22 ` [PATCH v2 1/3] mfd: syscon: update Atmel SMC binding doc Ludovic Desroches
2017-07-18 13:39   ` Nicolas Ferre
2017-08-07 15:40   ` Lee Jones
2017-08-07 15:41   ` Lee Jones
2017-07-18 13:22 ` [PATCH v2 2/3] mfd: syscon: atmel-smc: add helper to retrieve register layout Ludovic Desroches
2017-08-07 15:40   ` Lee Jones
2017-07-18 13:22 ` [PATCH v2 3/3] ARM: dts: at91: sama5d2: use sama5d2 compatible string for SMC Ludovic Desroches
2017-07-18 13:39   ` Nicolas Ferre
2017-08-07 15:41   ` Lee Jones
2017-08-07 21:28     ` Alexandre Belloni
2017-08-08  7:07       ` Lee Jones

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