Skip to content

ARM: Initial Actions Semi S500 and S900 enablement

Andreas Färber linux-arm-kernel linux-devicetree linux-serial lkml outreachy 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest25 patches 18 repliesIn review
  2. v217 patches 18 repliesSuperseded
  3. v111 patches 15 repliesSuperseded

Changes in v3 from the cover letter

* Clocksource fix
* Clocksource cleanups (Daniel)
* Serial cleanups
* Add S500 CPU enable-method
* Add power domain driver
* Rework clocksource for S900 compatibility

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25dt-bindings: Add vendor prefix for Actions SemiDocumentation/devicetree/bindings/vendor-prefixes.txt+1 -00 replies
2/25dt-bindings: arm: Document Actions Semi S500Documentation/devicetree/bindings/arm/actions.txt+24 -00 replies
3/25dt-bindings: timer: Document Owl timerDocumentation/devicetree/bindings/timer/actions,owl-timer.txt+20 -03 replies
4/25clocksource: Add Owl timerdrivers/clocksource/Kconfig drivers/clocksource/Makefile drivers/clocksource/owl-timer.c+201 -06 replies
5/25clocksource: owl: Add S900 supportdrivers/clocksource/owl-timer.c+14 -22 replies
6/25ARM: Prepare Actions Semi S500arch/arm/Kconfig arch/arm/Makefile arch/arm/mach-actions/Kconfig +2 more+47 -00 replies
7/25ARM64: Prepare Actions Semi S900arch/arm64/Kconfig.platforms+6 -00 replies
8/25dt-bindings: serial: Document Actions Semi Owl UARTsDocumentation/devicetree/bindings/serial/actions,owl-uart.txt+16 -00 replies
9/25tty: serial: Add Actions Semi Owl UART earlycondrivers/tty/serial/Kconfig drivers/tty/serial/Makefile drivers/tty/serial/owl-uart.c+155 -00 replies
10/25Documentation: kernel-parameters: Document owl earlyconDocumentation/admin-guide/kernel-parameters.txt+6 -00 replies
11/25ARM: dts: Add Actions Semi S500 and LeMaker Guitararch/arm/boot/dts/Makefile arch/arm/boot/dts/s500-guitar-bb-rev-b.dts arch/arm/boot/dts/s500-guitar.dtsi +1 more+222 -03 replies
12/25dt-bindings: Add vendor prefix for uCRoboticsDocumentation/devicetree/bindings/vendor-prefixes.txt+1 -00 replies
13/25dt-bindings: arm: Document Actions Semi S900Documentation/devicetree/bindings/arm/actions.txt+15 -00 replies
14/25ARM64: dts: Add Actions Semi S900 and Bubblegum-96arch/arm64/boot/dts/Makefile arch/arm64/boot/dts/actions/Makefile arch/arm64/boot/dts/actions/s900-bubblegum-96.dts +1 more+205 -00 replies
15/25MAINTAINERS: Add Actions Semi Owl sectionMAINTAINERS+10 -00 replies
16/25tty: serial: owl: Implement console driverdrivers/tty/serial/Kconfig drivers/tty/serial/owl-uart.c include/uapi/linux/serial_core.h+595 -30 replies
17/25ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clockarch/arm64/boot/dts/actions/s900-bubblegum-96.dts+7 -00 replies
18/25ARM: dts: s500-guitar-bb-rev-b: Add fake uart3 clockarch/arm/boot/dts/s500-guitar-bb-rev-b.dts+7 -00 replies
19/25dt-bindings: arm: cpus: Add S500 enable-methodDocumentation/devicetree/bindings/arm/cpus.txt+1 -01 reply
20/25ARM: owl: Implement CPU enable-method for S500arch/arm/mach-actions/Makefile arch/arm/mach-actions/headsmp.S arch/arm/mach-actions/platsmp.c+235 -02 replies
21/25ARM: dts: s500: Set CPU enable-methodarch/arm/boot/dts/s500.dtsi+4 -00 replies
22/25dt-bindings: power: Add Owl SPS power domainsDocumentation/devicetree/bindings/power/actions,owl-sps.txt include/dt-bindings/power/s500-powergate.h+36 -01 reply
23/25soc: actions: Add Owl SPSdrivers/soc/Kconfig drivers/soc/Makefile drivers/soc/actions/Kconfig +2 more+260 -00 replies
24/25ARM: dts: s500: Add SPS nodearch/arm/boot/dts/s500.dtsi+9 -00 replies
25/25ARM: owl: smp: Reimplement SPS power-gating for CPU2 and CPU3arch/arm/mach-actions/platsmp.c+65 -20 replies

Reviews trailers per patch

8 of 25 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/25A-b
2/25A-b
3/25A-b
4/25
5/25
6/25
7/25
8/25A-b
9/25
10/25
11/25
12/25A-b
13/25A-b
14/25
15/25
16/25
17/25
18/25
19/25A-b
20/25
21/25
22/25A-b
23/25
24/25
25/25

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/25] ARM: Initial Actions Semi S500 and S900 enablement

Hello,

This series adds initial support for Actions Semiconductor S500 (ARMv7) and S900 (ARMv8) SoCs.

v3 has the serial driver working almost equally for both, still glitch on S900. SMP support and power-gating for S500 are implemented, so both get 4 CPUs up.

https://github.com/afaerber/linux/commits/bg96-next

Booting from U-Boot is straightforward on both boards:

https://en.opensuse.org/HCL:Guitar
https://en.opensuse.org/HCL:Bubblegum-96

Have a lot of fun!

Cheers,
Andreas

v2 -> v3:
* Clocksource fix
* Clocksource cleanups (Daniel)
* Serial cleanups
* Add S500 CPU enable-method
* Add power domain driver
* Rework clocksource for S900 compatibility

v1 -> v2:
* S900 DT fixes (Mark)
* Kconfig name changes (Arnd)
* Bubblegum-96 .dts rename
* Vendor prefix rename
* Minor cleanups
* Add serial driver
* Add MAINTAINERS section
* Use SPDX-License-Identifier in DT (Rob)
* Add clocksource driver

Cc Mark Rutland <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Rob Herring <[email protected]>
Cc Daniel Lezcano <[email protected]>
Cc mp-cs at actions-semi.com
Cc 96boards at ucrobotics.com
Cc support at lemaker.org
Cc linux-serial at vger.kernel.org
Cc linux-doc at vger.kernel.org
Cc devicetree at vger.kernel.org

Andreas F?rber (25):
dt-bindings: Add vendor prefix for Actions Semi
dt-bindings: arm: Document Actions Semi S500
dt-bindings: timer: Document Owl timer
clocksource: Add Owl timer
clocksource: owl: Add S900 support
ARM: Prepare Actions Semi S500
ARM64: Prepare Actions Semi S900
dt-bindings: serial: Document Actions Semi Owl UARTs
tty: serial: Add Actions Semi Owl UART earlycon
Documentation: kernel-parameters: Document owl earlycon
ARM: dts: Add Actions Semi S500 and LeMaker Guitar
dt-bindings: Add vendor prefix for uCRobotics
dt-bindings: arm: Document Actions Semi S900
ARM64: dts: Add Actions Semi S900 and Bubblegum-96
MAINTAINERS: Add Actions Semi Owl section
tty: serial: owl: Implement console driver
ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clock
ARM: dts: s500-guitar-bb-rev-b: Add fake uart3 clock
dt-bindings: arm: cpus: Add S500 enable-method
ARM: owl: Implement CPU enable-method for S500
ARM: dts: s500: Set CPU enable-method
dt-bindings: power: Add Owl SPS power domains
soc: actions: Add Owl SPS
ARM: dts: s500: Add SPS node
ARM: owl: smp: Reimplement SPS power-gating for CPU2 and CPU3

 Documentation/admin-guide/kernel-parameters.txt    |   6 +
 Documentation/devicetree/bindings/arm/actions.txt  |  39 ++
 Documentation/devicetree/bindings/arm/cpus.txt     |   1 +
 .../devicetree/bindings/power/actions,owl-sps.txt  |  17 +
 .../bindings/serial/actions,owl-uart.txt           |  16 +
 .../bindings/timer/actions,owl-timer.txt           |  20 +
 .../devicetree/bindings/vendor-prefixes.txt        |   2 +
 MAINTAINERS                                        |  10 +
 arch/arm/Kconfig                                   |   2 +
 arch/arm/Makefile                                  |   1 +
 arch/arm/boot/dts/Makefile                         |   2 +
 arch/arm/boot/dts/s500-guitar-bb-rev-b.dts         |  33 +
 arch/arm/boot/dts/s500-guitar.dtsi                 |  24 +
 arch/arm/boot/dts/s500.dtsi                        | 183 ++++++
 arch/arm/mach-actions/Kconfig                      |  15 +
 arch/arm/mach-actions/Makefile                     |   2 +
 arch/arm/mach-actions/headsmp.S                    |  68 ++
 arch/arm/mach-actions/owl.c                        |  28 +
 arch/arm/mach-actions/platsmp.c                    | 229 +++++++
 arch/arm64/Kconfig.platforms                       |   6 +
 arch/arm64/boot/dts/Makefile                       |   1 +
 arch/arm64/boot/dts/actions/Makefile               |   5 +
 arch/arm64/boot/dts/actions/s900-bubblegum-96.dts  |  42 ++
 arch/arm64/boot/dts/actions/s900.dtsi              | 164 +++++
 drivers/clocksource/Kconfig                        |   7 +
 drivers/clocksource/Makefile                       |   1 +
 drivers/clocksource/owl-timer.c                    | 205 ++++++
 drivers/soc/Kconfig                                |   1 +
 drivers/soc/Makefile                               |   1 +
 drivers/soc/actions/Kconfig                        |  12 +
 drivers/soc/actions/Makefile                       |   1 +
 drivers/soc/actions/owl-sps.c                      | 245 +++++++
 drivers/tty/serial/Kconfig                         |  19 +
 drivers/tty/serial/Makefile                        |   1 +
 drivers/tty/serial/owl-uart.c                      | 724 +++++++++++++++++++++
 include/dt-bindings/power/s500-powergate.h         |  19 +
 include/uapi/linux/serial_core.h                   |   3 +
 37 files changed, 2155 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/actions.txt
 create mode 100644 Documentation/devicetree/bindings/power/actions,owl-sps.txt
 create mode 100644 Documentation/devicetree/bindings/serial/actions,owl-uart.txt
 create mode 100644 Documentation/devicetree/bindings/timer/actions,owl-timer.txt
 create mode 100644 arch/arm/boot/dts/s500-guitar-bb-rev-b.dts
 create mode 100644 arch/arm/boot/dts/s500-guitar.dtsi
 create mode 100644 arch/arm/boot/dts/s500.dtsi
 create mode 100644 arch/arm/mach-actions/Kconfig
 create mode 100644 arch/arm/mach-actions/Makefile
 create mode 100644 arch/arm/mach-actions/headsmp.S
 create mode 100644 arch/arm/mach-actions/owl.c
 create mode 100644 arch/arm/mach-actions/platsmp.c
 create mode 100644 arch/arm64/boot/dts/actions/Makefile
 create mode 100644 arch/arm64/boot/dts/actions/s900-bubblegum-96.dts
 create mode 100644 arch/arm64/boot/dts/actions/s900.dtsi
 create mode 100644 drivers/clocksource/owl-timer.c
 create mode 100644 drivers/soc/actions/Kconfig
 create mode 100644 drivers/soc/actions/Makefile
 create mode 100644 drivers/soc/actions/owl-sps.c
 create mode 100644 drivers/tty/serial/owl-uart.c
 create mode 100644 include/dt-bindings/power/s500-powergate.h
Signature · 1 line
2.10.2