mbox series

[00/14] arm64: dts: imx8: architecture improvement and adding imx8qm support

Message ID 1550773093-13349-1-git-send-email-aisheng.dong@nxp.com (mailing list archive)
Headers show
Series arm64: dts: imx8: architecture improvement and adding imx8qm support | expand

Message

Aisheng Dong Feb. 21, 2019, 6:24 p.m. UTC
IMX SCU based platforms (e.g. MX8QM/MX8QXP) are comprised of a number of SS
(Subsystems), those SS may be shared between different SoCs while most of them
can be reused like Devices Resources, Clocks, Power domains and etc.

This patch series aims to improve the MX8 architecture to comply with the HW
design to save a lot of duplicated codes and benefits us a better
maintainability and scalability in the future.

This whole architecture improvements still needs other two patch series
which are under review:
1. [0/3] firmware: imx: scu-pd: generalize the implementation
https://patchwork.kernel.org/cover/10822221/

2. [0/4] clk: imx: scu: add parsing clocks from device tree support
https://patchwork.kernel.org/cover/10824443/

This DT patch series depends on the 2.

NOTE: for the missing undocumented compatible strings for the new SoC IMX8QM
in this patch series. It will be sent in another patch series later.

Dong Aisheng (14):
  arm64: dts: imx8qxp: orginize dts in subsystems
  arm64: dts: imx8: add lsio scu clocks
  arm64: dts: imx8: add conn scu clocks
  arm64: dts: imx8: add adma scu clocks
  arm64: dts: imx8: add lsio lpcg clocks
  arm64: dts: imx8: add conn lpcg clocks
  arm64: dts: imx8: add adma lpcg clocks
  arm64: dts: imx8: switch to new clock binding
  arm64: dts: imx8qm: add lsio ss support
  arm64: dts: imx8qm: add conn ss support
  arm64: dts: imx8: split adma ss into dma and audio ss
  arm64: dts: imx8qm: add dma ss support
  arm64: dts: imx: add imx8qm common dts file
  arm64: dts: imx: add imx8qm mek support

 arch/arm64/boot/dts/freescale/Makefile             |   1 +
 arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi    |   7 +
 arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi    | 274 ++++++++++++++++
 arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi     | 279 ++++++++++++++++
 arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi    | 351 +++++++++++++++++++++
 arch/arm64/boot/dts/freescale/imx8qm-mek.dts       | 144 +++++++++
 arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi  |  93 ++++++
 arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi   | 171 ++++++++++
 arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi  | 145 +++++++++
 arch/arm64/boot/dts/freescale/imx8qm.dtsi          | 173 ++++++++++
 arch/arm64/boot/dts/freescale/imx8qxp-mek.dts      |   4 +-
 arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi | 129 ++++++++
 arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi |  89 ++++++
 arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi | 145 +++++++++
 arch/arm64/boot/dts/freescale/imx8qxp.dtsi         | 320 +------------------
 15 files changed, 2011 insertions(+), 314 deletions(-)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-mek.dts
 create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8qm.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi

Comments

Aisheng Dong March 26, 2019, 1:16 p.m. UTC | #1
Gently ping...

As this blocks all other imx8qm upstreaming work, hopefully this can be reviewed
at an earlier time.

Thanks a lot in advance.

Regards
Dong Aisheng

> From: Aisheng Dong
> Sent: Friday, February 22, 2019 2:25 AM
> 
> IMX SCU based platforms (e.g. MX8QM/MX8QXP) are comprised of a number
> of SS (Subsystems), those SS may be shared between different SoCs while most
> of them can be reused like Devices Resources, Clocks, Power domains and etc.
> 
> This patch series aims to improve the MX8 architecture to comply with the HW
> design to save a lot of duplicated codes and benefits us a better
> maintainability and scalability in the future.
> 
> This whole architecture improvements still needs other two patch series which
> are under review:
> 1. [0/3] firmware: imx: scu-pd: generalize the implementation
> https://patchwork.kernel.org/cover/10822221/
> 
> 2. [0/4] clk: imx: scu: add parsing clocks from device tree support
> https://patchwork.kernel.org/cover/10824443/
> 
> This DT patch series depends on the 2.
> 
> NOTE: for the missing undocumented compatible strings for the new SoC
> IMX8QM in this patch series. It will be sent in another patch series later.
> 
> Dong Aisheng (14):
>   arm64: dts: imx8qxp: orginize dts in subsystems
>   arm64: dts: imx8: add lsio scu clocks
>   arm64: dts: imx8: add conn scu clocks
>   arm64: dts: imx8: add adma scu clocks
>   arm64: dts: imx8: add lsio lpcg clocks
>   arm64: dts: imx8: add conn lpcg clocks
>   arm64: dts: imx8: add adma lpcg clocks
>   arm64: dts: imx8: switch to new clock binding
>   arm64: dts: imx8qm: add lsio ss support
>   arm64: dts: imx8qm: add conn ss support
>   arm64: dts: imx8: split adma ss into dma and audio ss
>   arm64: dts: imx8qm: add dma ss support
>   arm64: dts: imx: add imx8qm common dts file
>   arm64: dts: imx: add imx8qm mek support
> 
>  arch/arm64/boot/dts/freescale/Makefile             |   1 +
>  arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi    |   7 +
>  arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi    | 274
> ++++++++++++++++
>  arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi     | 279
> ++++++++++++++++
>  arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi    | 351
> +++++++++++++++++++++
>  arch/arm64/boot/dts/freescale/imx8qm-mek.dts       | 144 +++++++++
>  arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi  |  93 ++++++
>  arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi   | 171 ++++++++++
>  arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi  | 145 +++++++++
>  arch/arm64/boot/dts/freescale/imx8qm.dtsi          | 173 ++++++++++
>  arch/arm64/boot/dts/freescale/imx8qxp-mek.dts      |   4 +-
>  arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi | 129 ++++++++
> arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi |  89 ++++++
> arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi | 145 +++++++++
>  arch/arm64/boot/dts/freescale/imx8qxp.dtsi         | 320 +------------------
>  15 files changed, 2011 insertions(+), 314 deletions(-)  create mode 100644
> arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-mek.dts
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8qm.dtsi
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi
>  create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi
> 
> --
> 2.7.4
Shawn Guo April 2, 2019, 4:28 a.m. UTC | #2
On Tue, Mar 26, 2019 at 01:16:04PM +0000, Aisheng Dong wrote:
> Gently ping...
> 
> As this blocks all other imx8qm upstreaming work, hopefully this can be reviewed
> at an earlier time.

For the record, I'm fine with the change in general.  But we really need
to get Stephen acknowledge the clock driver counterpart first.

Shawn

> 
> Thanks a lot in advance.
> 
> Regards
> Dong Aisheng
> 
> > From: Aisheng Dong
> > Sent: Friday, February 22, 2019 2:25 AM
> > 
> > IMX SCU based platforms (e.g. MX8QM/MX8QXP) are comprised of a number
> > of SS (Subsystems), those SS may be shared between different SoCs while most
> > of them can be reused like Devices Resources, Clocks, Power domains and etc.
> > 
> > This patch series aims to improve the MX8 architecture to comply with the HW
> > design to save a lot of duplicated codes and benefits us a better
> > maintainability and scalability in the future.
> > 
> > This whole architecture improvements still needs other two patch series which
> > are under review:
> > 1. [0/3] firmware: imx: scu-pd: generalize the implementation
> > https://patchwork.kernel.org/cover/10822221/
> > 
> > 2. [0/4] clk: imx: scu: add parsing clocks from device tree support
> > https://patchwork.kernel.org/cover/10824443/
> > 
> > This DT patch series depends on the 2.
> > 
> > NOTE: for the missing undocumented compatible strings for the new SoC
> > IMX8QM in this patch series. It will be sent in another patch series later.
> > 
> > Dong Aisheng (14):
> >   arm64: dts: imx8qxp: orginize dts in subsystems
> >   arm64: dts: imx8: add lsio scu clocks
> >   arm64: dts: imx8: add conn scu clocks
> >   arm64: dts: imx8: add adma scu clocks
> >   arm64: dts: imx8: add lsio lpcg clocks
> >   arm64: dts: imx8: add conn lpcg clocks
> >   arm64: dts: imx8: add adma lpcg clocks
> >   arm64: dts: imx8: switch to new clock binding
> >   arm64: dts: imx8qm: add lsio ss support
> >   arm64: dts: imx8qm: add conn ss support
> >   arm64: dts: imx8: split adma ss into dma and audio ss
> >   arm64: dts: imx8qm: add dma ss support
> >   arm64: dts: imx: add imx8qm common dts file
> >   arm64: dts: imx: add imx8qm mek support
> > 
> >  arch/arm64/boot/dts/freescale/Makefile             |   1 +
> >  arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi    |   7 +
> >  arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi    | 274
> > ++++++++++++++++
> >  arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi     | 279
> > ++++++++++++++++
> >  arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi    | 351
> > +++++++++++++++++++++
> >  arch/arm64/boot/dts/freescale/imx8qm-mek.dts       | 144 +++++++++
> >  arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi  |  93 ++++++
> >  arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi   | 171 ++++++++++
> >  arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi  | 145 +++++++++
> >  arch/arm64/boot/dts/freescale/imx8qm.dtsi          | 173 ++++++++++
> >  arch/arm64/boot/dts/freescale/imx8qxp-mek.dts      |   4 +-
> >  arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi | 129 ++++++++
> > arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi |  89 ++++++
> > arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi | 145 +++++++++
> >  arch/arm64/boot/dts/freescale/imx8qxp.dtsi         | 320 +------------------
> >  15 files changed, 2011 insertions(+), 314 deletions(-)  create mode 100644
> > arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi
> >  create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi
> >  create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> >  create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi
> >  create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-mek.dts
> >  create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
> >  create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> >  create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi
> >  create mode 100644 arch/arm64/boot/dts/freescale/imx8qm.dtsi
> >  create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi
> >  create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi
> >  create mode 100644 arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi
> > 
> > --
> > 2.7.4
>
Aisheng Dong April 2, 2019, 2:42 p.m. UTC | #3
> From: Shawn Guo [mailto:shawnguo@kernel.org]
> Sent: Tuesday, April 2, 2019 12:28 PM
> 
> On Tue, Mar 26, 2019 at 01:16:04PM +0000, Aisheng Dong wrote:
> > Gently ping...
> >
> > As this blocks all other imx8qm upstreaming work, hopefully this can
> > be reviewed at an earlier time.
> 
> For the record, I'm fine with the change in general.  But we really need to get
> Stephen acknowledge the clock driver counterpart first.
> 

Thanks Shawn.
Your positive feedback is important to us.

I will ping Stephen for his suggestions.

Regards
Dong Aisheng

> Shawn
> 
> >
> > Thanks a lot in advance.
> >
> > Regards
> > Dong Aisheng
> >
> > > From: Aisheng Dong
> > > Sent: Friday, February 22, 2019 2:25 AM
> > >
> > > IMX SCU based platforms (e.g. MX8QM/MX8QXP) are comprised of a
> > > number of SS (Subsystems), those SS may be shared between different
> > > SoCs while most of them can be reused like Devices Resources, Clocks,
> Power domains and etc.
> > >
> > > This patch series aims to improve the MX8 architecture to comply
> > > with the HW design to save a lot of duplicated codes and benefits us
> > > a better maintainability and scalability in the future.
> > >
> > > This whole architecture improvements still needs other two patch
> > > series which are under review:
> > > 1. [0/3] firmware: imx: scu-pd: generalize the implementation
> > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpa
> > >
> tchwork.kernel.org%2Fcover%2F10822221%2F&data=02%7C01%7Caishe
> ng.
> > >
> dong%40nxp.com%7C4950cc3137b1485976f408d6b723aa82%7C686ea1d3b
> c2b4c6f
> > >
> a92cd99c5c301635%7C0%7C0%7C636897761163285269&sdata=J4Q3X
> efYjeoN
> > > kcIWPGWQOH7Sq%2F2ZhxwUU9JKapMVg5k%3D&reserved=0
> > >
> > > 2. [0/4] clk: imx: scu: add parsing clocks from device tree support
> > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpa
> > >
> tchwork.kernel.org%2Fcover%2F10824443%2F&data=02%7C01%7Caishe
> ng.
> > >
> dong%40nxp.com%7C4950cc3137b1485976f408d6b723aa82%7C686ea1d3b
> c2b4c6f
> > >
> a92cd99c5c301635%7C0%7C0%7C636897761163285269&sdata=TKFNk
> MHyivjy
> > > 9yqMDFMb3ePF%2FzPZAqTeSLmXD4SudMk%3D&reserved=0
> > >
> > > This DT patch series depends on the 2.
> > >
> > > NOTE: for the missing undocumented compatible strings for the new
> > > SoC IMX8QM in this patch series. It will be sent in another patch series
> later.
> > >
> > > Dong Aisheng (14):
> > >   arm64: dts: imx8qxp: orginize dts in subsystems
> > >   arm64: dts: imx8: add lsio scu clocks
> > >   arm64: dts: imx8: add conn scu clocks
> > >   arm64: dts: imx8: add adma scu clocks
> > >   arm64: dts: imx8: add lsio lpcg clocks
> > >   arm64: dts: imx8: add conn lpcg clocks
> > >   arm64: dts: imx8: add adma lpcg clocks
> > >   arm64: dts: imx8: switch to new clock binding
> > >   arm64: dts: imx8qm: add lsio ss support
> > >   arm64: dts: imx8qm: add conn ss support
> > >   arm64: dts: imx8: split adma ss into dma and audio ss
> > >   arm64: dts: imx8qm: add dma ss support
> > >   arm64: dts: imx: add imx8qm common dts file
> > >   arm64: dts: imx: add imx8qm mek support
> > >
> > >  arch/arm64/boot/dts/freescale/Makefile             |   1 +
> > >  arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi    |   7 +
> > >  arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi    | 274
> > > ++++++++++++++++
> > >  arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi     | 279
> > > ++++++++++++++++
> > >  arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi    | 351
> > > +++++++++++++++++++++
> > >  arch/arm64/boot/dts/freescale/imx8qm-mek.dts       | 144
> +++++++++
> > >  arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi  |  93 ++++++
> > >  arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi   | 171
> ++++++++++
> > >  arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi  | 145 +++++++++
> > >  arch/arm64/boot/dts/freescale/imx8qm.dtsi          | 173
> ++++++++++
> > >  arch/arm64/boot/dts/freescale/imx8qxp-mek.dts      |   4 +-
> > >  arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi | 129 ++++++++
> > > arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi |  89 ++++++
> > > arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi | 145 +++++++++
> > >  arch/arm64/boot/dts/freescale/imx8qxp.dtsi         | 320
> +------------------
> > >  15 files changed, 2011 insertions(+), 314 deletions(-)  create mode
> > > 100644 arch/arm64/boot/dts/freescale/imx8-ss-adma.dtsi
> > >  create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi
> > >  create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
> > >  create mode 100644 arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi
> > >  create mode 100644 arch/arm64/boot/dts/freescale/imx8qm-mek.dts
> > >  create mode 100644
> > > arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
> > >  create mode 100644
> arch/arm64/boot/dts/freescale/imx8qm-ss-dma.dtsi
> > >  create mode 100644
> > > arch/arm64/boot/dts/freescale/imx8qm-ss-lsio.dtsi
> > >  create mode 100644 arch/arm64/boot/dts/freescale/imx8qm.dtsi
> > >  create mode 100644
> > > arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi
> > >  create mode 100644
> > > arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi
> > >  create mode 100644
> > > arch/arm64/boot/dts/freescale/imx8qxp-ss-lsio.dtsi
> > >
> > > --
> > > 2.7.4
> >