u-boot/drivers/pinctrl/renesas
Marek Vasut 476b886a6f pinctrl: renesas: Convert to IS_ENABLED() macro
Use the IS_ENABLED() macro to reduce amount of #ifdef use in the driver
and improve code coverage. With IS_ENABLED() macro, the code is compiled
and then optimized out, which prevents bitrot.

In case no PFC table matches the SoC in use, do not probe the driver
and instead exit with -ENODEV. This should never happen under normal
conditions, because this would mean the driver DT compatible string
match happened, but the list in probe() cannot match the model listed
in match data associated with the compatible string on which the match
did happen.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2024-12-29 16:55:31 +01:00
..
Kconfig Prepare v2025.01-rc5 2024-12-25 22:31:04 -06:00
Makefile pinctrl: renesas: Add R8A779H0 V4M PFC tables 2024-02-10 17:08:06 +01:00
pfc-r8a779a0.c pinctrl: renesas: Minimize R8A779A0 V3U PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a779f0.c pinctrl: renesas: Minimize R8A779F0 S4 PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a779g0.c pinctrl: renesas: Minimize R8A779G0 V4H PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a779h0.c pinctrl: renesas: Minimize R8A779H0 V4M PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a7790.c pinctrl: renesas: Minimize R8A7790 H2 PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a7791.c pinctrl: renesas: Minimize R8A7791 M2-W and R8A7793 M2-N PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a7792.c pinctrl: renesas: Minimize R8A7792 V2H PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a7794.c pinctrl: renesas: Minimize R8A7794 E2 PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a7796.c pinctrl: renesas: Minimize R8A77960 M3-W and R8A77961 M3-W+ PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a77951.c pinctrl: renesas: Minimize R8A77951 H3 PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a77965.c pinctrl: renesas: Minimize R8A77965 M3-N PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a77970.c pinctrl: renesas: Minimize R8A77970 V3M PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a77980.c pinctrl: renesas: Minimize R8A77980 V3H PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a77990.c pinctrl: renesas: Minimize R8A77990 E3 PFC tables 2024-12-25 19:29:47 +01:00
pfc-r8a77995.c pinctrl: renesas: Minimize R8A77995 D3 PFC tables 2024-12-25 19:29:47 +01:00
pfc.c pinctrl: renesas: Convert to IS_ENABLED() macro 2024-12-29 16:55:31 +01:00
pinctrl-rza1.c pinctrl: renesas: Drop include common.h 2024-01-27 20:16:39 +01:00
pinctrl-rzn1.c pinctrl: renesas: add R906G032 driver 2023-05-13 04:01:30 +02:00
rzg2l-pfc.c pinctrl: rzg2l: Drop unnecessary scope 2024-12-08 23:06:52 +01:00
sh_pfc.h pinctrl: renesas: Add R8A779H0 V4M PFC tables 2024-02-10 17:08:06 +01:00