All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] arm: dts: syscon based reboot in DT
@ 2016-06-28 22:10 ` Jon Mason
  0 siblings, 0 replies; 10+ messages in thread
From: Jon Mason @ 2016-06-28 22:10 UTC (permalink / raw)
  To: linux-arm-kernel

Splitting off the bcm5301x reset device tree changes from the patch
series (originally sent on http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/395155.html
and resent on https://lkml.org/lkml/2016/5/11/953) and adding a
Northstar Plus reset device tree change.

I'd like to get Arnd's ack/nack on these, as I am uncertain if I am
doing the correct thing based on the last email from him.  Per my
comment in the original email thread:

The CRU (Clock and Reset Unit) starts at 0x1800c100, with the
following layout:

CRU Clock Management at 0x1800c100-0x1800c180
CRU Reset at 0x1800c184
CRU Period Sample Clock at 0x1800c188
CRU Interrupt register at 0x1800c18c
CRU MDIO Control at 0x1800c190
CRU GPIO at 0x1800c1c0-0x1800c1e0
CRU SDIO 0x1800c200-0x1800c214
CRU RoboSW Interrupt at 0x1800c280
CRU Straps Control at 0x1800c2a0

The clock driver is already referencing the registers between
0x1800c100-0x1800c180, and the GPIO driver is referencing registers
between 0x1800c1c0-0x1800c1e0.

The reset part of the syscon seems to be the only useful thing in this
block.

So, are these patches acceptable given those constrains or am I better
off doing a reset driver that is more or less identical to
syscon-reboot?

Thanks,
Jon

Jon Mason (2):
  arm: dts: bcm5301x: Add syscon based reboot in DT
  arm: dts: nsp: Add syscon based reboot in DT

 arch/arm/boot/dts/bcm-nsp.dtsi  | 12 ++++++++++++
 arch/arm/boot/dts/bcm5301x.dtsi | 12 ++++++++++++
 2 files changed, 24 insertions(+)

-- 
1.9.1

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

end of thread, other threads:[~2016-06-28 22:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-28 22:10 [PATCH 0/2] arm: dts: syscon based reboot in DT Jon Mason
2016-06-28 22:10 ` Jon Mason
2016-06-28 22:10 ` [PATCH 1/2] arm: dts: bcm5301x: Add " Jon Mason
2016-06-28 22:10   ` Jon Mason
2016-06-28 22:13   ` Scott Branden
2016-06-28 22:13     ` Scott Branden
2016-06-28 22:28     ` Jon Mason
2016-06-28 22:28       ` Jon Mason
2016-06-28 22:10 ` [PATCH 2/2] arm: dts: nsp: " Jon Mason
2016-06-28 22:10   ` Jon Mason

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.