public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sumit Garg <sumit.garg@kernel.org>
To: Quentin Schulz <quentin.schulz@cherry.de>
Cc: Aswin Murugan <aswin.murugan@oss.qualcomm.com>,
	casey.connolly@linaro.org, neil.armstrong@linaro.org,
	trini@konsulko.com, ilias.apalodimas@linaro.org,
	christopher.obbard@linaro.org, quic_varada@quicinc.com,
	marek.vasut+renesas@mailbox.org, alexeymin@minlexx.ru,
	danila@jiaxyga.com, david.wronek@mainlining.org,
	u-boot-qcom@groups.io, u-boot@lists.denx.de
Subject: Re: [PATCH v2 1/2] pinctrl: qcom: add PINCTRL_QCOM_GENERIC to enable all drivers by default
Date: Thu, 15 Jan 2026 12:40:30 +0530	[thread overview]
Message-ID: <aWiS5ixFCnbK3_sN@sumit-xelite> (raw)
In-Reply-To: <6037846c-ca4d-4927-a6c0-f8f0cfb96f80@cherry.de>

On Wed, Jan 14, 2026 at 06:29:55PM +0100, Quentin Schulz wrote:
> Hi Aswin,
> 
> On 1/7/26 4:47 PM, Aswin Murugan wrote:
> > Introduce a new Kconfig option PINCTRL_QCOM_GENERIC that, when selected,
> > enables all Qualcomm pinctrl drivers by default. This simplifies defconfigs
> > for platforms supporting multiple SoCs and avoids manual driver selection.
> > Individual drivers can still be disabled if required.
> > 
> > Signed-off-by: Aswin Murugan <aswin.murugan@oss.qualcomm.com>
> > ---
> > Changes in v2:
> > - As per review comments made default y for pinctrl drivers
> >    based on PINCTRL_QCOM_GENERIC config 'default y if PINCTRL_QCOM_GENERIC'
> > ---

"---" is redundant here and may be causing issues with the b4 patch
pickup.

> >   drivers/pinctrl/qcom/Kconfig | 29 +++++++++++++++++++++++++++++
> >   1 file changed, 29 insertions(+)
> > 
> > diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig
> > index 725200d94c8..580308621b1 100644
> > --- a/drivers/pinctrl/qcom/Kconfig
> > +++ b/drivers/pinctrl/qcom/Kconfig
> > @@ -6,8 +6,17 @@ config PINCTRL_QCOM
> >   menu "Qualcomm pinctrl drivers"
> > +config PINCTRL_QCOM_GENERIC
> > +	bool "Enable all Qualcomm pinctrl drivers by default"
> > +	select PINCTRL_QCOM
> > +	help
> > +	  Say Y here to enable all Qualcomm pinctrl drivers by default.
> > +	  This is useful for generic Qualcomm defconfigs that support
> > +	  multiple SoCs. Individual drivers can still be disabled if needed.
> > +
> >   config PINCTRL_QCOM_APQ8016
> >   	bool "Qualcomm APQ8016 Pinctrl"
> > +	default y if PINCTRL_QCOM_GENERIC
> >   	select PINCTRL_QCOM
> >   	help
> >   	  Say Y here to enable support for pinctrl on the MSM8916 / APQ8016
> > @@ -15,6 +24,7 @@ config PINCTRL_QCOM_APQ8016
> >   config PINCTRL_QCOM_APQ8096
> >   	bool "Qualcomm APQ8096 Pinctrl"
> > +	default y if PINCTRL_QCOM_GENERIC
> >   	select PINCTRL_QCOM
> >   	help
> >   	  Say Y here to enable support for pinctrl on the MSM8996 / APQ8096
> > @@ -22,6 +32,7 @@ config PINCTRL_QCOM_APQ8096
> >   config PINCTRL_QCOM_IPQ4019
> >   	bool "Qualcomm IPQ4019 Pinctrl"
> > +	default y if PINCTRL_QCOM_GENERIC
> >   	select PINCTRL_QCOM
> >   	help
> >   	  Say Y here to enable support for pinctrl on the IPQ4019 SoC,
> > @@ -29,6 +40,7 @@ config PINCTRL_QCOM_IPQ4019
> >   config PINCTRL_QCOM_IPQ5424
> >   	bool "Qualcomm IPQ5424 Pinctrl"
> > +	default y if PINCTRL_QCOM_GENERIC
> >   	select PINCTRL_QCOM
> >   	help
> >   	  Say Y here to enable support for pinctrl on the IPQ5424 SoC,
> > @@ -36,6 +48,7 @@ config PINCTRL_QCOM_IPQ5424
> >   config PINCTRL_QCOM_IPQ9574
> >   	bool "Qualcomm IPQ9574 Pinctrl"
> > +	default y if PINCTRL_QCOM_GENERIC
> >   	select PINCTRL_QCOM
> >   	help
> >   	  Say Y here to enable support for pinctrl on the IPQ9574 SoC,
> > @@ -43,6 +56,7 @@ config PINCTRL_QCOM_IPQ9574
> >   config PINCTRL_QCOM_QCM2290
> >   	bool "Qualcomm QCM2290 Pinctrl"
> > +	default y if PINCTRL_QCOM_GENERIC
> >   	select PINCTRL_QCOM
> >   	help
> >   	  Say Y here to enable support for pinctrl on the Snapdragon QCM2290 SoC,
> > @@ -50,6 +64,7 @@ config PINCTRL_QCOM_QCM2290
> >   config PINCTRL_QCOM_QCS404
> >   	bool "Qualcomm QCS404 Pinctrl"
> > +	default y if PINCTRL_QCOM_GENERIC
> >   	select PINCTRL_QCOM
> >   	help
> >   	  Say Y here to enable support for pinctrl on the Snapdragon QCS404 SoC,
> > @@ -57,6 +72,7 @@ config PINCTRL_QCOM_QCS404
> >   config PINCTRL_QCOM_QCS615
> >           bool "Qualcomm QCS615 Pinctrl"
> > +	default y if PINCTRL_QCOM_GENERIC
> 
> Indentation seems incorrect here?

With indentation fixed, feel free to add:

Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>

-Sumit

> 
> b4 doesn't want to pick up the patch from lore so cannot check if it's an
> actual problem or not. See:
> 
> $ b4 shazam --add-my-sob --add-link https://lore.kernel.org/u-boot/67140dbd-1b93-43d1-b218-0b57a762ce1a@linaro.org/
> [...]
> Applying: pinctrl: qcom: add PINCTRL_QCOM_GENERIC to enable all drivers by
> default
> Patch failed at 0001 pinctrl: qcom: add PINCTRL_QCOM_GENERIC to enable all
> drivers by default
> error: sha1 information is lacking or useless
> (drivers/pinctrl/qcom/Kconfig).
> error: could not build fake ancestor
> [...]
> 
> Cheers,
> Quentin

  reply	other threads:[~2026-01-15  7:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-07 15:47 [PATCH v2 0/2] pinctrl: qcom: Make pinctrl drivers default y Aswin Murugan
2026-01-07 15:47 ` [PATCH v2 1/2] pinctrl: qcom: add PINCTRL_QCOM_GENERIC to enable all drivers by default Aswin Murugan
2026-01-14 17:29   ` Quentin Schulz
2026-01-15  7:10     ` Sumit Garg [this message]
2026-01-07 15:47 ` [PATCH v2 2/2] qcom_defconfig: Remove redundant pinctrl driver selections Aswin Murugan
2026-01-15  7:06   ` Sumit Garg
2026-01-08 16:17 ` [PATCH v2 0/2] pinctrl: qcom: Make pinctrl drivers default y Casey Connolly

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=aWiS5ixFCnbK3_sN@sumit-xelite \
    --to=sumit.garg@kernel.org \
    --cc=alexeymin@minlexx.ru \
    --cc=aswin.murugan@oss.qualcomm.com \
    --cc=casey.connolly@linaro.org \
    --cc=christopher.obbard@linaro.org \
    --cc=danila@jiaxyga.com \
    --cc=david.wronek@mainlining.org \
    --cc=ilias.apalodimas@linaro.org \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=neil.armstrong@linaro.org \
    --cc=quentin.schulz@cherry.de \
    --cc=quic_varada@quicinc.com \
    --cc=trini@konsulko.com \
    --cc=u-boot-qcom@groups.io \
    --cc=u-boot@lists.denx.de \
    /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