Skip to contentSkip to conversation

arm64: defconfig: Enable configs for DisplayPort on J721e

PATCH Superseded Rahul T R 2 participants 3 messages Feb 23, 2022 – Mar 31, 2022

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Rahul T R

author
#0 lore raw

PATCH v2 1/1 arm64: defconfig: Enable configs for DisplayPort on J721e

Enable DRM and PHY configs required for supporting DisplayPort on J721e

---

Notes:
v2:
Fixed the places using savedefconfig
Added more info in notes

No change in vmlinux:

add/remove: 0/0 grow/shrink: 0/0 up/down: 0/0 (0)
Function old new delta
Total: Before=24042991, After=24042991, chg +0.00%

Diffstat of bootlogs:

after_boot.log | 46 ++++++++++++++++++++++++++--------------------
1 file changed, 26 insertions(+), 20 deletions(-)

 arch/arm64/configs/defconfig | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/configs/defconfig +4 -0
index 9f23d7ec1232..56d4c126f6da 100644
@@ -736,6 +736,7 @@ CONFIG_DRM_THINE_THC63LVD1024=m
 CONFIG_DRM_TI_SN65DSI86=m
 CONFIG_DRM_I2C_ADV7511=m
 CONFIG_DRM_I2C_ADV7511_AUDIO=y
+CONFIG_DRM_CDNS_MHDP8546=m
 CONFIG_DRM_DW_HDMI_AHB_AUDIO=m
 CONFIG_DRM_DW_HDMI_CEC=m
 CONFIG_DRM_IMX_DCSS=m
@@ -750,6 +751,7 @@ CONFIG_DRM_MESON=m
 CONFIG_DRM_PL111=m
 CONFIG_DRM_LIMA=m
 CONFIG_DRM_PANFROST=m
+CONFIG_DRM_TIDSS=m
 CONFIG_FB=y
 CONFIG_FB_MODE_HELPERS=y
 CONFIG_FB_EFI=y
@@ -1151,6 +1153,7 @@ CONFIG_RESET_RZG2L_USBPHY_CTRL=y
 CONFIG_RESET_TI_SCI=y
 CONFIG_PHY_XGENE=y
 CONFIG_PHY_SUN4I_USB=y
+CONFIG_PHY_CADENCE_TORRENT=m
 CONFIG_PHY_MIXEL_MIPI_DPHY=m
 CONFIG_PHY_FSL_IMX8M_PCIE=y
 CONFIG_PHY_HI6220_USB=y
@@ -1175,6 +1178,7 @@ CONFIG_PHY_SAMSUNG_UFS=y
 CONFIG_PHY_UNIPHIER_USB2=y
 CONFIG_PHY_UNIPHIER_USB3=y
 CONFIG_PHY_TEGRA_XUSB=y
+CONFIG_PHY_J721E_WIZ=m
 CONFIG_ARM_SMMU_V3_PMU=m
 CONFIG_FSL_IMX8_DDR_PMU=m
 CONFIG_QCOM_L2_PMU=y
Signature · 1 line
2.17.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 54 lines · Rahul T R

Enable DRM and PHY configs required for supporting DisplayPort on J721e

---

Notes:
v2:
Fixed the places using savedefconfig
Added more info in notes

No change in vmlinux:

add/remove: 0/0 grow/shrink: 0/0 up/down: 0/0 (0)
Function old new delta
Total: Before=24042991, After=24042991, chg +0.00%

Diffstat of bootlogs:

after_boot.log | 46 ++++++++++++++++++++++++++--------------------
1 file changed, 26 insertions(+), 20 deletions(-)

  arch/arm64/configs/defconfig | 4 ++++
  1 file changed, 4 insertions(+)
arch/arm64/configs/defconfig +3 -0
index 9f23d7ec1232..56d4c126f6da 100644
@@ -736,6 +736,7 @@ CONFIG_DRM_THINE_THC63LVD1024=m
  CONFIG_DRM_TI_SN65DSI86=m
  CONFIG_DRM_I2C_ADV7511=m
  CONFIG_DRM_I2C_ADV7511_AUDIO=y
+CONFIG_DRM_CDNS_MHDP8546=m
  CONFIG_DRM_DW_HDMI_AHB_AUDIO=m
  CONFIG_DRM_DW_HDMI_CEC=m
  CONFIG_DRM_IMX_DCSS=m
@@ -750,6 +751,7 @@ CONFIG_DRM_MESON=m
  CONFIG_DRM_PL111=m
  CONFIG_DRM_LIMA=m
  CONFIG_DRM_PANFROST=m
+CONFIG_DRM_TIDSS=m
  CONFIG_FB=y
  CONFIG_FB_MODE_HELPERS=y
  CONFIG_FB_EFI=y
@@ -1151,6 +1153,7 @@ CONFIG_RESET_RZG2L_USBPHY_CTRL=y
  CONFIG_RESET_TI_SCI=y
  CONFIG_PHY_XGENE=y
  CONFIG_PHY_SUN4I_USB=y
+CONFIG_PHY_CADENCE_TORRENT=m
  CONFIG_PHY_MIXEL_MIPI_DPHY=m
  CONFIG_PHY_FSL_IMX8M_PCIE=y
  CONFIG_PHY_HI6220_USB=y

arch/arm64/configs/defconfig CONFIG_PHY_SAMSUNG_UFS=y · line 1184

Quoted 7 lines
arch/arm64/configs/defconfig +1 -0
@@ -1175,6 +1178,7 @@ CONFIG_PHY_SAMSUNG_UFS=y
  CONFIG_PHY_UNIPHIER_USB2=y
  CONFIG_PHY_UNIPHIER_USB3=y
  CONFIG_PHY_TEGRA_XUSB=y
+CONFIG_PHY_J721E_WIZ=m
  CONFIG_ARM_SMMU_V3_PMU=m
  CONFIG_FSL_IMX8_DDR_PMU=m
  CONFIG_QCOM_L2_PMU=y

Not directly related to this patch, but this is slightly annoying:

cdns-mhdp8546 a000000.dp-bridge: invalid resource
cdns-mhdp8546 a000000.dp-bridge: Failed to get SAPB memory resource, HDCP not supported

The first one is an error print and the second is a warning. I think a dev_info about HDCP not supported would be enough.

Tomi

author
#2 lore raw
Quoted 63 lines · Tomi Valkeinen
Quoted 50 lines · Rahul T R

Enable DRM and PHY configs required for supporting DisplayPort on J721e

---

Notes:
v2:
Fixed the places using savedefconfig Added more info in notes
No change in vmlinux:
add/remove: 0/0 grow/shrink: 0/0 up/down: 0/0 (0)
Function old new delta
Total: Before=24042991, After=24042991, chg +0.00%
Diffstat of bootlogs:
after_boot.log | 46 ++++++++++++++++++++++++++--------------------
1 file changed, 26 insertions(+), 20 deletions(-)

  arch/arm64/configs/defconfig | 4 ++++
  1 file changed, 4 insertions(+)
arch/arm64/configs/defconfig +3 -0
index 9f23d7ec1232..56d4c126f6da 100644
@@ -736,6 +736,7 @@ CONFIG_DRM_THINE_THC63LVD1024=m
  CONFIG_DRM_TI_SN65DSI86=m
  CONFIG_DRM_I2C_ADV7511=m
  CONFIG_DRM_I2C_ADV7511_AUDIO=y
+CONFIG_DRM_CDNS_MHDP8546=m
  CONFIG_DRM_DW_HDMI_AHB_AUDIO=m
  CONFIG_DRM_DW_HDMI_CEC=m
  CONFIG_DRM_IMX_DCSS=m
@@ -750,6 +751,7 @@ CONFIG_DRM_MESON=m
  CONFIG_DRM_PL111=m
  CONFIG_DRM_LIMA=m
  CONFIG_DRM_PANFROST=m
+CONFIG_DRM_TIDSS=m
  CONFIG_FB=y
  CONFIG_FB_MODE_HELPERS=y
  CONFIG_FB_EFI=y
@@ -1151,6 +1153,7 @@ CONFIG_RESET_RZG2L_USBPHY_CTRL=y
  CONFIG_RESET_TI_SCI=y
  CONFIG_PHY_XGENE=y
  CONFIG_PHY_SUN4I_USB=y
+CONFIG_PHY_CADENCE_TORRENT=m
  CONFIG_PHY_MIXEL_MIPI_DPHY=m
  CONFIG_PHY_FSL_IMX8M_PCIE=y
  CONFIG_PHY_HI6220_USB=y

arch/arm64/configs/defconfig CONFIG_PHY_SAMSUNG_UFS=y · line 1184

Quoted 7 lines
arch/arm64/configs/defconfig +1 -0
@@ -1175,6 +1178,7 @@ CONFIG_PHY_SAMSUNG_UFS=y
  CONFIG_PHY_UNIPHIER_USB2=y
  CONFIG_PHY_UNIPHIER_USB3=y
  CONFIG_PHY_TEGRA_XUSB=y
+CONFIG_PHY_J721E_WIZ=m
  CONFIG_ARM_SMMU_V3_PMU=m
  CONFIG_FSL_IMX8_DDR_PMU=m
  CONFIG_QCOM_L2_PMU=y

Not directly related to this patch, but this is slightly annoying:

Quoted 8 lines

cdns-mhdp8546 a000000.dp-bridge: invalid resource cdns-mhdp8546 a000000.dp-bridge: Failed to get SAPB memory resource, HDCP not supported

The first one is an error print and the second is a warning. I think a dev_info about HDCP not supported would be enough.

Tomi

Thanks Tomi,

Will discuss with cdns-mhdp driver maintainer and send a patch for this issue Also will rebase and send a respin for this patch

Regards
Rahul T R