devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: ti: k3-am625-sk: Add bootph-all property in phy_gmii_sel node
@ 2024-04-29  6:16 Chintan Vankar
  2024-04-29  6:38 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 6+ messages in thread
From: Chintan Vankar @ 2024-04-29  6:16 UTC (permalink / raw)
  To: Conor Dooley, Krzysztof Kozlowski, Rob Herring, Tero Kristo,
	Vignesh Raghavendra, Nishanth Menon, s-vadapalli
  Cc: linux-kernel, devicetree, linux-arm-kernel, Chintan Vankar

Add missing bootph-all property for CPSW MAC's PHY node
phy_gmii_sel.

Signed-off-by: Chintan Vankar <c-vankar@ti.com>
---

This patch is based on linux-next tagged next-20240426.

Link to v1:
https://lore.kernel.org/r/20240425095448.1946293-1-c-vankar@ti.com/

Changes from v1 to v2:
- Removed "bootph-all" property from "k3-am62-main.dtsi" and added it
  to "k3-am625-sk.dts".

 arch/arm64/boot/dts/ti/k3-am625-sk.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
index ae81ebb39d02..58b70a760648 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
@@ -297,3 +297,7 @@ partition@3fc0000 {
 &tlv320aic3106 {
 	DVDD-supply = <&vcc_1v8>;
 };
+
+&phy_gmii_sel {
+	bootph-all;
+};
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] arm64: dts: ti: k3-am625-sk: Add bootph-all property in phy_gmii_sel node
  2024-04-29  6:16 [PATCH v2] arm64: dts: ti: k3-am625-sk: Add bootph-all property in phy_gmii_sel node Chintan Vankar
@ 2024-04-29  6:38 ` Krzysztof Kozlowski
  2024-04-29  6:42   ` Chintan Vankar
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-29  6:38 UTC (permalink / raw)
  To: Chintan Vankar, Conor Dooley, Krzysztof Kozlowski, Rob Herring,
	Tero Kristo, Vignesh Raghavendra, Nishanth Menon, s-vadapalli
  Cc: linux-kernel, devicetree, linux-arm-kernel

On 29/04/2024 08:16, Chintan Vankar wrote:
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
> index ae81ebb39d02..58b70a760648 100644
> --- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
> @@ -297,3 +297,7 @@ partition@3fc0000 {
>  &tlv320aic3106 {
>  	DVDD-supply = <&vcc_1v8>;
>  };
> +
> +&phy_gmii_sel {
> +	bootph-all;
> +};

Are you sure you kept proper ordering of nodes or just stuffed this to
the end?

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] arm64: dts: ti: k3-am625-sk: Add bootph-all property in phy_gmii_sel node
  2024-04-29  6:38 ` Krzysztof Kozlowski
@ 2024-04-29  6:42   ` Chintan Vankar
  2024-04-29  6:58     ` Chintan Vankar
  0 siblings, 1 reply; 6+ messages in thread
From: Chintan Vankar @ 2024-04-29  6:42 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Conor Dooley, Krzysztof Kozlowski,
	Rob Herring, Tero Kristo, Vignesh Raghavendra, Nishanth Menon,
	s-vadapalli
  Cc: linux-kernel, devicetree, linux-arm-kernel



On 29/04/24 12:08, Krzysztof Kozlowski wrote:
> Are you sure you kept proper ordering of nodes or just stuffed this to
> the end?

Yes, I added this node at the end.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] arm64: dts: ti: k3-am625-sk: Add bootph-all property in phy_gmii_sel node
  2024-04-29  6:42   ` Chintan Vankar
@ 2024-04-29  6:58     ` Chintan Vankar
  2024-04-29  7:26       ` Krzysztof Kozlowski
  0 siblings, 1 reply; 6+ messages in thread
From: Chintan Vankar @ 2024-04-29  6:58 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Conor Dooley, Krzysztof Kozlowski,
	Rob Herring, Tero Kristo, Vignesh Raghavendra, Nishanth Menon,
	s-vadapalli
  Cc: linux-kernel, devicetree, linux-arm-kernel



On 29/04/24 12:12, Chintan Vankar wrote:
> 
> 
> On 29/04/24 12:08, Krzysztof Kozlowski wrote:
>> Are you sure you kept proper ordering of nodes or just stuffed this to
>> the end?
> 
> Yes, I added this node at the end.

Is it okay to add it at the end or it should be defined after "cpsw3g"
node ?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] arm64: dts: ti: k3-am625-sk: Add bootph-all property in phy_gmii_sel node
  2024-04-29  6:58     ` Chintan Vankar
@ 2024-04-29  7:26       ` Krzysztof Kozlowski
  2024-04-29  9:38         ` Chintan Vankar
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-29  7:26 UTC (permalink / raw)
  To: Chintan Vankar, Conor Dooley, Krzysztof Kozlowski, Rob Herring,
	Tero Kristo, Vignesh Raghavendra, Nishanth Menon, s-vadapalli
  Cc: linux-kernel, devicetree, linux-arm-kernel

On 29/04/2024 08:58, Chintan Vankar wrote:
> 
> 
> On 29/04/24 12:12, Chintan Vankar wrote:
>>
>>
>> On 29/04/24 12:08, Krzysztof Kozlowski wrote:
>>> Are you sure you kept proper ordering of nodes or just stuffed this to
>>> the end?
>>
>> Yes, I added this node at the end.
> 
> Is it okay to add it at the end or it should be defined after "cpsw3g"
> node ?

What is the ordering for this subarch? What does the DTS coding style say?

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] arm64: dts: ti: k3-am625-sk: Add bootph-all property in phy_gmii_sel node
  2024-04-29  7:26       ` Krzysztof Kozlowski
@ 2024-04-29  9:38         ` Chintan Vankar
  0 siblings, 0 replies; 6+ messages in thread
From: Chintan Vankar @ 2024-04-29  9:38 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Conor Dooley, Krzysztof Kozlowski,
	Rob Herring, Tero Kristo, Vignesh Raghavendra, Nishanth Menon,
	s-vadapalli
  Cc: linux-kernel, devicetree, linux-arm-kernel



On 29/04/24 12:56, Krzysztof Kozlowski wrote:
> On 29/04/2024 08:58, Chintan Vankar wrote:
>>
>>
>> On 29/04/24 12:12, Chintan Vankar wrote:
>>>
>>>
>>> On 29/04/24 12:08, Krzysztof Kozlowski wrote:
>>>> Are you sure you kept proper ordering of nodes or just stuffed this to
>>>> the end?
>>>
>>> Yes, I added this node at the end.
>>
>> Is it okay to add it at the end or it should be defined after "cpsw3g"
>> node ?
> 
> What is the ordering for this subarch? What does the DTS coding style say?
> 

I tried to verify the order this file is following from DTS coding style
documentation, but it seems it is not following the order mentioned in
Documentation.

Since we will need the same functionality for "am62x-lpsk" board I am
planning to add this node in "k3-am62x-sk-common.dtsi". In that file I
will follow the same order as it is followed in "k3-am62-main.dtsi".

> Best regards,
> Krzysztof
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-04-29  9:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-29  6:16 [PATCH v2] arm64: dts: ti: k3-am625-sk: Add bootph-all property in phy_gmii_sel node Chintan Vankar
2024-04-29  6:38 ` Krzysztof Kozlowski
2024-04-29  6:42   ` Chintan Vankar
2024-04-29  6:58     ` Chintan Vankar
2024-04-29  7:26       ` Krzysztof Kozlowski
2024-04-29  9:38         ` Chintan Vankar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).