Skip to content
Snippets Groups Projects
Commit 7d6900eb authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: spi: fix pin handling of SPI0 SSEL4


CS4 on SPI0 has a dedicated PH8 pin which needs to be enabled as a
peripheral in order to work.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 2157359d
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,7 @@ static void spi_portmux(struct spi_slave *slave) ...@@ -156,7 +156,7 @@ static void spi_portmux(struct spi_slave *slave)
case 1: SET_MUX(f, 2, 1); f_fer |= PF7; break; case 1: SET_MUX(f, 2, 1); f_fer |= PF7; break;
case 2: /* see G above */ g_fer |= PG15; break; case 2: /* see G above */ g_fer |= PG15; break;
case 3: SET_MUX(h, 1, 3); f_fer |= PH4; break; case 3: SET_MUX(h, 1, 3); f_fer |= PH4; break;
case 4: /* no muxing */ break; case 4: /* no muxing */ h_fer |= PH8; break;
case 5: SET_MUX(g, 1, 3); h_fer |= PG3; break; case 5: SET_MUX(g, 1, 3); h_fer |= PG3; break;
case 6: /* no muxing */ break; case 6: /* no muxing */ break;
case 7: /* no muxing */ break; case 7: /* no muxing */ break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment