Skip to contentSkip to conversation

ARM64: Initial Marvell IAP140 enablement

PATCH Superseded Andreas Färber 6 participants 14 messages Feb 19, 2017 – Mar 14, 2017

Subsystems (6)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover ARM64: Initial Marvell IAP140 enablement

Hello,

This mini-series adds initial support for the Marvell IAP140 SoC (aka PXA1908) and the Andromeda Box Edge development board.

In order to enable the 8250 UART driver, it reuses ARCH_PXA; but some drivers enabled with ARCH_PXA don't build due to arm assembly or arm64's lack of mach-, so their dependencies need to be limited to ARM alongside (blacklisted). The alternative would of course be to choose a new ARCH_ symbol and to selectively add it to drivers known working (whitelisting). The latter would require finding a suitable name.

Both earlycon and serial are working, but an explicit console=ttyS0,115200n8 is needed; with just "earlycon" and stdout-path the earlycon stops early and switches to a tty0, long before disabling the bootconsole...

All four CPUs come up, and an initrd can be reached.

However, there are errors about CPUs 1-3 having a zero SYS_CNTFRQ_EL0:

[    0.095812] smp: Bringing up secondary CPUs ...
======pxa1908_pmu_core_pwr_on: mpidr = 0x1
======pxa1908_pmu_core_pwr_on: mpidr = 0x2
======pxa1908_pmu_core_pwr_on: mpidr = 0x3
[    0.133419] Detected VIPT I-cache on CPU1
[    0.133430] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x000000018cba80, CPU1: 0x00000000000000
[    0.133447] Unsupported CPU feature variation.
...
[    0.133748] CPU1: Booted secondary processor [410fd032]
[    0.165465] Detected VIPT I-cache on CPU2
[    0.165474] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x000000018cba80, CPU2: 0x00000000000000
[    0.165505] CPU2: Booted secondary processor [410fd032]
[    0.197539] Detected VIPT I-cache on CPU3
[    0.197546] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x000000018cba80, CPU3: 0x00000000000000
[    0.197573] CPU3: Booted secondary processor [410fd032]
[    0.197625] smp: Brought up 1 node, 4 CPUs
[    0.522514] SMP: Total of 4 processors activated.
[    0.527212] CPU features: detected feature: 32-bit EL0 Support
[    0.533105] CPU: All CPU(s) started at EL2

KVM appears to initialize okay, but was not yet tested with guests.

[    0.865255] kvm [1]: 8-bit VMID
[    0.868401] kvm [1]: IDMAP page: d23000
[    0.872233] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[    0.878262] kvm [1]: Hyp mode initialized successfully
[    0.883429] kvm [1]: vgic-v2 at d1dfc000
[    0.887179] kvm [1]: vgic interrupt IRQ1
[    0.891120] kvm [1]: virtual timer IRQ4

More Marvell drivers may be available in-tree for reuse - besides build errors the limitation is currently the lack of an IAP140 clk driver though. Patch 4/4 works around that for UART0 with a fixed-clock.

A 3.14 based tree is available on GitHub acorn-marvell/brillo_pxa_kernel. No driver comparisons to mainline have been attempted yet.

Booting required changes to the vendor U-Boot,
cf. https://en.opensuse.org/HCL:AndromedaBoxEdge

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

Have a lot of fun!

Cheers,
Andreas

Cc info at andromedabox.org
Cc devicetree at vger.kernel.org

Andreas F?rber (4):
ARM64: Prepare Marvell IAP140 aka PXA1908
Documentation: devicetree: arm: Document Marvell IAP140
ARM64: dts: marvell: Add IAP140 and Andromeda Box Edge
ARM64: dts: marvell: iap140-andromeda-box-edge: Add uart0 clock

 .../devicetree/bindings/arm/marvell/iap140.txt     |   7 +
 arch/arm64/Kconfig.platforms                       |   5 +
 arch/arm64/boot/dts/marvell/Makefile               |   2 +
 .../boot/dts/marvell/iap140-andromeda-box-edge.dts |  77 ++++++++
 arch/arm64/boot/dts/marvell/iap140.dtsi            | 195 +++++++++++++++++++++
 drivers/clk/Kconfig                                |   2 +-
 drivers/mmc/host/Kconfig                           |   2 +-
 drivers/tty/serial/Kconfig                         |   2 +-
 8 files changed, 289 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/marvell/iap140.txt
 create mode 100644 arch/arm64/boot/dts/marvell/iap140-andromeda-box-edge.dts
 create mode 100644 arch/arm64/boot/dts/marvell/iap140.dtsi
Signature · 1 line
2.10.2
#1 lore raw

PATCH 1/4 ARM64: Prepare Marvell IAP140 aka PXA1908

Suppress COMMON_CLK_PXA and MMC_PXA for now as they don't build on arm64. Also suppress the deprecated SERIAL_PXA in favor of SERIAL_8250_PXA.

---
 arch/arm64/Kconfig.platforms | 5 +++++
 drivers/clk/Kconfig          | 2 +-
 drivers/mmc/host/Kconfig     | 2 +-
 drivers/tty/serial/Kconfig   | 2 +-
 4 files changed, 8 insertions(+), 3 deletions(-)
arch/arm64/Kconfig.platforms +5 -0
index 129cc5a..841b6c8 100644
@@ -111,6 +111,11 @@ config ARCH_MVEBU
 	   - Armada 7K SoC Family
 	   - Armada 8K SoC Family
 
+config ARCH_PXA
+	bool "Marvell PXA SoC Family"
+	help
+	  This enables support for the Marvell PXA family.
+
 config ARCH_QCOM
 	bool "Qualcomm Platforms"
 	select GPIOLIB
drivers/clk/Kconfig +1 -1
index 9356ab4..3d25f20 100644
@@ -185,7 +185,7 @@ config COMMON_CLK_PWM
 	  at 50% duty cycle.
 
 config COMMON_CLK_PXA
-	def_bool COMMON_CLK && ARCH_PXA
+	def_bool COMMON_CLK && ARCH_PXA && ARM
 	---help---
 	  Support for the Marvell PXA SoC.
 
drivers/mmc/host/Kconfig +1 -1
index f08691a..a650eca 100644
@@ -27,7 +27,7 @@ config MMC_QCOM_DML
 
 config MMC_PXA
 	tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
-	depends on ARCH_PXA
+	depends on ARCH_PXA && ARM
 	help
 	  This selects the Intel(R) PXA(R) Multimedia card Interface.
 	  If you have a PXA(R) platform with a Multimedia Card slot,
drivers/tty/serial/Kconfig +1 -1
index 6117ac8..0713a05 100644
@@ -439,7 +439,7 @@ config SERIAL_MPSC_CONSOLE
 
 config SERIAL_PXA
 	bool "PXA serial port support (DEPRECATED)"
-	depends on ARCH_PXA || ARCH_MMP
+	depends on (ARCH_PXA && ARM) || ARCH_MMP
 	select SERIAL_CORE
 	select SERIAL_8250_PXA if SERIAL_8250=y
 	select SERIAL_PXA_NON8250 if !SERIAL_8250=y
Signature · 1 line
2.10.2
#2 lore raw

Re: [PATCH 1/4] ARM64: Prepare Marvell IAP140 aka PXA1908

Quoted 10 lines · Andreas F?rber

Suppress COMMON_CLK_PXA and MMC_PXA for now as they don't build on arm64. Also suppress the deprecated SERIAL_PXA in favor of SERIAL_8250_PXA.

---
 arch/arm64/Kconfig.platforms | 5 +++++
 drivers/clk/Kconfig          | 2 +-
 drivers/mmc/host/Kconfig     | 2 +-
 drivers/tty/serial/Kconfig   | 2 +-
 4 files changed, 8 insertions(+), 3 deletions(-)

Please try split this up so it can be applied on each subsystem independently.

Kind regards
Uffe

Quoted 59 lines
arch/arm64/Kconfig.platforms +5 -0
index 129cc5a..841b6c8 100644
@@ -111,6 +111,11 @@ config ARCH_MVEBU
           - Armada 7K SoC Family
           - Armada 8K SoC Family
 
+config ARCH_PXA
+       bool "Marvell PXA SoC Family"
+       help
+         This enables support for the Marvell PXA family.
+
 config ARCH_QCOM
        bool "Qualcomm Platforms"
        select GPIOLIB
drivers/clk/Kconfig +1 -1
index 9356ab4..3d25f20 100644
@@ -185,7 +185,7 @@ config COMMON_CLK_PWM
          at 50% duty cycle.
 
 config COMMON_CLK_PXA
-       def_bool COMMON_CLK && ARCH_PXA
+       def_bool COMMON_CLK && ARCH_PXA && ARM
        ---help---
          Support for the Marvell PXA SoC.
 
drivers/mmc/host/Kconfig +1 -1
index f08691a..a650eca 100644
@@ -27,7 +27,7 @@ config MMC_QCOM_DML
 
 config MMC_PXA
        tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
-       depends on ARCH_PXA
+       depends on ARCH_PXA && ARM
        help
          This selects the Intel(R) PXA(R) Multimedia card Interface.
          If you have a PXA(R) platform with a Multimedia Card slot,
drivers/tty/serial/Kconfig +1 -2
index 6117ac8..0713a05 100644
@@ -439,7 +439,7 @@ config SERIAL_MPSC_CONSOLE
 
 config SERIAL_PXA
        bool "PXA serial port support (DEPRECATED)"
-       depends on ARCH_PXA || ARCH_MMP
+       depends on (ARCH_PXA && ARM) || ARCH_MMP
        select SERIAL_CORE
        select SERIAL_8250_PXA if SERIAL_8250=y
        select SERIAL_PXA_NON8250 if !SERIAL_8250=y
--

2.10.2

#3 lore raw

Re: [PATCH 1/4] ARM64: Prepare Marvell IAP140 aka PXA1908

Am 14.03.2017 um 17:30 schrieb Ulf Hansson:

Quoted 12 lines · Andreas F?rber
Quoted 10 lines

Suppress COMMON_CLK_PXA and MMC_PXA for now as they don't build on arm64. Also suppress the deprecated SERIAL_PXA in favor of SERIAL_8250_PXA.

---
 arch/arm64/Kconfig.platforms | 5 +++++
 drivers/clk/Kconfig          | 2 +-
 drivers/mmc/host/Kconfig     | 2 +-
 drivers/tty/serial/Kconfig   | 2 +-
 4 files changed, 8 insertions(+), 3 deletions(-)
Quoted 1 line

Please try split this up so it can be applied on each subsystem independently.

I believe that comment is obsoleted by later versions of the patchset using ARCH_MMP instead?

Regards,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)
#4 lore raw

PATCH 2/4 Documentation: devicetree: arm: Document Marvell IAP140

In reply to Andreas Färber
---
 Documentation/devicetree/bindings/arm/marvell/iap140.txt | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/marvell/iap140.txt
Documentation/devicetree/bindings/arm/marvell/iap140.txt new file +7 -0
new file mode 100644
index 0000000..25d307c
@@ -0,0 +1,7 @@
+Marvell IAP140 Device Tree Bindings
+-----------------------------------
+
+Boards using a SoC of the Marvell IAP140 family must carry the following
+root node property:
+
+ - compatible :  must contain "mrvl,iap140"
Signature · 1 line
2.10.2
#5 lore raw

Re: [PATCH 2/4] Documentation: devicetree: arm: Document Marvell IAP140

Hello,

Quoted 1 line · Andreas F?rber

+ - compatible : must contain "mrvl,iap140"

Even though there's indeed a good number of existing "mrvl," compatible strings in the tree, the official vendor prefix according to Documentation/devicetree/bindings/vendor-prefixes.txt is "marvell". Probably you should use that instead for new bindings?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#6 lore raw

Re: [PATCH 2/4] Documentation: devicetree: arm: Document Marvell IAP140

Hi,

Am 20.02.2017 um 13:56 schrieb Thomas Petazzoni:

Quoted 8 lines · Andreas F?rber
Quoted 2 lines

+ - compatible : must contain "mrvl,iap140"

Even though there's indeed a good number of existing "mrvl," compatible strings in the tree, the official vendor prefix according to Documentation/devicetree/bindings/vendor-prefixes.txt is "marvell". Probably you should use that instead for new bindings?

I'm confused now. According to Marvell IR [0] they are NASDAQ-listed as MRVL. My understanding is that in that case the official vendor prefix becomes mrvl. Why not here? Would be good to understand for other pending vendors such as Actions Semi.

Any comments on the iap140 vs. pxa1908 naming? The Communication Processors section has disappeared from marvell.com, so I couldn't verify whether IAP140 was renamed from PXA1908 or whether both coexist and we should add a second compatible string here?

Thanks,
Andreas

[0] http://investor.marvell.com/phoenix.zhtml?c=120802&p=irol-irhome

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)
#7 lore raw

Re: [PATCH 2/4] Documentation: devicetree: arm: Document Marvell IAP140

Hello,

Quoted 3 lines · Andreas F?rber

I'm confused now. According to Marvell IR [0] they are NASDAQ-listed as MRVL. My understanding is that in that case the official vendor prefix becomes mrvl. Why not here?

Not sure why, but as of today, we have a mix of "mrvl" and "marvell" in the tree, and "marvell" is the one official listed in vendor-prefixes.txt.

Quoted 4 lines

Any comments on the iap140 vs. pxa1908 naming? The Communication Processors section has disappeared from marvell.com, so I couldn't verify whether IAP140 was renamed from PXA1908 or whether both coexist and we should add a second compatible string here?

I don't have an opinion on this because I'm not familiar with this family of Marvell SoCs. However, the only thing I would recommend is that you send a patch to update Documentation/arm/Marvell/README to document this PXA1908/IAP140 thing. This is particularly important since this document mentions PXA1908 already.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#8 lore raw

PATCH 3/4 ARM64: dts: marvell: Add IAP140 and Andromeda Box Edge

In reply to Andreas Färber

PPI interrupts 11, 10, 9 are guesses, and so are the second two memory regions of the GIC.

---
 arch/arm64/boot/dts/marvell/Makefile               |   2 +
 .../boot/dts/marvell/iap140-andromeda-box-edge.dts |  70 ++++++++
 arch/arm64/boot/dts/marvell/iap140.dtsi            | 195 +++++++++++++++++++++
 3 files changed, 267 insertions(+)
 create mode 100644 arch/arm64/boot/dts/marvell/iap140-andromeda-box-edge.dts
 create mode 100644 arch/arm64/boot/dts/marvell/iap140.dtsi
arch/arm64/boot/dts/marvell/Makefile +2 -0
index 3e6ce6c..d2046be 100644
@@ -9,6 +9,8 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-7040-db.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-8040-db.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-8040-mcbin.dtb
 
+dtb-$(CONFIG_ARCH_PXA) += iap140-andromeda-box-edge.dtb
+
 always		:= $(dtb-y)
 subdir-y	:= $(dts-dirs)
 clean-files	:= *.dtb
arch/arm64/boot/dts/marvell/iap140-andromeda-box-edge.dts new file +70 -0

70 lines not on this page · raw message

arch/arm64/boot/dts/marvell/iap140.dtsi new file +195 -0

195 lines not on this page · raw message

Signature · 1 line
2.10.2
#9 lore raw

PATCH 4/4 ARM64: dts: marvell: iap140-andromeda-box-edge: Add uart0 clock

In reply to Andreas Färber

Use a fixed clock to enable ttyS0 output.

---
 arch/arm64/boot/dts/marvell/iap140-andromeda-box-edge.dts | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/marvell/iap140-andromeda-box-edge.dts +7 -0
index de01d93..dceab69 100644
@@ -63,8 +63,15 @@
 		device_type = "memory";
 		reg = <0x0 0x0 0x0 0x40000000>;
 	};
+
+	uart0_clk: uart0-clk {
+		compatible = "fixed-clock";
+		clock-frequency = <14740000>;
+		#clock-cells = <0>;
+	};
 };
 
 &uart0 {
 	status = "okay";
+	clocks = <&uart0_clk>;
 };
Signature · 1 line
2.10.2
#10 lore raw
In reply to Andreas Färber

Hi Andreas,

Quoted 4 lines · Andreas F?rber

Hello,

This mini-series adds initial support for the Marvell IAP140 SoC (aka PXA1908) and the Andromeda Box Edge development board.

Given the name of the SoC (PXA1908) and the fact that you reuse driver related to PXA, for me these SoC is neither a mvebu nor a berlin SoC. So just to avoid any misunderstanding, I don't mind being CC and possibly doing review but I don't plan to take this patch ( I don't think the berlin maintainer will do it too).

Quoted 7 lines

In order to enable the 8250 UART driver, it reuses ARCH_PXA; but some drivers enabled with ARCH_PXA don't build due to arm assembly or arm64's lack of mach-, so their dependencies need to be limited to ARM alongside (blacklisted). The alternative would of course be to choose a new ARCH_ symbol and to selectively add it to drivers known working (whitelisting). The latter would require finding a suitable name.

For this kind of issue you can have a look on what we did when introducing mvebu SoC using ARM64.

Gregory

Quoted 81 lines

Both earlycon and serial are working, but an explicit console=ttyS0,115200n8 is needed; with just "earlycon" and stdout-path the earlycon stops early and switches to a tty0, long before disabling the bootconsole...

All four CPUs come up, and an initrd can be reached.

However, there are errors about CPUs 1-3 having a zero SYS_CNTFRQ_EL0:

[    0.095812] smp: Bringing up secondary CPUs ...
======pxa1908_pmu_core_pwr_on: mpidr = 0x1
======pxa1908_pmu_core_pwr_on: mpidr = 0x2
======pxa1908_pmu_core_pwr_on: mpidr = 0x3
[    0.133419] Detected VIPT I-cache on CPU1
[    0.133430] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x000000018cba80, CPU1: 0x00000000000000
[    0.133447] Unsupported CPU feature variation.
...
[    0.133748] CPU1: Booted secondary processor [410fd032]
[    0.165465] Detected VIPT I-cache on CPU2
[    0.165474] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x000000018cba80, CPU2: 0x00000000000000
[    0.165505] CPU2: Booted secondary processor [410fd032]
[    0.197539] Detected VIPT I-cache on CPU3
[    0.197546] CPU features: SANITY CHECK: Unexpected variation in SYS_CNTFRQ_EL0. Boot CPU: 0x000000018cba80, CPU3: 0x00000000000000
[    0.197573] CPU3: Booted secondary processor [410fd032]
[    0.197625] smp: Brought up 1 node, 4 CPUs
[    0.522514] SMP: Total of 4 processors activated.
[    0.527212] CPU features: detected feature: 32-bit EL0 Support
[    0.533105] CPU: All CPU(s) started at EL2

KVM appears to initialize okay, but was not yet tested with guests.

[    0.865255] kvm [1]: 8-bit VMID
[    0.868401] kvm [1]: IDMAP page: d23000
[    0.872233] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[    0.878262] kvm [1]: Hyp mode initialized successfully
[    0.883429] kvm [1]: vgic-v2 at d1dfc000
[    0.887179] kvm [1]: vgic interrupt IRQ1
[    0.891120] kvm [1]: virtual timer IRQ4

More Marvell drivers may be available in-tree for reuse - besides build errors the limitation is currently the lack of an IAP140 clk driver though. Patch 4/4 works around that for UART0 with a fixed-clock.

A 3.14 based tree is available on GitHub acorn-marvell/brillo_pxa_kernel. No driver comparisons to mainline have been attempted yet.

Booting required changes to the vendor U-Boot,
cf. https://en.opensuse.org/HCL:AndromedaBoxEdge

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

Have a lot of fun!

Cheers,
Andreas

Cc info at andromedabox.org
Cc devicetree at vger.kernel.org

Andreas F?rber (4):
ARM64: Prepare Marvell IAP140 aka PXA1908
Documentation: devicetree: arm: Document Marvell IAP140
ARM64: dts: marvell: Add IAP140 and Andromeda Box Edge
ARM64: dts: marvell: iap140-andromeda-box-edge: Add uart0 clock

 .../devicetree/bindings/arm/marvell/iap140.txt     |   7 +
 arch/arm64/Kconfig.platforms                       |   5 +
 arch/arm64/boot/dts/marvell/Makefile               |   2 +
 .../boot/dts/marvell/iap140-andromeda-box-edge.dts |  77 ++++++++
 arch/arm64/boot/dts/marvell/iap140.dtsi            | 195 +++++++++++++++++++++
 drivers/clk/Kconfig                                |   2 +-
 drivers/mmc/host/Kconfig                           |   2 +-
 drivers/tty/serial/Kconfig                         |   2 +-
 8 files changed, 289 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/marvell/iap140.txt
 create mode 100644 arch/arm64/boot/dts/marvell/iap140-andromeda-box-edge.dts
 create mode 100644 arch/arm64/boot/dts/marvell/iap140.dtsi
Signature · 1 line
2.10.2
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#11 lore raw

Hi Gregory,

Am 20.02.2017 um 14:17 schrieb Gregory CLEMENT:

Quoted 7 lines · Andreas F?rber
Quoted 3 lines

This mini-series adds initial support for the Marvell IAP140 SoC (aka PXA1908) and the Andromeda Box Edge development board.

Given the name of the SoC (PXA1908) and the fact that you reuse driver related to PXA, for me these SoC is neither a mvebu nor a berlin SoC.

That matches my understanding.

Quoted 4 lines

So
just to avoid any misunderstanding, I don't mind being CC and possibly doing review but I don't plan to take this patch ( I don't think the berlin maintainer will do it too).

Sure. There did not seem to be a MAINTAINERS-documented maintainer for dts/marvell/Makefile, so I CC'ed both MVEBU and Berlin for review, in addition to the unclear-to-me PXA vs. MMP separation.

I was unsure about the sort order used: Is it that Berlin was first and therefore Berlin comes before Armada (then iap140 goes last), or is it sorted by ARCH_? Becomes relevant below.

Quoted 9 lines
Quoted 6 lines

In order to enable the 8250 UART driver, it reuses ARCH_PXA; but some drivers enabled with ARCH_PXA don't build due to arm assembly or arm64's lack of mach-, so their dependencies need to be limited to ARM alongside (blacklisted). The alternative would of course be to choose a new ARCH_ symbol and to selectively add it to drivers known working (whitelisting). The latter would require finding a suitable name.

For this kind of issue you can have a look on what we did when introducing mvebu SoC using ARM64.

This is how you introduced MVEBU for arm64:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b4f596b19624d14864596b5b43de5f04cadd4895

There was a discussion with Jisheng on whether to use ARCH_ARMADA_3700, but since I did not propose ARCH_IAP140 here, what are you suggesting exactly? Berlin does not sound like a BU name either.

What I am reading out of the documentation Thomas pointed to is that ARCH_MMP would be more correct than ARCH_PXA, despite the PXA1908 name.

MMP does help with driver compilation. Just for the OF earlycon I still need the PXA compatible fallback, or we would need to define an MMP earlycon. Since mmp2.dtsi does not use the pxa compatible, I'll look into the latter for v2.

MMP sorts before MVEBU, unlike PXA.

So MMP would mean Eric and Haojian only - I will drop the other Marvell maintainers for v2 then, except where review comments have been provided.

Regards,
Andreas

Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Graham Norton
HRB 21284 (AG N?rnberg)
maintainer
#12 lore raw
Quoted 2 lines

So MMP would mean Eric and Haojian only - I will drop the other Marvell maintainers for v2 then, except where review comments have been provided.

Hi Andreas

If you find there are any drivers shared by MVEBU and MMP, please do
Cc: us if you need to touch them. We have knowledge we can share.

Andrew

#13 lore raw
In reply to Andreas Färber
Quoted 5 lines · Andreas F?rber

Hi Gregory,

Am 20.02.2017 um 14:17 schrieb Gregory CLEMENT:

Quoted 2 lines · Andreas F?rber
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

This mini-series adds initial support for the Marvell IAP140 SoC (aka PXA1908) and the Andromeda Box Edge development board.

Given the name of the SoC (PXA1908) and the fact that you reuse driver related to PXA, for me these SoC is neither a mvebu nor a berlin SoC.

That matches my understanding.

...zip...

Quoted 2 lines

What I am reading out of the documentation Thomas pointed to is that ARCH_MMP would be more correct than ARCH_PXA, despite the PXA1908 name.

I agree here.

PXA for me are XScale micro-architecture based SoCs, quite old. PXA1908 has a quite recent Cortex-A53 (or several of them), which makes me think its either an MMP or something newer than MMP.

Quoted 9 lines

MMP does help with driver compilation. Just for the OF earlycon I still need the PXA compatible fallback, or we would need to define an MMP earlycon. Since mmp2.dtsi does not use the pxa compatible, I'll look into the latter for v2.

MMP sorts before MVEBU, unlike PXA.

So MMP would mean Eric and Haojian only - I will drop the other Marvell maintainers for v2 then, except where review comments have been provided.

Yes please.

Cheers.

Signature · 1 line
Robert