From: Roland Hieber <rhi@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH 3/6] v7a: kernel: extend for sama5d2 support
Date: Tue, 29 Sep 2020 12:36:22 +0200 [thread overview]
Message-ID: <20200929103622.3aftrdoxfmdc4urr@pengutronix.de> (raw)
In-Reply-To: <20200929060236.17471-3-a.fatoum@pengutronix.de>
On Tue, Sep 29, 2020 at 08:02:33AM +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 <a.fatoum@pengutronix.de>
> ---
> configs/platform-v7a/kernelconfig | 131 ++++++++++++++++++++++++++++--
> 1 file changed, 126 insertions(+), 5 deletions(-)
>
> diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig
> index a9ebdecde2f0..49871455ea2f 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
> @@ -2448,6 +2492,8 @@ CONFIG_USB_EHCI_HCD_OMAP=y
> # CONFIG_USB_CDNS3 is not set
> CONFIG_USB_MUSB_HDRC=y
> CONFIG_USB_MUSB_HOST=y
> +# CONFIG_USB_MUSB_GADGET is not set
> +# CONFIG_USB_MUSB_DUAL_ROLE is not set
>
> #
> # Platform Glue Layer
> @@ -2469,9 +2515,12 @@ CONFIG_USB_DWC2_HOST=y
> #
> # Gadget/Dual-role mode requires USB Gadget support to be enabled
> #
> +# CONFIG_USB_DWC2_PERIPHERAL is not set
> +# CONFIG_USB_DWC2_DUAL_ROLE is not set
> # CONFIG_USB_DWC2_DEBUG is not set
> # CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set
> CONFIG_USB_CHIPIDEA=y
> +# CONFIG_USB_CHIPIDEA_UDC is not set
> CONFIG_USB_CHIPIDEA_HOST=y
> CONFIG_USB_CHIPIDEA_MSM=y
> CONFIG_USB_CHIPIDEA_IMX=y
> @@ -2526,7 +2575,62 @@ CONFIG_USB_MXS_PHY=y
> # CONFIG_USB_ULPI is not set
> # end of USB Physical Layer drivers
>
> -# CONFIG_USB_GADGET is not set
> +CONFIG_USB_GADGET=y
Hmmm, is this related to AT91? Otherwise I'd do it a separate commit.
- Roland
> +# CONFIG_USB_GADGET_DEBUG is not set
> +# CONFIG_USB_GADGET_DEBUG_FILES is not set
> +# CONFIG_USB_GADGET_DEBUG_FS is not set
> +CONFIG_USB_GADGET_VBUS_DRAW=2
> +CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
> +# CONFIG_U_SERIAL_CONSOLE is not set
> +
> +#
> +# USB Peripheral Controller
> +#
> +# CONFIG_USB_AT91 is not set
> +CONFIG_USB_ATMEL_USBA=y
> +# CONFIG_USB_FSL_USB2 is not set
> +# CONFIG_USB_FUSB300 is not set
> +# CONFIG_USB_FOTG210_UDC is not set
> +# CONFIG_USB_GR_UDC is not set
> +# CONFIG_USB_R8A66597 is not set
> +# CONFIG_USB_PXA27X is not set
> +# CONFIG_USB_MV_UDC is not set
> +# CONFIG_USB_MV_U3D is not set
> +# CONFIG_USB_SNP_UDC_PLAT is not set
> +# CONFIG_USB_M66592 is not set
> +# CONFIG_USB_BDC_UDC is not set
> +# CONFIG_USB_NET2272 is not set
> +# CONFIG_USB_GADGET_XILINX is not set
> +# CONFIG_USB_MAX3420_UDC is not set
> +# CONFIG_USB_DUMMY_HCD is not set
> +# end of USB Peripheral Controller
> +
> +CONFIG_USB_LIBCOMPOSITE=m
> +CONFIG_USB_F_ACM=m
> +CONFIG_USB_U_SERIAL=m
> +CONFIG_USB_U_ETHER=m
> +CONFIG_USB_F_ECM=m
> +# CONFIG_USB_CONFIGFS is not set
> +
> +#
> +# USB Gadget precomposed configurations
> +#
> +# CONFIG_USB_ZERO is not set
> +# CONFIG_USB_ETH is not set
> +# CONFIG_USB_G_NCM is not set
> +# CONFIG_USB_GADGETFS is not set
> +# CONFIG_USB_FUNCTIONFS is not set
> +# CONFIG_USB_MASS_STORAGE is not set
> +# CONFIG_USB_G_SERIAL is not set
> +# CONFIG_USB_G_PRINTER is not set
> +CONFIG_USB_CDC_COMPOSITE=m
> +# CONFIG_USB_G_ACM_MS is not set
> +# CONFIG_USB_G_MULTI is not set
> +# CONFIG_USB_G_HID is not set
> +# CONFIG_USB_G_DBGP is not set
> +# CONFIG_USB_RAW_GADGET is not set
> +# end of USB Gadget precomposed configurations
> +
> # CONFIG_TYPEC is not set
> CONFIG_USB_ROLE_SWITCH=y
> CONFIG_MMC=y
> @@ -2548,7 +2652,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 +2662,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 +2863,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 +2887,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 +3010,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 +3061,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 +3133,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 +3144,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 +3165,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 +3635,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
next prev parent reply other threads:[~2020-09-29 10:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-29 6:02 [DistroKit] [PATCH 1/6] v7a: barebox: version bump v2020.08.1 → v2020.09.0 Ahmad Fatoum
2020-09-29 6:02 ` [DistroKit] [PATCH 2/6] v7a: barebox: add new rule for sama5d2 support Ahmad Fatoum
2020-09-29 10:33 ` Roland Hieber
2020-09-29 6:02 ` [DistroKit] [PATCH 3/6] v7a: kernel: extend " Ahmad Fatoum
2020-09-29 10:36 ` Roland Hieber [this message]
2020-09-29 13:29 ` Ahmad Fatoum
2020-09-29 6:02 ` [DistroKit] [PATCH 4/6] v7a: generate image for sama5d27 SOM1 Evaluation Kit Ahmad Fatoum
2020-09-29 6:02 ` [DistroKit] [PATCH 5/6] v7a: at91: add sama5d2-based giant board device tree Ahmad Fatoum
2020-09-29 6:02 ` [DistroKit] [PATCH 6/6] v7a: sama5d2: generate image for Groboard Giantboard as well Ahmad Fatoum
2020-09-29 10:40 ` Roland Hieber
2020-09-29 13:39 ` [DistroKit] [PATCH] doc: document the new SAMA5D2 boards Ahmad Fatoum
2020-09-30 9:30 ` Roland Hieber
2020-10-11 22:38 ` Roland Hieber
2020-10-11 22:53 ` Ahmad Fatoum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200929103622.3aftrdoxfmdc4urr@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=distrokit@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox