devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] reset: Basic reset controller
@ 2017-05-30  6:08 Joel Stanley
       [not found] ` <20170530060851.29923-1-joel-U3u1mxZcP9KHXe+LvDLADg@public.gmane.org>
  2017-05-30  6:08 ` [PATCH v2 2/2] reset: Add basic single-register reset driver Joel Stanley
  0 siblings, 2 replies; 6+ messages in thread
From: Joel Stanley @ 2017-05-30  6:08 UTC (permalink / raw)
  To: Philipp Zabel, Rob Herring, Mark Rutland
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Benjamin Herrenschmidt,
	Andrew Jeffery

Hello,

This is v2 of the basic reset controller, which addresses the points that
Philipp made. See the individual patches for changelogs. The original cover
letter follows:

In the Aspeed SoCs we have some reset registers spread out in various parts of
the soc: in the system controller IP, as well as other peripherals. I need to be
able to deassert those resets before other drivers work.

In writing a driver to do this I realised it was very generic. So instead I've
sent a generic driver that can be used by the device tree to clear reset lines
described by single bits in a register.

I've tested this driver on our SoC to release the UART reset.

Joel Stanley (2):
  dt-bindings: reset: Add bindings for basic reset controller
  reset: Add basic single-register reset driver

 .../devicetree/bindings/reset/reset-basic.txt      |  43 ++++++++
 drivers/reset/Kconfig                              |   7 ++
 drivers/reset/Makefile                             |   1 +
 drivers/reset/reset-basic.c                        | 113 +++++++++++++++++++++
 4 files changed, 164 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/reset/reset-basic.txt
 create mode 100644 drivers/reset/reset-basic.c

-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2017-07-03  6:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-30  6:08 [PATCH v2 0/2] reset: Basic reset controller Joel Stanley
     [not found] ` <20170530060851.29923-1-joel-U3u1mxZcP9KHXe+LvDLADg@public.gmane.org>
2017-05-30  6:08   ` [PATCH v2 1/2] dt-bindings: reset: Add bindings for basic " Joel Stanley
2017-06-07 20:49     ` Rob Herring
2017-07-03  6:51       ` Joel Stanley
2017-05-30  6:08 ` [PATCH v2 2/2] reset: Add basic single-register reset driver Joel Stanley
     [not found]   ` <20170530060851.29923-3-joel-U3u1mxZcP9KHXe+LvDLADg@public.gmane.org>
2017-06-06  6:33     ` [v2,2/2] " Russell Currey

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