Re: [PATCH 2/3][v2] arm64: freescale: ls2080a: Split devicetree for code resuability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, Nov 28, 2016 at 03:07:03PM +0530, Abhimanyu Saini wrote:
> LS2088A and LS2080A are similar SoCs with a few differences like
> ARM cores etc.
> 
> Reorganize the LS2080A device tree to move the common nodes to:
> 	- fsl-ls2080a-ls2088a.dtsi
> 	- fsl-ls2080a-ls2088a-rdb.dts
> 	- fsl-ls2080a-ls2088a-qds.dts

I do not quite like the naming of these files.  Will the following one
be better?

 - fsl-ls208xa.dtsi
 - fsl-ls208xa-rdb.dtsi
 - fsl-ls208xa-qds.dtsi

Also if a DTS file is only to be included by another one, not to
generate a DTB, we name it .dtsi rather than .dts.

Shawn

> 
> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@xxxxxxx>
> Signed-off-by: Priyanka Jain <priyanka.jain@xxxxxxx>
> Signed-off-by: Ashish Kumar <ashish.kumar@xxxxxxx>
> ---
>  .../boot/dts/freescale/fsl-ls2080a-ls2088a-qds.dts | 196 ++++++
>  .../boot/dts/freescale/fsl-ls2080a-ls2088a-rdb.dts | 152 +++++
>  .../boot/dts/freescale/fsl-ls2080a-ls2088a.dtsi    | 727 +++++++++++++++++++++
>  arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts  | 154 +----
>  arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts  | 110 +---
>  arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi     | 706 +-------------------
>  6 files changed, 1100 insertions(+), 945 deletions(-)
>  create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2080a-ls2088a-qds.dts
>  create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2080a-ls2088a-rdb.dts
>  create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2080a-ls2088a.dtsi
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux