Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1495930 > unrolled thread

[RESEND PATCH v2 0/3]

Started byNeil Armstrong <narmstrong@baylibre.com>
First post2016-10-05 17:30 +0200
Last post2016-10-10 15:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [RESEND PATCH v2 0/3]  Neil Armstrong <narmstrong@baylibre.com> - 2016-10-05 17:30 +0200
    [RESEND PATCH v2 3/3] dt-bindings: reset: oxnas: Update for OX820 Neil Armstrong <narmstrong@baylibre.com> - 2016-10-05 17:30 +0200
      Re: [RESEND PATCH v2 3/3] dt-bindings: reset: oxnas: Update for OX820 Rob Herring <robh@kernel.org> - 2016-10-10 15:10 +0200

#1495930 — [RESEND PATCH v2 0/3]

FromNeil Armstrong <narmstrong@baylibre.com>
Date2016-10-05 17:30 +0200
Subject[RESEND PATCH v2 0/3]
Message-ID<soWiS-2Hq-25@gated-at.bofh.it>
This is a resend of v2 with the actual changes on patch number 3.

This patchset adds support for the reset controller in the Oxford
Semiconductor OX820 SoC, big brother of the OX810SE.

Since this driver uses a regmap access, it's important to tag each
compatible SoC since the regmap offset could differ in later SoCs.

This patchet also moves the reset indices to a clean DT include file.


Changes since v1 at: http://lkml.kernel.org/r/20160909131955.27334-1-narmstrong@baylibre.com
 - Reformat bindings
 - Add reference to include files in bindings

Neil Armstrong (3):
  reset: oxnas: Add OX820 support
  dt-bindings: reset: oxnas: Add include file with reset indexes
  dt-bindings: reset: oxnas: Update for OX820

 .../devicetree/bindings/reset/oxnas,reset.txt      | 44 ++++--------------
 drivers/reset/reset-oxnas.c                        |  1 +
 include/dt-bindings/reset/oxsemi,ox810se.h         | 53 ++++++++++++++++++++++
 include/dt-bindings/reset/oxsemi,ox820.h           | 53 ++++++++++++++++++++++
 4 files changed, 116 insertions(+), 35 deletions(-)
 create mode 100644 include/dt-bindings/reset/oxsemi,ox810se.h
 create mode 100644 include/dt-bindings/reset/oxsemi,ox820.h

-- 
2.7.0

[toc] | [next] | [standalone]


#1495932 — [RESEND PATCH v2 3/3] dt-bindings: reset: oxnas: Update for OX820

FromNeil Armstrong <narmstrong@baylibre.com>
Date2016-10-05 17:30 +0200
Subject[RESEND PATCH v2 3/3] dt-bindings: reset: oxnas: Update for OX820
Message-ID<soWiS-2Hq-29@gated-at.bofh.it>
In reply to#1495930
Add new compatible string for reset and sys-ctrl for the Oxford
Semiconductor OX820 Support.
Drop the OX810SE indices since they moved in a dedicated include file.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 .../devicetree/bindings/reset/oxnas,reset.txt      | 44 +++++-----------------
 1 file changed, 9 insertions(+), 35 deletions(-)

diff --git a/Documentation/devicetree/bindings/reset/oxnas,reset.txt b/Documentation/devicetree/bindings/reset/oxnas,reset.txt
index 6f06db9..d27ccb5 100644
--- a/Documentation/devicetree/bindings/reset/oxnas,reset.txt
+++ b/Documentation/devicetree/bindings/reset/oxnas,reset.txt
@@ -5,45 +5,19 @@ Please also refer to reset.txt in this directory for common reset
 controller binding usage.
 
 Required properties:
-- compatible: Should be "oxsemi,ox810se-reset"
+- compatible: For OX810SE, should be "oxsemi,ox810se-reset"
+	      For OX820, should be "oxsemi,ox820-reset"
 - #reset-cells: 1, see below
 
 Parent node should have the following properties :
-- compatible: Should be "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd"
+- compatible: For OX810SE, should be :
+			"oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd"
+	      For OX820, should be :
+			"oxsemi,ox820-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
+Reset indices are in dt-bindings include files :
+- For OX810SE: include/dt-bindings/reset/oxsemi,ox810se.h
+- For OX820: include/dt-bindings/reset/oxsemi,ox820.h
 
 example:
 
-- 
2.7.0

[toc] | [prev] | [next] | [standalone]


#1498289 — Re: [RESEND PATCH v2 3/3] dt-bindings: reset: oxnas: Update for OX820

FromRob Herring <robh@kernel.org>
Date2016-10-10 15:10 +0200
SubjectRe: [RESEND PATCH v2 3/3] dt-bindings: reset: oxnas: Update for OX820
Message-ID<sqIv8-1FC-27@gated-at.bofh.it>
In reply to#1495932
On Wed, Oct 05, 2016 at 05:27:10PM +0200, Neil Armstrong wrote:
> Add new compatible string for reset and sys-ctrl for the Oxford
> Semiconductor OX820 Support.
> Drop the OX810SE indices since they moved in a dedicated include file.
> 
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
>  .../devicetree/bindings/reset/oxnas,reset.txt      | 44 +++++-----------------
>  1 file changed, 9 insertions(+), 35 deletions(-)

Acked-by: Rob Herring <robh@kernel.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web