pinctrl: sh-pfc: checker: Add drive strength register checks
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 10 Jan 2020 13:19:23 +0000 (14:19 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 21 Feb 2020 12:57:44 +0000 (13:57 +0100)
commit08df16e07ad0a1ec0ccf9a154014cb80e82c773e
tree301e5537bc3007a2975c3d80827b53a39513e528
parent40c8e4aad4e1575e101576aab1313f99ed3df49d
pinctrl: sh-pfc: checker: Add drive strength register checks

Add checks for drive strength register descriptors:
  1. Register addresses must be unique,
  2. Register fields must be non-overlapping,
  3. Referred pins must exist.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20200110131927.1029-10-geert+renesas@glider.be
drivers/pinctrl/sh-pfc/core.c