Skip to contentSkip to conversation

arm64: defconfig: Enable various configs for TI platforms

PATCH Superseded Udit Kumar 4 participants 11 messages Jul 25, 2023 – Jul 26, 2023

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Udit Kumar

author
#0 lore raw

cover arm64: defconfig: Enable various configs for TI platforms

This patch series enables various config options needed by TI Platform.

bloat-o-meter reports after this change add/remove: 4/0 grow/shrink: 2/0 up/down: 1592/0 (1592) [...]
Total: Before=27997071, After=27998663, chg +0.01%

Aradhya Bhatia (1):
arm64: defconfig: Enable PWM drivers for TI ECAP

Hari Nagalla (1):
arm64: defconfig: enable TI OMAP2 mailbox and K3 remote proc drivers

Jayesh Choudhary (1):
arm64: defconfig: Enable SND_SOC_J721E_EVM for audio support

Judith Mendez (1):
arm64: defconfig: Enable MCAN driver

MD Danish Anwar (1):
arm64: defconfig: Enable DP83869 Driver

Udit Kumar (2):
arm64: defconfig: Enable UFS config
arm64: defconfig: Enable K3 RTI Watchdog

 arch/arm64/configs/defconfig | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 1/7 arm64: defconfig: Enable PWM drivers for TI ECAP

From: Aradhya Bhatia <[email protected]>

TI's K3 SoCs uses the Enhanced high resolution PWM (EHRPWM) and the Enhanced Capture (ECAP) modules for generating PWM signals, which are used in various applications.

One such example is controlling the backlight power of the display panels connected to the am642, am65 iot2050 EVMs boards.

This patch enables TI ECAP to be built as module.

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 6cbf6eb59378..089e71f5bb7a 100644
@@ -1356,6 +1356,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
Signature · 1 line
2.34.1
author
#2 lore raw

PATCH 2/7 arm64: defconfig: enable TI OMAP2 mailbox and K3 remote proc drivers

In reply to Udit Kumar

From: Hari Nagalla <[email protected]>

Enable TI OMAP2 mailbox driver. This driver is used in TI K3 platforms as well for communications with remote processors.
Also enable Cortex R5 and TI DSP (C66x,C71x) remote proc drivers as modules.

Needed by AM64, J7200,J721E and J784S4 platforms.

---
 arch/arm64/configs/defconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/configs/defconfig +3 -0
index 089e71f5bb7a..a2a03b4ae834 100644
@@ -1230,6 +1230,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
@@ -1242,6 +1243,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
Signature · 1 line
2.34.1
author
#3 lore raw

PATCH 3/7 arm64: defconfig: Enable DP83869 Driver

In reply to Udit Kumar

From: MD Danish Anwar <[email protected]>

Enable GPIO multiplexer and DP83869 driver to support selection of second PHY for AM64x EVM.

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index a2a03b4ae834..632cc6101d3c 100644
@@ -375,6 +375,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
@@ -1445,6 +1446,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
Signature · 1 line
2.34.1
author
#4 lore raw

PATCH 4/7 arm64: defconfig: Enable SND_SOC_J721E_EVM for audio support

In reply to Udit Kumar

From: Jayesh Choudhary <[email protected]>

Enable CONFIG_SND_SOC_J721E_EVM which is required to enable audio in J721E Platform.

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 632cc6101d3c..28c03799d1e0 100644
@@ -928,6 +928,7 @@ CONFIG_SND_SOC_MSM8916_WCD_ANALOG=m
 CONFIG_SND_SOC_MSM8916_WCD_DIGITAL=m
 CONFIG_SND_SOC_PCM3168A_I2C=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
Signature · 1 line
2.34.1
#5 lore raw

Re: [PATCH 4/7] arm64: defconfig: Enable SND_SOC_J721E_EVM for audio support

Quoted 9 lines · Udit Kumar

From: Jayesh Choudhary <[email protected]>

Enable CONFIG_SND_SOC_J721E_EVM which is required to enable audio in J721E Platform.

---

Do not enable configs one-by-one. Squash most of your patches.

Best regards,
Krzysztof

author
#6 lore raw

PATCH 5/7 arm64: defconfig: Enable MCAN driver

In reply to Udit Kumar

From: Judith Mendez <[email protected]>

Enable CAN_M_CAN and CAN_M_CAN_PLATFORM to be built as modules by default.
CAN is used in AM68 SK, J721E EVM, J721S2, AM642 AM642-Phyboards.

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index 28c03799d1e0..743c165e31a4 100644
@@ -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
Signature · 1 line
2.34.1
#7 lore raw

Re: [PATCH 5/7] arm64: defconfig: Enable MCAN driver

Hi Udit,

Quoted 19 lines · Udit Kumar

From: Judith Mendez <[email protected]>

Enable CAN_M_CAN and CAN_M_CAN_PLATFORM to be built as modules by default.
CAN is used in AM68 SK, J721E EVM, J721S2, AM642 AM642-Phyboards.

---
  arch/arm64/configs/defconfig | 2 ++
  1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +0 -0
index 28c03799d1e0..743c165e31a4 100644

arch/arm64/configs/defconfig CONFIG_NET_ACT_GATE=m · line 187

Quoted 8 lines
arch/arm64/configs/defconfig +2 -0
@@ -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

Was about to send this patch as well. Thanks for sending!

~ Judith

author
#8 lore raw

PATCH 6/7 arm64: defconfig: Enable UFS config

In reply to Udit Kumar

This patch enables UFS BSG device node.

Also enable CDNS and TI UFS drivers as modules, needed for UFS feature on TI platform J721E EVM .

---
 arch/arm64/configs/defconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/configs/defconfig +3 -0
index 743c165e31a4..63ca68081139 100644
@@ -1052,10 +1052,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
Signature · 1 line
2.34.1
author
#9 lore raw

PATCH 7/7 arm64: defconfig: Enable K3 RTI Watchdog

In reply to Udit Kumar

TI's K3 SOC Family has RTI (Real Time Interrupt) watchdog timer.

This patch enables TI RTI watchdog driver to be built as module.

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

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 63ca68081139..dedf1bd9c29f 100644
@@ -690,6 +690,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
Signature · 1 line
2.34.1
#10 lore raw
In reply to Udit Kumar
Quoted 6 lines · Udit Kumar

This patch series enables various config options needed by TI Platform.

bloat-o-meter reports after this change add/remove: 4/0 grow/shrink: 2/0 up/down: 1592/0 (1592) [...]
Total: Before=27997071, After=27998663, chg +0.01%

This all look good to me, I assume Nishanth or Vignesh will pick them up into their git tree and send them to [email protected] in their coming pull requests.

Arnd