From: Judith Mendez <jm@ti.com>
To: Judith Mendez <jm@ti.com>, Linus Walleij <linusw@kernel.org>
Cc: <linux-gpio@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH v2 0/2] pinctrl: mcp23s08: Fix probe issues
Date: Wed, 13 May 2026 18:11:52 -0500 [thread overview]
Message-ID: <20260513231154.2703292-1-jm@ti.com> (raw)
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
next reply other threads:[~2026-05-13 23:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-13 23:11 Judith Mendez [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260513231154.2703292-1-jm@ti.com \
--to=jm@ti.com \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox