mbox series

[v2,0/2] pinctrl: ocelot: Add fixes for ocelot driver

Message ID 20220708195510.2951661-1-horatiu.vultur@microchip.com
Headers show
Series pinctrl: ocelot: Add fixes for ocelot driver | expand

Message

Horatiu Vultur July 8, 2022, 7:55 p.m. UTC
The patch series fixes 2 issues with pincfg.
- first issue is that on lan966x uses different offsets than sparx5
  so it can't use directly the ocelot_confops
- second issue is pincfg stop working when regmap support was addded.

v1->v2:
- use regmap_get_reg_stride instead of making regmap_config global
- update how ocelot_match_data structs are initialized

Horatiu Vultur (2):
  pinctrl: ocelot: Fix pincfg for lan966x
  pinctrl: ocelot: Fix pincfg

 drivers/pinctrl/pinctrl-ocelot.c | 207 ++++++++++++++++++++-----------
 1 file changed, 132 insertions(+), 75 deletions(-)