public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Yu-Chun Lin [林祐君]" <eleanor.lin@realtek.com>
To: "Krzysztof Kozlowski" <krzysztof.kozlowski@oss.qualcomm.com>,
	"Linus Walleij" <linusw@kernel.org>,
	"Andreas Färber" <afaerber@suse.de>
Cc: "linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Andrew Jeffery" <andrew@codeconstruct.com.au>,
	"linux-aspeed@lists.ozlabs.org" <linux-aspeed@lists.ozlabs.org>,
	"openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"Joel Stanley" <joel@jms.id.au>,
	"linux-realtek-soc@lists.infradead.org"
	<linux-realtek-soc@lists.infradead.org>,
	"James Tai [戴志峰]" <james.tai@realtek.com>
Subject: RE: [PATCH 1/4] pinctrl: realtek: Enable compile testing
Date: Mon, 13 Apr 2026 09:49:11 +0000	[thread overview]
Message-ID: <eda54aea98ba4ad58ba8fca0951dd714@realtek.com> (raw)
In-Reply-To: <20260410-pinctrl-testing-v1-1-6f708c855867@oss.qualcomm.com>

> Enable compile testing for Realtek pin controller drivers for increased build
> and static checkers coverage.  PINCTRL_RTD uses
> pinconf_generic_dt_node_to_map(), thus needs OF.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
>  drivers/pinctrl/Makefile        |  2 +-
>  drivers/pinctrl/realtek/Kconfig | 12 ++++++------
>  2 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile index
> 9d33fa28a096..b054cfb99348 100644
> --- a/drivers/pinctrl/Makefile
> +++ b/drivers/pinctrl/Makefile
> @@ -82,7 +82,7 @@ obj-y                         += nuvoton/
>  obj-y                          += nxp/
>  obj-$(CONFIG_PINCTRL_PXA)      += pxa/
>  obj-y                          += qcom/
> -obj-$(CONFIG_ARCH_REALTEK)      += realtek/
> +obj-$(CONFIG_PINCTRL_RTD)      += realtek/
>  obj-$(CONFIG_PINCTRL_RENESAS)  += renesas/
>  obj-$(CONFIG_PINCTRL_SAMSUNG)  += samsung/
>  obj-y                          += sophgo/
> diff --git a/drivers/pinctrl/realtek/Kconfig b/drivers/pinctrl/realtek/Kconfig
> index 054e85db99e7..a156c4ef556e 100644
> --- a/drivers/pinctrl/realtek/Kconfig
> +++ b/drivers/pinctrl/realtek/Kconfig
> @@ -2,8 +2,8 @@
> 
>  config PINCTRL_RTD
>         tristate "Realtek DHC core pin controller driver"
> -       depends on ARCH_REALTEK
> -       default y
> +       depends on ARCH_REALTEK || (COMPILE_TEST && OF)
> +       default ARCH_REALTEK
>         select PINMUX
>         select GENERIC_PINCONF
>         select REGMAP_MMIO
> @@ -11,22 +11,22 @@ config PINCTRL_RTD
>  config PINCTRL_RTD1619B
>         tristate "Realtek DHC 1619B pin controller driver"
>         depends on PINCTRL_RTD
> -       default y
> +       default ARCH_REALTEK
> 
>  config PINCTRL_RTD1319D
>         tristate "Realtek DHC 1319D pin controller driver"
>         depends on PINCTRL_RTD
> -       default y
> +       default ARCH_REALTEK
> 
>  config PINCTRL_RTD1315E
>         tristate "Realtek DHC 1315E pin controller driver"
>         depends on PINCTRL_RTD
> -       default y
> +       default ARCH_REALTEK
> 
>  config PINCTRL_RTD1625
>         tristate "Realtek DHC 1625 pin controller driver"
>         depends on PINCTRL_RTD
> -       default y
> +       default ARCH_REALTEK
>         help
>           This driver enables support for the pin controller on the Realtek
>           RTD1625 SoCs.
> 
> --
> 2.51.0

Reviewed-by: Yu-Chun Lin <eleanor.lin@realtek.com>

  reply	other threads:[~2026-04-13  9:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-10 13:04 [PATCH 0/4] pinctrl: More compile testing Krzysztof Kozlowski
2026-04-10 13:04 ` [PATCH 1/4] pinctrl: realtek: Enable " Krzysztof Kozlowski
2026-04-13  9:49   ` Yu-Chun Lin [林祐君] [this message]
2026-04-10 13:04 ` [PATCH 2/4] pinctrl: aspeed: Enable compile testing outside of ARCH_ASPEED Krzysztof Kozlowski
2026-04-10 13:04 ` [PATCH 3/4] pinctrl: vt8500: Enable compile testing Krzysztof Kozlowski
2026-04-10 21:22   ` Sander Vanheule
2026-04-13 11:12     ` Krzysztof Kozlowski
2026-04-10 13:04 ` [PATCH 4/4] ARM: realtek: MAINTAINERS: Include pin controller drivers Krzysztof Kozlowski
2026-04-13  9:23   ` Yu-Chun Lin [林祐君]
2026-04-13 11:13     ` Krzysztof Kozlowski
2026-04-13 13:57       ` Yu-Chun Lin

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=eda54aea98ba4ad58ba8fca0951dd714@realtek.com \
    --to=eleanor.lin@realtek.com \
    --cc=afaerber@suse.de \
    --cc=andrew@codeconstruct.com.au \
    --cc=james.tai@realtek.com \
    --cc=joel@jms.id.au \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-aspeed@lists.ozlabs.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-realtek-soc@lists.infradead.org \
    --cc=openbmc@lists.ozlabs.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