mbox series

[RFC,0/5] arm: Restore minimal support for ST-Ericsson U8500 SoC

Message ID 20200104174519.19238-1-stephan@gerhold.net
Headers show
Series arm: Restore minimal support for ST-Ericsson U8500 SoC | expand

Message

Stephan Gerhold Jan. 4, 2020, 5:45 p.m. UTC
This patch series restores minimal U-Boot support for
the ST-Ericsson NovaThor U8500 SoC.

Previous support for U8500 was removed in
commit 68282f55b846 ("arm: Remove unused ST-Ericsson u8500 arch")
since none of the boards were converted to generic boards
before the deadline.

The motivation for adding the SoC and board is explained in
  - Patch 3 ("arm: Add support for ST-Ericsson U8500 SoC") and
  - Patch 5 ("board: Add new Samsung "stemmy" board based on ST-Ericsson U8500")

I have additional patches for MMC, USB, display and the "stemmy"
board, that configure it to provide an Android fastboot interface
with similar functionality as the original Samsung bootloader.
Some of the patches require some additional work, so I thought
it is easier to start with some minimal changes first (only UART).

I think this makes the patch series quite straightforward,
with only ~225 new lines of C code, plus device tree and documentation.
The only patch that stands out with ~1.8k lines is the device tree
import, directly copied (without modification) from the Linux kernel.


Stephan Gerhold (5):
  timer: Add driver for Nomadik Multi Timer Unit (MTU)
  arm: dts: Import device tree for ST-Ericsson Ux500
  arm: Add support for ST-Ericsson U8500 SoC
  MAINTAINERS: Add ARM U8500
  board: Add new Samsung "stemmy" board based on ST-Ericsson U8500

 MAINTAINERS                                |    8 +
 arch/arm/Kconfig                           |   20 +
 arch/arm/Makefile                          |    1 +
 arch/arm/dts/Makefile                      |    2 +
 arch/arm/dts/ste-ab8500.dtsi               |  328 ++++++
 arch/arm/dts/ste-ab8505.dtsi               |  275 +++++
 arch/arm/dts/ste-dbx5x0-u-boot.dtsi        |   29 +
 arch/arm/dts/ste-dbx5x0.dtsi               | 1144 ++++++++++++++++++++
 arch/arm/dts/ste-ux500-samsung-stemmy.dts  |   20 +
 arch/arm/include/asm/gpio.h                |    2 +-
 arch/arm/mach-u8500/Kconfig                |   27 +
 arch/arm/mach-u8500/Makefile               |    4 +
 arch/arm/mach-u8500/cache.c                |   37 +
 arch/arm/mach-u8500/cpuinfo.c              |   25 +
 board/ste/stemmy/Kconfig                   |   12 +
 board/ste/stemmy/MAINTAINERS               |    6 +
 board/ste/stemmy/Makefile                  |    2 +
 board/ste/stemmy/README                    |   49 +
 board/ste/stemmy/stemmy.c                  |   18 +
 configs/stemmy_defconfig                   |   18 +
 drivers/timer/Kconfig                      |    9 +
 drivers/timer/Makefile                     |    1 +
 drivers/timer/nomadik-mtu-timer.c          |  114 ++
 include/configs/stemmy.h                   |   29 +
 include/dt-bindings/arm/ux500_pm_domains.h |   15 +
 include/dt-bindings/clock/ste-ab8500.h     |   12 +
 include/dt-bindings/mfd/dbx500-prcmu.h     |   84 ++
 27 files changed, 2290 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/ste-ab8500.dtsi
 create mode 100644 arch/arm/dts/ste-ab8505.dtsi
 create mode 100644 arch/arm/dts/ste-dbx5x0-u-boot.dtsi
 create mode 100644 arch/arm/dts/ste-dbx5x0.dtsi
 create mode 100644 arch/arm/dts/ste-ux500-samsung-stemmy.dts
 create mode 100644 arch/arm/mach-u8500/Kconfig
 create mode 100644 arch/arm/mach-u8500/Makefile
 create mode 100644 arch/arm/mach-u8500/cache.c
 create mode 100644 arch/arm/mach-u8500/cpuinfo.c
 create mode 100644 board/ste/stemmy/Kconfig
 create mode 100644 board/ste/stemmy/MAINTAINERS
 create mode 100644 board/ste/stemmy/Makefile
 create mode 100644 board/ste/stemmy/README
 create mode 100644 board/ste/stemmy/stemmy.c
 create mode 100644 configs/stemmy_defconfig
 create mode 100644 drivers/timer/nomadik-mtu-timer.c
 create mode 100644 include/configs/stemmy.h
 create mode 100644 include/dt-bindings/arm/ux500_pm_domains.h
 create mode 100644 include/dt-bindings/clock/ste-ab8500.h
 create mode 100644 include/dt-bindings/mfd/dbx500-prcmu.h

Comments

Stephan Gerhold Jan. 22, 2020, 4:47 p.m. UTC | #1
Hi Tom,

On Sat, Jan 04, 2020 at 06:45:14PM +0100, Stephan Gerhold wrote:
> This patch series restores minimal U-Boot support for
> the ST-Ericsson NovaThor U8500 SoC.
> 
> Previous support for U8500 was removed in
> commit 68282f55b846 ("arm: Remove unused ST-Ericsson u8500 arch")
> since none of the boards were converted to generic boards
> before the deadline.
> 
> The motivation for adding the SoC and board is explained in
>   - Patch 3 ("arm: Add support for ST-Ericsson U8500 SoC") and
>   - Patch 5 ("board: Add new Samsung "stemmy" board based on ST-Ericsson U8500")
> 
> I have additional patches for MMC, USB, display and the "stemmy"
> board, that configure it to provide an Android fastboot interface
> with similar functionality as the original Samsung bootloader.
> Some of the patches require some additional work, so I thought
> it is easier to start with some minimal changes first (only UART).
> 
> I think this makes the patch series quite straightforward,
> with only ~225 new lines of C code, plus device tree and documentation.
> The only patch that stands out with ~1.8k lines is the device tree
> import, directly copied (without modification) from the Linux kernel.
> 

Since we are approaching the end of the merge window,
I was wondering if there is anything I can do to get this patch set
applied for v2020.04?

Thanks,
Stephan

> 
> Stephan Gerhold (5):
>   timer: Add driver for Nomadik Multi Timer Unit (MTU)
>   arm: dts: Import device tree for ST-Ericsson Ux500
>   arm: Add support for ST-Ericsson U8500 SoC
>   MAINTAINERS: Add ARM U8500
>   board: Add new Samsung "stemmy" board based on ST-Ericsson U8500
> 
>  MAINTAINERS                                |    8 +
>  arch/arm/Kconfig                           |   20 +
>  arch/arm/Makefile                          |    1 +
>  arch/arm/dts/Makefile                      |    2 +
>  arch/arm/dts/ste-ab8500.dtsi               |  328 ++++++
>  arch/arm/dts/ste-ab8505.dtsi               |  275 +++++
>  arch/arm/dts/ste-dbx5x0-u-boot.dtsi        |   29 +
>  arch/arm/dts/ste-dbx5x0.dtsi               | 1144 ++++++++++++++++++++
>  arch/arm/dts/ste-ux500-samsung-stemmy.dts  |   20 +
>  arch/arm/include/asm/gpio.h                |    2 +-
>  arch/arm/mach-u8500/Kconfig                |   27 +
>  arch/arm/mach-u8500/Makefile               |    4 +
>  arch/arm/mach-u8500/cache.c                |   37 +
>  arch/arm/mach-u8500/cpuinfo.c              |   25 +
>  board/ste/stemmy/Kconfig                   |   12 +
>  board/ste/stemmy/MAINTAINERS               |    6 +
>  board/ste/stemmy/Makefile                  |    2 +
>  board/ste/stemmy/README                    |   49 +
>  board/ste/stemmy/stemmy.c                  |   18 +
>  configs/stemmy_defconfig                   |   18 +
>  drivers/timer/Kconfig                      |    9 +
>  drivers/timer/Makefile                     |    1 +
>  drivers/timer/nomadik-mtu-timer.c          |  114 ++
>  include/configs/stemmy.h                   |   29 +
>  include/dt-bindings/arm/ux500_pm_domains.h |   15 +
>  include/dt-bindings/clock/ste-ab8500.h     |   12 +
>  include/dt-bindings/mfd/dbx500-prcmu.h     |   84 ++
>  27 files changed, 2290 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/dts/ste-ab8500.dtsi
>  create mode 100644 arch/arm/dts/ste-ab8505.dtsi
>  create mode 100644 arch/arm/dts/ste-dbx5x0-u-boot.dtsi
>  create mode 100644 arch/arm/dts/ste-dbx5x0.dtsi
>  create mode 100644 arch/arm/dts/ste-ux500-samsung-stemmy.dts
>  create mode 100644 arch/arm/mach-u8500/Kconfig
>  create mode 100644 arch/arm/mach-u8500/Makefile
>  create mode 100644 arch/arm/mach-u8500/cache.c
>  create mode 100644 arch/arm/mach-u8500/cpuinfo.c
>  create mode 100644 board/ste/stemmy/Kconfig
>  create mode 100644 board/ste/stemmy/MAINTAINERS
>  create mode 100644 board/ste/stemmy/Makefile
>  create mode 100644 board/ste/stemmy/README
>  create mode 100644 board/ste/stemmy/stemmy.c
>  create mode 100644 configs/stemmy_defconfig
>  create mode 100644 drivers/timer/nomadik-mtu-timer.c
>  create mode 100644 include/configs/stemmy.h
>  create mode 100644 include/dt-bindings/arm/ux500_pm_domains.h
>  create mode 100644 include/dt-bindings/clock/ste-ab8500.h
>  create mode 100644 include/dt-bindings/mfd/dbx500-prcmu.h
> 
> -- 
> 2.24.1
>
Tom Rini Jan. 22, 2020, 6:03 p.m. UTC | #2
On Wed, Jan 22, 2020 at 05:47:07PM +0100, Stephan Gerhold wrote:
> Hi Tom,
> 
> On Sat, Jan 04, 2020 at 06:45:14PM +0100, Stephan Gerhold wrote:
> > This patch series restores minimal U-Boot support for
> > the ST-Ericsson NovaThor U8500 SoC.
> > 
> > Previous support for U8500 was removed in
> > commit 68282f55b846 ("arm: Remove unused ST-Ericsson u8500 arch")
> > since none of the boards were converted to generic boards
> > before the deadline.
> > 
> > The motivation for adding the SoC and board is explained in
> >   - Patch 3 ("arm: Add support for ST-Ericsson U8500 SoC") and
> >   - Patch 5 ("board: Add new Samsung "stemmy" board based on ST-Ericsson U8500")
> > 
> > I have additional patches for MMC, USB, display and the "stemmy"
> > board, that configure it to provide an Android fastboot interface
> > with similar functionality as the original Samsung bootloader.
> > Some of the patches require some additional work, so I thought
> > it is easier to start with some minimal changes first (only UART).
> > 
> > I think this makes the patch series quite straightforward,
> > with only ~225 new lines of C code, plus device tree and documentation.
> > The only patch that stands out with ~1.8k lines is the device tree
> > import, directly copied (without modification) from the Linux kernel.
> > 
> 
> Since we are approaching the end of the merge window,
> I was wondering if there is anything I can do to get this patch set
> applied for v2020.04?

Since you had marked it as RFC, I had marked it as such in patchwork and
overlooked it.  I'll take a look soon, thanks.
Stephan Gerhold Jan. 23, 2020, 5:56 p.m. UTC | #3
On Wed, Jan 22, 2020 at 01:03:50PM -0500, Tom Rini wrote:
> On Wed, Jan 22, 2020 at 05:47:07PM +0100, Stephan Gerhold wrote:
> > Hi Tom,
> > 
> > On Sat, Jan 04, 2020 at 06:45:14PM +0100, Stephan Gerhold wrote:
> > > This patch series restores minimal U-Boot support for
> > > the ST-Ericsson NovaThor U8500 SoC.
> > > 
> > > Previous support for U8500 was removed in
> > > commit 68282f55b846 ("arm: Remove unused ST-Ericsson u8500 arch")
> > > since none of the boards were converted to generic boards
> > > before the deadline.
> > > 
> > > The motivation for adding the SoC and board is explained in
> > >   - Patch 3 ("arm: Add support for ST-Ericsson U8500 SoC") and
> > >   - Patch 5 ("board: Add new Samsung "stemmy" board based on ST-Ericsson U8500")
> > > 
> > > I have additional patches for MMC, USB, display and the "stemmy"
> > > board, that configure it to provide an Android fastboot interface
> > > with similar functionality as the original Samsung bootloader.
> > > Some of the patches require some additional work, so I thought
> > > it is easier to start with some minimal changes first (only UART).
> > > 
> > > I think this makes the patch series quite straightforward,
> > > with only ~225 new lines of C code, plus device tree and documentation.
> > > The only patch that stands out with ~1.8k lines is the device tree
> > > import, directly copied (without modification) from the Linux kernel.
> > > 
> > 
> > Since we are approaching the end of the merge window,
> > I was wondering if there is anything I can do to get this patch set
> > applied for v2020.04?
> 
> Since you had marked it as RFC, I had marked it as such in patchwork and
> overlooked it.  I'll take a look soon, thanks.

Thank you! I thought marking it as RFC is appropriate since I'm adding a
new SoC and this is my first U-Boot patch. But it is working fine,
so unless there are comments it should be good to go :)

Thanks,
Stephan