From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 1/4] linux: enable options for NXP Layerscape Date: Tue, 04 Oct 2022 09:57:13 +0100 Message-ID: <96386D2D-27F8-4BD3-8C9D-E93FDDE9AF75@ipfire.org> In-Reply-To: <20221003062019.19636-2-matt@traverse.com.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3234043694464045455==" List-Id: --===============3234043694464045455== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Michael Tremer > On 3 Oct 2022, at 07:20, Mathew McBride wrote: >=20 > This change enables support for NXP's QorIQ/Layerscape platforms, > specifically the Traverse Technologies Ten64 (LS1088A). >=20 > Signed-off-by: Mathew McBride > --- > config/kernel/kernel.config.aarch64-ipfire | 76 ++++++++++++++++++---- > 1 file changed, 62 insertions(+), 14 deletions(-) >=20 > diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/ker= nel.config.aarch64-ipfire > index 836e2b15f..ea8c87c9c 100644 > --- a/config/kernel/kernel.config.aarch64-ipfire > +++ b/config/kernel/kernel.config.aarch64-ipfire > @@ -297,7 +297,7 @@ CONFIG_ARCH_BERLIN=3Dy > # CONFIG_ARCH_EXYNOS is not set > # CONFIG_ARCH_SPARX5 is not set > # CONFIG_ARCH_K3 is not set > -# CONFIG_ARCH_LAYERSCAPE is not set > +CONFIG_ARCH_LAYERSCAPE=3Dy > # CONFIG_ARCH_LG1K is not set > # CONFIG_ARCH_HISI is not set > # CONFIG_ARCH_KEEMBAY is not set > @@ -372,9 +372,9 @@ CONFIG_SOCIONEXT_SYNQUACER_PREITS=3Dy > CONFIG_ARM64_4K_PAGES=3Dy > # CONFIG_ARM64_16K_PAGES is not set > # CONFIG_ARM64_64K_PAGES is not set > -CONFIG_ARM64_VA_BITS_39=3Dy > -# CONFIG_ARM64_VA_BITS_48 is not set > -CONFIG_ARM64_VA_BITS=3D39 > +# CONFIG_ARM64_VA_BITS_39 is not set > +CONFIG_ARM64_VA_BITS_48=3Dy > +CONFIG_ARM64_VA_BITS=3D48 > CONFIG_ARM64_PA_BITS_48=3Dy > CONFIG_ARM64_PA_BITS=3D48 > # CONFIG_CPU_BIG_ENDIAN is not set > @@ -559,6 +559,7 @@ CONFIG_ARM_ARMADA_37XX_CPUFREQ=3Dm > CONFIG_ARM_ARMADA_8K_CPUFREQ=3Dm > CONFIG_ARM_IMX_CPUFREQ_DT=3Dm > CONFIG_ARM_SCMI_CPUFREQ=3Dm > +CONFIG_QORIQ_CPUFREQ=3Dm > # end of CPU Frequency scaling > # end of CPU Power Management >=20 > @@ -1759,6 +1760,7 @@ CONFIG_PCIE_DW_HOST=3Dy > CONFIG_PCIE_DW_PLAT=3Dy > CONFIG_PCIE_DW_PLAT_HOST=3Dy > CONFIG_PCI_IMX6=3Dy > +CONFIG_PCI_LAYERSCAPE=3Dy > # CONFIG_PCI_HISI is not set > # CONFIG_PCIE_ARMADA_8K is not set > CONFIG_PCIE_ROCKCHIP_DW_HOST=3Dy > @@ -1770,6 +1772,7 @@ CONFIG_PCIE_AL=3Dy > # > # Mobiveil PCIe Core Support > # > +# CONFIG_PCIE_LAYERSCAPE_GEN4 is not set > # end of Mobiveil PCIe Core Support >=20 > # > @@ -1846,6 +1849,8 @@ CONFIG_GENERIC_ARCH_TOPOLOGY=3Dy > CONFIG_SUN50I_DE2_BUS=3Dy > CONFIG_SUNXI_RSB=3Dy > CONFIG_VEXPRESS_CONFIG=3Dy > +CONFIG_FSL_MC_BUS=3Dy > +CONFIG_FSL_MC_UAPI_SUPPORT=3Dy > CONFIG_MHI_BUS=3Dm > # CONFIG_MHI_BUS_PCI_GENERIC is not set > # end of Bus devices > @@ -2596,9 +2601,14 @@ CONFIG_NET_VENDOR_EZCHIP=3Dy > CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=3Dm > CONFIG_NET_VENDOR_FREESCALE=3Dy > CONFIG_FEC=3Dm > +CONFIG_FSL_FMAN=3Dm > +CONFIG_DPAA_ERRATUM_A050385=3Dy > CONFIG_FSL_PQ_MDIO=3Dm > CONFIG_FSL_XGMAC_MDIO=3Dm > CONFIG_GIANFAR=3Dm > +CONFIG_FSL_DPAA_ETH=3Dm > +CONFIG_FSL_DPAA2_ETH=3Dm > +# CONFIG_FSL_DPAA2_PTP_CLOCK is not set > CONFIG_FSL_DPAA2_SWITCH=3Dm > CONFIG_FSL_ENETC=3Dm > CONFIG_FSL_ENETC_VF=3Dm > @@ -3597,7 +3607,7 @@ CONFIG_I2C_CBUS_GPIO=3Dm > CONFIG_I2C_GPIO=3Dm > # CONFIG_I2C_GPIO_FAULT_INJECTOR is not set > CONFIG_I2C_HISI=3Dm > -# CONFIG_I2C_IMX is not set > +CONFIG_I2C_IMX=3Dm > CONFIG_I2C_IMX_LPI2C=3Dm > CONFIG_I2C_MESON=3Dm > CONFIG_I2C_MV64XXX=3Dy > @@ -3759,6 +3769,7 @@ CONFIG_GPIO_SYSFS=3Dy > CONFIG_GPIO_CDEV=3Dy > CONFIG_GPIO_CDEV_V1=3Dy > CONFIG_GPIO_GENERIC=3Dy > +CONFIG_GPIO_REGMAP=3Dm >=20 > # > # Memory mapped GPIO drivers > @@ -3777,6 +3788,7 @@ CONFIG_GPIO_GENERIC_PLATFORM=3Dy > # CONFIG_GPIO_HLWD is not set > # CONFIG_GPIO_LOGICVC is not set > # CONFIG_GPIO_MB86S7X is not set > +CONFIG_GPIO_MPC8XXX=3Dy > CONFIG_GPIO_MVEBU=3Dy > CONFIG_GPIO_MXC=3Dm > CONFIG_GPIO_PL061=3Dy > @@ -3797,7 +3809,8 @@ CONFIG_GPIO_ADNP=3Dm > # CONFIG_GPIO_GW_PLD is not set > # CONFIG_GPIO_MAX7300 is not set > # CONFIG_GPIO_MAX732X is not set > -# CONFIG_GPIO_PCA953X is not set > +CONFIG_GPIO_PCA953X=3Dm > +CONFIG_GPIO_PCA953X_IRQ=3Dy > # CONFIG_GPIO_PCA9570 is not set > # CONFIG_GPIO_PCF857X is not set > # CONFIG_GPIO_TPIC2810 is not set > @@ -4305,6 +4318,8 @@ CONFIG_MFD_RK808=3Dy > # CONFIG_MFD_RN5T618 is not set > # CONFIG_MFD_SEC_CORE is not set > # CONFIG_MFD_SI476X_CORE is not set > +CONFIG_MFD_SIMPLE_MFD_I2C=3Dm > +# CONFIG_MFD_SL28CPLD is not set > CONFIG_MFD_SM501=3Dm > CONFIG_MFD_SM501_GPIO=3Dy > # CONFIG_MFD_SKY81452 is not set > @@ -6412,10 +6427,10 @@ CONFIG_MMC_SDHCI_PLTFM=3Dy > CONFIG_MMC_SDHCI_OF_ARASAN=3Dm > # CONFIG_MMC_SDHCI_OF_ASPEED is not set > # CONFIG_MMC_SDHCI_OF_AT91 is not set > -# CONFIG_MMC_SDHCI_OF_ESDHC is not set > +CONFIG_MMC_SDHCI_OF_ESDHC=3Dm > # CONFIG_MMC_SDHCI_OF_DWCMSHC is not set > # CONFIG_MMC_SDHCI_CADENCE is not set > -# CONFIG_MMC_SDHCI_ESDHC_IMX is not set > +CONFIG_MMC_SDHCI_ESDHC_IMX=3Dm > CONFIG_MMC_SDHCI_PXAV3=3Dm > # CONFIG_MMC_SDHCI_F_SDH30 is not set > # CONFIG_MMC_SDHCI_MILBEAUT is not set > @@ -6634,6 +6649,7 @@ CONFIG_RTC_DRV_V3020=3Dm > # on-CPU RTC drivers > # > # CONFIG_RTC_DRV_IMXDI is not set > +# CONFIG_RTC_DRV_FSL_FTM_ALARM is not set > CONFIG_RTC_DRV_MESON_VRTC=3Dm > CONFIG_RTC_DRV_PL030=3Dm > CONFIG_RTC_DRV_PL031=3Dm > @@ -6692,6 +6708,7 @@ CONFIG_DW_DMAC_PCI=3Dm > # CONFIG_DW_EDMA is not set > # CONFIG_DW_EDMA_PCIE is not set > # CONFIG_SF_PDMA is not set > +# CONFIG_FSL_DPAA2_QDMA is not set >=20 > # > # DMA Clients > @@ -6734,6 +6751,7 @@ CONFIG_VFIO_PCI_INTX=3Dy > CONFIG_VFIO_PCI=3Dm > # CONFIG_VFIO_PLATFORM is not set > # CONFIG_VFIO_MDEV is not set > +# CONFIG_VFIO_FSL_MC is not set > CONFIG_VIRT_DRIVERS=3Dy > CONFIG_VIRTIO=3Dy > CONFIG_VIRTIO_PCI_LIB=3Dy > @@ -6820,8 +6838,12 @@ CONFIG_COMMON_CLK_SI570=3Dm > # CONFIG_COMMON_CLK_CDCE706 is not set > # CONFIG_COMMON_CLK_CDCE925 is not set > # CONFIG_COMMON_CLK_CS2000_CP is not set > +CONFIG_COMMON_CLK_FSL_FLEXSPI=3Dm > +# CONFIG_COMMON_CLK_FSL_SAI is not set > CONFIG_CLK_TWL6040=3Dm > # CONFIG_COMMON_CLK_AXI_CLKGEN is not set > +CONFIG_CLK_QORIQ=3Dy > +CONFIG_CLK_LS1028A_PLLDIG=3Dm > CONFIG_COMMON_CLK_XGENE=3Dy > # CONFIG_COMMON_CLK_PWM is not set > # CONFIG_COMMON_CLK_VC5 is not set > @@ -6933,13 +6955,16 @@ CONFIG_IOMMU_SUPPORT=3Dy >=20 > CONFIG_IOMMU_DEFAULT_DMA_STRICT=3Dy > # CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set > -# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set > +CONFIG_IOMMU_DEFAULT_PASSTHROUGH=3Dy > CONFIG_OF_IOMMU=3Dy > CONFIG_IOMMU_DMA=3Dy > CONFIG_ROCKCHIP_IOMMU=3Dy > CONFIG_SUN50I_IOMMU=3Dy > -# CONFIG_ARM_SMMU is not set > -# CONFIG_ARM_SMMU_V3 is not set > +CONFIG_ARM_SMMU=3Dy > +# CONFIG_ARM_SMMU_LEGACY_DT_BINDINGS is not set > +# CONFIG_ARM_SMMU_DISABLE_BYPASS_BY_DEFAULT is not set > +CONFIG_ARM_SMMU_V3=3Dy > +# CONFIG_ARM_SMMU_V3_SVA is not set > # CONFIG_VIRTIO_IOMMU is not set >=20 > # > @@ -6983,7 +7008,14 @@ CONFIG_RASPBERRYPI_POWER=3Dy > # > # NXP/Freescale QorIQ SoC drivers > # > +CONFIG_FSL_DPAA=3Dy > +# CONFIG_FSL_DPAA_CHECKING is not set > +# CONFIG_FSL_BMAN_TEST is not set > +# CONFIG_FSL_QMAN_TEST is not set > # CONFIG_QUICC_ENGINE is not set > +CONFIG_FSL_GUTS=3Dy > +CONFIG_FSL_MC_DPIO=3Dy > +CONFIG_DPAA2_CONSOLE=3Dy > # end of NXP/Freescale QorIQ SoC drivers >=20 > # > @@ -7084,6 +7116,7 @@ CONFIG_ARM_GIC_V2M=3Dy > CONFIG_ARM_GIC_V3=3Dy > CONFIG_ARM_GIC_V3_ITS=3Dy > CONFIG_ARM_GIC_V3_ITS_PCI=3Dy > +CONFIG_ARM_GIC_V3_ITS_FSL_MC=3Dy > # CONFIG_AL_FIC is not set > CONFIG_BRCMSTB_L2_IRQ=3Dy > CONFIG_DW_APB_ICTL=3Dy > @@ -7093,6 +7126,8 @@ CONFIG_MVEBU_ICU=3Dy > CONFIG_MVEBU_ODMI=3Dy > CONFIG_MVEBU_PIC=3Dy > CONFIG_MVEBU_SEI=3Dy > +CONFIG_LS_EXTIRQ=3Dy > +CONFIG_LS_SCFG_MSI=3Dy > CONFIG_PARTITION_PERCPU=3Dy > CONFIG_MESON_IRQ_GPIO=3Dy > CONFIG_IMX_IRQSTEER=3Dy > @@ -7620,7 +7655,7 @@ CONFIG_CRYPTO_NULL=3Dy > CONFIG_CRYPTO_NULL2=3Dy > CONFIG_CRYPTO_PCRYPT=3Dm > CONFIG_CRYPTO_CRYPTD=3Dy > -CONFIG_CRYPTO_AUTHENC=3Dm > +CONFIG_CRYPTO_AUTHENC=3Dy > CONFIG_CRYPTO_TEST=3Dm > CONFIG_CRYPTO_SIMD=3Dm > CONFIG_CRYPTO_ENGINE=3Dm > @@ -7658,7 +7693,7 @@ CONFIG_CRYPTO_ECB=3Dy > CONFIG_CRYPTO_LRW=3Dm > # CONFIG_CRYPTO_OFB is not set > CONFIG_CRYPTO_PCBC=3Dm > -CONFIG_CRYPTO_XTS=3Dm > +CONFIG_CRYPTO_XTS=3Dy > # CONFIG_CRYPTO_KEYWRAP is not set > CONFIG_CRYPTO_NHPOLY1305=3Dm > # CONFIG_CRYPTO_ADIANTUM is not set > @@ -7750,7 +7785,20 @@ CONFIG_CRYPTO_DEV_ALLWINNER=3Dy > # CONFIG_CRYPTO_DEV_SUN4I_SS is not set > # CONFIG_CRYPTO_DEV_SUN8I_CE is not set > # CONFIG_CRYPTO_DEV_SUN8I_SS is not set > -# CONFIG_CRYPTO_DEV_FSL_CAAM is not set > +CONFIG_CRYPTO_DEV_FSL_CAAM_COMMON=3Dy > +CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC=3Dy > +CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API_DESC=3Dy > +CONFIG_CRYPTO_DEV_FSL_CAAM=3Dm > +# CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG is not set > +CONFIG_CRYPTO_DEV_FSL_CAAM_JR=3Dm > +CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE=3D9 > +# CONFIG_CRYPTO_DEV_FSL_CAAM_INTC is not set > +CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API=3Dy > +CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI=3Dy > +CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API=3Dy > +CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API=3Dy > +CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API=3Dy > +CONFIG_CRYPTO_DEV_FSL_DPAA2_CAAM=3Dy > # CONFIG_CRYPTO_DEV_SAHARA is not set > # CONFIG_CRYPTO_DEV_ATMEL_ECC is not set > # CONFIG_CRYPTO_DEV_ATMEL_SHA204A is not set > --=20 > 2.30.1 >=20 --===============3234043694464045455==--