2023-07-31 18:18:04

by Kumar, Udit

[permalink] [raw]
Subject: [PATCH v4] arm64: defconfig: Enable various configs for TI K3 platforms

Enable TI ECAP, DP83869 driver, OMAP2 Mailbox, K3 remote proc
SND_SOC_J721E_EVM, MCAN, UFS and RTI, Thermal driver to be built
as module.

These configs are supported on below TI platforms

ECAP on am642, am65 iot2050 EVM.

DP83869 on AM64x EVM.

OMAP2 Mailbox, K3 remote proc on AM64 on J7200,J721E and J784S4 SOC.

CONFIG_SND_SOC_J721E_EVM on J721E.

MCAN on AM68 SK, J721E, J721S2, AM642 AM642-Phyboards

UFS feature on J721E EVM

RTI watchdog on AM62, AM62A, AM64, AM65, J721E and J7200 SOC.

Thermal driver on AM62, AM62A AM65, J7200, J721E, J721S2,
J784S4 platform.

Signed-off-by: Udit Kumar <[email protected]>
---
bloat-o-meter reports after this change
add/remove: 4/1 grow/shrink: 2/0 up/down: 1592/-8 (1584)
[...]
Total: Before=28027075, After=28028659, chg +0.01%

Change log:

Changes in v4:
Added CONFIG_K3_THERMAL as module
Rebased with next-20230731
Link to v3:
https://lore.kernel.org/all/[email protected]/


Changes in v3:
Updated commit message along with including platform list
Updated SOB
Link to v2:
https://lore.kernel.org/all/[email protected]/

Changes in v2:
Squashed all patches into one
link to v1:.
https://lore.kernel.org/all/[email protected]/

arch/arm64/configs/defconfig | 14 ++++++++++++++
1 file changed, 14 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 03fce1752521..bf13d5c46578 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -180,6 +180,8 @@ CONFIG_NET_ACT_GATE=m
CONFIG_QRTR_SMD=m
CONFIG_QRTR_TUN=m
CONFIG_CAN=m
+CONFIG_CAN_M_CAN=m
+CONFIG_CAN_M_CAN_PLATFORM=m
CONFIG_BT=m
CONFIG_BT_HIDP=m
# CONFIG_BT_LE is not set
@@ -378,6 +380,7 @@ CONFIG_AT803X_PHY=y
CONFIG_REALTEK_PHY=y
CONFIG_ROCKCHIP_PHY=y
CONFIG_DP83867_PHY=y
+CONFIG_DP83869_PHY=m
CONFIG_DP83TD510_PHY=y
CONFIG_VITESSE_PHY=y
CONFIG_CAN_FLEXCAN=m
@@ -658,6 +661,7 @@ CONFIG_THERMAL_EMULATION=y
CONFIG_IMX_SC_THERMAL=m
CONFIG_IMX8MM_THERMAL=m
CONFIG_QORIQ_THERMAL=m
+CONFIG_K3_THERMAL=m
CONFIG_SUN8I_THERMAL=y
CONFIG_ROCKCHIP_THERMAL=m
CONFIG_RCAR_THERMAL=y
@@ -697,6 +701,7 @@ CONFIG_UNIPHIER_WATCHDOG=y
CONFIG_PM8916_WATCHDOG=m
CONFIG_BCM2835_WDT=y
CONFIG_BCM7038_WDT=m
+CONFIG_K3_RTI_WATCHDOG=m
CONFIG_MFD_ALTERA_SYSMGR=y
CONFIG_MFD_BD9571MWV=y
CONFIG_MFD_AXP20X_I2C=y
@@ -940,6 +945,7 @@ CONFIG_SND_SOC_MSM8916_WCD_DIGITAL=m
CONFIG_SND_SOC_PCM3168A_I2C=m
CONFIG_SND_SOC_RK817=m
CONFIG_SND_SOC_RT5640=m
+CONFIG_SND_SOC_J721E_EVM=m
CONFIG_SND_SOC_RT5659=m
CONFIG_SND_SOC_SIMPLE_AMPLIFIER=m
CONFIG_SND_SOC_SIMPLE_MUX=m
@@ -1061,10 +1067,13 @@ CONFIG_MMC_SDHCI_XENON=y
CONFIG_MMC_SDHCI_AM654=y
CONFIG_MMC_OWL=y
CONFIG_SCSI_UFSHCD=y
+CONFIG_SCSI_UFS_BSG=y
CONFIG_SCSI_UFSHCD_PLATFORM=y
+CONFIG_SCSI_UFS_CDNS_PLATFORM=m
CONFIG_SCSI_UFS_QCOM=m
CONFIG_SCSI_UFS_HISI=y
CONFIG_SCSI_UFS_RENESAS=m
+CONFIG_SCSI_UFS_TI_J721E=m
CONFIG_SCSI_UFS_EXYNOS=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
@@ -1244,6 +1253,7 @@ CONFIG_TEGRA186_TIMER=y
CONFIG_RENESAS_OSTM=y
CONFIG_ARM_MHU=y
CONFIG_IMX_MBOX=y
+CONFIG_OMAP2PLUS_MBOX=m
CONFIG_PLATFORM_MHU=y
CONFIG_BCM2835_MBOX=y
CONFIG_QCOM_APCS_IPC=y
@@ -1256,6 +1266,8 @@ CONFIG_MTK_IOMMU=y
CONFIG_QCOM_IOMMU=y
CONFIG_REMOTEPROC=y
CONFIG_IMX_REMOTEPROC=y
+CONFIG_TI_K3_R5_REMOTEPROC=m
+CONFIG_TI_K3_DSP_REMOTEPROC=m
CONFIG_MTK_SCP=m
CONFIG_QCOM_Q6V5_ADSP=m
CONFIG_QCOM_Q6V5_MSS=m
@@ -1370,6 +1382,7 @@ CONFIG_PWM_SAMSUNG=y
CONFIG_PWM_SL28CPLD=m
CONFIG_PWM_SUN4I=m
CONFIG_PWM_TEGRA=m
+CONFIG_PWM_TIECAP=m
CONFIG_PWM_TIEHRPWM=m
CONFIG_PWM_VISCONTI=m
CONFIG_SL28CPLD_INTC=y
@@ -1457,6 +1470,7 @@ CONFIG_FPGA_REGION=m
CONFIG_OF_FPGA_REGION=m
CONFIG_TEE=y
CONFIG_OPTEE=y
+CONFIG_MUX_GPIO=m
CONFIG_MUX_MMIO=y
CONFIG_SLIMBUS=m
CONFIG_SLIM_QCOM_CTRL=m
--
2.34.1



2023-08-02 06:25:37

by Nishanth Menon

[permalink] [raw]
Subject: Re: [PATCH v4] arm64: defconfig: Enable various configs for TI K3 platforms

Hi Udit Kumar,

On Mon, 31 Jul 2023 21:40:48 +0530, Udit Kumar wrote:
> Enable TI ECAP, DP83869 driver, OMAP2 Mailbox, K3 remote proc
> SND_SOC_J721E_EVM, MCAN, UFS and RTI, Thermal driver to be built
> as module.
>
> These configs are supported on below TI platforms
>
> ECAP on am642, am65 iot2050 EVM.
>
> [...]

I have applied the following to branch ti-k3-config-next on [1].
Thank you!

[1/1] arm64: defconfig: Enable various configs for TI K3 platforms
commit: 8127ab5fbaeea40d32a43b168ec247909f85bcf6

NOTE: I edited a little to apply on top of v6.5-rc1 which is what my tree
is based off and what I send as PR upstream. I understand there might be
a potential conflict, will resolve it with the maintainers as it is needed to
be handled.

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D