]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: sh-pfc: r8a7796: Fix VIN versioned groups
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 8 Nov 2018 16:07:27 +0000 (17:07 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 13 Nov 2018 09:52:33 +0000 (10:52 +0100)
commitf2d537c408ac9e49d22d81fb09809f50153a161b
treed944efcd665be349ccb70628004441ea438d0cf3
parent0daf7328bde95e25b65568dce13d51939ef0819c
pinctrl: sh-pfc: r8a7796: 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 M3-W R8A7796 SoC.

Fixes: ab43685b4e6c ("pinctrl: sh-pfc: r8a7796: 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-r8a7796.c