linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] pinctrl: ocelot: Add fixes for ocelot driver
@ 2022-07-11 19:21 Horatiu Vultur
  2022-07-11 19:21 ` [PATCH v3 1/2] pinctrl: ocelot: Fix pincfg for lan966x Horatiu Vultur
  2022-07-11 19:21 ` [PATCH v3 2/2] pinctrl: ocelot: Fix pincfg Horatiu Vultur
  0 siblings, 2 replies; 10+ messages in thread
From: Horatiu Vultur @ 2022-07-11 19:21 UTC (permalink / raw)
  To: linux-gpio, linux-kernel
  Cc: linus.walleij, kavyasree.kotagiri, alexandre.belloni,
	colin.foster, UNGLinuxDriver, maxime.chevallier, michael,
	andy.shevchenko, Horatiu Vultur

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 added.

v2->v3:
- reorder ocelot_pincfg_data fields, mandatory fields go first
- move the field pincfg_data inside ocelot_pinctrl
- add back max_register for regmap_config for pincfg.
- make struct ocelot_match_data const and drop the cast.

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 | 215 ++++++++++++++++++++-----------
 1 file changed, 138 insertions(+), 77 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-07-11 20:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-11 19:21 [PATCH v3 0/2] pinctrl: ocelot: Add fixes for ocelot driver Horatiu Vultur
2022-07-11 19:21 ` [PATCH v3 1/2] pinctrl: ocelot: Fix pincfg for lan966x Horatiu Vultur
2022-07-11 19:47   ` Andy Shevchenko
2022-07-11 20:21     ` Horatiu Vultur
2022-07-12  3:53   ` Colin Foster
2022-07-11 19:21 ` [PATCH v3 2/2] pinctrl: ocelot: Fix pincfg Horatiu Vultur
2022-07-11 19:51   ` Andy Shevchenko
2022-07-11 20:26     ` Horatiu Vultur
2022-07-11 20:29       ` Andy Shevchenko
2022-07-11 20:33         ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).