From: haibo.chen@oss.nxp.com
To: Marc Kleine-Budde <mkl@pengutronix.de>,
Vincent Mailhol <mailhol@kernel.org>,
Vinod Koul <vkoul@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Frank Li <Frank.Li@nxp.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>
Cc: linux-can@vger.kernel.org, linux-phy@lists.infradead.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org, imx@lists.linux.dev,
Haibo Chen <haibo.chen@nxp.com>,
qijian.guo@nxp.com
Subject: [PATCH 0/3] arm64: dts: imx95-15x15-frdm: support CAN transceivers sharing a silent GPIO
Date: Thu, 30 Jul 2026 12:33:25 +0800 [thread overview]
Message-ID: <20260730-can-share-silent-v1-0-63fd603f943d@nxp.com> (raw)
On the i.MX95 15x15 FRDM board the two CAN transceivers (attached to
flexcan2 and flexcan5) share a single "silent" control pin, which is
routed through the on-board PCAL6524 GPIO expander. Both transceiver PHY
nodes therefore reference the same GPIO line for their silent-gpios
property.
This series makes that sharing work correctly and puts the transceivers
into the proper default state:
- The silent pin is active high: asserting it places the transceiver in
silent (listen-only) mode with the transmitter disabled. At probe time
and before the PHY is powered on, the transceiver should default to
silent mode. This is both the functionally correct and the lower-power
state, so the silent GPIO is now requested as GPIOD_OUT_HIGH instead of
GPIOD_OUT_LOW.
- Because the same physical GPIO is shared by two independent PHY
devices, it is requested through the GPIO shared proxy. ARCH_MXC now
selects HAVE_SHARED_GPIOS so that this mechanism is available on i.MX
platforms.
- The two CAN transceiver PHY device tree nodes previously used the same
node name "can-phy", causing a node name collision. They are renamed to
"can-phy0" and "can-phy1" to make them unique; both continue to point
at the shared silent GPIO.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
---
Haibo Chen (3):
phy: phy-can-transceiver: default silent GPIO to high during probe
arm64: select HAVE_SHARED_GPIOS for ARCH_MXC
arm64: dts: imx95-15x15-frdm: fix duplicated can-phy node names
arch/arm64/Kconfig.platforms | 1 +
arch/arm64/boot/dts/freescale/imx95-15x15-frdm.dts | 4 ++--
drivers/phy/phy-can-transceiver.c | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
---
base-commit: 78bc8af4affb9a732504eb22eeac7d1e50883853
change-id: 20260730-can-share-silent-5c89a5dfd308
Best regards,
--
Haibo Chen <haibo.chen@nxp.com>
next reply other threads:[~2026-07-30 4:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-30 4:33 haibo.chen [this message]
2026-07-30 4:33 ` [PATCH 1/3] phy: phy-can-transceiver: default silent GPIO to high during probe haibo.chen
2026-07-30 6:12 ` Marc Kleine-Budde
2026-07-30 14:47 ` Frank Li
2026-07-30 4:33 ` [PATCH 2/3] arm64: select HAVE_SHARED_GPIOS for ARCH_MXC haibo.chen
2026-07-30 4:33 ` [PATCH 3/3] arm64: dts: imx95-15x15-frdm: fix duplicated can-phy node names haibo.chen
2026-07-30 5:17 ` Bough Chen
2026-08-06 16:26 ` (subset) [PATCH 0/3] arm64: dts: imx95-15x15-frdm: support CAN transceivers sharing a silent GPIO Vinod Koul
2026-08-06 20:07 ` Frank.Li
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=20260730-can-share-silent-v1-0-63fd603f943d@nxp.com \
--to=haibo.chen@oss.nxp.com \
--cc=Frank.Li@nxp.com \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=haibo.chen@nxp.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=mailhol@kernel.org \
--cc=mkl@pengutronix.de \
--cc=neil.armstrong@linaro.org \
--cc=qijian.guo@nxp.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=vkoul@kernel.org \
--cc=will@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