]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: sh-pfc: r8a7795: Fix VIN versioned groups
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 8 Nov 2018 16:07:26 +0000 (17:07 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 13 Nov 2018 09:52:28 +0000 (10:52 +0100)
commit0daf7328bde95e25b65568dce13d51939ef0819c
tree95d1fe987f50ef6c069b40ac9f35977e0bd3f80b
parentaccfacc6732029fdd8e67e2b21eaf66e50ab5046
pinctrl: sh-pfc: r8a7795: Fix VIN versioned groups

Versioned VIN groups can appear on different sets of pins. Using the
VIN_DATA_PIN_GROUP macro now supports proper naming of said groups
through an optional 'version' argument.

Use the 'version' argument for said macro to fix naming of versioned
groups for the R-Car H3 R8A7795 SoC.

Fixes: c46358164094 ("pinctrl: sh-pfc: r8a7795: Deduplicate VIN4 pin definitions")
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pfc-r8a7795.c