diff mbox series

[PATCH/LOCAL] arm64: renesas: defconfig: Enable CAN transceiver PHY support

Message ID 12a4bf9526b12c9b2751aa1b35a5e09dfe211e1a.1680600884.git.geert+renesas@glider.be (mailing list archive)
State Mainlined
Commit 9a6e18e0660bc859cecae6305170bf704293b246
Delegated to: Geert Uytterhoeven
Headers show
Series [PATCH/LOCAL] arm64: renesas: defconfig: Enable CAN transceiver PHY support | expand

Commit Message

Geert Uytterhoeven April 4, 2023, 9:36 a.m. UTC
Enable the CAN transceiver PHY driver, which is needed for the NXP
TJR1443AT CAN transceiver on CAN-FD channel zero on the White-Hawk
development board.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Not intended for upstream merge.
To be applied to the topic/renesas-defconfig branch.
---
 arch/arm64/configs/renesas_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Geert Uytterhoeven April 18, 2023, 10:38 a.m. UTC | #1
On Tue, Apr 4, 2023 at 11:37 AM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
> Enable the CAN transceiver PHY driver, which is needed for the NXP
> TJR1443AT CAN transceiver on CAN-FD channel zero on the White-Hawk
> development board.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> Not intended for upstream merge.
> To be applied to the topic/renesas-defconfig branch.

FTR, this is postponed until after v6.4-rc1, when commit a0340df7eca4f28e ("can:
rcar_canfd: Add transceiver support") has landed upstream.
Else the following message is printed (_after_ rcar_canfd is probed):

    rcar_canfd e6660000.can: Failed to create device link (0x180) with can-phy0

> --- a/arch/arm64/configs/renesas_defconfig
> +++ b/arch/arm64/configs/renesas_defconfig
> @@ -386,6 +386,7 @@ CONFIG_PWM=y
>  CONFIG_PWM_RCAR=y
>  CONFIG_PWM_RENESAS_TPU=y
>  CONFIG_RESET_RZG2L_USBPHY_CTRL=y
> +CONFIG_PHY_CAN_TRANSCEIVER=y
>  CONFIG_PHY_R8A779F0_ETHERNET_SERDES=y
>  CONFIG_PHY_RCAR_GEN3_PCIE=y
>  CONFIG_PHY_RCAR_GEN3_USB2=y

Gr{oetje,eeting}s,

                        Geert
diff mbox series

Patch

diff --git a/arch/arm64/configs/renesas_defconfig b/arch/arm64/configs/renesas_defconfig
index 25916da25b7a9a9f..d11d890647013c5c 100644
--- a/arch/arm64/configs/renesas_defconfig
+++ b/arch/arm64/configs/renesas_defconfig
@@ -386,6 +386,7 @@  CONFIG_PWM=y
 CONFIG_PWM_RCAR=y
 CONFIG_PWM_RENESAS_TPU=y
 CONFIG_RESET_RZG2L_USBPHY_CTRL=y
+CONFIG_PHY_CAN_TRANSCEIVER=y
 CONFIG_PHY_R8A779F0_ETHERNET_SERDES=y
 CONFIG_PHY_RCAR_GEN3_PCIE=y
 CONFIG_PHY_RCAR_GEN3_USB2=y