devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] reset: Add support for Oxford Semiconductor Reset
@ 2016-04-01 14:16 Neil Armstrong
  2016-04-01 14:16 ` [PATCH 2/2] dt-bindings: Add Oxford Semiconductor Reset Controller bindings Neil Armstrong
       [not found] ` <1459520174-12897-1-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Neil Armstrong @ 2016-04-01 14:16 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel, p.zabel, devicetree; +Cc: Neil Armstrong

This patchset includes support for the reset controller driver for
Oxford Semiconductor OXNAS SoC Family.

It was originally posted part of a platform patchset available here :
http://lkml.kernel.org/r/1458838215-23314-1-git-send-email-narmstrong@baylibre.com

Changes this v3 patchset :
- Get rid of PLX Technology, replace by Oxford Semiconductor

Neil Armstrong (2):
  reset: Add Oxford Semiconductor Reset Controller driver
  dt-bindings: Add Oxford Semiconductor Reset Controller bindings

 .../devicetree/bindings/reset/oxnas,reset.txt      |  58 +++++++++
 drivers/reset/Kconfig                              |   3 +
 drivers/reset/Makefile                             |   1 +
 drivers/reset/reset-oxnas.c                        | 136 +++++++++++++++++++++
 4 files changed, 198 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/reset/oxnas,reset.txt
 create mode 100644 drivers/reset/reset-oxnas.c

-- 
1.9.1

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

* [PATCH 2/2] dt-bindings: Add Oxford Semiconductor Reset Controller bindings
  2016-04-01 14:16 [PATCH 0/2] reset: Add support for Oxford Semiconductor Reset Neil Armstrong
@ 2016-04-01 14:16 ` Neil Armstrong
       [not found] ` <1459520174-12897-1-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Neil Armstrong @ 2016-04-01 14:16 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel, p.zabel, devicetree; +Cc: Neil Armstrong

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 .../devicetree/bindings/reset/oxnas,reset.txt      | 58 ++++++++++++++++++++++
 1 file changed, 58 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/reset/oxnas,reset.txt

diff --git a/Documentation/devicetree/bindings/reset/oxnas,reset.txt b/Documentation/devicetree/bindings/reset/oxnas,reset.txt
new file mode 100644
index 0000000..6f06db9
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/oxnas,reset.txt
@@ -0,0 +1,58 @@
+Oxford Semiconductor OXNAS SoC Family RESET Controller
+================================================
+
+Please also refer to reset.txt in this directory for common reset
+controller binding usage.
+
+Required properties:
+- compatible: Should be "oxsemi,ox810se-reset"
+- #reset-cells: 1, see below
+
+Parent node should have the following properties :
+- compatible: Should be "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd"
+
+For OX810SE, the indices are :
+ - 0 : ARM
+ - 1 : COPRO
+ - 2 : Reserved
+ - 3 : Reserved
+ - 4 : USBHS
+ - 5 : USBHSPHY
+ - 6 : MAC
+ - 7 : PCI
+ - 8 : DMA
+ - 9 : DPE
+ - 10 : DDR
+ - 11 : SATA
+ - 12 : SATA_LINK
+ - 13 : SATA_PHY
+ - 14 : Reserved
+ - 15 : NAND
+ - 16 : GPIO
+ - 17 : UART1
+ - 18 : UART2
+ - 19 : MISC
+ - 20 : I2S
+ - 21 : AHB_MON
+ - 22 : UART3
+ - 23 : UART4
+ - 24 : SGDMA
+ - 25 : Reserved
+ - 26 : Reserved
+ - 27 : Reserved
+ - 28 : Reserved
+ - 29 : Reserved
+ - 30 : Reserved
+ - 31 : BUS
+
+example:
+
+sys: sys-ctrl@000000 {
+	compatible = "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd";
+	reg = <0x000000 0x100000>;
+
+	reset: reset-controller {
+		compatible = "oxsemi,ox810se-reset";
+		#reset-cells = <1>;
+	};
+};
-- 
1.9.1

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

* Re: [PATCH 0/2] reset: Add support for Oxford Semiconductor Reset
       [not found] ` <1459520174-12897-1-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
@ 2016-04-01 14:34   ` Philipp Zabel
  0 siblings, 0 replies; 3+ messages in thread
From: Philipp Zabel @ 2016-04-01 14:34 UTC (permalink / raw)
  To: Neil Armstrong
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Hi Neil,

Am Freitag, den 01.04.2016, 16:16 +0200 schrieb Neil Armstrong:
> This patchset includes support for the reset controller driver for
> Oxford Semiconductor OXNAS SoC Family.
> 
> It was originally posted part of a platform patchset available here :
> http://lkml.kernel.org/r/1458838215-23314-1-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org
> 
> Changes this v3 patchset :
> - Get rid of PLX Technology, replace by Oxford Semiconductor

Thank you, applied both to reset/next.

regards
Philipp

--
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] 3+ messages in thread

end of thread, other threads:[~2016-04-01 14:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-01 14:16 [PATCH 0/2] reset: Add support for Oxford Semiconductor Reset Neil Armstrong
2016-04-01 14:16 ` [PATCH 2/2] dt-bindings: Add Oxford Semiconductor Reset Controller bindings Neil Armstrong
     [not found] ` <1459520174-12897-1-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2016-04-01 14:34   ` [PATCH 0/2] reset: Add support for Oxford Semiconductor Reset Philipp Zabel

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