]> asedeno.scripts.mit.edu Git - linux.git/commit
pinctrl: sh-pfc: sh7264: Fix PFCR3 and PFCR0 register configuration
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 13 Dec 2018 13:09:56 +0000 (14:09 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 18 Dec 2018 10:25:56 +0000 (11:25 +0100)
commit1b99d0c80bbe1810572c2cb77b90f67886adfa8d
treeb4376cae115cc3236a4cec9362f854034ee4fd5c
parente28dc3f09c9d2555a9bd982f0847988591052226
pinctrl: sh-pfc: sh7264: Fix PFCR3 and PFCR0 register configuration

The Port F Control Register 3 (PFCR3) contains only a single field.
However, counting from left to right, it is the fourth field, not the
first field.
Insert the missing dummy configuration values (3 fields of 16 values) to
fix this.

The descriptor for the Port F Control Register 0 (PFCR0) lacks the
description for the 4th field (PF0 Mode, PF0MD[2:0]).
Add the missing configuration values to fix this.

Fixes: a8d42fc4217b1ea1 ("sh-pfc: Add sh7264 pinmux support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/pfc-sh7264.c