linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 0/6] Add SOCFPGA System Manager
@ 2019-01-28 22:14 thor.thayer
  2019-01-28 22:14 ` [PATCHv3 1/6] mfd: altera-sysmgr: " thor.thayer
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: thor.thayer @ 2019-01-28 22:14 UTC (permalink / raw)
  To: lee.jones, arnd, dinguyen, linux, catalin.marinas, will.deacon,
	peppe.cavallaro, alexandre.torgue, joabreu
  Cc: mark.rutland, devicetree, Thor Thayer, netdev, linux-kernel,
	bjorn.andersson, olof, mcoquelin.stm32, mchehab+samsung, davem,
	linux-arm-kernel

From: Thor Thayer <thor.thayer@linux.intel.com>

Add MFD driver for SOCFPGA System Manager to handle
System Manager calls differently for ARM32 vs ARM64.
The SOCFPGA System Manager includes registers from several
SOC peripherals.

On ARM32, syscon handles this aggregated register grouping.
Implement System Manager calls as regmap_mmio similar to syscon
for ARM32 SOCFPGA systems.

The ARM64 System Manager can only be accessed from priority
level EL3 so this new MFD driver handles the calls to EL3.

v3 Changes:
Create and register regmap in probe().
Lookup functions find registered regmap.
Cleanup of header file.
Fix copyright dates.
Replace global pointer with traditional probe() methodology.

Thor Thayer (6):
  mfd: altera-sysmgr: Add SOCFPGA System Manager
  Documentation: dt: socfpga: Add S10 System Manager binding
  ARM: socfpga_defconfig: Enable CONFIG_MTD_ALTERA_SYSMGR
  arm64: defconfig: Enable CONFIG_MTD_ALTERA_SYSMGR
  net: stmmac: socfpga: Use shared System Manager driver
  arm64: dts: stratix10: New System Manager compatible

 .../bindings/arm/altera/socfpga-system.txt         |  12 ++
 MAINTAINERS                                        |   6 +
 arch/arm/configs/socfpga_defconfig                 |   1 +
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi  |   2 +-
 arch/arm64/configs/defconfig                       |   1 +
 drivers/mfd/Kconfig                                |  10 +
 drivers/mfd/Makefile                               |   1 +
 drivers/mfd/altera-sysmgr.c                        | 210 +++++++++++++++++++++
 .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c    |   5 +-
 include/linux/mfd/altera-sysmgr.h                  |  29 +++
 10 files changed, 274 insertions(+), 3 deletions(-)
 create mode 100644 drivers/mfd/altera-sysmgr.c
 create mode 100644 include/linux/mfd/altera-sysmgr.h

-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-02-14 16:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-28 22:14 [PATCHv3 0/6] Add SOCFPGA System Manager thor.thayer
2019-01-28 22:14 ` [PATCHv3 1/6] mfd: altera-sysmgr: " thor.thayer
2019-02-14 16:24   ` Thor Thayer
2019-01-28 22:14 ` [PATCHv3 2/6] Documentation: dt: socfpga: Add S10 System Manager binding thor.thayer
2019-01-30 15:51   ` Rob Herring
2019-01-28 22:14 ` [PATCHv3 3/6] ARM: socfpga_defconfig: Enable CONFIG_MTD_ALTERA_SYSMGR thor.thayer
2019-01-28 22:14 ` [PATCHv3 4/6] arm64: defconfig: " thor.thayer
2019-01-28 22:14 ` [PATCHv3 5/6] net: stmmac: socfpga: Use shared System Manager driver thor.thayer
2019-01-28 22:14 ` [PATCHv3 6/6] arm64: dts: stratix10: New System Manager compatible thor.thayer

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