From 4936462e1860b59b9e9fe5ef77cfad9c16643e47 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 16 Jul 2019 14:09:08 +0200 Subject: [PATCH 1/9] [armhf] Add support for Marvell MMP2 Enable the devicetree-based MMP2 platform. This works on the OLPC XO-1.75 laptop and presumably some Marvell development boards. --- debian/config/armhf/config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/config/armhf/config b/debian/config/armhf/config index f25123fc7201..bd3015c73f55 100644 --- a/debian/config/armhf/config +++ b/debian/config/armhf/config @@ -69,6 +69,12 @@ CONFIG_SOC_IMX6UL=y ## CONFIG_ARCH_MESON=y +## +## file: arch/arm/mach-mmp/Kconfig +## +CONFIG_ARCH_MMP=y +CONFIG_MACH_MMP2_DT=y + ## ## file: arch/arm/mach-mvebu/Kconfig ## From 26a093fe731b8d8def3ea9acf66ca121bf3ba847 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 16 Jul 2019 14:03:29 +0200 Subject: [PATCH 2/9] [armhf] Enable I2C_PXA MMP2 uses this controller. Perhaps also other Marvell/XScale platforms. --- debian/config/armhf/config | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/config/armhf/config b/debian/config/armhf/config index bd3015c73f55..700bdbc9df5a 100644 --- a/debian/config/armhf/config +++ b/debian/config/armhf/config @@ -451,6 +451,7 @@ CONFIG_I2C_IMX=m CONFIG_I2C_MESON=m CONFIG_I2C_MV64XXX=m CONFIG_I2C_OMAP=y +CONFIG_I2C_PXA=m CONFIG_I2C_RK3X=m CONFIG_I2C_S3C2410=y CONFIG_I2C_SUN6I_P2WI=m From 01f15982c5af7652a0a144003870c32b189aef3f Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Wed, 17 Jul 2019 11:36:51 +0200 Subject: [PATCH 3/9] [armhf] Enable SPI_PXA2XX MMP2 uses this controller. Perhaps also other Marvell/XScale platforms. --- debian/config/armhf/config | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/config/armhf/config b/debian/config/armhf/config index 700bdbc9df5a..43dd18231ae6 100644 --- a/debian/config/armhf/config +++ b/debian/config/armhf/config @@ -1113,6 +1113,7 @@ CONFIG_SPI_OMAP24XX=m CONFIG_SPI_TI_QSPI=m CONFIG_SPI_ORION=m CONFIG_SPI_PL022=m +CONFIG_SPI_PXA2XX=m CONFIG_SPI_ROCKCHIP=m CONFIG_SPI_SUN4I=m CONFIG_SPI_SUN6I=m From 715f4a3653db4ac17a36a7080b528dd696135383 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 16 Jul 2019 14:02:01 +0200 Subject: [PATCH 4/9] [armhf] Enable SPI_SLAVE On the OLPC XO-1.75 machine, the EC is a SPI master and we need a SPI slave mode support in order to talk to it. --- debian/config/armhf/config | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/config/armhf/config b/debian/config/armhf/config index 43dd18231ae6..caadd59946d2 100644 --- a/debian/config/armhf/config +++ b/debian/config/armhf/config @@ -1103,6 +1103,7 @@ CONFIG_ARCH_TEGRA_124_SOC=y ## file: drivers/spi/Kconfig ## CONFIG_SPI=y +CONFIG_SPI_SLAVE=y CONFIG_SPI_BCM2835=m CONFIG_SPI_BCM2835AUX=m CONFIG_SPI_GPIO=y From aff45b089a17bec5c6cb90e0094b387a79fe0bce Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 16 Jul 2019 14:04:11 +0200 Subject: [PATCH 5/9] [armhf] Enable USB_EHCI_MV The enables USB 2.0 on Marvell platforms, such as MMP2. --- debian/config/armhf/config | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/config/armhf/config b/debian/config/armhf/config index caadd59946d2..485cc1667df5 100644 --- a/debian/config/armhf/config +++ b/debian/config/armhf/config @@ -1235,6 +1235,7 @@ CONFIG_USB_G_NOKIA=m CONFIG_USB_XHCI_MVEBU=m CONFIG_USB_XHCI_TEGRA=m CONFIG_USB_EHCI_HCD=m +CONFIG_USB_EHCI_MV=m CONFIG_USB_EHCI_MXC=m CONFIG_USB_EHCI_HCD_OMAP=y CONFIG_USB_EHCI_TEGRA=m From f778f5012655ec43fe1c4fbd7e6e9612c0ded601 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 16 Jul 2019 14:06:26 +0200 Subject: [PATCH 6/9] [armhf] Enable DRM_ARMADA This is used by Marvell platforms, including Dove (on the original CuBox) and MMP2. --- debian/config/armhf/config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/config/armhf/config b/debian/config/armhf/config index 485cc1667df5..71e6fb7e2f92 100644 --- a/debian/config/armhf/config +++ b/debian/config/armhf/config @@ -290,6 +290,12 @@ CONFIG_GPIO_TWL6040=y ## CONFIG_DRM=m +## +## file: drivers/gpu/drm/armada/Kconfig +## + +CONFIG_DRM_ARMADA=m + ## ## file: drivers/gpu/drm/bridge/synopsys/Kconfig ## From 8c789b80c3fea217a28bcd7a8223bdae54001914 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 16 Jul 2019 14:10:33 +0200 Subject: [PATCH 7/9] [armhf] Enable PHY_PXA_USB This is the USB 2.0 PHY used on MMP and MMP2 platforms, including the OLPC XO 1.75 laptop. --- debian/config/armhf/config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/config/armhf/config b/debian/config/armhf/config index 71e6fb7e2f92..8a325a2f4c5b 100644 --- a/debian/config/armhf/config +++ b/debian/config/armhf/config @@ -924,6 +924,11 @@ CONFIG_PCI_IMX6=y CONFIG_PHY_SUN4I_USB=m CONFIG_PHY_SUN9I_USB=m +## +## file: drivers/phy/marvell/Kconfig +## +CONFIG_PHY_PXA_USB=m + ## ## file: drivers/phy/rockchip/Kconfig ## From d05052cb892b98072e7da78f398b8c31ee14fc7c Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 16 Jul 2019 14:12:14 +0200 Subject: [PATCH 8/9] [armhf] Enable SERIO_OLPC_APSP This is the OLPC keyboard firmware bit-banging PS/2 keyboard protocol on the MMP2 security processor. --- debian/config/armhf/config | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/config/armhf/config b/debian/config/armhf/config index 8a325a2f4c5b..00ffad69f6f9 100644 --- a/debian/config/armhf/config +++ b/debian/config/armhf/config @@ -530,6 +530,7 @@ CONFIG_MOUSE_ELAN_I2C=m ## file: drivers/input/serio/Kconfig ## CONFIG_SERIO_AMBAKMI=m +CONFIG_SERIO_OLPC_APSP=m CONFIG_SERIO_SUN4I_PS2=m ## From 95004bdfdb6b28e29c9aa4bf9d7909a087451853 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 16 Jul 2019 14:14:35 +0200 Subject: [PATCH 9/9] [armhf] Enable PWRSEQ_SD8787 This is the power sequencer mechanism for the SD8787 Wi-Fi. --- debian/config/armhf/config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/config/armhf/config b/debian/config/armhf/config index 00ffad69f6f9..237c5e1cb5db 100644 --- a/debian/config/armhf/config +++ b/debian/config/armhf/config @@ -654,6 +654,11 @@ CONFIG_TI_ST=m ## CONFIG_MMC=y +## +## file: drivers/mmc/core/Kconfig +## +CONFIG_PWRSEQ_SD8787=m + ## ## file: drivers/mmc/host/Kconfig ##