[PATCH] arm64: defconfig: Enable CAN PHY transceiver driver

Bhavya Kapoor posted 1 patch 2 years, 10 months ago
There is a newer version of this series
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] arm64: defconfig: Enable CAN PHY transceiver driver
Posted by Bhavya Kapoor 2 years, 10 months ago
Enable CAN PHY transceiver driver to be built as a module.

Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 7790ee42c68a..8a6c8f523357 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -368,6 +368,7 @@ CONFIG_REALTEK_PHY=y
 CONFIG_ROCKCHIP_PHY=y
 CONFIG_DP83867_PHY=y
 CONFIG_VITESSE_PHY=y
+CONFIG_PHY_CAN_TRANSCEIVER=m
 CONFIG_CAN_FLEXCAN=m
 CONFIG_CAN_RCAR=m
 CONFIG_CAN_RCAR_CANFD=m
-- 
2.34.1
Re: [PATCH] arm64: defconfig: Enable CAN PHY transceiver driver
Posted by Geert Uytterhoeven 2 years, 10 months ago
Hi Bhavya,

On Thu, Mar 23, 2023 at 11:06 AM Bhavya Kapoor <b-kapoor@ti.com> wrote:
> Enable CAN PHY transceiver driver to be built as a module.
>
> Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>

Thanks for your patch!
(I wanted to send a similar patch soon ;-)

> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -368,6 +368,7 @@ CONFIG_REALTEK_PHY=y
>  CONFIG_ROCKCHIP_PHY=y
>  CONFIG_DP83867_PHY=y
>  CONFIG_VITESSE_PHY=y
> +CONFIG_PHY_CAN_TRANSCEIVER=m

This doesn't look like the right spot to insert this?

Based on "make savedefconfig", I'd say:

     CONFIG_PHY_XGENE=y
   +CONFIG_PHY_CAN_TRANSCEIVER=m
     CONFIG_PHY_SUN4I_USB=y

>  CONFIG_CAN_FLEXCAN=m
>  CONFIG_CAN_RCAR=m
>  CONFIG_CAN_RCAR_CANFD=m
> --
> 2.34.1

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Re: [EXTERNAL] Re: [PATCH] arm64: defconfig: Enable CAN PHY transceiver driver
Posted by Bhavya Kapoor 2 years, 10 months ago
On 23/03/23 15:44, Geert Uytterhoeven wrote:
> Hi Bhavya,
>
> On Thu, Mar 23, 2023 at 11:06 AM Bhavya Kapoor <b-kapoor@ti.com> wrote:
>> Enable CAN PHY transceiver driver to be built as a module.
>>
>> Signed-off-by: Bhavya Kapoor <b-kapoor@ti.com>
> Thanks for your patch!
> (I wanted to send a similar patch soon ;-)
>
>> --- a/arch/arm64/configs/defconfig
>> +++ b/arch/arm64/configs/defconfig
>> @@ -368,6 +368,7 @@ CONFIG_REALTEK_PHY=y
>>   CONFIG_ROCKCHIP_PHY=y
>>   CONFIG_DP83867_PHY=y
>>   CONFIG_VITESSE_PHY=y
>> +CONFIG_PHY_CAN_TRANSCEIVER=m
> This doesn't look like the right spot to insert this?
>
> Based on "make savedefconfig", I'd say:
>
>       CONFIG_PHY_XGENE=y
>     +CONFIG_PHY_CAN_TRANSCEIVER=m
>       CONFIG_PHY_SUN4I_USB=y

Yeah . Thanks Geert. I will send a v2 ensuring its in correct spot,

>>   CONFIG_CAN_FLEXCAN=m
>>   CONFIG_CAN_RCAR=m
>>   CONFIG_CAN_RCAR_CANFD=m
>> --
>> 2.34.1
> Gr{oetje,eeting}s,
>
>                          Geert
>