mbox series

[0/8] New boards support: db845c and qcs404-evb

Message ID 20220704125845.1077037-1-sumit.garg@linaro.org
Headers show
Series New boards support: db845c and qcs404-evb | expand

Message

Sumit Garg July 4, 2022, 12:58 p.m. UTC
Add support for two new boards db845c and qcs404-evb:
- db845c is a 96boards compliant platform aka RB3 based on Qualcomm
  SDM845 SoC.
- qcs404-evb is an evaluation board from Qualcomm based on QCS404 SoC.

Both these platforms have one thing in common that u-boot is chain-loaded
in 64-bit mode via Android Boot Loader (ABL) which is an EFI application.

Sumit Garg (8):
  arm64: dts: sdm845: Remove redundant u-boot DT properties
  clocks: sdm845: Import qcom,gcc-sdm845.h
  uart: sdm845: Fix debug UART pinmux
  board: qualcomm: Add support for dragonboard845c
  mmc: msm_sdhci: Add SDCC version 5.0.0 support
  pinctrl: qcom: Add pinctrl driver for QCS404 SoC
  clocks: qcom: Add clock driver for QCS404 SoC
  board: qualcomm: Add support for QCS404 EVB

 arch/arm/dts/Makefile                         |   1 +
 arch/arm/dts/dragonboard845c-uboot.dtsi       |  37 +++
 arch/arm/dts/dragonboard845c.dts              |  44 ++++
 arch/arm/dts/qcs404-evb-uboot.dtsi            |  24 ++
 arch/arm/dts/qcs404-evb.dts                   |  81 ++++++
 arch/arm/dts/sdm845.dtsi                      |   8 +-
 arch/arm/mach-snapdragon/Kconfig              |  25 ++
 arch/arm/mach-snapdragon/Makefile             |   3 +
 arch/arm/mach-snapdragon/clock-qcs404.c       |  30 +++
 arch/arm/mach-snapdragon/clock-sdm845.c       |   3 +-
 arch/arm/mach-snapdragon/clock-snapdragon.c   |   1 +
 .../include/mach/sysmap-qcs404.h              |  13 +
 arch/arm/mach-snapdragon/pinctrl-qcs404.c     |  55 ++++
 arch/arm/mach-snapdragon/pinctrl-snapdragon.c |   1 +
 arch/arm/mach-snapdragon/pinctrl-snapdragon.h |   1 +
 arch/arm/mach-snapdragon/sysmap-qcs404.c      |  31 +++
 board/qualcomm/dragonboard845c/Kconfig        |  12 +
 board/qualcomm/dragonboard845c/MAINTAINERS    |   6 +
 board/qualcomm/dragonboard845c/Makefile       |   9 +
 board/qualcomm/dragonboard845c/db845c.its     |  63 +++++
 .../dragonboard845c/dragonboard845c.c         |   9 +
 board/qualcomm/qcs404-evb/Kconfig             |  15 ++
 board/qualcomm/qcs404-evb/MAINTAINERS         |   6 +
 board/qualcomm/qcs404-evb/Makefile            |   6 +
 board/qualcomm/qcs404-evb/qcs404-evb.c        |  33 +++
 board/qualcomm/qcs404-evb/qcs404-evb.its      |  64 +++++
 configs/dragonboard845c_defconfig             |  28 ++
 configs/qcs404evb_defconfig                   |  39 +++
 doc/board/qualcomm/index.rst                  |   1 +
 doc/board/qualcomm/qcs404.rst                 |  79 ++++++
 doc/board/qualcomm/sdm845.rst                 | 100 ++++++-
 drivers/mmc/msm_sdhci.c                       |  96 ++++---
 include/configs/dragonboard845c.h             |  28 ++
 include/configs/qcs404-evb.h                  |  27 ++
 include/dt-bindings/clock/qcom,gcc-qcs404.h   | 180 +++++++++++++
 include/dt-bindings/clock/qcom,gcc-sdm845.h   | 246 ++++++++++++++++++
 36 files changed, 1354 insertions(+), 51 deletions(-)
 create mode 100644 arch/arm/dts/dragonboard845c-uboot.dtsi
 create mode 100644 arch/arm/dts/dragonboard845c.dts
 create mode 100644 arch/arm/dts/qcs404-evb-uboot.dtsi
 create mode 100644 arch/arm/dts/qcs404-evb.dts
 create mode 100644 arch/arm/mach-snapdragon/clock-qcs404.c
 create mode 100644 arch/arm/mach-snapdragon/include/mach/sysmap-qcs404.h
 create mode 100644 arch/arm/mach-snapdragon/pinctrl-qcs404.c
 create mode 100644 arch/arm/mach-snapdragon/sysmap-qcs404.c
 create mode 100644 board/qualcomm/dragonboard845c/Kconfig
 create mode 100644 board/qualcomm/dragonboard845c/MAINTAINERS
 create mode 100644 board/qualcomm/dragonboard845c/Makefile
 create mode 100644 board/qualcomm/dragonboard845c/db845c.its
 create mode 100644 board/qualcomm/dragonboard845c/dragonboard845c.c
 create mode 100644 board/qualcomm/qcs404-evb/Kconfig
 create mode 100644 board/qualcomm/qcs404-evb/MAINTAINERS
 create mode 100644 board/qualcomm/qcs404-evb/Makefile
 create mode 100644 board/qualcomm/qcs404-evb/qcs404-evb.c
 create mode 100644 board/qualcomm/qcs404-evb/qcs404-evb.its
 create mode 100644 configs/dragonboard845c_defconfig
 create mode 100644 configs/qcs404evb_defconfig
 create mode 100644 doc/board/qualcomm/qcs404.rst
 create mode 100644 include/configs/dragonboard845c.h
 create mode 100644 include/configs/qcs404-evb.h
 create mode 100644 include/dt-bindings/clock/qcom,gcc-qcs404.h
 create mode 100644 include/dt-bindings/clock/qcom,gcc-sdm845.h

Comments

Peter Robinson July 4, 2022, 1:05 p.m. UTC | #1
> Add support for two new boards db845c and qcs404-evb:
> - db845c is a 96boards compliant platform aka RB3 based on Qualcomm
>   SDM845 SoC.
> - qcs404-evb is an evaluation board from Qualcomm based on QCS404 SoC.
>
> Both these platforms have one thing in common that u-boot is chain-loaded
> in 64-bit mode via Android Boot Loader (ABL) which is an EFI application.

Can we have some docs on how that works, how to build it, how to set
it up for chain loading etc.

Peter

> Sumit Garg (8):
>   arm64: dts: sdm845: Remove redundant u-boot DT properties
>   clocks: sdm845: Import qcom,gcc-sdm845.h
>   uart: sdm845: Fix debug UART pinmux
>   board: qualcomm: Add support for dragonboard845c
>   mmc: msm_sdhci: Add SDCC version 5.0.0 support
>   pinctrl: qcom: Add pinctrl driver for QCS404 SoC
>   clocks: qcom: Add clock driver for QCS404 SoC
>   board: qualcomm: Add support for QCS404 EVB
>
>  arch/arm/dts/Makefile                         |   1 +
>  arch/arm/dts/dragonboard845c-uboot.dtsi       |  37 +++
>  arch/arm/dts/dragonboard845c.dts              |  44 ++++
>  arch/arm/dts/qcs404-evb-uboot.dtsi            |  24 ++
>  arch/arm/dts/qcs404-evb.dts                   |  81 ++++++
>  arch/arm/dts/sdm845.dtsi                      |   8 +-
>  arch/arm/mach-snapdragon/Kconfig              |  25 ++
>  arch/arm/mach-snapdragon/Makefile             |   3 +
>  arch/arm/mach-snapdragon/clock-qcs404.c       |  30 +++
>  arch/arm/mach-snapdragon/clock-sdm845.c       |   3 +-
>  arch/arm/mach-snapdragon/clock-snapdragon.c   |   1 +
>  .../include/mach/sysmap-qcs404.h              |  13 +
>  arch/arm/mach-snapdragon/pinctrl-qcs404.c     |  55 ++++
>  arch/arm/mach-snapdragon/pinctrl-snapdragon.c |   1 +
>  arch/arm/mach-snapdragon/pinctrl-snapdragon.h |   1 +
>  arch/arm/mach-snapdragon/sysmap-qcs404.c      |  31 +++
>  board/qualcomm/dragonboard845c/Kconfig        |  12 +
>  board/qualcomm/dragonboard845c/MAINTAINERS    |   6 +
>  board/qualcomm/dragonboard845c/Makefile       |   9 +
>  board/qualcomm/dragonboard845c/db845c.its     |  63 +++++
>  .../dragonboard845c/dragonboard845c.c         |   9 +
>  board/qualcomm/qcs404-evb/Kconfig             |  15 ++
>  board/qualcomm/qcs404-evb/MAINTAINERS         |   6 +
>  board/qualcomm/qcs404-evb/Makefile            |   6 +
>  board/qualcomm/qcs404-evb/qcs404-evb.c        |  33 +++
>  board/qualcomm/qcs404-evb/qcs404-evb.its      |  64 +++++
>  configs/dragonboard845c_defconfig             |  28 ++
>  configs/qcs404evb_defconfig                   |  39 +++
>  doc/board/qualcomm/index.rst                  |   1 +
>  doc/board/qualcomm/qcs404.rst                 |  79 ++++++
>  doc/board/qualcomm/sdm845.rst                 | 100 ++++++-
>  drivers/mmc/msm_sdhci.c                       |  96 ++++---
>  include/configs/dragonboard845c.h             |  28 ++
>  include/configs/qcs404-evb.h                  |  27 ++
>  include/dt-bindings/clock/qcom,gcc-qcs404.h   | 180 +++++++++++++
>  include/dt-bindings/clock/qcom,gcc-sdm845.h   | 246 ++++++++++++++++++
>  36 files changed, 1354 insertions(+), 51 deletions(-)
>  create mode 100644 arch/arm/dts/dragonboard845c-uboot.dtsi
>  create mode 100644 arch/arm/dts/dragonboard845c.dts
>  create mode 100644 arch/arm/dts/qcs404-evb-uboot.dtsi
>  create mode 100644 arch/arm/dts/qcs404-evb.dts
>  create mode 100644 arch/arm/mach-snapdragon/clock-qcs404.c
>  create mode 100644 arch/arm/mach-snapdragon/include/mach/sysmap-qcs404.h
>  create mode 100644 arch/arm/mach-snapdragon/pinctrl-qcs404.c
>  create mode 100644 arch/arm/mach-snapdragon/sysmap-qcs404.c
>  create mode 100644 board/qualcomm/dragonboard845c/Kconfig
>  create mode 100644 board/qualcomm/dragonboard845c/MAINTAINERS
>  create mode 100644 board/qualcomm/dragonboard845c/Makefile
>  create mode 100644 board/qualcomm/dragonboard845c/db845c.its
>  create mode 100644 board/qualcomm/dragonboard845c/dragonboard845c.c
>  create mode 100644 board/qualcomm/qcs404-evb/Kconfig
>  create mode 100644 board/qualcomm/qcs404-evb/MAINTAINERS
>  create mode 100644 board/qualcomm/qcs404-evb/Makefile
>  create mode 100644 board/qualcomm/qcs404-evb/qcs404-evb.c
>  create mode 100644 board/qualcomm/qcs404-evb/qcs404-evb.its
>  create mode 100644 configs/dragonboard845c_defconfig
>  create mode 100644 configs/qcs404evb_defconfig
>  create mode 100644 doc/board/qualcomm/qcs404.rst
>  create mode 100644 include/configs/dragonboard845c.h
>  create mode 100644 include/configs/qcs404-evb.h
>  create mode 100644 include/dt-bindings/clock/qcom,gcc-qcs404.h
>  create mode 100644 include/dt-bindings/clock/qcom,gcc-sdm845.h
>
> --
> 2.25.1
>
Sumit Garg July 4, 2022, 1:09 p.m. UTC | #2
Hi Peter,

On Mon, 4 Jul 2022 at 18:35, Peter Robinson <pbrobinson@gmail.com> wrote:
>
> > Add support for two new boards db845c and qcs404-evb:
> > - db845c is a 96boards compliant platform aka RB3 based on Qualcomm
> >   SDM845 SoC.
> > - qcs404-evb is an evaluation board from Qualcomm based on QCS404 SoC.
> >
> > Both these platforms have one thing in common that u-boot is chain-loaded
> > in 64-bit mode via Android Boot Loader (ABL) which is an EFI application.
>
> Can we have some docs on how that works, how to build it, how to set
> it up for chain loading etc.

Please follow documentation added/updated by this patch-set [1] [2].

[1] doc/board/qualcomm/sdm845.rst
[2] doc/board/qualcomm/qcs404.rst

-Sumit

>
> Peter
>
> > Sumit Garg (8):
> >   arm64: dts: sdm845: Remove redundant u-boot DT properties
> >   clocks: sdm845: Import qcom,gcc-sdm845.h
> >   uart: sdm845: Fix debug UART pinmux
> >   board: qualcomm: Add support for dragonboard845c
> >   mmc: msm_sdhci: Add SDCC version 5.0.0 support
> >   pinctrl: qcom: Add pinctrl driver for QCS404 SoC
> >   clocks: qcom: Add clock driver for QCS404 SoC
> >   board: qualcomm: Add support for QCS404 EVB
> >
> >  arch/arm/dts/Makefile                         |   1 +
> >  arch/arm/dts/dragonboard845c-uboot.dtsi       |  37 +++
> >  arch/arm/dts/dragonboard845c.dts              |  44 ++++
> >  arch/arm/dts/qcs404-evb-uboot.dtsi            |  24 ++
> >  arch/arm/dts/qcs404-evb.dts                   |  81 ++++++
> >  arch/arm/dts/sdm845.dtsi                      |   8 +-
> >  arch/arm/mach-snapdragon/Kconfig              |  25 ++
> >  arch/arm/mach-snapdragon/Makefile             |   3 +
> >  arch/arm/mach-snapdragon/clock-qcs404.c       |  30 +++
> >  arch/arm/mach-snapdragon/clock-sdm845.c       |   3 +-
> >  arch/arm/mach-snapdragon/clock-snapdragon.c   |   1 +
> >  .../include/mach/sysmap-qcs404.h              |  13 +
> >  arch/arm/mach-snapdragon/pinctrl-qcs404.c     |  55 ++++
> >  arch/arm/mach-snapdragon/pinctrl-snapdragon.c |   1 +
> >  arch/arm/mach-snapdragon/pinctrl-snapdragon.h |   1 +
> >  arch/arm/mach-snapdragon/sysmap-qcs404.c      |  31 +++
> >  board/qualcomm/dragonboard845c/Kconfig        |  12 +
> >  board/qualcomm/dragonboard845c/MAINTAINERS    |   6 +
> >  board/qualcomm/dragonboard845c/Makefile       |   9 +
> >  board/qualcomm/dragonboard845c/db845c.its     |  63 +++++
> >  .../dragonboard845c/dragonboard845c.c         |   9 +
> >  board/qualcomm/qcs404-evb/Kconfig             |  15 ++
> >  board/qualcomm/qcs404-evb/MAINTAINERS         |   6 +
> >  board/qualcomm/qcs404-evb/Makefile            |   6 +
> >  board/qualcomm/qcs404-evb/qcs404-evb.c        |  33 +++
> >  board/qualcomm/qcs404-evb/qcs404-evb.its      |  64 +++++
> >  configs/dragonboard845c_defconfig             |  28 ++
> >  configs/qcs404evb_defconfig                   |  39 +++
> >  doc/board/qualcomm/index.rst                  |   1 +
> >  doc/board/qualcomm/qcs404.rst                 |  79 ++++++
> >  doc/board/qualcomm/sdm845.rst                 | 100 ++++++-
> >  drivers/mmc/msm_sdhci.c                       |  96 ++++---
> >  include/configs/dragonboard845c.h             |  28 ++
> >  include/configs/qcs404-evb.h                  |  27 ++
> >  include/dt-bindings/clock/qcom,gcc-qcs404.h   | 180 +++++++++++++
> >  include/dt-bindings/clock/qcom,gcc-sdm845.h   | 246 ++++++++++++++++++
> >  36 files changed, 1354 insertions(+), 51 deletions(-)
> >  create mode 100644 arch/arm/dts/dragonboard845c-uboot.dtsi
> >  create mode 100644 arch/arm/dts/dragonboard845c.dts
> >  create mode 100644 arch/arm/dts/qcs404-evb-uboot.dtsi
> >  create mode 100644 arch/arm/dts/qcs404-evb.dts
> >  create mode 100644 arch/arm/mach-snapdragon/clock-qcs404.c
> >  create mode 100644 arch/arm/mach-snapdragon/include/mach/sysmap-qcs404.h
> >  create mode 100644 arch/arm/mach-snapdragon/pinctrl-qcs404.c
> >  create mode 100644 arch/arm/mach-snapdragon/sysmap-qcs404.c
> >  create mode 100644 board/qualcomm/dragonboard845c/Kconfig
> >  create mode 100644 board/qualcomm/dragonboard845c/MAINTAINERS
> >  create mode 100644 board/qualcomm/dragonboard845c/Makefile
> >  create mode 100644 board/qualcomm/dragonboard845c/db845c.its
> >  create mode 100644 board/qualcomm/dragonboard845c/dragonboard845c.c
> >  create mode 100644 board/qualcomm/qcs404-evb/Kconfig
> >  create mode 100644 board/qualcomm/qcs404-evb/MAINTAINERS
> >  create mode 100644 board/qualcomm/qcs404-evb/Makefile
> >  create mode 100644 board/qualcomm/qcs404-evb/qcs404-evb.c
> >  create mode 100644 board/qualcomm/qcs404-evb/qcs404-evb.its
> >  create mode 100644 configs/dragonboard845c_defconfig
> >  create mode 100644 configs/qcs404evb_defconfig
> >  create mode 100644 doc/board/qualcomm/qcs404.rst
> >  create mode 100644 include/configs/dragonboard845c.h
> >  create mode 100644 include/configs/qcs404-evb.h
> >  create mode 100644 include/dt-bindings/clock/qcom,gcc-qcs404.h
> >  create mode 100644 include/dt-bindings/clock/qcom,gcc-sdm845.h
> >
> > --
> > 2.25.1
> >