Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Andersson <andersson@kernel.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>,
	Vinod Koul <vkoul@kernel.org>,
	Bhupesh Sharma <bhupesh.sharma@linaro.org>,
	Andy Gross <agross@kernel.org>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Kishon Vijay Abraham I <kishon@kernel.org>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Jose Abreu <joabreu@synopsys.com>,
	netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-phy@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-stm32@st-md-mailman.stormreply.com,
	Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Subject: Re: [PATCH 24/26] arm64: dts: qcom: sa8775p-ride: enable the SerDes PHY
Date: Wed, 14 Jun 2023 07:51:00 -0700	[thread overview]
Message-ID: <20230614145100.xgkme7or7k2i552d@ripper> (raw)
In-Reply-To: <0a57a9ad-67ab-cf1a-9bb7-c645de833450@linaro.org>

On Tue, Jun 13, 2023 at 09:02:23PM +0200, Konrad Dybcio wrote:
> 
> 
> On 12.06.2023 11:23, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> > 
> > Enable the internal PHY on sa8775p-ride.
> > 
> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> > ---
> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> 
> ---
> 
> Bjorn, Krzysztof.. I was thinking whether we should even be disabling
> such hardware by default..
> 

I'm in favor of keeping the configuration as generic/common/simple as
possible. So I like your suggestion.

Regards,
Bjorn

> Things that reside on the SoC and have no external dependencies could
> be left enabled:
> 
> pros:
> - less fluff
> - we'd probably very quickly fix the missing PM calls
> - possibly less fw_devlink woes if we fail to get rid of references to
>   the disabled component?
> 
> cons:
> - boot times
> - slightly more memory usage
> 
> Konrad
> >  arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 4 ++++
> >  1 file changed, 4 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts
> > index ab767cfa51ff..7754788ea775 100644
> > --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts
> > +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts
> > @@ -355,6 +355,10 @@ &qupv3_id_2 {
> >  	status = "okay";
> >  };
> >  
> > +&serdes_phy {
> > +	status = "okay";
> > +};
> > +
> >  &sleep_clk {
> >  	clock-frequency = <32764>;
> >  };

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2023-06-14 14:48 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230612092355.87937-1-brgl@bgdev.pl>
     [not found] ` <20230612092355.87937-2-brgl@bgdev.pl>
2023-06-12 17:20   ` [PATCH 01/26] phy: qualcomm: fix indentation in Makefile Andrew Halaney
     [not found] ` <20230612092355.87937-6-brgl@bgdev.pl>
2023-06-12 18:22   ` [PATCH 05/26] net: stmmac: dwmac-qcom-ethqos: shrink clock code with devres Andrew Halaney
     [not found] ` <20230612092355.87937-7-brgl@bgdev.pl>
2023-06-12 18:32   ` [PATCH 06/26] net: stmmac: dwmac-qcom-ethqos: rename a label in probe() Andrew Halaney
     [not found] ` <20230612092355.87937-8-brgl@bgdev.pl>
2023-06-12 18:34   ` [PATCH 07/26] net: stmmac: dwmac-qcom-ethqos: tweak the order of local variables Andrew Halaney
     [not found] ` <20230612092355.87937-9-brgl@bgdev.pl>
2023-06-12 18:38   ` [PATCH 08/26] net: stmmac: dwmac-qcom-ethqos: use a helper variable for &pdev->dev Andrew Halaney
     [not found] ` <20230612092355.87937-10-brgl@bgdev.pl>
2023-06-12 20:06   ` [PATCH 09/26] net: stmmac: dwmac-qcom-ethqos: add missing include Andrew Halaney
     [not found] ` <20230612092355.87937-11-brgl@bgdev.pl>
2023-06-12 20:06   ` [PATCH 10/26] net: stmmac: dwmac-qcom-ethqos: add a newline between headers Andrew Halaney
     [not found] ` <20230612092355.87937-12-brgl@bgdev.pl>
2023-06-12 20:07   ` [PATCH 11/26] net: stmmac: dwmac-qcom-ethqos: remove stray space Andrew Halaney
     [not found] ` <20230612092355.87937-13-brgl@bgdev.pl>
2023-06-12 20:32   ` [PATCH 12/26] net: stmmac: dwmac-qcom-ethqos: add support for the optional serdes phy Andrew Halaney
2023-06-13  7:52     ` Bartosz Golaszewski
     [not found] ` <20230612092355.87937-14-brgl@bgdev.pl>
2023-06-12 20:40   ` [PATCH 13/26] net: stmmac: dwmac-qcom-ethqos: make the rgmii clock optional Andrew Halaney
2023-06-13  7:58     ` Bartosz Golaszewski
     [not found] ` <20230612092355.87937-15-brgl@bgdev.pl>
2023-06-12 20:42   ` [PATCH 14/26] net: stmmac: dwmac-qcom-ethqos: add optional phyaux clock Andrew Halaney
     [not found] ` <20230612092355.87937-16-brgl@bgdev.pl>
2023-06-12 21:06   ` [PATCH 15/26] net: stmmac: dwmac-qcom-ethqos: add support for the optional phy-supply Andrew Halaney
2023-06-13  9:02     ` Bartosz Golaszewski
     [not found] ` <20230612092355.87937-17-brgl@bgdev.pl>
2023-06-13 16:59   ` [PATCH 16/26] net: stmmac: dwmac-qcom-ethqos: prepare the driver for more PHY modes Andrew Halaney
     [not found] ` <20230612092355.87937-4-brgl@bgdev.pl>
2023-06-13 17:39   ` [PATCH 03/26] phy: qcom: add the SGMII SerDes PHY driver Bjorn Andersson
     [not found]   ` <7fe7078e-404d-28e5-0dd1-53b7f9cd7626@linaro.org>
2023-06-14  7:18     ` Bartosz Golaszewski
     [not found] ` <20230612092355.87937-24-brgl@bgdev.pl>
2023-06-13 18:57   ` [PATCH 23/26] arm64: dts: qcom: sa8775p: add the first 1Gb ethernet interface Konrad Dybcio
     [not found] ` <20230612092355.87937-25-brgl@bgdev.pl>
2023-06-13 19:02   ` [PATCH 24/26] arm64: dts: qcom: sa8775p-ride: enable the SerDes PHY Konrad Dybcio
2023-06-14 14:51     ` Bjorn Andersson [this message]
     [not found] ` <20230612092355.87937-26-brgl@bgdev.pl>
2023-06-13 19:04   ` [PATCH 25/26] arm64: dts: qcom: sa8775p-ride: add pin functions for ethernet0 Konrad Dybcio
     [not found] ` <20230612092355.87937-27-brgl@bgdev.pl>
2023-06-13 19:08   ` [PATCH 26/26] arm64: dts: qcom: sa8775p-ride: enable ethernet0 Konrad Dybcio
     [not found] ` <20230612092355.87937-3-brgl@bgdev.pl>
2023-06-14  7:13   ` [PATCH 02/26] dt-bindings: phy: describe the Qualcomm SGMII PHY Krzysztof Kozlowski
     [not found] ` <20230612092355.87937-5-brgl@bgdev.pl>
2023-06-14  7:13   ` [PATCH 04/26] arm64: defconfig: enable the SerDes PHY for Qualcomm DWMAC Krzysztof Kozlowski
     [not found] ` <20230612092355.87937-20-brgl@bgdev.pl>
2023-06-14  7:23   ` [PATCH 19/26] dt-bindings: net: snps,dwmac: add compatible for sa8775p ethqos Krzysztof Kozlowski
     [not found] ` <20230612092355.87937-21-brgl@bgdev.pl>
2023-06-14  7:25   ` [PATCH 20/26] dt-bindings: net: qcom,ethqos: add description for sa8775p Krzysztof Kozlowski
2023-06-14  7:28     ` Bartosz Golaszewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230614145100.xgkme7or7k2i552d@ripper \
    --to=andersson@kernel.org \
    --cc=agross@kernel.org \
    --cc=alexandre.torgue@foss.st.com \
    --cc=bartosz.golaszewski@linaro.org \
    --cc=bhupesh.sharma@linaro.org \
    --cc=brgl@bgdev.pl \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=joabreu@synopsys.com \
    --cc=kishon@kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=peppe.cavallaro@st.com \
    --cc=robh+dt@kernel.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox