mbox series

[U-Boot,RFC,0/8] Actions S700 SoC support

Message ID 1546521983-19385-1-git-send-email-amittomer25@gmail.com
Headers show
Series Actions S700 SoC support | expand

Message

Amit Tomer Jan. 3, 2019, 1:26 p.m. UTC
Hello,
	
This patch-set adds Cubieboard7[1] support based on Action Semi's S700 SoC[2], It's Quad-core ARMv8 SoC 
with Cortex-A53 cores.Most of peripherals seems to be compatible with S900 SoC(basic support for it
is alreay present in u-boot).

First few patches consolidates Actions Semiconductor SoCs support in u-boot((mostly insprired by SUXNI
as suggested by Andre).Idea is to move every bit out from board/ucRobotics into arch/arm/mach-owl. It 
allows different SoCs to be driven by single "soc and Kconfig" file. It also includes common clock driver 
for S700 and S900.Rest of patches enables S700 SoC support alongwith Cubieboard7 board.

S700 support is tested[3] on Cubieboard7 board and S900 support is just compiled tested.It would
be great, if someone who has S900 based board can test S900 support.

Thanks,
-Amit

[1]: http://www.cubietech.com/product-detail/cubieboard7/
[2]: http://www.actions-semi.com/en/productview.aspx?id=225
[3]: https://paste.ubuntu.com/p/fkCdv5nw2Q/

Amit Singh Tomar (8):
  arm: actions: Add common framework for Actions Semi SoCs
  arm: actions: Add owl memory map regions
  clk: actions: Add common clock driver
  arm: board: Remove board files for bubblegum_96
  arm: actions: add S700 SoC device tree
  arm: add Cubieboard7 board support
  serial: actions: add uart support for s700
  actions: add Cubieboard7 README

 arch/arm/Kconfig                             |   2 -
 arch/arm/dts/s700-cubieboard7.dts            |  39 ++++++
 arch/arm/dts/s700.dtsi                       | 193 +++++++++++++++++++++++++++
 arch/arm/include/asm/arch-owl/clk_owl.h      |  61 +++++++++
 arch/arm/include/asm/arch-owl/clk_s900.h     |  57 --------
 arch/arm/include/asm/arch-owl/regs_s700.h    |  56 ++++++++
 arch/arm/mach-owl/Kconfig                    |  31 ++---
 arch/arm/mach-owl/Makefile                   |   3 +-
 arch/arm/mach-owl/README.cubieboard7         |  88 ++++++++++++
 arch/arm/mach-owl/soc.c                      |  56 ++++++++
 arch/arm/mach-owl/sysmap-owl.c               |  32 +++++
 arch/arm/mach-owl/sysmap-s900.c              |  32 -----
 board/ucRobotics/bubblegum_96/Kconfig        |  15 ---
 board/ucRobotics/bubblegum_96/MAINTAINERS    |   6 -
 board/ucRobotics/bubblegum_96/Makefile       |   3 -
 board/ucRobotics/bubblegum_96/bubblegum_96.c |  56 --------
 configs/bubblegum_96_defconfig               |   3 +-
 configs/cubieboard7_defconfig                |  22 +++
 drivers/clk/owl/Kconfig                      |   8 +-
 drivers/clk/owl/Makefile                     |   2 +-
 drivers/clk/owl/clk_owl.c                    | 132 ++++++++++++++++++
 drivers/clk/owl/clk_s900.c                   | 137 -------------------
 drivers/serial/serial_owl.c                  |   1 +
 include/configs/bubblegum_96.h               |  42 ------
 include/configs/owl-common.h                 |  42 ++++++
 include/configs/s700.h                       |  15 +++
 include/configs/s900.h                       |  18 +++
 include/dt-bindings/clock/actions,s700-cmu.h | 118 ++++++++++++++++
 28 files changed, 893 insertions(+), 377 deletions(-)
 create mode 100644 arch/arm/dts/s700-cubieboard7.dts
 create mode 100644 arch/arm/dts/s700.dtsi
 create mode 100644 arch/arm/include/asm/arch-owl/clk_owl.h
 delete mode 100644 arch/arm/include/asm/arch-owl/clk_s900.h
 create mode 100644 arch/arm/include/asm/arch-owl/regs_s700.h
 create mode 100644 arch/arm/mach-owl/README.cubieboard7
 create mode 100644 arch/arm/mach-owl/soc.c
 create mode 100644 arch/arm/mach-owl/sysmap-owl.c
 delete mode 100644 arch/arm/mach-owl/sysmap-s900.c
 delete mode 100644 board/ucRobotics/bubblegum_96/Kconfig
 delete mode 100644 board/ucRobotics/bubblegum_96/MAINTAINERS
 delete mode 100644 board/ucRobotics/bubblegum_96/Makefile
 delete mode 100644 board/ucRobotics/bubblegum_96/bubblegum_96.c
 create mode 100644 configs/cubieboard7_defconfig
 create mode 100644 drivers/clk/owl/clk_owl.c
 delete mode 100644 drivers/clk/owl/clk_s900.c
 delete mode 100644 include/configs/bubblegum_96.h
 create mode 100644 include/configs/owl-common.h
 create mode 100644 include/configs/s700.h
 create mode 100644 include/configs/s900.h
 create mode 100644 include/dt-bindings/clock/actions,s700-cmu.h

Comments

Manivannan Sadhasivam Jan. 5, 2019, 6:06 p.m. UTC | #1
Hi Amit,

On Thu, Jan 03, 2019 at 06:56:15PM +0530, Amit Singh Tomar wrote:
> Hello,
> 	
> This patch-set adds Cubieboard7[1] support based on Action Semi's S700 SoC[2], It's Quad-core ARMv8 SoC 
> with Cortex-A53 cores.Most of peripherals seems to be compatible with S900 SoC(basic support for it
> is alreay present in u-boot).
> 
> First few patches consolidates Actions Semiconductor SoCs support in u-boot((mostly insprired by SUXNI
> as suggested by Andre).Idea is to move every bit out from board/ucRobotics into arch/arm/mach-owl. It 
> allows different SoCs to be driven by single "soc and Kconfig" file. It also includes common clock driver 
> for S700 and S900.Rest of patches enables S700 SoC support alongwith Cubieboard7 board.
> 
> S700 support is tested[3] on Cubieboard7 board and S900 support is just compiled tested.It would
> be great, if someone who has S900 based board can test S900 support.
>

Thanks for the patchset! However, my S900 based Bubblegum96 board is
broken and I have asked for replacement. So, I can't test it on board
for until I get a new one. But we can proceed through the patches once
review is sorted out.

Thanks,
Mani

> Thanks,
> -Amit
> 
> [1]: http://www.cubietech.com/product-detail/cubieboard7/
> [2]: http://www.actions-semi.com/en/productview.aspx?id=225
> [3]: https://paste.ubuntu.com/p/fkCdv5nw2Q/
> 
> Amit Singh Tomar (8):
>   arm: actions: Add common framework for Actions Semi SoCs
>   arm: actions: Add owl memory map regions
>   clk: actions: Add common clock driver
>   arm: board: Remove board files for bubblegum_96
>   arm: actions: add S700 SoC device tree
>   arm: add Cubieboard7 board support
>   serial: actions: add uart support for s700
>   actions: add Cubieboard7 README
> 
>  arch/arm/Kconfig                             |   2 -
>  arch/arm/dts/s700-cubieboard7.dts            |  39 ++++++
>  arch/arm/dts/s700.dtsi                       | 193 +++++++++++++++++++++++++++
>  arch/arm/include/asm/arch-owl/clk_owl.h      |  61 +++++++++
>  arch/arm/include/asm/arch-owl/clk_s900.h     |  57 --------
>  arch/arm/include/asm/arch-owl/regs_s700.h    |  56 ++++++++
>  arch/arm/mach-owl/Kconfig                    |  31 ++---
>  arch/arm/mach-owl/Makefile                   |   3 +-
>  arch/arm/mach-owl/README.cubieboard7         |  88 ++++++++++++
>  arch/arm/mach-owl/soc.c                      |  56 ++++++++
>  arch/arm/mach-owl/sysmap-owl.c               |  32 +++++
>  arch/arm/mach-owl/sysmap-s900.c              |  32 -----
>  board/ucRobotics/bubblegum_96/Kconfig        |  15 ---
>  board/ucRobotics/bubblegum_96/MAINTAINERS    |   6 -
>  board/ucRobotics/bubblegum_96/Makefile       |   3 -
>  board/ucRobotics/bubblegum_96/bubblegum_96.c |  56 --------
>  configs/bubblegum_96_defconfig               |   3 +-
>  configs/cubieboard7_defconfig                |  22 +++
>  drivers/clk/owl/Kconfig                      |   8 +-
>  drivers/clk/owl/Makefile                     |   2 +-
>  drivers/clk/owl/clk_owl.c                    | 132 ++++++++++++++++++
>  drivers/clk/owl/clk_s900.c                   | 137 -------------------
>  drivers/serial/serial_owl.c                  |   1 +
>  include/configs/bubblegum_96.h               |  42 ------
>  include/configs/owl-common.h                 |  42 ++++++
>  include/configs/s700.h                       |  15 +++
>  include/configs/s900.h                       |  18 +++
>  include/dt-bindings/clock/actions,s700-cmu.h | 118 ++++++++++++++++
>  28 files changed, 893 insertions(+), 377 deletions(-)
>  create mode 100644 arch/arm/dts/s700-cubieboard7.dts
>  create mode 100644 arch/arm/dts/s700.dtsi
>  create mode 100644 arch/arm/include/asm/arch-owl/clk_owl.h
>  delete mode 100644 arch/arm/include/asm/arch-owl/clk_s900.h
>  create mode 100644 arch/arm/include/asm/arch-owl/regs_s700.h
>  create mode 100644 arch/arm/mach-owl/README.cubieboard7
>  create mode 100644 arch/arm/mach-owl/soc.c
>  create mode 100644 arch/arm/mach-owl/sysmap-owl.c
>  delete mode 100644 arch/arm/mach-owl/sysmap-s900.c
>  delete mode 100644 board/ucRobotics/bubblegum_96/Kconfig
>  delete mode 100644 board/ucRobotics/bubblegum_96/MAINTAINERS
>  delete mode 100644 board/ucRobotics/bubblegum_96/Makefile
>  delete mode 100644 board/ucRobotics/bubblegum_96/bubblegum_96.c
>  create mode 100644 configs/cubieboard7_defconfig
>  create mode 100644 drivers/clk/owl/clk_owl.c
>  delete mode 100644 drivers/clk/owl/clk_s900.c
>  delete mode 100644 include/configs/bubblegum_96.h
>  create mode 100644 include/configs/owl-common.h
>  create mode 100644 include/configs/s700.h
>  create mode 100644 include/configs/s900.h
>  create mode 100644 include/dt-bindings/clock/actions,s700-cmu.h
> 
> -- 
> 2.7.4
>