[PATCH v5 18/27] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7
claudiu beznea
claudiu.beznea at tuxon.dev
Sun Jul 14 06:41:26 PDT 2024
On 03.07.2024 13:28, Varshini Rajendran wrote:
> Use sam9x7 pmc's compatible to lookup for in the SHDWC driver.
>
> Signed-off-by: Varshini Rajendran <varshini.rajendran at microchip.com>
> Acked-by: Sebastian Reichel <sebastian.reichel at collabora.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea at tuxon.dev>
The suggestion from v4 still applies to avoid increasing this array.
> ---
> drivers/power/reset/at91-sama5d2_shdwc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/power/reset/at91-sama5d2_shdwc.c b/drivers/power/reset/at91-sama5d2_shdwc.c
> index 959ce0dbe91d..2121d7e74e12 100644
> --- a/drivers/power/reset/at91-sama5d2_shdwc.c
> +++ b/drivers/power/reset/at91-sama5d2_shdwc.c
> @@ -326,6 +326,7 @@ static const struct of_device_id at91_pmc_ids[] = {
> { .compatible = "atmel,sama5d2-pmc" },
> { .compatible = "microchip,sam9x60-pmc" },
> { .compatible = "microchip,sama7g5-pmc" },
> + { .compatible = "microchip,sam9x7-pmc" },
> { /* Sentinel. */ }
> };
>
More information about the linux-arm-kernel
mailing list