diff mbox series

arm64: defconfig: Enable Qualcomm SC8280XP providers

Message ID 20220707161014.3178798-1-bjorn.andersson@linaro.org (mailing list archive)
State New, archived
Headers show
Series arm64: defconfig: Enable Qualcomm SC8280XP providers | expand

Commit Message

Bjorn Andersson July 7, 2022, 4:10 p.m. UTC
The Qualcomm SC8280XP need the global clock controller, interconnect
provider and TLMM pinctrl in order to boot. Enable these as builtin, as
they are needed in order to provide e.g. UART.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/configs/defconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Dmitry Baryshkov July 7, 2022, 5:41 p.m. UTC | #1
On Thu, 7 Jul 2022 at 19:07, Bjorn Andersson <bjorn.andersson@linaro.org> wrote:
>
> The Qualcomm SC8280XP need the global clock controller, interconnect
> provider and TLMM pinctrl in order to boot. Enable these as builtin, as
> they are needed in order to provide e.g. UART.
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>  arch/arm64/configs/defconfig | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index d2615b37d857..8e44f6a2172c 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -541,6 +541,7 @@ CONFIG_PINCTRL_QDF2XXX=y
>  CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
>  CONFIG_PINCTRL_SC7180=y
>  CONFIG_PINCTRL_SC7280=y
> +CONFIG_PINCTRL_SC8280XP=y
>  CONFIG_PINCTRL_SDM845=y
>  CONFIG_PINCTRL_SM8150=y
>  CONFIG_PINCTRL_SM8250=y
> @@ -1056,6 +1057,7 @@ CONFIG_MSM_GCC_8998=y
>  CONFIG_QCS_GCC_404=y
>  CONFIG_SC_GCC_7180=y
>  CONFIG_SC_GCC_7280=y
> +CONFIG_SC_GCC_8280XP=y
>  CONFIG_SDM_CAMCC_845=m
>  CONFIG_SDM_GPUCC_845=y
>  CONFIG_SDM_VIDEOCC_845=y
> @@ -1266,6 +1268,7 @@ CONFIG_INTERCONNECT_QCOM_OSM_L3=m
>  CONFIG_INTERCONNECT_QCOM_QCS404=m
>  CONFIG_INTERCONNECT_QCOM_SC7180=m
>  CONFIG_INTERCONNECT_QCOM_SC7280=y
> +CONFIG_INTERCONNECT_QCOM_SC8280XP=y

= m? I see other SoCs build interconnect drivers as modules (well,
except sdm845).

>  CONFIG_INTERCONNECT_QCOM_SDM845=y
>  CONFIG_INTERCONNECT_QCOM_SM8150=m
>  CONFIG_INTERCONNECT_QCOM_SM8250=m
> --
> 2.35.1
>
Bjorn Andersson July 8, 2022, 9:04 p.m. UTC | #2
On Thu 07 Jul 10:41 PDT 2022, Dmitry Baryshkov wrote:

> On Thu, 7 Jul 2022 at 19:07, Bjorn Andersson <bjorn.andersson@linaro.org> wrote:
> >
> > The Qualcomm SC8280XP need the global clock controller, interconnect
> > provider and TLMM pinctrl in order to boot. Enable these as builtin, as
> > they are needed in order to provide e.g. UART.
> >
> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> > ---
> >  arch/arm64/configs/defconfig | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > index d2615b37d857..8e44f6a2172c 100644
> > --- a/arch/arm64/configs/defconfig
> > +++ b/arch/arm64/configs/defconfig
> > @@ -541,6 +541,7 @@ CONFIG_PINCTRL_QDF2XXX=y
> >  CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
> >  CONFIG_PINCTRL_SC7180=y
> >  CONFIG_PINCTRL_SC7280=y
> > +CONFIG_PINCTRL_SC8280XP=y
> >  CONFIG_PINCTRL_SDM845=y
> >  CONFIG_PINCTRL_SM8150=y
> >  CONFIG_PINCTRL_SM8250=y
> > @@ -1056,6 +1057,7 @@ CONFIG_MSM_GCC_8998=y
> >  CONFIG_QCS_GCC_404=y
> >  CONFIG_SC_GCC_7180=y
> >  CONFIG_SC_GCC_7280=y
> > +CONFIG_SC_GCC_8280XP=y
> >  CONFIG_SDM_CAMCC_845=m
> >  CONFIG_SDM_GPUCC_845=y
> >  CONFIG_SDM_VIDEOCC_845=y
> > @@ -1266,6 +1268,7 @@ CONFIG_INTERCONNECT_QCOM_OSM_L3=m
> >  CONFIG_INTERCONNECT_QCOM_QCS404=m
> >  CONFIG_INTERCONNECT_QCOM_SC7180=m
> >  CONFIG_INTERCONNECT_QCOM_SC7280=y
> > +CONFIG_INTERCONNECT_QCOM_SC8280XP=y
> 
> = m? I see other SoCs build interconnect drivers as modules (well,
> except sdm845).
> 

I have interconnects specified for the UART and keeping the interconnect
provider as module means that the serial  until after late_initcall,
which in my testing implies that systemd doesn't find a proper console.

Perhaps this is something I'm doing incorrectly?

Regards,
Bjorn

> >  CONFIG_INTERCONNECT_QCOM_SDM845=y
> >  CONFIG_INTERCONNECT_QCOM_SM8150=m
> >  CONFIG_INTERCONNECT_QCOM_SM8250=m
> > --
> > 2.35.1
> >
> 
> 
> -- 
> With best wishes
> Dmitry
Manivannan Sadhasivam July 9, 2022, 6:34 a.m. UTC | #3
On Fri, Jul 08, 2022 at 02:04:13PM -0700, Bjorn Andersson wrote:
> On Thu 07 Jul 10:41 PDT 2022, Dmitry Baryshkov wrote:
> 
> > On Thu, 7 Jul 2022 at 19:07, Bjorn Andersson <bjorn.andersson@linaro.org> wrote:
> > >
> > > The Qualcomm SC8280XP need the global clock controller, interconnect
> > > provider and TLMM pinctrl in order to boot. Enable these as builtin, as
> > > they are needed in order to provide e.g. UART.
> > >
> > > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> > > ---
> > >  arch/arm64/configs/defconfig | 3 +++
> > >  1 file changed, 3 insertions(+)
> > >
> > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > > index d2615b37d857..8e44f6a2172c 100644
> > > --- a/arch/arm64/configs/defconfig
> > > +++ b/arch/arm64/configs/defconfig
> > > @@ -541,6 +541,7 @@ CONFIG_PINCTRL_QDF2XXX=y
> > >  CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
> > >  CONFIG_PINCTRL_SC7180=y
> > >  CONFIG_PINCTRL_SC7280=y
> > > +CONFIG_PINCTRL_SC8280XP=y
> > >  CONFIG_PINCTRL_SDM845=y
> > >  CONFIG_PINCTRL_SM8150=y
> > >  CONFIG_PINCTRL_SM8250=y
> > > @@ -1056,6 +1057,7 @@ CONFIG_MSM_GCC_8998=y
> > >  CONFIG_QCS_GCC_404=y
> > >  CONFIG_SC_GCC_7180=y
> > >  CONFIG_SC_GCC_7280=y
> > > +CONFIG_SC_GCC_8280XP=y
> > >  CONFIG_SDM_CAMCC_845=m
> > >  CONFIG_SDM_GPUCC_845=y
> > >  CONFIG_SDM_VIDEOCC_845=y
> > > @@ -1266,6 +1268,7 @@ CONFIG_INTERCONNECT_QCOM_OSM_L3=m
> > >  CONFIG_INTERCONNECT_QCOM_QCS404=m
> > >  CONFIG_INTERCONNECT_QCOM_SC7180=m
> > >  CONFIG_INTERCONNECT_QCOM_SC7280=y
> > > +CONFIG_INTERCONNECT_QCOM_SC8280XP=y
> > 
> > = m? I see other SoCs build interconnect drivers as modules (well,
> > except sdm845).
> > 
> 
> I have interconnects specified for the UART and keeping the interconnect
> provider as module means that the serial  until after late_initcall,
> which in my testing implies that systemd doesn't find a proper console.
> 
> Perhaps this is something I'm doing incorrectly?
> 

Only couple of SoCs have defined interconnect providers for UART, so I think
it is fine to make it built-in. It will get extended to most of the SoCs in
future when they get optimized.

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

Thanks,
Mani

> Regards,
> Bjorn
> 
> > >  CONFIG_INTERCONNECT_QCOM_SDM845=y
> > >  CONFIG_INTERCONNECT_QCOM_SM8150=m
> > >  CONFIG_INTERCONNECT_QCOM_SM8250=m
> > > --
> > > 2.35.1
> > >
> > 
> > 
> > -- 
> > With best wishes
> > Dmitry
Bjorn Andersson July 16, 2022, 3:18 p.m. UTC | #4
On Thu, 7 Jul 2022 09:10:13 -0700, Bjorn Andersson wrote:
> The Qualcomm SC8280XP need the global clock controller, interconnect
> provider and TLMM pinctrl in order to boot. Enable these as builtin, as
> they are needed in order to provide e.g. UART.
> 
> 

Applied, thanks!

[1/1] arm64: defconfig: Enable Qualcomm SC8280XP providers
      commit: 4cf02f2e0d4dff38dcfe43a168801306aed714dd

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index d2615b37d857..8e44f6a2172c 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -541,6 +541,7 @@  CONFIG_PINCTRL_QDF2XXX=y
 CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
 CONFIG_PINCTRL_SC7180=y
 CONFIG_PINCTRL_SC7280=y
+CONFIG_PINCTRL_SC8280XP=y
 CONFIG_PINCTRL_SDM845=y
 CONFIG_PINCTRL_SM8150=y
 CONFIG_PINCTRL_SM8250=y
@@ -1056,6 +1057,7 @@  CONFIG_MSM_GCC_8998=y
 CONFIG_QCS_GCC_404=y
 CONFIG_SC_GCC_7180=y
 CONFIG_SC_GCC_7280=y
+CONFIG_SC_GCC_8280XP=y
 CONFIG_SDM_CAMCC_845=m
 CONFIG_SDM_GPUCC_845=y
 CONFIG_SDM_VIDEOCC_845=y
@@ -1266,6 +1268,7 @@  CONFIG_INTERCONNECT_QCOM_OSM_L3=m
 CONFIG_INTERCONNECT_QCOM_QCS404=m
 CONFIG_INTERCONNECT_QCOM_SC7180=m
 CONFIG_INTERCONNECT_QCOM_SC7280=y
+CONFIG_INTERCONNECT_QCOM_SC8280XP=y
 CONFIG_INTERCONNECT_QCOM_SDM845=y
 CONFIG_INTERCONNECT_QCOM_SM8150=m
 CONFIG_INTERCONNECT_QCOM_SM8250=m