[PATCH 0/3] arm64: dts: imx95-15x15-frdm: support CAN transceivers sharing a silent GPIO
[email protected] Thu, 30 Jul 2026 12:33:25 +0800
| Newsgroups | org.kernel.vger.linux-can,dev.linux.lists.imx,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-phy,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- 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 <[email protected]>