From: Pankaj Patil <pankaj.patil@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Subject: Re: [PATCH v7 2/4] arm64: defconfig: Enable Glymur configs for boot to shell
Date: Fri, 6 Feb 2026 21:44:56 +0530 [thread overview]
Message-ID: <269e511f-4e8b-4eff-b51c-6ef2ad5180fc@oss.qualcomm.com> (raw)
In-Reply-To: <hegsqmdmf6yey2ubcsyx7i2l77vplwzmthmyrpvmvu2nrpiag7@gxg7bdk7or2o>
On 2/5/2026 9:46 PM, Bjorn Andersson wrote:
> On Thu, Feb 05, 2026 at 05:50:42PM +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 Qualcomm's dev platform - Glymur CRD board to UART console with
>> rootfs on nvme storage.
>> DISPCC enabled as module, used for display.
>>
>
> I'm sorry I missed this earlier, but what are you actually saying in
> this commit message?
>
> Subject is lacking "Qualcomm" and "boot to shell" doesn't mean anything.
>
> You're talking about serial engine and init, and how that relates to
> UART needs to be built in. So this must be the most important part of
> your patch? No, those drivers where enabled in November 2018...
>
> Then follows a problem statement (problem statements are good!), saying
> that we're enabling the dependencies of the UART. This is good as it
> allow us to reach "init" with a working /dev/console (the reason for
> =y).
>
> But your mixing this up with "rootfs on NVMe storage", which might
> follow from being able to reach "init" with working UART, but it's not
> the same "problem". What I do believe relates to "rootfs on NVMe
> storage" is the inclusion of GLYMUR_TCSRCC=m though?
>
> Surely there must be a better way to write "Qualcomm's dev platform -
> Glymur CRD board"?
>
> DISPCC is used for display, but should your statement be read to imply
> that we now have all drivers enabled for "boot to shell" on the display?
> Or did you include it just because it was adjacent?
>
>
> The content of the patch looks good, but the commit message is
> incoherent and lacks answers to someone who doesn't already know why the
> options are enabled in the way they are.
>
>
> For comparison look at Jingyi's patch here:
> https://lore.kernel.org/all/20251215-knp-dts-v4-2-1541bebeb89f@oss.qualcomm.com/
>
> Regards,
> Bjorn
>
Sure, I'll update the commit subject and text to:
arm64: defconfig: Enable configs for Qualcomm Glymur SoC
Enable pinctrl, clocks and interconnect drivers as built-in
in order for serial console to be available before kernel
reaches "init" on Qualcomm Glymur CRD.
Additionally, booting rootfs from NVMe requires TCSRCC to
be enabled as module
Enable dispcc as module which is a dependency for display enablement
>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
>> 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 b67d5b1fc45b..d3ed35d3e6a4 100644
>> --- a/arch/arm64/configs/defconfig
>> +++ b/arch/arm64/configs/defconfig
>> @@ -647,6 +647,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
>> @@ -1454,6 +1455,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=m
>> CONFIG_CLK_KAANAPALI_GCC=y
>> CONFIG_CLK_KAANAPALI_TCSRCC=m
>> CONFIG_CLK_X1E80100_CAMCC=m
>> @@ -1846,6 +1850,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_KAANAPALI=y
>> CONFIG_INTERCONNECT_QCOM_MSM8916=m
>> CONFIG_INTERCONNECT_QCOM_MSM8953=y
>>
>> --
>> 2.34.1
>>
next prev parent reply other threads:[~2026-02-06 16:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-05 12:20 [PATCH v7 0/4] arm64: dts: qcom: Introduce Glymur SoC dtsi and Glymur CRD dts Pankaj Patil
2026-02-05 12:20 ` [PATCH v7 1/4] dt-bindings: arm: qcom: Document Glymur SoC and board Pankaj Patil
2026-02-06 16:26 ` Krzysztof Kozlowski
2026-02-10 10:11 ` Pankaj Patil
2026-02-05 12:20 ` [PATCH v7 2/4] arm64: defconfig: Enable Glymur configs for boot to shell Pankaj Patil
2026-02-05 16:16 ` Bjorn Andersson
2026-02-06 16:14 ` Pankaj Patil [this message]
2026-02-17 12:00 ` Abel Vesa
2026-02-05 12:20 ` [PATCH v7 3/4] arm64: dts: qcom: Introduce Glymur base dtsi Pankaj Patil
2026-02-05 12:20 ` [PATCH v7 4/4] arm64: dts: qcom: glymur: Enable Glymur CRD board support Pankaj Patil
2026-02-06 17:47 ` Dmitry Baryshkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=269e511f-4e8b-4eff-b51c-6ef2ad5180fc@oss.qualcomm.com \
--to=pankaj.patil@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox