Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] pinctrl: mcp23s08: Fix probe issues
@ 2026-05-13 23:11 Judith Mendez
  2026-05-13 23:11 ` [PATCH v2 1/2] pinctrl: mcp23s08: Initialize mcp->dev and mcp->addr before regmap init Judith Mendez
  2026-05-13 23:11 ` [PATCH v2 2/2] pinctrl: mcp23s08: Read spi-present-mask as u8 not u32 Judith Mendez
  0 siblings, 2 replies; 3+ messages in thread
From: Judith Mendez @ 2026-05-13 23:11 UTC (permalink / raw)
  To: Judith Mendez, Linus Walleij; +Cc: linux-gpio, linux-kernel

MCP23S18 driver probe failures on AM62L3 BeagleBadge[0].

Fix MCP23S18 probe failures found with BeagleBadge which has a MCP23S18
on board chip. Fixes are made up of initializing chip data before regmap
init, and using device_property_read_u8 to match binding spec. First fix
prevents kernel oops and second fix prevents MCP chip probe failure.

[0] https://github.com/beagleboard/BeagleBadge

Changes since v1:
- Add #define for base address & use instead of 0x40 hardcode base address
- Add patch 2/2

Judith Mendez (2):
  pinctrl: mcp23s08: Initialize mcp->dev and mcp->addr before regmap
    init
  pinctrl: mcp23s08: Read spi-present-mask as u8 not u32

 drivers/pinctrl/pinctrl-mcp23s08_spi.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-05-13 23:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-13 23:11 [PATCH v2 0/2] pinctrl: mcp23s08: Fix probe issues Judith Mendez
2026-05-13 23:11 ` [PATCH v2 1/2] pinctrl: mcp23s08: Initialize mcp->dev and mcp->addr before regmap init Judith Mendez
2026-05-13 23:11 ` [PATCH v2 2/2] pinctrl: mcp23s08: Read spi-present-mask as u8 not u32 Judith Mendez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox