Skip to content

Introduce Synaptics SL2619 SoC and RDK board support

Richard Genoud (Synaptics) u-boot 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20261005-sl2619_base-26beae3f79ca

Versions newest first

  1. v2 Latest8 patches 11 repliesIn review
  2. v11 patch 0 repliesSuperseded

Changes in v2 from the cover letter

- rebase onto v2027.01-rc2
- Use N: in MAINTAINERS to match all files
- make ARCH_SYNAPTICS select ARM64
- add system controller driver
- add clock driver
- add pinctrl/pinconf driver
- add reset driver
- enlarge SYS_MALLOC_F_LEN for ARCH_SYNAPTICS
- Drop clock-frequency property in sl2619-rdk-u-boot.dtsi (now unused)
- add bootph-all in sl2619-rdk-u-boot.dtsi for console dependencies
- Link to v1: https://patch.msgid.link/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8arm: synaptics: add SL2619 SoC and RDK board supportKconfig MAINTAINERS arch/arm/Kconfig +13 more+559 -00 replies
2/8arm: dts: sl2619: Introduce sl2619-rdk-u-boot.dtsiMAINTAINERS arch/arm/dts/sl2619-rdk-u-boot.dtsi+10 -02 replies
3/8Kconfig: enlarge CONFIG_SYS_MALLOC_F_LEN for ARCH_SYNAPTICSKconfig+1 -10 replies
4/8soc: synaptics: add sl2610 system controller supportdrivers/soc/Kconfig drivers/soc/Makefile drivers/soc/synaptics/Kconfig +3 more+156 -02 replies
5/8clk: synaptics: add Synaptics sl2610 family clock driversdrivers/clk/Kconfig drivers/clk/Makefile drivers/clk/synaptics/Kconfig +8 more+1007 -02 replies
6/8pinctrl: synaptics: Add sl2610 SoC family pinctrl driverdrivers/pinctrl/Kconfig drivers/pinctrl/Makefile drivers/pinctrl/pinctrl-sl2610.c+1004 -03 replies
7/8reset: synaptics: add sl2610 reset driver supportdrivers/reset/Kconfig drivers/reset/Makefile drivers/reset/reset-sl2610.c+292 -00 replies
8/8configs: sl2619: enable basic drivers and commandsconfigs/synaptics_sl2619_defconfig+10 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/8] Introduce Synaptics SL2619 SoC and RDK board support

This commit adds initial support for the Synaptics SL2619 SoC, part of the Astra SL2610 product line.

The bindings and DTS have been sent on the LKML by Jisheng Zhang:
https://lore.kernel.org/lkml/[email protected]/
But not merged yet.

For this early support, we have:
- DRAM declaration
- CPU reset via PSCI
- Generic ARMv8 core timer
- UART
- system controller
- clock driver
- reset driver
- pinctrl/pinconf driver

Note: checkpatch complains "WARNING: Use the livetree API" in file arch/arm/mach-synaptics/cpu.c
But there's no livetree equivalent for fdtdec_setup_mem_size_base() and fdtdec_setup_memory_banksize()

yet settled. In this revision, it's 1 for strong pull-up and 0 for normal pull-up, like for:
https://elixir.bootlin.com/linux/v7.3.1/source/Documentation/devicetree/bindings/pinctrl/spacemit,k1-pinctrl.yaml#L73-L78
But in the next revision, this may change and use only the normal pull-up since the strong one is not used.

Note2: for the pinconf driver, the handling of the strong pull-up is not
---
Changes in v2:
- rebase onto v2027.01-rc2
- Use N: in MAINTAINERS to match all files
- make ARCH_SYNAPTICS select ARM64
- add system controller driver
- add clock driver
- add pinctrl/pinconf driver
- add reset driver
- enlarge SYS_MALLOC_F_LEN for ARCH_SYNAPTICS
- Drop clock-frequency property in sl2619-rdk-u-boot.dtsi (now unused)
- add bootph-all in sl2619-rdk-u-boot.dtsi for console dependencies
- Link to v1: https://patch.msgid.link/[email protected]

To: [email protected]
Cc: Tom Rini <[email protected]>
Cc: Rayagonda Kokatanur <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Richard Genoud <[email protected]>
Cc: Terry Zhou <[email protected]>
Cc: Casey Connolly <[email protected]>
Cc: Johan Jonker <[email protected]>
Cc: Quentin Schulz <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Michael Srba <[email protected]>
Cc: Chris Packham <[email protected]>
Cc: Adam Ford <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Anshul Dalal <[email protected]>
Cc: Junhui Liu <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Alexander Sverdlin <[email protected]>
Cc: Billy Tsai <[email protected]>
Cc: David Lechner <[email protected]>
Cc: Mikhail Kshevetskiy <[email protected]>
Cc: Torsten Duwe <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Guodong Xu <[email protected]>
Cc: Yixun Lan <[email protected]>
Cc: Jisheng Zhang <[email protected]>
Cc: Thomas Petazzoni <[email protected]>

---
Richard Genoud (Synaptics) (8):
arm: synaptics: add SL2619 SoC and RDK board support
arm: dts: sl2619: Introduce sl2619-rdk-u-boot.dtsi
Kconfig: enlarge CONFIG_SYS_MALLOC_F_LEN for ARCH_SYNAPTICS
soc: synaptics: add sl2610 system controller support
clk: synaptics: add Synaptics sl2610 family clock drivers
pinctrl: synaptics: Add sl2610 SoC family pinctrl driver
reset: synaptics: add sl2610 reset driver support
configs: sl2619: enable basic drivers and commands

 Kconfig                                          |   3 +-
 MAINTAINERS                                      |   7 +
 arch/arm/Kconfig                                 |  23 +
 arch/arm/Makefile                                |   1 +
 arch/arm/dts/sl2619-rdk-u-boot.dtsi              |   9 +
 arch/arm/mach-synaptics/Kconfig                  |  35 +
 arch/arm/mach-synaptics/Makefile                 |   5 +
 arch/arm/mach-synaptics/cpu.c                    |  45 +
 board/synaptics/sl2619/Kconfig                   |   9 +
 board/synaptics/sl2619/Makefile                  |   5 +
 board/synaptics/sl2619/sl2619.c                  |  73 ++
 configs/synaptics_sl2619_defconfig               |  63 ++
 doc/board/index.rst                              |   1 +
 doc/board/synaptics/img/sl2610_boot_sequence.svg | 178 ++++
 doc/board/synaptics/index.rst                    |   9 +
 doc/board/synaptics/sl2619.rst                   | 100 +++
 drivers/clk/Kconfig                              |   1 +
 drivers/clk/Makefile                             |   1 +
 drivers/clk/synaptics/Kconfig                    |  12 +
 drivers/clk/synaptics/Makefile                   |   1 +
 drivers/clk/synaptics/clk-sl2610.c               | 438 ++++++++++
 drivers/clk/synaptics/sl-clk.c                   | 266 ++++++
 drivers/clk/synaptics/sl-clk.h                   |  29 +
 drivers/clk/synaptics/sl-sysmgr-clk.c            |  76 ++
 drivers/clk/synaptics/sl-sysmgr-clk.h            |  44 +
 drivers/clk/synaptics/sl2610-pll.c               | 127 +++
 drivers/clk/synaptics/sl2610-pll.h               |  12 +
 drivers/pinctrl/Kconfig                          |  11 +
 drivers/pinctrl/Makefile                         |   1 +
 drivers/pinctrl/pinctrl-sl2610.c                 | 992 +++++++++++++++++++++++
 drivers/reset/Kconfig                            |   8 +
 drivers/reset/Makefile                           |   1 +
 drivers/reset/reset-sl2610.c                     | 283 +++++++
 drivers/soc/Kconfig                              |   1 +
 drivers/soc/Makefile                             |   1 +
 drivers/soc/synaptics/Kconfig                    |  11 +
 drivers/soc/synaptics/Makefile                   |   2 +
 drivers/soc/synaptics/sl2610-syscon.c            | 118 +++
 include/configs/synaptics_sl2619.h               |  14 +
 include/soc/synaptics/sl2610-syscon.h            |  23 +
 40 files changed, 3038 insertions(+), 1 deletion(-)

---
base-commit: 1f5c6df1bc042b3342473e6ebc50fe20eeebd728
change-id: 20261005-sl2619_base-26beae3f79ca

Best regards,

Signature · 1 line
Richard Genoud (Synaptics) <[email protected]>