[PATCH v2 00/10] ARM: mstar: Add basic support for i2m and SMP

Daniel Palmer
2020-12-01T13:44:35Z

Sorry for spamming this. I wanted to fix the DT parts
before anyone spent time looking at the DT related commits
in v1.

This series adds basic support for the infinity2m series
of chips. For now the SigmaStar SSD202D which is a dual
Cortex A7 in a QFN128 package.

These chips share most of the same hardware with the
currently supported infinity, infinity3 and mercury5
chips.

Changes since v1:

- Based on Arnd's feedback[0] there is now "mstar,smpctrl" as the
most generic compatible string for the smp control registers
and a more specific "sstar,ssd201" (yes sstar is right, this is
a SigmaStar chip) string that is good for the SSD201 and SSD202D
chips.

- Small code clean ups: remove initialiser for smpctrl, remove unneeded
#ifdef CONFIG_SMP, make the smp_operations struct static and const.

0 - https://lore.kernel.org/linux-arm-kernel/CAK8P3a2MC5m4PdmXnwjGw_oZinKU93LP+eYQ8qaCmH4EesH0Bw@mail.gmail.com/

Daniel Palmer (10):
dt-bindings: mstar: Add binding details for mstar,smpctrl
dt-bindings: vendor-prefixes: Add honestar vendor prefix
dt-bindings: mstar: Add Honestar SSD201_HT_V2 to mstar boards
ARM: mstar: Add infinity2m support
ARM: mstar: Add common dtsi for SSD201/SSD202D
ARM: mstar: Add chip level dtsi for SSD202D
ARM: mstar: Add dts for Honestar ssd201htv2
ARM: mstar: Add smp ctrl registers to infinity2m dtsi
ARM: mstar: Wire up smpctrl for SSD201/SSD202D
ARM: mstar: SMP support

.../bindings/arm/mstar/mstar,smpctrl.yaml | 40 +++++++++++++++
.../devicetree/bindings/arm/mstar/mstar.yaml | 6 +++
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
arch/arm/boot/dts/Makefile | 1 +
.../mstar-infinity2m-ssd202d-ssd201htv2.dts | 25 ++++++++++
.../boot/dts/mstar-infinity2m-ssd202d.dtsi | 14 ++++++
.../boot/dts/mstar-infinity2m-ssd20xd.dtsi | 12 +++++
arch/arm/boot/dts/mstar-infinity2m.dtsi | 22 +++++++++
arch/arm/boot/dts/mstar-v7.dtsi | 2 +-
arch/arm/mach-mstar/mstarv7.c | 49 +++++++++++++++++++
10 files changed, 172 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/arm/mstar/mstar,smpctrl.yaml
create mode 100644 arch/arm/boot/dts/mstar-infinity2m-ssd202d-ssd201htv2.dts
create mode 100644 arch/arm/boot/dts/mstar-infinity2m-ssd202d.dtsi
create mode 100644 arch/arm/boot/dts/mstar-infinity2m-ssd20xd.dtsi
create mode 100644 arch/arm/boot/dts/mstar-infinity2m.dtsi

--
2.29.2