[PATCH] arm64: defconfig: Enable configs for DisplayPort on J721e

Rahul T R posted 1 patch 4 years, 4 months ago
There is a newer version of this series
arch/arm64/configs/defconfig | 5 +++++
1 file changed, 5 insertions(+)
[PATCH] arm64: defconfig: Enable configs for DisplayPort on J721e
Posted by Rahul T R 4 years, 4 months ago
Enable DRM and PHY configs required for supporting
DisplayPort on J721e

Signed-off-by: Rahul T R <r-ravikumar@ti.com>
---
 arch/arm64/configs/defconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 9f23d7ec1232..b0cb894a392e 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -702,6 +702,9 @@ CONFIG_DRM_EXYNOS_DSI=y
 CONFIG_DRM_EXYNOS_HDMI=y
 CONFIG_DRM_EXYNOS_MIC=y
 CONFIG_DRM_ROCKCHIP=m
+CONFIG_DRM_TIDSS=m
+CONFIG_DRM_DISPLAY_CONNECTOR=m
+CONFIG_DRM_CDNS_MHDP8546=m
 CONFIG_ROCKCHIP_ANALOGIX_DP=y
 CONFIG_ROCKCHIP_CDN_DP=y
 CONFIG_ROCKCHIP_DW_HDMI=y
@@ -1175,6 +1178,8 @@ 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_PHY_CADENCE_TORRENT=m
 CONFIG_ARM_SMMU_V3_PMU=m
 CONFIG_FSL_IMX8_DDR_PMU=m
 CONFIG_QCOM_L2_PMU=y
-- 
2.17.1

Re: [PATCH] arm64: defconfig: Enable configs for DisplayPort on J721e
Posted by Nishanth Menon 4 years, 4 months ago
On 23:37-20220222, Rahul T R wrote:
> Enable DRM and PHY configs required for supporting
> DisplayPort on J721e
> 
> Signed-off-by: Rahul T R <r-ravikumar@ti.com>
> ---
>  arch/arm64/configs/defconfig | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 9f23d7ec1232..b0cb894a392e 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -702,6 +702,9 @@ CONFIG_DRM_EXYNOS_DSI=y
>  CONFIG_DRM_EXYNOS_HDMI=y
>  CONFIG_DRM_EXYNOS_MIC=y
>  CONFIG_DRM_ROCKCHIP=m
> +CONFIG_DRM_TIDSS=m
> +CONFIG_DRM_DISPLAY_CONNECTOR=m
> +CONFIG_DRM_CDNS_MHDP8546=m

Please use savedefconfig to place the changes in the correct location

Also indicate changes if any in vmlinux in commit message.

A bootlog indicating functionality in diffstat is also additional good
thing to do.

>  CONFIG_ROCKCHIP_ANALOGIX_DP=y
>  CONFIG_ROCKCHIP_CDN_DP=y
>  CONFIG_ROCKCHIP_DW_HDMI=y
> @@ -1175,6 +1178,8 @@ 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_PHY_CADENCE_TORRENT=m
>  CONFIG_ARM_SMMU_V3_PMU=m
>  CONFIG_FSL_IMX8_DDR_PMU=m
>  CONFIG_QCOM_L2_PMU=y
> -- 
> 2.17.1
> 

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
Re: [PATCH] arm64: defconfig: Enable configs for DisplayPort on J721e
Posted by Bjorn Andersson 4 years, 4 months ago
On Tue 22 Feb 11:39 PST 2022, Nishanth Menon wrote:

> On 23:37-20220222, Rahul T R wrote:
> > Enable DRM and PHY configs required for supporting
> > DisplayPort on J721e
> > 
> > Signed-off-by: Rahul T R <r-ravikumar@ti.com>
> > ---
> >  arch/arm64/configs/defconfig | 5 +++++
> >  1 file changed, 5 insertions(+)
> > 
> > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > index 9f23d7ec1232..b0cb894a392e 100644
> > --- a/arch/arm64/configs/defconfig
> > +++ b/arch/arm64/configs/defconfig
> > @@ -702,6 +702,9 @@ CONFIG_DRM_EXYNOS_DSI=y
> >  CONFIG_DRM_EXYNOS_HDMI=y
> >  CONFIG_DRM_EXYNOS_MIC=y
> >  CONFIG_DRM_ROCKCHIP=m
> > +CONFIG_DRM_TIDSS=m
> > +CONFIG_DRM_DISPLAY_CONNECTOR=m
> > +CONFIG_DRM_CDNS_MHDP8546=m
> 
> Please use savedefconfig to place the changes in the correct location
> 

Just to clarify the request, use "make savedefconfig" to generate a
defconfig, then based on that put _only_ the relevant changes in the
commit.

> Also indicate changes if any in vmlinux in commit message.
> 

Nishanth, what are you asking for here? Just a mentioning if this has
any impact to vmlinux (or is isolated to the modules selected), or are
you asking for anything specific?

Regards,
Bjorn

> A bootlog indicating functionality in diffstat is also additional good
> thing to do.
> 
> >  CONFIG_ROCKCHIP_ANALOGIX_DP=y
> >  CONFIG_ROCKCHIP_CDN_DP=y
> >  CONFIG_ROCKCHIP_DW_HDMI=y
> > @@ -1175,6 +1178,8 @@ 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_PHY_CADENCE_TORRENT=m
> >  CONFIG_ARM_SMMU_V3_PMU=m
> >  CONFIG_FSL_IMX8_DDR_PMU=m
> >  CONFIG_QCOM_L2_PMU=y
> > -- 
> > 2.17.1
> > 
> 
> -- 
> Regards,
> Nishanth Menon
> Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
Re: [PATCH] arm64: defconfig: Enable configs for DisplayPort on J721e
Posted by Nishanth Menon 4 years, 4 months ago
On 12:40-20220222, Bjorn Andersson wrote:
> On Tue 22 Feb 11:39 PST 2022, Nishanth Menon wrote:
> 
> > On 23:37-20220222, Rahul T R wrote:
> > > Enable DRM and PHY configs required for supporting
> > > DisplayPort on J721e
> > > 
> > > Signed-off-by: Rahul T R <r-ravikumar@ti.com>
> > > ---
> > >  arch/arm64/configs/defconfig | 5 +++++
> > >  1 file changed, 5 insertions(+)
> > > 
> > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > > index 9f23d7ec1232..b0cb894a392e 100644
> > > --- a/arch/arm64/configs/defconfig
> > > +++ b/arch/arm64/configs/defconfig
> > > @@ -702,6 +702,9 @@ CONFIG_DRM_EXYNOS_DSI=y
> > >  CONFIG_DRM_EXYNOS_HDMI=y
> > >  CONFIG_DRM_EXYNOS_MIC=y
> > >  CONFIG_DRM_ROCKCHIP=m
> > > +CONFIG_DRM_TIDSS=m
> > > +CONFIG_DRM_DISPLAY_CONNECTOR=m
> > > +CONFIG_DRM_CDNS_MHDP8546=m
> > 
> > Please use savedefconfig to place the changes in the correct location
> > 
> 
> Just to clarify the request, use "make savedefconfig" to generate a
> defconfig, then based on that put _only_ the relevant changes in the
> commit.

Yup, thanks for clarifying.
> 
> > Also indicate changes if any in vmlinux in commit message.
> > 
> 
> Nishanth, what are you asking for here? Just a mentioning if this has
> any impact to vmlinux (or is isolated to the modules selected), or are
> you asking for anything specific?

In this case, just ensure to state that vmlinux size has'nt
changed, in case where we see a =y, we should indicate via
./scripts/bloat-o-meter change that is introduced and if yes, we
should explain why this is fundamental to system boot.

Why is this necessary? This is to prevent product specific
configurations (such as early display banner, chime etc) from creeping
and increasing vmlinux size which has an impact for all ARM SoCs.


[...]

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
Re: [PATCH] arm64: defconfig: Enable configs for DisplayPort on J721e
Posted by Bjorn Andersson 4 years, 4 months ago
On Tue 22 Feb 13:26 PST 2022, Nishanth Menon wrote:

> On 12:40-20220222, Bjorn Andersson wrote:
> > On Tue 22 Feb 11:39 PST 2022, Nishanth Menon wrote:
> > 
> > > On 23:37-20220222, Rahul T R wrote:
> > > > Enable DRM and PHY configs required for supporting
> > > > DisplayPort on J721e
> > > > 
> > > > Signed-off-by: Rahul T R <r-ravikumar@ti.com>
> > > > ---
> > > >  arch/arm64/configs/defconfig | 5 +++++
> > > >  1 file changed, 5 insertions(+)
> > > > 
> > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > > > index 9f23d7ec1232..b0cb894a392e 100644
> > > > --- a/arch/arm64/configs/defconfig
> > > > +++ b/arch/arm64/configs/defconfig
> > > > @@ -702,6 +702,9 @@ CONFIG_DRM_EXYNOS_DSI=y
> > > >  CONFIG_DRM_EXYNOS_HDMI=y
> > > >  CONFIG_DRM_EXYNOS_MIC=y
> > > >  CONFIG_DRM_ROCKCHIP=m
> > > > +CONFIG_DRM_TIDSS=m
> > > > +CONFIG_DRM_DISPLAY_CONNECTOR=m
> > > > +CONFIG_DRM_CDNS_MHDP8546=m
> > > 
> > > Please use savedefconfig to place the changes in the correct location
> > > 
> > 
> > Just to clarify the request, use "make savedefconfig" to generate a
> > defconfig, then based on that put _only_ the relevant changes in the
> > commit.
> 
> Yup, thanks for clarifying.
> > 
> > > Also indicate changes if any in vmlinux in commit message.
> > > 
> > 
> > Nishanth, what are you asking for here? Just a mentioning if this has
> > any impact to vmlinux (or is isolated to the modules selected), or are
> > you asking for anything specific?
> 
> In this case, just ensure to state that vmlinux size has'nt
> changed, in case where we see a =y, we should indicate via
> ./scripts/bloat-o-meter change that is introduced and if yes, we
> should explain why this is fundamental to system boot.
> 
> Why is this necessary? This is to prevent product specific
> configurations (such as early display banner, chime etc) from creeping
> and increasing vmlinux size which has an impact for all ARM SoCs.
> 

Sounds very reasonable, I'll make sure to ask for such motivations in
the defconfig changes that I pick up through the Qualcomm tree as well.

Regards,
Bjorn

> 
> [...]
> 
> -- 
> Regards,
> Nishanth Menon
> Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
Re: [PATCH] arm64: defconfig: Enable configs for DisplayPort on J721e
Posted by Rahul T R 4 years, 4 months ago
On 14:15-20220222, Bjorn Andersson wrote:
> On Tue 22 Feb 13:26 PST 2022, Nishanth Menon wrote:
> 
> > On 12:40-20220222, Bjorn Andersson wrote:
> > > On Tue 22 Feb 11:39 PST 2022, Nishanth Menon wrote:
> > > 
> > > > On 23:37-20220222, Rahul T R wrote:
> > > > > Enable DRM and PHY configs required for supporting
> > > > > DisplayPort on J721e
> > > > > 
> > > > > Signed-off-by: Rahul T R <r-ravikumar@ti.com>
> > > > > ---
> > > > >  arch/arm64/configs/defconfig | 5 +++++
> > > > >  1 file changed, 5 insertions(+)
> > > > > 
> > > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > > > > index 9f23d7ec1232..b0cb894a392e 100644
> > > > > --- a/arch/arm64/configs/defconfig
> > > > > +++ b/arch/arm64/configs/defconfig
> > > > > @@ -702,6 +702,9 @@ CONFIG_DRM_EXYNOS_DSI=y
> > > > >  CONFIG_DRM_EXYNOS_HDMI=y
> > > > >  CONFIG_DRM_EXYNOS_MIC=y
> > > > >  CONFIG_DRM_ROCKCHIP=m
> > > > > +CONFIG_DRM_TIDSS=m
> > > > > +CONFIG_DRM_DISPLAY_CONNECTOR=m
> > > > > +CONFIG_DRM_CDNS_MHDP8546=m
> > > > 
> > > > Please use savedefconfig to place the changes in the correct location
> > > > 
> > > 
> > > Just to clarify the request, use "make savedefconfig" to generate a
> > > defconfig, then based on that put _only_ the relevant changes in the
> > > commit.
> > 
> > Yup, thanks for clarifying.
> > > 
> > > > Also indicate changes if any in vmlinux in commit message.
> > > > 
> > > 
> > > Nishanth, what are you asking for here? Just a mentioning if this has
> > > any impact to vmlinux (or is isolated to the modules selected), or are
> > > you asking for anything specific?
> > 
> > In this case, just ensure to state that vmlinux size has'nt
> > changed, in case where we see a =y, we should indicate via
> > ./scripts/bloat-o-meter change that is introduced and if yes, we
> > should explain why this is fundamental to system boot.
> > 
> > Why is this necessary? This is to prevent product specific
> > configurations (such as early display banner, chime etc) from creeping
> > and increasing vmlinux size which has an impact for all ARM SoCs.
> > 
> 
> Sounds very reasonable, I'll make sure to ask for such motivations in
> the defconfig changes that I pick up through the Qualcomm tree as well.
> 
> Regards,
> Bjorn
>

Thanks for the review!
I will send a v2 with the fixes

Regards
Rahul T R

> > 
> > [...]
> > 
> > -- 
> > Regards,
> > Nishanth Menon
> > Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D