]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: renesas: rzg2l: Suppress binding attributes
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Sat, 15 Feb 2025 13:12:35 +0000 (15:12 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 20 Feb 2025 16:33:08 +0000 (17:33 +0100)
Suppress binding attributes for the rzg2l pinctrl driver, as it is an
essential block for Renesas SoCs.  Unbinding the driver leads to
warnings from __device_links_no_driver() and can eventually render the
system inaccessible.

Fixes: c4c4637eb57f ("pinctrl: renesas: Add RZ/G2L pin and gpio controller driver")
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250215131235.228274-1-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/renesas/pinctrl-rzg2l.c

index 298e1aa89c8f0d0cfc3f0b83a827fc17087416a0..9280bc37a6232d932d9c9437a167f4350083010f 100644 (file)
@@ -3403,6 +3403,7 @@ static struct platform_driver rzg2l_pinctrl_driver = {
                .name = DRV_NAME,
                .of_match_table = of_match_ptr(rzg2l_pinctrl_of_table),
                .pm = pm_sleep_ptr(&rzg2l_pinctrl_pm_ops),
+               .suppress_bind_attrs = true,
        },
        .probe = rzg2l_pinctrl_probe,
 };