aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sh-pfc/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-12-13 15:48:45 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-04-02 09:57:50 +0200
commit6161b39a14380815f22851c753c00acf81cfa62a (patch)
treeb001ba015f62243dbbe1bc7920570e80acba8242 /drivers/pinctrl/sh-pfc/Kconfig
parentpinctrl: sh-pfc: rcar-gen3: Retain TDSELCTRL register across suspend/resume (diff)
downloadlinux-dev-6161b39a14380815f22851c753c00acf81cfa62a.tar.xz
linux-dev-6161b39a14380815f22851c753c00acf81cfa62a.zip
pinctrl: sh-pfc: Validate pinmux tables at runtime when debugging
Perform some basic sanity checks on all built-in pinmux tables when DEBUG is defined, to help catching bugs early. For now the following checks are included: - Check register and field widths in descriptors for config registers with variable-width fields, - Check relations between pin groups and functions: - All pin functions must refer to existing pin groups, - All pin groups must be referred to by a pin function, - Warn if a pin group is referred to by multiple pin functions (which is OK for backwards-compatibility aliases), - Provide suggestions for reducing table sizes: reserved fields of more than 3 bits can better be split in smaller subfields, as the storage need is proportional to the square of the width of the (sub)field, Note that a dummy non-matching entry is added to the DT match table for checking r8a7795es1_pinmux_info, as R-Car H3 ES1.0 is matched using soc_device_match() in r8a7795_pinmux_init(), instead of by the DT match table. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/Kconfig')
0 files changed, 0 insertions, 0 deletions