From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Wed, 14 Oct 2020 10:51:39 +0200 From: Roland Hieber Message-ID: <20201014085139.bnsjqqvqdwyjmfzu@pengutronix.de> References: <20201012193604.9394-1-a.fatoum@pengutronix.de> <20201012193604.9394-3-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201012193604.9394-3-a.fatoum@pengutronix.de> Subject: Re: [DistroKit] [PATCH v2 3/7] v7a: kernel: extend for sama5d2 support List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: Ahmad Fatoum Cc: distrokit@pengutronix.de On Mon, Oct 12, 2020 at 09:36:00PM +0200, Ahmad Fatoum wrote: > In preparation for generating images for the sama5d27, have our > multiplatform kernel configuration target the sama5d2 as well. > > Signed-off-by: Ahmad Fatoum > --- > v1 -> v2: removed CONFIG_USB_GADGET (Roland) Ah, I thought you said that USB support depended on this...? - Roland > --- > configs/platform-v7a/kernelconfig | 69 +++++++++++++++++++++++++++++-- > 1 file changed, 65 insertions(+), 4 deletions(-) > > diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig > index a9ebdecde2f0..ccd8a204d075 100644 > --- a/configs/platform-v7a/kernelconfig > +++ b/configs/platform-v7a/kernelconfig > @@ -280,7 +280,26 @@ CONFIG_ARCH_MULTI_V6_V7=y > # CONFIG_ARCH_ALPINE is not set > # CONFIG_ARCH_ARTPEC is not set > # CONFIG_ARCH_ASPEED is not set > -# CONFIG_ARCH_AT91 is not set > +CONFIG_ARCH_AT91=y > +CONFIG_SOC_SAMA5D2=y > +# CONFIG_SOC_SAMA5D3 is not set > +# CONFIG_SOC_SAMA5D4 is not set > + > +# > +# Clocksource driver selection > +# > +CONFIG_ATMEL_CLOCKSOURCE_PIT=y > +CONFIG_ATMEL_CLOCKSOURCE_TCB=y > +CONFIG_HAVE_AT91_UTMI=y > +CONFIG_HAVE_AT91_USB_CLK=y > +CONFIG_COMMON_CLK_AT91=y > +CONFIG_HAVE_AT91_H32MX=y > +CONFIG_HAVE_AT91_GENERATED_CLK=y > +CONFIG_HAVE_AT91_AUDIO_PLL=y > +CONFIG_HAVE_AT91_I2S_MUX_CLK=y > +CONFIG_SOC_SAM_V7=y > +CONFIG_SOC_SAMA5=y > +CONFIG_ATMEL_PM=y > CONFIG_ARCH_BCM=y > > # > @@ -605,6 +624,7 @@ CONFIG_DT_IDLE_STATES=y > CONFIG_ARM_CPUIDLE=y > # CONFIG_ARM_PSCI_CPUIDLE is not set > # CONFIG_ARM_HIGHBANK_CPUIDLE is not set > +CONFIG_ARM_AT91_CPUIDLE=y > # end of ARM CPU Idle Drivers > # end of CPU Idle > # end of CPU Power Management > @@ -1290,8 +1310,10 @@ CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 > # Misc devices > # > # CONFIG_AD525X_DPOT is not set > +# CONFIG_ATMEL_TCLIB is not set > # CONFIG_DUMMY_IRQ is not set > # CONFIG_ICS932S401 is not set > +# CONFIG_ATMEL_SSC is not set > # CONFIG_ENCLOSURE_SERVICES is not set > # CONFIG_APDS9802ALS is not set > # CONFIG_ISL29003 is not set > @@ -1389,7 +1411,9 @@ CONFIG_ETHERNET=y > # CONFIG_NET_VENDOR_ARC is not set > # CONFIG_NET_VENDOR_AURORA is not set > # CONFIG_NET_VENDOR_BROADCOM is not set > -# CONFIG_NET_VENDOR_CADENCE is not set > +CONFIG_NET_VENDOR_CADENCE=y > +CONFIG_MACB=y > +CONFIG_MACB_USE_HWSTAMP=y > # CONFIG_NET_VENDOR_CAVIUM is not set > # CONFIG_NET_VENDOR_CIRRUS is not set > # CONFIG_NET_VENDOR_CORTINA is not set > @@ -1645,6 +1669,10 @@ CONFIG_SERIAL_8250_FSL=y > CONFIG_SERIAL_AMBA_PL011=y > CONFIG_SERIAL_AMBA_PL011_CONSOLE=y > # CONFIG_SERIAL_EARLYCON_ARM_SEMIHOST is not set > +CONFIG_SERIAL_ATMEL=y > +CONFIG_SERIAL_ATMEL_CONSOLE=y > +CONFIG_SERIAL_ATMEL_PDC=y > +CONFIG_SERIAL_ATMEL_TTYAT=y > # CONFIG_SERIAL_MAX3100 is not set > # CONFIG_SERIAL_MAX310X is not set > CONFIG_SERIAL_IMX=y > @@ -1685,6 +1713,7 @@ CONFIG_NULL_TTY=y > # CONFIG_IPMB_DEVICE_INTERFACE is not set > CONFIG_HW_RANDOM=y > # CONFIG_HW_RANDOM_TIMERIOMEM is not set > +CONFIG_HW_RANDOM_ATMEL=y > CONFIG_HW_RANDOM_BCM2835=y > # CONFIG_HW_RANDOM_IPROC_RNG200 is not set > CONFIG_HW_RANDOM_OMAP=y > @@ -1717,6 +1746,8 @@ CONFIG_I2C_HELPER_AUTO=y > # > # I2C system bus drivers (mostly embedded / system-on-chip) > # > +CONFIG_I2C_AT91=y > +# CONFIG_I2C_AT91_SLAVE_EXPERIMENTAL is not set > CONFIG_I2C_BCM2835=y > CONFIG_I2C_BRCMSTB=y > # CONFIG_I2C_CBUS_GPIO is not set > @@ -1767,6 +1798,9 @@ CONFIG_SPI_MASTER=y > # SPI Master Controller Drivers > # > # CONFIG_SPI_ALTERA is not set > +CONFIG_SPI_ATMEL=y > +# CONFIG_SPI_AT91_USART is not set > +CONFIG_SPI_ATMEL_QUADSPI=y > # CONFIG_SPI_AXI_SPI_ENGINE is not set > CONFIG_SPI_BCM2835=y > CONFIG_SPI_BCM2835AUX=y > @@ -1841,6 +1875,8 @@ CONFIG_GENERIC_PINMUX_FUNCTIONS=y > CONFIG_PINCONF=y > CONFIG_GENERIC_PINCONF=y > # CONFIG_DEBUG_PINCTRL is not set > +# CONFIG_PINCTRL_AT91 is not set > +CONFIG_PINCTRL_AT91PIO4=y > # CONFIG_PINCTRL_MCP23S08 is not set > CONFIG_PINCTRL_SINGLE=y > # CONFIG_PINCTRL_SX150X is not set > @@ -1939,6 +1975,9 @@ CONFIG_GPIO_TWL4030=y > CONFIG_POWER_AVS=y > # CONFIG_QCOM_CPR is not set > CONFIG_POWER_RESET=y > +CONFIG_POWER_RESET_AT91_POWEROFF=y > +CONFIG_POWER_RESET_AT91_RESET=y > +CONFIG_POWER_RESET_AT91_SAMA5D2_SHDWC=y > # CONFIG_POWER_RESET_BRCMKONA is not set > # CONFIG_POWER_RESET_BRCMSTB is not set > # CONFIG_POWER_RESET_GPIO is not set > @@ -2048,6 +2087,8 @@ CONFIG_WATCHDOG_OPEN_TIMEOUT=0 > # CONFIG_XILINX_WATCHDOG is not set > # CONFIG_ZIIRAVE_WATCHDOG is not set > # CONFIG_ARM_SP805_WATCHDOG is not set > +# CONFIG_AT91SAM9X_WATCHDOG is not set > +CONFIG_SAMA5D4_WATCHDOG=y > # CONFIG_CADENCE_WATCHDOG is not set > # CONFIG_FTWDT010_WATCHDOG is not set > # CONFIG_DW_WATCHDOG is not set > @@ -2080,8 +2121,10 @@ CONFIG_MFD_CORE=y > # CONFIG_MFD_AS3722 is not set > # CONFIG_PMIC_ADP5520 is not set > # CONFIG_MFD_AAT2870_CORE is not set > -# CONFIG_MFD_ATMEL_FLEXCOM is not set > +CONFIG_MFD_AT91_USART=y > +CONFIG_MFD_ATMEL_FLEXCOM=y > # CONFIG_MFD_ATMEL_HLCDC is not set > +CONFIG_MFD_ATMEL_SMC=y > # CONFIG_MFD_BCM590XX is not set > # CONFIG_MFD_BD9571MWV is not set > # CONFIG_MFD_AXP20X_I2C is not set > @@ -2413,6 +2456,7 @@ CONFIG_USB_EHCI_TT_NEWSCHED=y > # CONFIG_USB_EHCI_FSL is not set > CONFIG_USB_EHCI_MXC=y > CONFIG_USB_EHCI_HCD_OMAP=y > +CONFIG_USB_EHCI_HCD_AT91=y > # CONFIG_USB_EHCI_HCD_PLATFORM is not set > # CONFIG_USB_OXU210HP_HCD is not set > # CONFIG_USB_ISP116X_HCD is not set > @@ -2548,7 +2592,7 @@ CONFIG_MMC_SDHCI_IO_ACCESSORS=y > CONFIG_MMC_SDHCI_PLTFM=y > # CONFIG_MMC_SDHCI_OF_ARASAN is not set > # CONFIG_MMC_SDHCI_OF_ASPEED is not set > -# CONFIG_MMC_SDHCI_OF_AT91 is not set > +CONFIG_MMC_SDHCI_OF_AT91=y > CONFIG_MMC_SDHCI_OF_ESDHC=y > # CONFIG_MMC_SDHCI_OF_DWCMSHC is not set > # CONFIG_MMC_SDHCI_CADENCE is not set > @@ -2558,6 +2602,7 @@ CONFIG_MMC_SDHCI_ESDHC_IMX=y > CONFIG_MMC_SDHCI_IPROC=y > # CONFIG_MMC_OMAP is not set > # CONFIG_MMC_OMAP_HS is not set > +CONFIG_MMC_ATMELMCI=y > # CONFIG_MMC_MXC is not set > # CONFIG_MMC_SPI is not set > # CONFIG_MMC_DW is not set > @@ -2758,6 +2803,8 @@ CONFIG_RTC_I2C_AND_SPI=y > CONFIG_RTC_DRV_OMAP=y > # CONFIG_RTC_DRV_PL030 is not set > # CONFIG_RTC_DRV_PL031 is not set > +# CONFIG_RTC_DRV_AT91RM9200 is not set > +# CONFIG_RTC_DRV_AT91SAM9 is not set > # CONFIG_RTC_DRV_CADENCE is not set > # CONFIG_RTC_DRV_FTRTC010 is not set > # CONFIG_RTC_DRV_MXC is not set > @@ -2780,6 +2827,8 @@ CONFIG_DMA_VIRTUAL_CHANNELS=y > CONFIG_DMA_OF=y > # CONFIG_ALTERA_MSGDMA is not set > # CONFIG_AMBA_PL08X is not set > +# CONFIG_AT_HDMAC is not set > +CONFIG_AT_XDMAC=y > CONFIG_DMA_BCM2835=y > # CONFIG_DW_AXI_DMAC is not set > # CONFIG_FSL_EDMA is not set > @@ -2901,6 +2950,8 @@ CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y > CONFIG_ARM_GLOBAL_TIMER=y > CONFIG_ARM_TIMER_SP804=y > CONFIG_CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK=y > +CONFIG_ATMEL_PIT=y > +CONFIG_ATMEL_TCB_CLKSRC=y > CONFIG_CLKSRC_VERSATILE=y > CONFIG_CLKSRC_IMX_GPT=y > # CONFIG_MICROCHIP_PIT64B is not set > @@ -2950,6 +3001,9 @@ CONFIG_STM32_RPROC=y > # > # end of Aspeed SoC drivers > > +CONFIG_AT91_SOC_ID=y > +# CONFIG_AT91_SOC_SFR is not set > + > # > # Broadcom SoC drivers > # > @@ -3019,6 +3073,8 @@ CONFIG_EXTCON=y > CONFIG_MEMORY=y > CONFIG_DDR=y > # CONFIG_ARM_PL172_MPMC is not set > +CONFIG_ATMEL_SDRAMC=y > +CONFIG_ATMEL_EBI=y > CONFIG_TI_EMIF=y > CONFIG_OMAP_GPMC=y > # CONFIG_OMAP_GPMC_DEBUG is not set > @@ -3028,6 +3084,7 @@ CONFIG_PL353_SMC=y > CONFIG_PWM=y > CONFIG_PWM_SYSFS=y > # CONFIG_PWM_DEBUG is not set > +CONFIG_PWM_ATMEL=y > CONFIG_PWM_BCM2835=y > # CONFIG_PWM_FSL_FTM is not set > # CONFIG_PWM_IMX1 is not set > @@ -3048,6 +3105,7 @@ CONFIG_IRQCHIP=y > CONFIG_ARM_GIC=y > CONFIG_ARM_GIC_MAX_NR=1 > # CONFIG_AL_FIC is not set > +CONFIG_ATMEL_AIC5_IRQ=y > CONFIG_OMAP_IRQCHIP=y > CONFIG_STM32_EXTI=y > # CONFIG_IMX_IRQSTEER is not set > @@ -3517,6 +3575,9 @@ CONFIG_CRYPTO_DEV_FSL_CAAM_PKC_API=y > CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API=y > # CONFIG_CRYPTO_DEV_OMAP is not set > # CONFIG_CRYPTO_DEV_SAHARA is not set > +# CONFIG_CRYPTO_DEV_ATMEL_AES is not set > +# CONFIG_CRYPTO_DEV_ATMEL_TDES is not set > +# CONFIG_CRYPTO_DEV_ATMEL_SHA is not set > # CONFIG_CRYPTO_DEV_ATMEL_ECC is not set > # CONFIG_CRYPTO_DEV_ATMEL_SHA204A is not set > # CONFIG_CRYPTO_DEV_MXS_DCP is not set > -- > 2.28.0 > > > _______________________________________________ > DistroKit mailing list > DistroKit@pengutronix.de > -- Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de