[PATCH v3 2/4] arm64: defconfig: Enable Glymur configs for boot to shell

Pankaj Patil posted 4 patches 1 month, 3 weeks ago
There is a newer version of this series
[PATCH v3 2/4] arm64: defconfig: Enable Glymur configs for boot to shell
Posted by Pankaj Patil 1 month, 3 weeks ago
The serial engine must be properly setup before kernel reaches
"init",so UART driver and its dependencies needs to be built in.
Enable its dependency clocks,interconnect and pinctrl as built-in
to boot Glymur CRD board to UART console with rootfs on nvme storage.
DISPCC enabled as module, used for display.

Signed-off-by: Pankaj Patil <pankaj.patil@oss.qualcomm.com>
---
 arch/arm64/configs/defconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index cdb7d69e3b24..1272422eb727 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -636,6 +636,7 @@ CONFIG_PINCTRL_IMX91=y
 CONFIG_PINCTRL_IMX93=y
 CONFIG_PINCTRL_IMX_SCMI=y
 CONFIG_PINCTRL_MSM=y
+CONFIG_PINCTRL_GLYMUR=y
 CONFIG_PINCTRL_IPQ5018=y
 CONFIG_PINCTRL_IPQ5332=y
 CONFIG_PINCTRL_IPQ5424=y
@@ -1425,6 +1426,9 @@ CONFIG_COMMON_CLK_MT8192_SCP_ADSP=y
 CONFIG_COMMON_CLK_MT8192_VDECSYS=y
 CONFIG_COMMON_CLK_MT8192_VENCSYS=y
 CONFIG_COMMON_CLK_QCOM=y
+CONFIG_CLK_GLYMUR_DISPCC=m
+CONFIG_CLK_GLYMUR_GCC=y
+CONFIG_CLK_GLYMUR_TCSRCC=y
 CONFIG_CLK_X1E80100_CAMCC=m
 CONFIG_CLK_X1E80100_DISPCC=m
 CONFIG_CLK_X1E80100_GCC=y
@@ -1801,6 +1805,7 @@ CONFIG_INTERCONNECT_IMX8MN=m
 CONFIG_INTERCONNECT_IMX8MQ=m
 CONFIG_INTERCONNECT_IMX8MP=y
 CONFIG_INTERCONNECT_QCOM=y
+CONFIG_INTERCONNECT_QCOM_GLYMUR=y
 CONFIG_INTERCONNECT_QCOM_MSM8916=m
 CONFIG_INTERCONNECT_QCOM_MSM8953=y
 CONFIG_INTERCONNECT_QCOM_MSM8996=y

-- 
2.34.1
Re: [PATCH v3 2/4] arm64: defconfig: Enable Glymur configs for boot to shell
Posted by Dmitry Baryshkov 1 month, 3 weeks ago
On Fri, Dec 19, 2025 at 08:16:55PM +0530, Pankaj Patil wrote:
> The serial engine must be properly setup before kernel reaches
> "init",so UART driver and its dependencies needs to be built in.
> Enable its dependency clocks,interconnect and pinctrl as built-in
> to boot Glymur CRD board to UART console with rootfs on nvme storage.
> DISPCC enabled as module, used for display.
> 
> Signed-off-by: Pankaj Patil <pankaj.patil@oss.qualcomm.com>
> ---
>  arch/arm64/configs/defconfig | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> @@ -1425,6 +1426,9 @@ CONFIG_COMMON_CLK_MT8192_SCP_ADSP=y
>  CONFIG_COMMON_CLK_MT8192_VDECSYS=y
>  CONFIG_COMMON_CLK_MT8192_VENCSYS=y
>  CONFIG_COMMON_CLK_QCOM=y
> +CONFIG_CLK_GLYMUR_DISPCC=m
> +CONFIG_CLK_GLYMUR_GCC=y
> +CONFIG_CLK_GLYMUR_TCSRCC=y

Is TCSRCC also required for serial?

>  CONFIG_CLK_X1E80100_CAMCC=m
>  CONFIG_CLK_X1E80100_DISPCC=m
>  CONFIG_CLK_X1E80100_GCC=y

-- 
With best wishes
Dmitry
Re: [PATCH v3 2/4] arm64: defconfig: Enable Glymur configs for boot to shell
Posted by Pankaj Patil 1 month, 2 weeks ago
On 12/20/2025 10:47 PM, Dmitry Baryshkov wrote:
> On Fri, Dec 19, 2025 at 08:16:55PM +0530, Pankaj Patil wrote:
>> The serial engine must be properly setup before kernel reaches
>> "init",so UART driver and its dependencies needs to be built in.
>> Enable its dependency clocks,interconnect and pinctrl as built-in
>> to boot Glymur CRD board to UART console with rootfs on nvme storage.
>> DISPCC enabled as module, used for display.
>>
>> Signed-off-by: Pankaj Patil <pankaj.patil@oss.qualcomm.com>
>> ---
>>  arch/arm64/configs/defconfig | 5 +++++
>>  1 file changed, 5 insertions(+)
>>
>> @@ -1425,6 +1426,9 @@ CONFIG_COMMON_CLK_MT8192_SCP_ADSP=y
>>  CONFIG_COMMON_CLK_MT8192_VDECSYS=y
>>  CONFIG_COMMON_CLK_MT8192_VENCSYS=y
>>  CONFIG_COMMON_CLK_QCOM=y
>> +CONFIG_CLK_GLYMUR_DISPCC=m
>> +CONFIG_CLK_GLYMUR_GCC=y
>> +CONFIG_CLK_GLYMUR_TCSRCC=y
> Is TCSRCC also required for serial?

Not required for serial, will update to m in next rev

>
>>  CONFIG_CLK_X1E80100_CAMCC=m
>>  CONFIG_CLK_X1E80100_DISPCC=m
>>  CONFIG_CLK_X1E80100_GCC=y
Re: [PATCH v3 2/4] arm64: defconfig: Enable Glymur configs for boot to shell
Posted by Krzysztof Kozlowski 1 month, 3 weeks ago
On 19/12/2025 15:46, Pankaj Patil wrote:
> The serial engine must be properly setup before kernel reaches
> "init",so UART driver and its dependencies needs to be built in.

Missing spaces before ,

> Enable its dependency clocks,interconnect and pinctrl as built-in
> to boot Glymur CRD board to UART console with rootfs on nvme storage.

Nvidia Glymur CRD? Standard comment - you look at kernel and defconfig
as it only Qualcomm ever existed...

Best regards,
Krzysztof
Re: [PATCH v3 2/4] arm64: defconfig: Enable Glymur configs for boot to shell
Posted by Dmitry Baryshkov 1 month, 3 weeks ago
On Fri, Dec 19, 2025 at 03:57:57PM +0100, Krzysztof Kozlowski wrote:
> On 19/12/2025 15:46, Pankaj Patil wrote:
> > The serial engine must be properly setup before kernel reaches
> > "init",so UART driver and its dependencies needs to be built in.
> 
> Missing spaces before ,

I hope, you mean after comma, not before.

> 
> > Enable its dependency clocks,interconnect and pinctrl as built-in
> > to boot Glymur CRD board to UART console with rootfs on nvme storage.
> 
> Nvidia Glymur CRD? Standard comment - you look at kernel and defconfig
> as it only Qualcomm ever existed...

-- 
With best wishes
Dmitry
Re: [PATCH v3 2/4] arm64: defconfig: Enable Glymur configs for boot to shell
Posted by Pankaj Patil 1 month, 2 weeks ago
On 12/19/2025 8:27 PM, Krzysztof Kozlowski wrote:
> On 19/12/2025 15:46, Pankaj Patil wrote:
>> The serial engine must be properly setup before kernel reaches
>> "init",so UART driver and its dependencies needs to be built in.
> Missing spaces before ,
>
>> Enable its dependency clocks,interconnect and pinctrl as built-in
>> to boot Glymur CRD board to UART console with rootfs on nvme storage.
> Nvidia Glymur CRD? Standard comment - you look at kernel and defconfig
> as it only Qualcomm ever existed...
>
> Best regards,
> Krzysztof
Will re-order in next revision