* [PATCH 1/3] dt-bindings: net: qcom,ethqos: add description for qcs615
2024-10-10 2:03 [PATCH 0/3] Add ethernet dts schema for qcs615/qcs8300 Yijie Yang
@ 2024-10-10 2:03 ` Yijie Yang
2024-10-10 6:14 ` Krzysztof Kozlowski
2024-10-10 2:03 ` [PATCH 2/3] dt-bindings: phy: describe the Qualcomm SGMII PHY Yijie Yang
2024-10-10 2:03 ` [PATCH 3/3] dt-bindings: net: qcom,ethqos: add description for qcs8300 Yijie Yang
2 siblings, 1 reply; 10+ messages in thread
From: Yijie Yang @ 2024-10-10 2:03 UTC (permalink / raw)
To: Vinod Koul, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bhupesh Sharma, Kishon Vijay Abraham I, Bartosz Golaszewski
Cc: netdev, linux-arm-msm, devicetree, linux-kernel, linux-phy,
quic_tingweiz, quic_aiquny, Yijie Yang
Add compatible for the MAC controller on qcs615 platform.
Since qcs615 shares the same EMAC as sm8150, so it fallback to that
compatible.
Signed-off-by: Yijie Yang <quic_yijiyang@quicinc.com>
---
Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
index 6672327358bc..8cf29493b822 100644
--- a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
+++ b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
@@ -18,11 +18,16 @@ allOf:
properties:
compatible:
- enum:
- - qcom,qcs404-ethqos
- - qcom,sa8775p-ethqos
- - qcom,sc8280xp-ethqos
- - qcom,sm8150-ethqos
+ oneOf:
+ - items:
+ - enum:
+ - qcom,qcs615-ethqos
+ - const: qcom,sm8150-ethqos
+ - enum:
+ - qcom,qcs404-ethqos
+ - qcom,sa8775p-ethqos
+ - qcom,sc8280xp-ethqos
+ - qcom,sm8150-ethqos
reg:
maxItems: 2
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH 1/3] dt-bindings: net: qcom,ethqos: add description for qcs615
2024-10-10 2:03 ` [PATCH 1/3] dt-bindings: net: qcom,ethqos: add description for qcs615 Yijie Yang
@ 2024-10-10 6:14 ` Krzysztof Kozlowski
0 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-10 6:14 UTC (permalink / raw)
To: Yijie Yang
Cc: Vinod Koul, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bhupesh Sharma, Kishon Vijay Abraham I, Bartosz Golaszewski,
netdev, linux-arm-msm, devicetree, linux-kernel, linux-phy,
quic_tingweiz, quic_aiquny
On Thu, Oct 10, 2024 at 10:03:43AM +0800, Yijie Yang wrote:
> Add compatible for the MAC controller on qcs615 platform.
> Since qcs615 shares the same EMAC as sm8150, so it fallback to that
> compatible.
>
> Signed-off-by: Yijie Yang <quic_yijiyang@quicinc.com>
> ---
> Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 15 ++++++++++-----
> 1 file changed, 10 insertions(+), 5 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/3] dt-bindings: phy: describe the Qualcomm SGMII PHY
2024-10-10 2:03 [PATCH 0/3] Add ethernet dts schema for qcs615/qcs8300 Yijie Yang
2024-10-10 2:03 ` [PATCH 1/3] dt-bindings: net: qcom,ethqos: add description for qcs615 Yijie Yang
@ 2024-10-10 2:03 ` Yijie Yang
2024-10-10 6:14 ` Krzysztof Kozlowski
2024-10-10 2:03 ` [PATCH 3/3] dt-bindings: net: qcom,ethqos: add description for qcs8300 Yijie Yang
2 siblings, 1 reply; 10+ messages in thread
From: Yijie Yang @ 2024-10-10 2:03 UTC (permalink / raw)
To: Vinod Koul, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bhupesh Sharma, Kishon Vijay Abraham I, Bartosz Golaszewski
Cc: netdev, linux-arm-msm, devicetree, linux-kernel, linux-phy,
quic_tingweiz, quic_aiquny, Yijie Yang
Describe the SGMII/SerDes PHY present on the qcs8300 platforms. Since
qcs8300 shares the same SerDes as sa8775p, so it fallback to the
compatible.
Signed-off-by: Yijie Yang <quic_yijiyang@quicinc.com>
---
.../devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml
index b9107759b2a5..90fc8c039219 100644
--- a/Documentation/devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml
@@ -15,7 +15,12 @@ description:
properties:
compatible:
- const: qcom,sa8775p-dwmac-sgmii-phy
+ oneOf:
+ - items:
+ - enum:
+ - qcom,qcs8300-dwmac-sgmii-phy
+ - const: qcom,sa8775p-dwmac-sgmii-phy
+ - const: qcom,sa8775p-dwmac-sgmii-phy
reg:
items:
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH 2/3] dt-bindings: phy: describe the Qualcomm SGMII PHY
2024-10-10 2:03 ` [PATCH 2/3] dt-bindings: phy: describe the Qualcomm SGMII PHY Yijie Yang
@ 2024-10-10 6:14 ` Krzysztof Kozlowski
0 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-10 6:14 UTC (permalink / raw)
To: Yijie Yang
Cc: Vinod Koul, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bhupesh Sharma, Kishon Vijay Abraham I, Bartosz Golaszewski,
netdev, linux-arm-msm, devicetree, linux-kernel, linux-phy,
quic_tingweiz, quic_aiquny
On Thu, Oct 10, 2024 at 10:03:44AM +0800, Yijie Yang wrote:
> Describe the SGMII/SerDes PHY present on the qcs8300 platforms. Since
> qcs8300 shares the same SerDes as sa8775p, so it fallback to the
> compatible.
>
> Signed-off-by: Yijie Yang <quic_yijiyang@quicinc.com>
> ---
> .../devicetree/bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 3/3] dt-bindings: net: qcom,ethqos: add description for qcs8300
2024-10-10 2:03 [PATCH 0/3] Add ethernet dts schema for qcs615/qcs8300 Yijie Yang
2024-10-10 2:03 ` [PATCH 1/3] dt-bindings: net: qcom,ethqos: add description for qcs615 Yijie Yang
2024-10-10 2:03 ` [PATCH 2/3] dt-bindings: phy: describe the Qualcomm SGMII PHY Yijie Yang
@ 2024-10-10 2:03 ` Yijie Yang
2024-10-10 6:15 ` Krzysztof Kozlowski
2 siblings, 1 reply; 10+ messages in thread
From: Yijie Yang @ 2024-10-10 2:03 UTC (permalink / raw)
To: Vinod Koul, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bhupesh Sharma, Kishon Vijay Abraham I, Bartosz Golaszewski
Cc: netdev, linux-arm-msm, devicetree, linux-kernel, linux-phy,
quic_tingweiz, quic_aiquny, Yijie Yang
Add compatible for the MAC controller on qcs8300 platforms.
Since qcs8300 shares the same EMAC as sa8775p, so it fallback to the
compatible.
Signed-off-by: Yijie Yang <quic_yijiyang@quicinc.com>
---
Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
index 8cf29493b822..3ee5367bdde1 100644
--- a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
+++ b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
@@ -23,6 +23,10 @@ properties:
- enum:
- qcom,qcs615-ethqos
- const: qcom,sm8150-ethqos
+ - items:
+ - enum:
+ - qcom,qcs8300-ethqos
+ - const: qcom,sa8775p-ethqos
- enum:
- qcom,qcs404-ethqos
- qcom,sa8775p-ethqos
--
2.34.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH 3/3] dt-bindings: net: qcom,ethqos: add description for qcs8300
2024-10-10 2:03 ` [PATCH 3/3] dt-bindings: net: qcom,ethqos: add description for qcs8300 Yijie Yang
@ 2024-10-10 6:15 ` Krzysztof Kozlowski
2024-10-15 6:21 ` Yijie Yang
0 siblings, 1 reply; 10+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-10 6:15 UTC (permalink / raw)
To: Yijie Yang
Cc: Vinod Koul, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bhupesh Sharma, Kishon Vijay Abraham I, Bartosz Golaszewski,
netdev, linux-arm-msm, devicetree, linux-kernel, linux-phy,
quic_tingweiz, quic_aiquny
On Thu, Oct 10, 2024 at 10:03:45AM +0800, Yijie Yang wrote:
> Add compatible for the MAC controller on qcs8300 platforms.
> Since qcs8300 shares the same EMAC as sa8775p, so it fallback to the
> compatible.
>
> Signed-off-by: Yijie Yang <quic_yijiyang@quicinc.com>
> ---
> Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
> index 8cf29493b822..3ee5367bdde1 100644
> --- a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
> +++ b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
> @@ -23,6 +23,10 @@ properties:
> - enum:
> - qcom,qcs615-ethqos
> - const: qcom,sm8150-ethqos
> + - items:
> + - enum:
> + - qcom,qcs8300-ethqos
> + - const: qcom,sa8775p-ethqos
This block should go before earlier qcs615, to keep order by fallback.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 3/3] dt-bindings: net: qcom,ethqos: add description for qcs8300
2024-10-10 6:15 ` Krzysztof Kozlowski
@ 2024-10-15 6:21 ` Yijie Yang
2024-10-15 6:27 ` Krzysztof Kozlowski
0 siblings, 1 reply; 10+ messages in thread
From: Yijie Yang @ 2024-10-15 6:21 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Vinod Koul, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bhupesh Sharma, Kishon Vijay Abraham I, Bartosz Golaszewski,
netdev, linux-arm-msm, devicetree, linux-kernel, linux-phy,
quic_tingweiz, quic_aiquny
On 2024-10-10 14:15, Krzysztof Kozlowski wrote:
> On Thu, Oct 10, 2024 at 10:03:45AM +0800, Yijie Yang wrote:
>> Add compatible for the MAC controller on qcs8300 platforms.
>> Since qcs8300 shares the same EMAC as sa8775p, so it fallback to the
>> compatible.
>>
>> Signed-off-by: Yijie Yang <quic_yijiyang@quicinc.com>
>> ---
>> Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
>> index 8cf29493b822..3ee5367bdde1 100644
>> --- a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
>> +++ b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
>> @@ -23,6 +23,10 @@ properties:
>> - enum:
>> - qcom,qcs615-ethqos
>> - const: qcom,sm8150-ethqos
>> + - items:
>> + - enum:
>> + - qcom,qcs8300-ethqos
>> + - const: qcom,sa8775p-ethqos
>
> This block should go before earlier qcs615, to keep order by fallback.
Why this block should positioned before qcs615, given that it comes
later in alphabetical order?
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> Best regards,
> Krzysztof
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 3/3] dt-bindings: net: qcom,ethqos: add description for qcs8300
2024-10-15 6:21 ` Yijie Yang
@ 2024-10-15 6:27 ` Krzysztof Kozlowski
2024-10-15 7:22 ` Yijie Yang
0 siblings, 1 reply; 10+ messages in thread
From: Krzysztof Kozlowski @ 2024-10-15 6:27 UTC (permalink / raw)
To: Yijie Yang
Cc: Vinod Koul, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bhupesh Sharma, Kishon Vijay Abraham I, Bartosz Golaszewski,
netdev, linux-arm-msm, devicetree, linux-kernel, linux-phy,
quic_tingweiz, quic_aiquny
On 15/10/2024 08:21, Yijie Yang wrote:
>
>
> On 2024-10-10 14:15, Krzysztof Kozlowski wrote:
>> On Thu, Oct 10, 2024 at 10:03:45AM +0800, Yijie Yang wrote:
>>> Add compatible for the MAC controller on qcs8300 platforms.
>>> Since qcs8300 shares the same EMAC as sa8775p, so it fallback to the
>>> compatible.
>>>
>>> Signed-off-by: Yijie Yang <quic_yijiyang@quicinc.com>
>>> ---
>>> Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 4 ++++
>>> 1 file changed, 4 insertions(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
>>> index 8cf29493b822..3ee5367bdde1 100644
>>> --- a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
>>> +++ b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
>>> @@ -23,6 +23,10 @@ properties:
>>> - enum:
>>> - qcom,qcs615-ethqos
>>> - const: qcom,sm8150-ethqos
>>> + - items:
>>> + - enum:
>>> + - qcom,qcs8300-ethqos
>>> + - const: qcom,sa8775p-ethqos
>>
>> This block should go before earlier qcs615, to keep order by fallback.
--------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^
Here
>
> Why this block should positioned before qcs615, given that it comes
> later in alphabetical order?
sa < sm
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 3/3] dt-bindings: net: qcom,ethqos: add description for qcs8300
2024-10-15 6:27 ` Krzysztof Kozlowski
@ 2024-10-15 7:22 ` Yijie Yang
0 siblings, 0 replies; 10+ messages in thread
From: Yijie Yang @ 2024-10-15 7:22 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Vinod Koul, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Bhupesh Sharma, Kishon Vijay Abraham I, Bartosz Golaszewski,
netdev, linux-arm-msm, devicetree, linux-kernel, linux-phy,
quic_tingweiz, quic_aiquny
On 2024-10-15 14:27, Krzysztof Kozlowski wrote:
> On 15/10/2024 08:21, Yijie Yang wrote:
>>
>>
>> On 2024-10-10 14:15, Krzysztof Kozlowski wrote:
>>> On Thu, Oct 10, 2024 at 10:03:45AM +0800, Yijie Yang wrote:
>>>> Add compatible for the MAC controller on qcs8300 platforms.
>>>> Since qcs8300 shares the same EMAC as sa8775p, so it fallback to the
>>>> compatible.
>>>>
>>>> Signed-off-by: Yijie Yang <quic_yijiyang@quicinc.com>
>>>> ---
>>>> Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 4 ++++
>>>> 1 file changed, 4 insertions(+)
>>>>
>>>> diff --git a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
>>>> index 8cf29493b822..3ee5367bdde1 100644
>>>> --- a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
>>>> +++ b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml
>>>> @@ -23,6 +23,10 @@ properties:
>>>> - enum:
>>>> - qcom,qcs615-ethqos
>>>> - const: qcom,sm8150-ethqos
>>>> + - items:
>>>> + - enum:
>>>> + - qcom,qcs8300-ethqos
>>>> + - const: qcom,sa8775p-ethqos
>>>
>>> This block should go before earlier qcs615, to keep order by fallback.
>
> --------------------------------------------------^^^^^^^^^^^^^^^^^^^^^^^
>
> Here
>
>>
>> Why this block should positioned before qcs615, given that it comes
>> later in alphabetical order?
>
> sa < sm
Understood, thanks.
>
> Best regards,
> Krzysztof
>
--
Best Regards,
Yijie
^ permalink raw reply [flat|nested] 10+ messages in thread