OrangePi_CM5/drivers/pinctrl/renesas
Geert Uytterhoeven fd2601e366 pinctrl: renesas: checker: Fix miscalculation of number of states
[ Upstream commit de9b861018d46af27a5edff8b6baef35c0c0ad4f ]

The checker failed to validate all enum IDs in the description of a
register with fixed-width register fields, due to a miscalculation of
the number of described states: each register field of n bits can have
"1 << n" possible states, not "1".

Increase SH_PFC_MAX_ENUMS accordingly, now more enum IDs are checked
(SH-Mobile AG5 has more than 4000 enum IDs defined).

Fixes: 12d057bad6 ("pinctrl: sh-pfc: checker: Add check for enum ID conflicts")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/6d8a6a05564f38f9d20464c1c17f96e52740cf6a.1645460429.git.geert+renesas@glider.be
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:24 +02:00
..
Kconfig
…
Makefile
…
core.c pinctrl: renesas: checker: Fix miscalculation of number of states 2022-04-08 14:40:24 +02:00
core.h
…
gpio.c
…
pfc-emev2.c
…
pfc-r8a73a4.c
…
pfc-r8a7740.c
…
pfc-r8a7778.c
…
pfc-r8a7779.c
…
pfc-r8a7790.c
…
pfc-r8a7791.c
…
pfc-r8a7792.c
…
pfc-r8a7794.c
…
pfc-r8a7796.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
pfc-r8a77470.c pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel 2022-04-08 14:40:24 +02:00
pfc-r8a77950.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
pfc-r8a77951.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
pfc-r8a77965.c pinctrl: remove empty lines in pinctrl subsystem 2021-09-18 13:40:11 +02:00
pfc-r8a77970.c
…
pfc-r8a77980.c
…
pfc-r8a77990.c
…
pfc-r8a77995.c
…
pfc-sh73a0.c
…
pfc-sh7203.c
…
pfc-sh7264.c
…
pfc-sh7269.c
…
pfc-sh7720.c
…
pfc-sh7722.c
…
pfc-sh7723.c
…
pfc-sh7724.c
…
pfc-sh7734.c
…
pfc-sh7757.c
…
pfc-sh7785.c
…
pfc-sh7786.c
…
pfc-shx3.c
…
pinctrl-rza1.c
…
pinctrl-rza2.c
…
pinctrl-rzn1.c
…
pinctrl.c
…
sh_pfc.h
…