Linux CAN drivers development
 help / color / mirror / Atom feed
* [PATCH 0/3] arm64: dts: imx95-15x15-frdm: support CAN transceivers sharing a silent GPIO
@ 2026-07-30  4:33 haibo.chen
  2026-07-30  4:33 ` [PATCH 1/3] phy: phy-can-transceiver: default silent GPIO to high during probe haibo.chen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: haibo.chen @ 2026-07-30  4:33 UTC (permalink / raw)
  To: Marc Kleine-Budde, Vincent Mailhol, Vinod Koul, Neil Armstrong,
	Catalin Marinas, Will Deacon, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam
  Cc: linux-can, linux-phy, linux-kernel, linux-arm-kernel, devicetree,
	imx, Haibo Chen, qijian.guo

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>


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

end of thread, other threads:[~2026-07-30 14:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-30  4:33 [PATCH 0/3] arm64: dts: imx95-15x15-frdm: support CAN transceivers sharing a silent GPIO haibo.chen
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

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