Commit ba9c474
pinctrl: ocelot: Fix pincfg
The blamed commit changed to use regmaps instead of __iomem. But it
didn't update the register offsets to be at word offset, so it uses byte
offset.
Another issue with the same commit is that it has a limit of 32 registers
which is incorrect. The sparx5 has 64 while lan966x has 77.
Fixes: 076d9e7 ("pinctrl: ocelot: convert pinctrl to regmap")
Acked-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://lore.kernel.org/r/20220713193750.4079621-3-horatiu.vultur@microchip.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>1 parent dc62db7 commit ba9c474
1 file changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1334 | 1334 | | |
1335 | 1335 | | |
1336 | 1336 | | |
1337 | | - | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
1338 | 1340 | | |
1339 | 1341 | | |
1340 | 1342 | | |
| |||
1366 | 1368 | | |
1367 | 1369 | | |
1368 | 1370 | | |
1369 | | - | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
1370 | 1374 | | |
1371 | 1375 | | |
1372 | 1376 | | |
1373 | 1377 | | |
1374 | 1378 | | |
1375 | 1379 | | |
1376 | | - | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
1377 | 1383 | | |
1378 | 1384 | | |
1379 | 1385 | | |
| |||
1933 | 1939 | | |
1934 | 1940 | | |
1935 | 1941 | | |
1936 | | - | |
| 1942 | + | |
| 1943 | + | |
1937 | 1944 | | |
1938 | 1945 | | |
1939 | 1946 | | |
1940 | 1947 | | |
1941 | 1948 | | |
1942 | 1949 | | |
1943 | 1950 | | |
1944 | | - | |
| 1951 | + | |
1945 | 1952 | | |
1946 | 1953 | | |
1947 | 1954 | | |
| |||
2009 | 2016 | | |
2010 | 2017 | | |
2011 | 2018 | | |
2012 | | - | |
| 2019 | + | |
2013 | 2020 | | |
2014 | 2021 | | |
2015 | 2022 | | |
| |||
0 commit comments