]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: renesas: checker: Validate drive strength configs consistency
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 23 Dec 2021 14:56:23 +0000 (15:56 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 22 Feb 2022 08:57:19 +0000 (09:57 +0100)
commit05542cc2e37a1da871354982737e1e86cadfef22
treea972f945c2ce4ce90b4b4886923c9a98d0b6ea31
parentfdee2373dbc55bd777fb1a2d45a1582fe6fc3498
pinctrl: renesas: checker: Validate drive strength configs consistency

Validate consistency of the pin control tables for pins with drive
strength capabilities.  If a pin has drive strength register bits
declarations in drive_regs[], the SH_PFC_PIN_CFG_DRIVE_STRENGTH flag
should be set in the pin's configs, and vice versa.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/0d5de01b5fe2c5fd23c3bea41077dc57ad105b9e.1640270559.git.geert+renesas@glider.be
drivers/pinctrl/renesas/core.c