linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RESEND][PATCH 6/6] arm64: Add DTS support for FSL's LS2088A SoC
       [not found] ` <1478597664-14799-7-git-send-email-abhimanyu.saini@nxp.com>
@ 2016-11-14  6:33   ` Shawn Guo
  2016-11-17 12:31     ` Abhimanyu Saini
  0 siblings, 1 reply; 7+ messages in thread
From: Shawn Guo @ 2016-11-14  6:33 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Nov 08, 2016 at 03:04:24PM +0530, Abhimanyu Saini wrote:
> This patch adds the device tree support for FSL LS2088A SoC based on
> ARMv8 architecture.
> 
> Following levels of DTSI/DTS files have been created for the LS2088A
> SoC family:
> 
>      - fsl-ls2088a.dtsi:
>             DTS-Include file for FSL LS2088A SoC.
> 
>      - fsl-ls2088a-qds.dts:
>             DTS file for FSL LS2088A QDS board.
> 
>      - fsl-ls2088a-rdb.dts:
>             DTS file for FSL LS2088A RDB board.

I compared the following files.

 fsl-ls2088a.dtsi vs. fsl-ls2080a.dtsi
 fsl-ls2088a-qds.dtsi vs. fsl-ls2080a-qds.dtsi
 fsl-ls2088a-rdb.dtsi vs. fsl-ls2080a-rdb.dtsi

They are basically identical except a couple of small changes.  Can we
do something to have these SoCs share the dts files at some level to
avoid maintaining duplicated files?

Shawn 

> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
> Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com>
> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/Makefile            |   2 +
>  arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts | 211 +++++++
>  arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts | 166 +++++
>  arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi    | 703 ++++++++++++++++++++++
>  4 files changed, 1082 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts
>  create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts
>  create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi

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

* [RESEND][PATCH 1/6] dt-bindings: arm: Update bindings for LS2088A targets
       [not found] ` <1478597664-14799-2-git-send-email-abhimanyu.saini@nxp.com>
@ 2016-11-14 17:11   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2016-11-14 17:11 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Nov 08, 2016 at 03:04:19PM +0530, Abhimanyu Saini wrote:
> Add compatible strings for LS2088A RDB and QDS board.
> 
> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
> Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com>
> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
> ---
>  Documentation/devicetree/bindings/arm/fsl.txt | 7 +++++++
>  1 file changed, 7 insertions(+)

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

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

* [RESEND][PATCH 2/6] dt-bindings: pci: Update bindings for LS2088A
       [not found] ` <1478597664-14799-3-git-send-email-abhimanyu.saini@nxp.com>
@ 2016-11-14 17:12   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2016-11-14 17:12 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Nov 08, 2016 at 03:04:20PM +0530, Abhimanyu Saini wrote:
> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
> Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com>
> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
> ---
>  Documentation/devicetree/bindings/pci/layerscape-pci.txt | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

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

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

* [RESEND][PATCH 3/6] dt-bindings: mtd: fsl-quadspi: Update qspi bindings for LS2088A
       [not found] ` <1478597664-14799-4-git-send-email-abhimanyu.saini@nxp.com>
@ 2016-11-14 17:13   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2016-11-14 17:13 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Nov 08, 2016 at 03:04:21PM +0530, Abhimanyu Saini wrote:
> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
> Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com>
> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
> ---
>  Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

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

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

* [RESEND][PATCH 4/6] dt-bindings: spi: Update dspi bindings for LS2088A
       [not found] ` <1478597664-14799-5-git-send-email-abhimanyu.saini@nxp.com>
@ 2016-11-14 17:13   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2016-11-14 17:13 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Nov 08, 2016 at 03:04:22PM +0530, Abhimanyu Saini wrote:
> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
> Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com>
> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
> ---
>  Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

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

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

* [RESEND][PATCH 5/6] dt-bindings: gpio: Update gpio bindings for LS2088A
       [not found] ` <1478597664-14799-6-git-send-email-abhimanyu.saini@nxp.com>
@ 2016-11-14 17:14   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2016-11-14 17:14 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Nov 08, 2016 at 03:04:23PM +0530, Abhimanyu Saini wrote:
> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
> Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com>
> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
> ---
>  Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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

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

* [RESEND][PATCH 6/6] arm64: Add DTS support for FSL's LS2088A SoC
  2016-11-14  6:33   ` [RESEND][PATCH 6/6] arm64: Add DTS support for FSL's LS2088A SoC Shawn Guo
@ 2016-11-17 12:31     ` Abhimanyu Saini
  0 siblings, 0 replies; 7+ messages in thread
From: Abhimanyu Saini @ 2016-11-17 12:31 UTC (permalink / raw)
  To: linux-arm-kernel

> > Following levels of DTSI/DTS files have been created for the LS2088A
> > SoC family:
> >
> >      - fsl-ls2088a.dtsi:
> >             DTS-Include file for FSL LS2088A SoC.
> >
> >      - fsl-ls2088a-qds.dts:
> >             DTS file for FSL LS2088A QDS board.
> >
> >      - fsl-ls2088a-rdb.dts:
> >             DTS file for FSL LS2088A RDB board.
> 
> I compared the following files.
> 
>  fsl-ls2088a.dtsi vs. fsl-ls2080a.dtsi
>  fsl-ls2088a-qds.dtsi vs. fsl-ls2080a-qds.dtsi  fsl-ls2088a-rdb.dtsi vs.
> fsl-ls2080a-rdb.dtsi
> 
> They are basically identical except a couple of small changes.  Can we do
> something to have these SoCs share the dts files at some level to avoid
> maintaining duplicated files?

Hi Shawn,

Yes, we could reorganize DTSI and DTS file.
I can create fsl-ls2080a-ls2088a.dtsi and move all the common nodes to this file,

Then fsl-ls2080a.dtsi and fsl-ls2088a.dtsi which will include
the common file and add ls2080a and ls2088a specific nodes respectively.

Same hierarchy can be created for fsl-ls2080a-qds.dts, fsl-ls2080a-rdb,
fsl-ls2088a-qds.dts and fsl-ls2088a-rdb, wherein the common nodes will lie in
fsl-ls2080a-ls2088a-qds.dts and fsl-ls2080a-ls2088a-rdb.dts

What do you think?

Abhimanyu

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

end of thread, other threads:[~2016-11-17 12:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1478597664-14799-1-git-send-email-abhimanyu.saini@nxp.com>
     [not found] ` <1478597664-14799-7-git-send-email-abhimanyu.saini@nxp.com>
2016-11-14  6:33   ` [RESEND][PATCH 6/6] arm64: Add DTS support for FSL's LS2088A SoC Shawn Guo
2016-11-17 12:31     ` Abhimanyu Saini
     [not found] ` <1478597664-14799-2-git-send-email-abhimanyu.saini@nxp.com>
2016-11-14 17:11   ` [RESEND][PATCH 1/6] dt-bindings: arm: Update bindings for LS2088A targets Rob Herring
     [not found] ` <1478597664-14799-3-git-send-email-abhimanyu.saini@nxp.com>
2016-11-14 17:12   ` [RESEND][PATCH 2/6] dt-bindings: pci: Update bindings for LS2088A Rob Herring
     [not found] ` <1478597664-14799-4-git-send-email-abhimanyu.saini@nxp.com>
2016-11-14 17:13   ` [RESEND][PATCH 3/6] dt-bindings: mtd: fsl-quadspi: Update qspi " Rob Herring
     [not found] ` <1478597664-14799-5-git-send-email-abhimanyu.saini@nxp.com>
2016-11-14 17:13   ` [RESEND][PATCH 4/6] dt-bindings: spi: Update dspi " Rob Herring
     [not found] ` <1478597664-14799-6-git-send-email-abhimanyu.saini@nxp.com>
2016-11-14 17:14   ` [RESEND][PATCH 5/6] dt-bindings: gpio: Update gpio " Rob Herring

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