Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1479996 > unrolled thread
| Started by | Neil Armstrong <narmstrong@baylibre.com> |
|---|---|
| First post | 2016-09-09 15:30 +0200 |
| Last post | 2016-09-19 23:20 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 3/3] dt-bindings: reset: oxnas: Update for OX820 Neil Armstrong <narmstrong@baylibre.com> - 2016-09-09 15:30 +0200
Re: [PATCH 3/3] dt-bindings: reset: oxnas: Update for OX820 Philipp Zabel <p.zabel@pengutronix.de> - 2016-09-09 15:40 +0200
Re: [PATCH 3/3] dt-bindings: reset: oxnas: Update for OX820 Neil Armstrong <narmstrong@baylibre.com> - 2016-09-09 15:50 +0200
Re: [PATCH 3/3] dt-bindings: reset: oxnas: Update for OX820 Rob Herring <robh@kernel.org> - 2016-09-19 23:20 +0200
| From | Neil Armstrong <narmstrong@baylibre.com> |
|---|---|
| Date | 2016-09-09 15:30 +0200 |
| Subject | [PATCH 3/3] dt-bindings: reset: oxnas: Update for OX820 |
| Message-ID | <sfu2u-3kj-25@gated-at.bofh.it> |
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 | 39 ++-------------------- 1 file changed, 3 insertions(+), 36 deletions(-) diff --git a/Documentation/devicetree/bindings/reset/oxnas,reset.txt b/Documentation/devicetree/bindings/reset/oxnas,reset.txt index 6f06db9..df0488e 100644 --- a/Documentation/devicetree/bindings/reset/oxnas,reset.txt +++ b/Documentation/devicetree/bindings/reset/oxnas,reset.txt @@ -5,45 +5,12 @@ Please also refer to reset.txt in this directory for common reset controller binding usage. Required properties: -- compatible: Should be "oxsemi,ox810se-reset" +- compatible: Should be "oxsemi,ox810se-reset" or "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" - -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 +- compatible: Should be "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd" or + "oxsemi,ox820-sys-ctrl", "syscon", "simple-mfd" example: -- 2.7.0
[toc] | [next] | [standalone]
| From | Philipp Zabel <p.zabel@pengutronix.de> |
|---|---|
| Date | 2016-09-09 15:40 +0200 |
| Message-ID | <sfuca-3nP-29@gated-at.bofh.it> |
| In reply to | #1479996 |
Hi Neil,
Am Freitag, den 09.09.2016, 15:19 +0200 schrieb Neil Armstrong:
> 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.
Not sure if the OX820 reset controller should be considered "compatible"
to OX810SE. The register layout and usage is the same, but the reset
indices are different. Does this warrant a new compatible string, or
should this be
compatible = "oxsemi,ox820-reset", "oxsemi,ox810se-reset"?
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
> .../devicetree/bindings/reset/oxnas,reset.txt | 39 ++--------------------
> 1 file changed, 3 insertions(+), 36 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/reset/oxnas,reset.txt b/Documentation/devicetree/bindings/reset/oxnas,reset.txt
> index 6f06db9..df0488e 100644
> --- a/Documentation/devicetree/bindings/reset/oxnas,reset.txt
> +++ b/Documentation/devicetree/bindings/reset/oxnas,reset.txt
> @@ -5,45 +5,12 @@ Please also refer to reset.txt in this directory for common reset
> controller binding usage.
>
> Required properties:
> -- compatible: Should be "oxsemi,ox810se-reset"
> +- compatible: Should be "oxsemi,ox810se-reset" or "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"
> -
> -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
> +- compatible: Should be "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd" or
> + "oxsemi,ox820-sys-ctrl", "syscon", "simple-mfd"
Please add a pointer to include/dt-bindings/reset/oxsemi,ox8{10se,20}.h
Otherwise I'm fine with the series, pending DT maintainer approval.
regards
Philipp
[toc] | [prev] | [next] | [standalone]
| From | Neil Armstrong <narmstrong@baylibre.com> |
|---|---|
| Date | 2016-09-09 15:50 +0200 |
| Message-ID | <sfulQ-3ra-37@gated-at.bofh.it> |
| In reply to | #1480002 |
Hi Philipp,
On 09/09/2016 03:35 PM, Philipp Zabel wrote:
> Hi Neil,
>
> Am Freitag, den 09.09.2016, 15:19 +0200 schrieb Neil Armstrong:
>> 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.
>
> Not sure if the OX820 reset controller should be considered "compatible"
> to OX810SE. The register layout and usage is the same, but the reset
> indices are different. Does this warrant a new compatible string, or
> should this be
> compatible = "oxsemi,ox820-reset", "oxsemi,ox810se-reset"?
As indicated on the cover letter, I'll like to have each supported SoC
as a specific compatible, to ease maintaining the drivers and
clarify what HW is supported.
Having an include file per SoC is also part of the process.
>
[...]
>
> Please add a pointer to include/dt-bindings/reset/oxsemi,ox8{10se,20}.h
OK, will do in v2.
>
> Otherwise I'm fine with the series, pending DT maintainer approval.
>
> regards
> Philipp
>
Thanks,
Neil
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2016-09-19 23:20 +0200 |
| Message-ID | <sje8O-2jK-9@gated-at.bofh.it> |
| In reply to | #1480002 |
On Fri, Sep 09, 2016 at 03:35:53PM +0200, Philipp Zabel wrote: > Hi Neil, > > Am Freitag, den 09.09.2016, 15:19 +0200 schrieb Neil Armstrong: > > 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. > > Not sure if the OX820 reset controller should be considered "compatible" > to OX810SE. The register layout and usage is the same, but the reset > indices are different. Does this warrant a new compatible string, or > should this be > compatible = "oxsemi,ox820-reset", "oxsemi,ox810se-reset"? Correct. Different connections are fine since the connections are described in the DT. However you could have some connections not described, so a new compatible may still be needed for that purpose (in addition to other reasons you do a new compatible for new SoCs). Rob
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web