All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] reset: socfpga: Add reset driver support for Arria10 platform
@ 2015-07-27 18:57 ` dinguyen
  0 siblings, 0 replies; 13+ messages in thread
From: dinguyen @ 2015-07-27 18:57 UTC (permalink / raw)
  To: p.zabel
  Cc: dinh.linux, robh+dt, ijc+devicetree, galak, mark.rutland,
	pawel.moll, s.trumtrar, linux-kernel, devicetree, Dinh Nguyen

From: Dinh Nguyen <dinguyen@opensource.altera.com>

Hi,

This patch series adds reset driver support for the SoCFPGA Arria10 SOC. The
reset manager on the Arria10 is very similar to the one on Cyclone5/Arria5,
thus I think it's best to try to re-use the same reset driver.

The biggest difference between the reset manager on Arria10 and Cyclone is
the addition of security features. Since the driver does not support these
security features, it winds down to just a driver that will release IPs from
reset.

The other difference between Arria10 and Cyclone5 are register offsets, and
register bits for different IPs. For the register offset, the main register
offset is the very first register that is needed by the driver for releasing
IPs from reset. To handle this difference, I've introduced a new DTS property,
"altr,modrst-offset", that will represent this register.

The register bits for all the resets are in a new file:

include/dt-bindings/reset/altr,rst-mgr-a10.h

Thanks,

Dinh Nguyen (4):
  dt-bindings: Add reset manager offsets for Arria10
  ARM: socfpga: dts: add "altr,modrst-offset" property
  reset: socfpga: Update reset-socfpga to read the altr,modrst-offset
    property
  ARM: socfpga: dts: Add resets for EMACs on Arria10

 .../devicetree/bindings/reset/socfpga-reset.txt    |   2 +
 arch/arm/boot/dts/socfpga.dtsi                     |   1 +
 arch/arm/boot/dts/socfpga_arria10.dtsi             |   6 ++
 drivers/reset/reset-socfpga.c                      |  19 ++--
 include/dt-bindings/reset/altr,rst-mgr-a10.h       | 110 +++++++++++++++++++++
 5 files changed, 132 insertions(+), 6 deletions(-)
 create mode 100644 include/dt-bindings/reset/altr,rst-mgr-a10.h

-- 
2.4.5

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

end of thread, other threads:[~2015-07-28 13:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27 18:57 [PATCH 0/4] reset: socfpga: Add reset driver support for Arria10 platform dinguyen
2015-07-27 18:57 ` dinguyen
2015-07-27 18:57 ` [PATCH 1/4] dt-bindings: Add reset manager offsets for Arria10 dinguyen
2015-07-27 18:57   ` dinguyen
     [not found] ` <1438023444-11881-1-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2015-07-27 18:57   ` [PATCH 2/4] ARM: socfpga: dts: add "altr,modrst-offset" property dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
2015-07-27 18:57     ` dinguyen
2015-07-27 18:57   ` [PATCH 3/4] reset: socfpga: Update reset-socfpga to read the altr,modrst-offset property dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
2015-07-27 18:57     ` dinguyen
2015-07-28  8:46     ` Philipp Zabel
2015-07-28 13:46       ` Dinh Nguyen
2015-07-28 13:46         ` Dinh Nguyen
2015-07-27 18:57 ` [PATCH 4/4] ARM: socfpga: dts: Add resets for EMACs on Arria10 dinguyen
2015-07-27 18:57   ` dinguyen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.