pinctrl: sh-pfc: sh7734: Fix duplicate TCLK1_B
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 24 Oct 2019 13:13:08 +0000 (15:13 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 1 Nov 2019 12:42:52 +0000 (13:42 +0100)
commit884caadad128efad8e00c1cdc3177bc8912ee8ec
tree24a2206a6061d93d220da3131783473ab0a4364c
parent708c69e9eaccffc944858c6fbb38f600926e1fcf
pinctrl: sh-pfc: sh7734: Fix duplicate TCLK1_B

The definitions for bit field [19:18] of the Peripheral Function Select
Register 3 were accidentally copied from bit field [20], leading to
duplicates for the TCLK1_B function, and missing TCLK0, CAN_CLK_B, and
ET0_ETXD4 functions.

Fix this by adding the missing GPIO_FN_CAN_CLK_B and GPIO_FN_ET0_ETXD4
enum values, and correcting the functions.

Reported-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20191024131308.16659-1-geert+renesas@glider.be
arch/sh/include/cpu-sh4/cpu/sh7734.h
drivers/pinctrl/sh-pfc/pfc-sh7734.c