diff mbox series

arm64: defconfig: Enable CONFIG_PHY_RCAR_GEN3_PCIE

Message ID 20181113152201.24476-1-geert+renesas@glider.be (mailing list archive)
State Accepted
Commit 12f41a5dfe6c250fcf14fa7770dd5ab7b914d38e
Delegated to: Simon Horman
Headers show
Series arm64: defconfig: Enable CONFIG_PHY_RCAR_GEN3_PCIE | expand

Commit Message

Geert Uytterhoeven Nov. 13, 2018, 3:22 p.m. UTC
Enable R-Car Gen3 PCIe PHY support, which is needed for PCIe to function
on the Renesas Condor board.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Marek Vasut Nov. 14, 2018, 3:32 p.m. UTC | #1
On 11/13/2018 04:22 PM, Geert Uytterhoeven wrote:
> Enable R-Car Gen3 PCIe PHY support, which is needed for PCIe to function
> on the Renesas Condor board.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

This helps

Reviewed-by: Marek Vasut <marek.vasut@gmail.com>

> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 9d0b42d96f03156e..77f98a7e860b8850 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -657,6 +657,7 @@ CONFIG_PHY_HISI_INNO_USB2=y
>  CONFIG_PHY_MVEBU_CP110_COMPHY=y
>  CONFIG_PHY_QCOM_QMP=m
>  CONFIG_PHY_QCOM_USB_HS=y
> +CONFIG_PHY_RCAR_GEN3_PCIE=y
>  CONFIG_PHY_RCAR_GEN3_USB2=y
>  CONFIG_PHY_RCAR_GEN3_USB3=m
>  CONFIG_PHY_ROCKCHIP_EMMC=y
>
Simon Horman Nov. 15, 2018, 2:33 p.m. UTC | #2
On Wed, Nov 14, 2018 at 04:32:05PM +0100, Marek Vasut wrote:
> On 11/13/2018 04:22 PM, Geert Uytterhoeven wrote:
> > Enable R-Car Gen3 PCIe PHY support, which is needed for PCIe to function
> > on the Renesas Condor board.
> > 
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> This helps
> 
> Reviewed-by: Marek Vasut <marek.vasut@gmail.com>

Thanks, would it be better to use enable this driver as a module rather
than a built-in?

> 
> > ---
> >  arch/arm64/configs/defconfig | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > index 9d0b42d96f03156e..77f98a7e860b8850 100644
> > --- a/arch/arm64/configs/defconfig
> > +++ b/arch/arm64/configs/defconfig
> > @@ -657,6 +657,7 @@ CONFIG_PHY_HISI_INNO_USB2=y
> >  CONFIG_PHY_MVEBU_CP110_COMPHY=y
> >  CONFIG_PHY_QCOM_QMP=m
> >  CONFIG_PHY_QCOM_USB_HS=y
> > +CONFIG_PHY_RCAR_GEN3_PCIE=y
> >  CONFIG_PHY_RCAR_GEN3_USB2=y
> >  CONFIG_PHY_RCAR_GEN3_USB3=m
> >  CONFIG_PHY_ROCKCHIP_EMMC=y
> > 
> 
> 
> -- 
> Best regards,
> Marek Vasut
>
Marek Vasut Nov. 15, 2018, 2:47 p.m. UTC | #3
On 11/15/2018 03:33 PM, Simon Horman wrote:
> On Wed, Nov 14, 2018 at 04:32:05PM +0100, Marek Vasut wrote:
>> On 11/13/2018 04:22 PM, Geert Uytterhoeven wrote:
>>> Enable R-Car Gen3 PCIe PHY support, which is needed for PCIe to function
>>> on the Renesas Condor board.
>>>
>>> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
>>
>> This helps
>>
>> Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
> 
> Thanks, would it be better to use enable this driver as a module rather
> than a built-in?

I think not, since the pcie-rcar cannot be compiled in as module, so the
associated phy driver shouldn't be compiled in as module either.

>>> ---
>>>  arch/arm64/configs/defconfig | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
>>> index 9d0b42d96f03156e..77f98a7e860b8850 100644
>>> --- a/arch/arm64/configs/defconfig
>>> +++ b/arch/arm64/configs/defconfig
>>> @@ -657,6 +657,7 @@ CONFIG_PHY_HISI_INNO_USB2=y
>>>  CONFIG_PHY_MVEBU_CP110_COMPHY=y
>>>  CONFIG_PHY_QCOM_QMP=m
>>>  CONFIG_PHY_QCOM_USB_HS=y
>>> +CONFIG_PHY_RCAR_GEN3_PCIE=y
>>>  CONFIG_PHY_RCAR_GEN3_USB2=y
>>>  CONFIG_PHY_RCAR_GEN3_USB3=m
>>>  CONFIG_PHY_ROCKCHIP_EMMC=y
>>>
>>
>>
>> -- 
>> Best regards,
>> Marek Vasut
>>
Simon Horman Nov. 16, 2018, 2:57 p.m. UTC | #4
On Thu, Nov 15, 2018 at 03:47:10PM +0100, Marek Vasut wrote:
> On 11/15/2018 03:33 PM, Simon Horman wrote:
> > On Wed, Nov 14, 2018 at 04:32:05PM +0100, Marek Vasut wrote:
> >> On 11/13/2018 04:22 PM, Geert Uytterhoeven wrote:
> >>> Enable R-Car Gen3 PCIe PHY support, which is needed for PCIe to function
> >>> on the Renesas Condor board.
> >>>
> >>> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> >>
> >> This helps
> >>
> >> Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
> > 
> > Thanks, would it be better to use enable this driver as a module rather
> > than a built-in?
> 
> I think not, since the pcie-rcar cannot be compiled in as module, so the
> associated phy driver shouldn't be compiled in as module either.

Thanks Marek,

applied for v4.21.
diff mbox series

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 9d0b42d96f03156e..77f98a7e860b8850 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -657,6 +657,7 @@  CONFIG_PHY_HISI_INNO_USB2=y
 CONFIG_PHY_MVEBU_CP110_COMPHY=y
 CONFIG_PHY_QCOM_QMP=m
 CONFIG_PHY_QCOM_USB_HS=y
+CONFIG_PHY_RCAR_GEN3_PCIE=y
 CONFIG_PHY_RCAR_GEN3_USB2=y
 CONFIG_PHY_RCAR_GEN3_USB3=m
 CONFIG_PHY_ROCKCHIP_EMMC=y