[PATCH] pinctrl: pinctrl-single: add ti,am62l-padconf compatible string

Kendall Willis posted 1 patch 1 month, 2 weeks ago
drivers/pinctrl/pinctrl-single.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] pinctrl: pinctrl-single: add ti,am62l-padconf compatible string
Posted by Kendall Willis 1 month, 2 weeks ago
From: Vignesh Raghavendra <vigneshr@ti.com>

Add "ti,am62l-padconf" compatible string for the AM62L SoC, which
requires register configurations to be restored during system resume
after suspend to RAM (RTC only + DDR mode). This reuses the j7200
configuration which includes the PCS_CONTEXT_LOSS_OFF flag needed for
proper restoration.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Kendall Willis <k-willis@ti.com>
---
RTC Only + DDR is a low power mode on the AM62L SoC where most of the
SoC is off except for RTC, which is used as a wakeup source, and DDR
which is in self-refresh.
---
 drivers/pinctrl/pinctrl-single.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index d85e6c1f632186b36e95b0b1338a7644ae751f99..288c9c9bce9a5b1cdfa96f69e6a104152439789f 100644
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -1980,6 +1980,7 @@ static const struct of_device_id pcs_of_match[] = {
 	{ .compatible = "ti,omap4-padconf", .data = &pinctrl_single_omap_wkup },
 	{ .compatible = "ti,omap5-padconf", .data = &pinctrl_single_omap_wkup },
 	{ .compatible = "ti,j7200-padconf", .data = &pinctrl_single_j7200 },
+	{ .compatible = "ti,am62l-padconf", .data = &pinctrl_single_j7200 },
 	{ .compatible = "pinctrl-single", .data = &pinctrl_single },
 	{ .compatible = "pinconf-single", .data = &pinconf_single },
 	{ },

---
base-commit: af98e93c5c39e6d0b87b42f0a32dd3066f795718
change-id: 20260212-am62l-padconf-ff5f6050107a

Best regards,
-- 
Kendall Willis <k-willis@ti.com>
Re: [PATCH] pinctrl: pinctrl-single: add ti,am62l-padconf compatible string
Posted by Linus Walleij 1 month, 1 week ago
On Thu, Feb 12, 2026 at 10:38 PM Kendall Willis <k-willis@ti.com> wrote:

> From: Vignesh Raghavendra <vigneshr@ti.com>
>
> Add "ti,am62l-padconf" compatible string for the AM62L SoC, which
> requires register configurations to be restored during system resume
> after suspend to RAM (RTC only + DDR mode). This reuses the j7200
> configuration which includes the PCS_CONTEXT_LOSS_OFF flag needed for
> proper restoration.
>
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> Signed-off-by: Kendall Willis <k-willis@ti.com>

Patch applied!

Yours,
Linus Walleij
Re: [PATCH] pinctrl: pinctrl-single: add ti,am62l-padconf compatible string
Posted by Dhruva Gole 1 month, 2 weeks ago
On Feb 12, 2026 at 15:38:09 -0600, Kendall Willis wrote:
> From: Vignesh Raghavendra <vigneshr@ti.com>
> 
> Add "ti,am62l-padconf" compatible string for the AM62L SoC, which
> requires register configurations to be restored during system resume
> after suspend to RAM (RTC only + DDR mode). This reuses the j7200
> configuration which includes the PCS_CONTEXT_LOSS_OFF flag needed for
> proper restoration.
> 
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> Signed-off-by: Kendall Willis <k-willis@ti.com>
> ---
> RTC Only + DDR is a low power mode on the AM62L SoC where most of the
> SoC is off except for RTC, which is used as a wakeup source, and DDR
> which is in self-refresh.
> ---
>  drivers/pinctrl/pinctrl-single.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
> index d85e6c1f632186b36e95b0b1338a7644ae751f99..288c9c9bce9a5b1cdfa96f69e6a104152439789f 100644
> --- a/drivers/pinctrl/pinctrl-single.c
> +++ b/drivers/pinctrl/pinctrl-single.c
> @@ -1980,6 +1980,7 @@ static const struct of_device_id pcs_of_match[] = {
>  	{ .compatible = "ti,omap4-padconf", .data = &pinctrl_single_omap_wkup },
>  	{ .compatible = "ti,omap5-padconf", .data = &pinctrl_single_omap_wkup },
>  	{ .compatible = "ti,j7200-padconf", .data = &pinctrl_single_j7200 },
> +	{ .compatible = "ti,am62l-padconf", .data = &pinctrl_single_j7200 },

Reviewed-by: Dhruva Gole <d-gole@ti.com>

>  	{ .compatible = "pinctrl-single", .data = &pinctrl_single },
>  	{ .compatible = "pinconf-single", .data = &pinconf_single },
>  	{ },
> 
> ---
> base-commit: af98e93c5c39e6d0b87b42f0a32dd3066f795718
> change-id: 20260212-am62l-padconf-ff5f6050107a
> 
> Best regards,
> -- 
> Kendall Willis <k-willis@ti.com>
> 

-- 
Best regards,
Dhruva Gole
Texas Instruments Incorporated