linux-stable/drivers/pinctrl/renesas
Geert Uytterhoeven 0d986ccb8c pinctrl: renesas: checker: Fix miscalculation of number of states
[ Upstream commit de9b861018 ]

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 13:58:25 +02:00
..
Kconfig pinctrl: renesas: Add RZ/G2L pin and gpio controller driver 2021-08-13 12:09:04 +02:00
Makefile pinctrl: renesas: Add RZ/G2L pin and gpio controller driver 2021-08-13 12:09:04 +02:00
core.c pinctrl: renesas: checker: Fix miscalculation of number of states 2022-04-08 13:58:25 +02:00
core.h pinctrl: renesas: Move R-Car bias helpers to sh_pfc.h 2021-03-24 10:38:29 +01:00
gpio.c pinctrl: renesas: Singular/plural grammar fixes 2020-11-13 15:37:41 +01:00
pfc-emev2.c
pfc-r8a73a4.c pinctrl: renesas: Factor out common R-Mobile bias handling 2021-03-24 10:38:29 +01:00
pfc-r8a779a0.c pinctrl: renesas: r8a779a0: Align comments 2021-12-07 16:58:02 +01:00
pfc-r8a7740.c pinctrl: renesas: Factor out common R-Mobile bias handling 2021-03-24 10:38:29 +01:00
pfc-r8a7778.c pinctrl: renesas: r8a7778: Remove unused PORT_GP_PUP_1() macro 2021-05-11 10:04:42 +02:00
pfc-r8a7779.c
pfc-r8a7790.c pinctrl: renesas: r8a7790: Add bias pinconf support 2021-05-31 10:50:28 +02:00
pfc-r8a7791.c pinctrl: renesas: r8a7791: Add bias pinconf support 2021-03-24 10:38:29 +01:00
pfc-r8a7792.c pinctrl: renesas: r8a7792: Add bias pinconf support 2021-05-31 10:50:28 +02:00
pfc-r8a7794.c pinctrl: renesas: r8a7794: Add bias pinconf support 2021-05-31 10:50:28 +02:00
pfc-r8a7796.c pinctrl: renesas: r8a779[56]x: Add MediaLB pins 2021-10-15 09:47:53 +02:00
pfc-r8a77470.c pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel 2022-04-08 13:58:25 +02:00
pfc-r8a77950.c pinctrl: renesas: r8a779[56]x: Add MediaLB pins 2021-10-15 09:47:53 +02:00
pfc-r8a77951.c pinctrl: renesas: r8a779[56]x: Add MediaLB pins 2021-10-15 09:47:53 +02:00
pfc-r8a77965.c pinctrl: renesas: r8a779[56]x: Add MediaLB pins 2021-10-15 09:47:53 +02:00
pfc-r8a77970.c pinctrl: renesas: r8a77970: Add bias pinconf support 2021-05-31 10:50:28 +02:00
pfc-r8a77980.c pinctrl: renesas: r8a77980: Add bias pinconf support 2021-05-31 10:50:29 +02:00
pfc-r8a77990.c pinctrl: renesas: r8a77990: Drop bogus PUEN_ prefixes in comments 2021-05-11 10:04:42 +02:00
pfc-r8a77995.c pinctrl: renesas: r8a77995: Add bias pinconf support 2021-07-13 09:43:34 +02:00
pfc-sh73a0.c pinctrl: renesas: Factor out common R-Mobile bias handling 2021-03-24 10:38:29 +01:00
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: renesas: rza1: Fix kerneldoc function names 2021-11-15 10:10:54 +01:00
pinctrl-rza2.c pinctrl: Get rid of duplicate of_node assignment in the drivers 2021-12-16 04:18:30 +01:00
pinctrl-rzg2l.c pinctrl: renesas: rzg2l: Add support to get/set drive-strength and output-impedance-ohms 2021-11-15 10:44:14 +01:00
pinctrl-rzn1.c
pinctrl.c pinctrl: renesas: Remove unneeded locking around sh_pfc_read() calls 2021-11-19 10:55:21 +01:00
sh_pfc.h pinctrl: renesas: Fix pin control matching on R-Car H3e-2G 2021-07-27 09:29:02 +02:00