pinctrl: sh-pfc: sh7264: Fix PFCR3 and PFCR0 register configuration
[ Upstream commit1b99d0c80b] 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:a8d42fc421("sh-pfc: Add sh7264 pinmux support") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
593acae104
commit
f83a5dba5e
1 changed files with 7 additions and 2 deletions
|
|
@ -1716,6 +1716,9 @@ static const struct pinmux_cfg_reg pinmux_config_regs[] = {
|
|||
},
|
||||
|
||||
{ PINMUX_CFG_REG("PFCR3", 0xfffe38a8, 16, 4) {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
PF12MD_000, PF12MD_001, 0, PF12MD_011,
|
||||
PF12MD_100, PF12MD_101, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
|
|
@ -1759,8 +1762,10 @@ static const struct pinmux_cfg_reg pinmux_config_regs[] = {
|
|||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
PF1MD_000, PF1MD_001, PF1MD_010, PF1MD_011,
|
||||
PF1MD_100, PF1MD_101, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0
|
||||
}
|
||||
0, 0, 0, 0, 0, 0, 0, 0,
|
||||
PF0MD_000, PF0MD_001, PF0MD_010, PF0MD_011,
|
||||
PF0MD_100, PF0MD_101, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
},
|
||||
|
||||
{ PINMUX_CFG_REG("PFIOR0", 0xfffe38b2, 16, 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue