Linux USB
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers
@ 2026-08-28  8:15 Krishna Kurapati
  2026-08-31  8:37 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 12+ messages in thread
From: Krishna Kurapati @ 2026-08-28  8:15 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng
  Cc: linux-arm-msm, linux-usb, devicetree, linux-kernel,
	Krishna Kurapati

Currently for Glymur non-multiport USB controllers, number of interrupts
are limited to a maximum of "5". Either hs_phy_irq or ss_phy_irq are to be
present.

Mark glymur non-multiport controllers to support a maximum of 6 interrupts
including the hs_phy_irq and ss_phy_irq.

Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
---
Changes in v2:
- Modified commit text indicating the issue in max interrupt-names for
  Glymur non-mp controllers.

Link to v1:
https://lore.kernel.org/all/20260803-glymur-usb-binding-fixes-v1-1-9ce334777387@oss.qualcomm.com/
---
 Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
index ea60f7220afe..3bef18f9557e 100644
--- a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
@@ -524,7 +524,6 @@ allOf:
         compatible:
           contains:
             enum:
-              - qcom,glymur-dwc3
               - qcom,milos-dwc3
               - qcom,x1e80100-dwc3
     then:
@@ -547,6 +546,7 @@ allOf:
           contains:
             enum:
               - qcom,eliza-dwc3
+              - qcom,glymur-dwc3
               - qcom,ipq4019-dwc3
               - qcom,ipq8064-dwc3
               - qcom,kaanapali-dwc3
-- 
2.34.1


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

* Re: [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers
  2026-08-28  8:15 [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers Krishna Kurapati
@ 2026-08-31  8:37 ` Krzysztof Kozlowski
  2026-08-31  9:03   ` Krishna Kurapati
  0 siblings, 1 reply; 12+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-31  8:37 UTC (permalink / raw)
  To: Krishna Kurapati
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, linux-arm-msm, linux-usb, devicetree,
	linux-kernel

On Fri, Aug 28, 2026 at 01:45:42PM +0530, Krishna Kurapati wrote:
> Currently for Glymur non-multiport USB controllers, number of interrupts
> are limited to a maximum of "5". Either hs_phy_irq or ss_phy_irq are to be
> present.
> 
> Mark glymur non-multiport controllers to support a maximum of 6 interrupts
> including the hs_phy_irq and ss_phy_irq.

Why?

> 
> Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
> ---
> Changes in v2:
> - Modified commit text indicating the issue in max interrupt-names for
>   Glymur non-mp controllers.
> 
> Link to v1:
> https://lore.kernel.org/all/20260803-glymur-usb-binding-fixes-v1-1-9ce334777387@oss.qualcomm.com/
> ---
>  Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
> index ea60f7220afe..3bef18f9557e 100644
> --- a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
> +++ b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
> @@ -524,7 +524,6 @@ allOf:
>          compatible:
>            contains:
>              enum:
> -              - qcom,glymur-dwc3
>                - qcom,milos-dwc3
>                - qcom,x1e80100-dwc3
>      then:
> @@ -547,6 +546,7 @@ allOf:
>            contains:
>              enum:
>                - qcom,eliza-dwc3
> +              - qcom,glymur-dwc3
>                - qcom,ipq4019-dwc3
>                - qcom,ipq8064-dwc3
>                - qcom,kaanapali-dwc3

This changes the ABI without an explanation.

Best regards,
Krzysztof


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

* Re: [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers
  2026-08-31  8:37 ` Krzysztof Kozlowski
@ 2026-08-31  9:03   ` Krishna Kurapati
  2026-08-31 12:29     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 12+ messages in thread
From: Krishna Kurapati @ 2026-08-31  9:03 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, linux-arm-msm, linux-usb, devicetree,
	linux-kernel



On 8/31/2026 2:07 PM, Krzysztof Kozlowski wrote:
> On Fri, Aug 28, 2026 at 01:45:42PM +0530, Krishna Kurapati wrote:
>> Currently for Glymur non-multiport USB controllers, number of interrupts
>> are limited to a maximum of "5". Either hs_phy_irq or ss_phy_irq are to be
>> present.
>>
>> Mark glymur non-multiport controllers to support a maximum of 6 interrupts
>> including the hs_phy_irq and ss_phy_irq.
> 
> Why?
> 
>>
>> Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
>> ---
>> Changes in v2:
>> - Modified commit text indicating the issue in max interrupt-names for
>>    Glymur non-mp controllers.
>>
>> Link to v1:
>> https://lore.kernel.org/all/20260803-glymur-usb-binding-fixes-v1-1-9ce334777387@oss.qualcomm.com/
>> ---
>>   Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
>> index ea60f7220afe..3bef18f9557e 100644
>> --- a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
>> +++ b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
>> @@ -524,7 +524,6 @@ allOf:
>>           compatible:
>>             contains:
>>               enum:
>> -              - qcom,glymur-dwc3
>>                 - qcom,milos-dwc3
>>                 - qcom,x1e80100-dwc3
>>       then:
>> @@ -547,6 +546,7 @@ allOf:
>>             contains:
>>               enum:
>>                 - qcom,eliza-dwc3
>> +              - qcom,glymur-dwc3
>>                 - qcom,ipq4019-dwc3
>>                 - qcom,ipq8064-dwc3
>>                 - qcom,kaanapali-dwc3
> 
> This changes the ABI without an explanation.
> 
As per the harware specification, the controllers do have both 
hs_phy_irq and ss_phy_irq. Hence wanted the binding to capture that 
info. Will update the commit message accordingly.

Regards,
Krishna,

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

* Re: [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers
  2026-08-31  9:03   ` Krishna Kurapati
@ 2026-08-31 12:29     ` Krzysztof Kozlowski
  2026-09-02 14:10       ` Konrad Dybcio
  0 siblings, 1 reply; 12+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-31 12:29 UTC (permalink / raw)
  To: Krishna Kurapati
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, linux-arm-msm, linux-usb, devicetree,
	linux-kernel

On 31/08/2026 11:03, Krishna Kurapati wrote:
> 
> 
> On 8/31/2026 2:07 PM, Krzysztof Kozlowski wrote:
>> On Fri, Aug 28, 2026 at 01:45:42PM +0530, Krishna Kurapati wrote:
>>> Currently for Glymur non-multiport USB controllers, number of interrupts
>>> are limited to a maximum of "5". Either hs_phy_irq or ss_phy_irq are to be
>>> present.
>>>
>>> Mark glymur non-multiport controllers to support a maximum of 6 interrupts
>>> including the hs_phy_irq and ss_phy_irq.
>>
>> Why?
>>
>>>
>>> Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
>>> ---
>>> Changes in v2:
>>> - Modified commit text indicating the issue in max interrupt-names for
>>>    Glymur non-mp controllers.
>>>
>>> Link to v1:
>>> https://lore.kernel.org/all/20260803-glymur-usb-binding-fixes-v1-1-9ce334777387@oss.qualcomm.com/
>>> ---
>>>   Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
>>> index ea60f7220afe..3bef18f9557e 100644
>>> --- a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
>>> +++ b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
>>> @@ -524,7 +524,6 @@ allOf:
>>>           compatible:
>>>             contains:
>>>               enum:
>>> -              - qcom,glymur-dwc3
>>>                 - qcom,milos-dwc3
>>>                 - qcom,x1e80100-dwc3
>>>       then:
>>> @@ -547,6 +546,7 @@ allOf:
>>>             contains:
>>>               enum:
>>>                 - qcom,eliza-dwc3
>>> +              - qcom,glymur-dwc3
>>>                 - qcom,ipq4019-dwc3
>>>                 - qcom,ipq8064-dwc3
>>>                 - qcom,kaanapali-dwc3
>>
>> This changes the ABI without an explanation.
>>
> As per the harware specification, the controllers do have both 
> hs_phy_irq and ss_phy_irq. Hence wanted the binding to capture that 
> info. Will update the commit message accordingly.
> 

So the change in 99df63d20dabda8d7ae01bcca7cdb1e92110a555 was
incomplete? Lack of context here is not helping.

If they have these IRQs but it does not matter, then it is not a good
reason to change ABI and you should just add the clock as optional to
the end. Was this binding already released? I think yes.

Best regards,
Krzysztof

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

* Re: [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers
  2026-08-31 12:29     ` Krzysztof Kozlowski
@ 2026-09-02 14:10       ` Konrad Dybcio
  2026-09-02 16:59         ` Krishna Kurapati
  2026-09-03  6:41         ` Krzysztof Kozlowski
  0 siblings, 2 replies; 12+ messages in thread
From: Konrad Dybcio @ 2026-09-02 14:10 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Krishna Kurapati
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, linux-arm-msm, linux-usb, devicetree,
	linux-kernel

On 8/31/26 2:29 PM, Krzysztof Kozlowski wrote:
> On 31/08/2026 11:03, Krishna Kurapati wrote:
>>
>>
>> On 8/31/2026 2:07 PM, Krzysztof Kozlowski wrote:
>>> On Fri, Aug 28, 2026 at 01:45:42PM +0530, Krishna Kurapati wrote:
>>>> Currently for Glymur non-multiport USB controllers, number of interrupts
>>>> are limited to a maximum of "5". Either hs_phy_irq or ss_phy_irq are to be
>>>> present.

[...]

>>>>                 - qcom,eliza-dwc3
>>>> +              - qcom,glymur-dwc3
>>>>                 - qcom,ipq4019-dwc3
>>>>                 - qcom,ipq8064-dwc3
>>>>                 - qcom,kaanapali-dwc3
>>>
>>> This changes the ABI without an explanation.
>>>
>> As per the harware specification, the controllers do have both 
>> hs_phy_irq and ss_phy_irq. Hence wanted the binding to capture that 
>> info. Will update the commit message accordingly.
>>
> 
> So the change in 99df63d20dabda8d7ae01bcca7cdb1e92110a555 was
> incomplete? Lack of context here is not helping.
> 
> If they have these IRQs but it does not matter, then it is not a good
> reason to change ABI and you should just add the clock as optional to
> the end. Was this binding already released? I think yes.

IIUC the intent of the patch is to allow specifying the currently
missing hs_phy_irq on non-multiport controllers (i.e. usb3_[012]).
Bundling the DT change would have made that easier.

Konrad

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

* Re: [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers
  2026-09-02 14:10       ` Konrad Dybcio
@ 2026-09-02 16:59         ` Krishna Kurapati
  2026-09-03  6:32           ` Konrad Dybcio
  2026-09-03  6:41         ` Krzysztof Kozlowski
  1 sibling, 1 reply; 12+ messages in thread
From: Krishna Kurapati @ 2026-09-02 16:59 UTC (permalink / raw)
  To: Konrad Dybcio, Krzysztof Kozlowski
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, linux-arm-msm, linux-usb, devicetree,
	linux-kernel



On 9/2/2026 7:40 PM, Konrad Dybcio wrote:
> On 8/31/26 2:29 PM, Krzysztof Kozlowski wrote:
>> On 31/08/2026 11:03, Krishna Kurapati wrote:
>>>
>>>
>>> On 8/31/2026 2:07 PM, Krzysztof Kozlowski wrote:
>>>> On Fri, Aug 28, 2026 at 01:45:42PM +0530, Krishna Kurapati wrote:
>>>>> Currently for Glymur non-multiport USB controllers, number of interrupts
>>>>> are limited to a maximum of "5". Either hs_phy_irq or ss_phy_irq are to be
>>>>> present.
> 
> [...]
> 
>>>>>                  - qcom,eliza-dwc3
>>>>> +              - qcom,glymur-dwc3
>>>>>                  - qcom,ipq4019-dwc3
>>>>>                  - qcom,ipq8064-dwc3
>>>>>                  - qcom,kaanapali-dwc3
>>>>
>>>> This changes the ABI without an explanation.
>>>>
>>> As per the harware specification, the controllers do have both
>>> hs_phy_irq and ss_phy_irq. Hence wanted the binding to capture that
>>> info. Will update the commit message accordingly.
>>>
>>
>> So the change in 99df63d20dabda8d7ae01bcca7cdb1e92110a555 was
>> incomplete? Lack of context here is not helping.
>>
>> If they have these IRQs but it does not matter, then it is not a good
>> reason to change ABI and you should just add the clock as optional to
>> the end. Was this binding already released? I think yes.
> 
> IIUC the intent of the patch is to allow specifying the currently
> missing hs_phy_irq on non-multiport controllers (i.e. usb3_[012]).
> Bundling the DT change would have made that easier.
Yes, I wanted to add the missing hs_phy_irq. I didn't want to bundle in 
the DT along with the usb binding changes. DT change was posted separately:

https://lore.kernel.org/all/20260803-glymur-dt-usb-fixes-v1-1-0f5f52853102@oss.qualcomm.com/

Regards,
Krishna,

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

* Re: [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers
  2026-09-02 16:59         ` Krishna Kurapati
@ 2026-09-03  6:32           ` Konrad Dybcio
  2026-09-03  6:40             ` Krzysztof Kozlowski
  0 siblings, 1 reply; 12+ messages in thread
From: Konrad Dybcio @ 2026-09-03  6:32 UTC (permalink / raw)
  To: Krishna Kurapati, Krzysztof Kozlowski
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, linux-arm-msm, linux-usb, devicetree,
	linux-kernel

On 9/2/26 6:59 PM, Krishna Kurapati wrote:
> 
> 
> On 9/2/2026 7:40 PM, Konrad Dybcio wrote:
>> On 8/31/26 2:29 PM, Krzysztof Kozlowski wrote:
>>> On 31/08/2026 11:03, Krishna Kurapati wrote:
>>>>
>>>>
>>>> On 8/31/2026 2:07 PM, Krzysztof Kozlowski wrote:
>>>>> On Fri, Aug 28, 2026 at 01:45:42PM +0530, Krishna Kurapati wrote:
>>>>>> Currently for Glymur non-multiport USB controllers, number of interrupts
>>>>>> are limited to a maximum of "5". Either hs_phy_irq or ss_phy_irq are to be
>>>>>> present.
>>
>> [...]
>>
>>>>>>                  - qcom,eliza-dwc3
>>>>>> +              - qcom,glymur-dwc3
>>>>>>                  - qcom,ipq4019-dwc3
>>>>>>                  - qcom,ipq8064-dwc3
>>>>>>                  - qcom,kaanapali-dwc3
>>>>>
>>>>> This changes the ABI without an explanation.
>>>>>
>>>> As per the harware specification, the controllers do have both
>>>> hs_phy_irq and ss_phy_irq. Hence wanted the binding to capture that
>>>> info. Will update the commit message accordingly.
>>>>
>>>
>>> So the change in 99df63d20dabda8d7ae01bcca7cdb1e92110a555 was
>>> incomplete? Lack of context here is not helping.
>>>
>>> If they have these IRQs but it does not matter, then it is not a good
>>> reason to change ABI and you should just add the clock as optional to
>>> the end. Was this binding already released? I think yes.
>>
>> IIUC the intent of the patch is to allow specifying the currently
>> missing hs_phy_irq on non-multiport controllers (i.e. usb3_[012]).
>> Bundling the DT change would have made that easier.
> Yes, I wanted to add the missing hs_phy_irq. I didn't want to bundle in the DT along with the usb binding changes. DT change was posted separately:
> 
> https://lore.kernel.org/all/20260803-glymur-dt-usb-fixes-v1-1-0f5f52853102@oss.qualcomm.com/

Shipping bindings and DT changes in a _series_ is preferred, what one
must avoid is changing them within the same _patch_

Konrad

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

* Re: [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers
  2026-09-03  6:32           ` Konrad Dybcio
@ 2026-09-03  6:40             ` Krzysztof Kozlowski
  2026-09-03  6:42               ` Konrad Dybcio
  0 siblings, 1 reply; 12+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-03  6:40 UTC (permalink / raw)
  To: Konrad Dybcio, Krishna Kurapati
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, linux-arm-msm, linux-usb, devicetree,
	linux-kernel

On 03/09/2026 08:32, Konrad Dybcio wrote:
> On 9/2/26 6:59 PM, Krishna Kurapati wrote:
>>
>>
>> On 9/2/2026 7:40 PM, Konrad Dybcio wrote:
>>> On 8/31/26 2:29 PM, Krzysztof Kozlowski wrote:
>>>> On 31/08/2026 11:03, Krishna Kurapati wrote:
>>>>>
>>>>>
>>>>> On 8/31/2026 2:07 PM, Krzysztof Kozlowski wrote:
>>>>>> On Fri, Aug 28, 2026 at 01:45:42PM +0530, Krishna Kurapati wrote:
>>>>>>> Currently for Glymur non-multiport USB controllers, number of interrupts
>>>>>>> are limited to a maximum of "5". Either hs_phy_irq or ss_phy_irq are to be
>>>>>>> present.
>>>
>>> [...]
>>>
>>>>>>>                  - qcom,eliza-dwc3
>>>>>>> +              - qcom,glymur-dwc3
>>>>>>>                  - qcom,ipq4019-dwc3
>>>>>>>                  - qcom,ipq8064-dwc3
>>>>>>>                  - qcom,kaanapali-dwc3
>>>>>>
>>>>>> This changes the ABI without an explanation.
>>>>>>
>>>>> As per the harware specification, the controllers do have both
>>>>> hs_phy_irq and ss_phy_irq. Hence wanted the binding to capture that
>>>>> info. Will update the commit message accordingly.
>>>>>
>>>>
>>>> So the change in 99df63d20dabda8d7ae01bcca7cdb1e92110a555 was
>>>> incomplete? Lack of context here is not helping.
>>>>
>>>> If they have these IRQs but it does not matter, then it is not a good
>>>> reason to change ABI and you should just add the clock as optional to
>>>> the end. Was this binding already released? I think yes.
>>>
>>> IIUC the intent of the patch is to allow specifying the currently
>>> missing hs_phy_irq on non-multiport controllers (i.e. usb3_[012]).
>>> Bundling the DT change would have made that easier.
>> Yes, I wanted to add the missing hs_phy_irq. I didn't want to bundle in the DT along with the usb binding changes. DT change was posted separately:
>>
>> https://lore.kernel.org/all/20260803-glymur-dt-usb-fixes-v1-1-0f5f52853102@oss.qualcomm.com/
> 
> Shipping bindings and DT changes in a _series_ is preferred, what one
> must avoid is changing them within the same _patch_

No, DTS cannot be posted within USB patchset.

Best regards,
Krzysztof

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

* Re: [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers
  2026-09-02 14:10       ` Konrad Dybcio
  2026-09-02 16:59         ` Krishna Kurapati
@ 2026-09-03  6:41         ` Krzysztof Kozlowski
  2026-09-03  8:11           ` Krishna Kurapati
  1 sibling, 1 reply; 12+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-03  6:41 UTC (permalink / raw)
  To: Konrad Dybcio, Krishna Kurapati
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, linux-arm-msm, linux-usb, devicetree,
	linux-kernel

On 02/09/2026 16:10, Konrad Dybcio wrote:
> On 8/31/26 2:29 PM, Krzysztof Kozlowski wrote:
>> On 31/08/2026 11:03, Krishna Kurapati wrote:
>>>
>>>
>>> On 8/31/2026 2:07 PM, Krzysztof Kozlowski wrote:
>>>> On Fri, Aug 28, 2026 at 01:45:42PM +0530, Krishna Kurapati wrote:
>>>>> Currently for Glymur non-multiport USB controllers, number of interrupts
>>>>> are limited to a maximum of "5". Either hs_phy_irq or ss_phy_irq are to be
>>>>> present.
> 
> [...]
> 
>>>>>                 - qcom,eliza-dwc3
>>>>> +              - qcom,glymur-dwc3
>>>>>                 - qcom,ipq4019-dwc3
>>>>>                 - qcom,ipq8064-dwc3
>>>>>                 - qcom,kaanapali-dwc3
>>>>
>>>> This changes the ABI without an explanation.
>>>>
>>> As per the harware specification, the controllers do have both 
>>> hs_phy_irq and ss_phy_irq. Hence wanted the binding to capture that 
>>> info. Will update the commit message accordingly.
>>>
>>
>> So the change in 99df63d20dabda8d7ae01bcca7cdb1e92110a555 was
>> incomplete? Lack of context here is not helping.
>>
>> If they have these IRQs but it does not matter, then it is not a good
>> reason to change ABI and you should just add the clock as optional to
>> the end. Was this binding already released? I think yes.
> 
> IIUC the intent of the patch is to allow specifying the currently
> missing hs_phy_irq on non-multiport controllers (i.e. usb3_[012]).
> Bundling the DT change would have made that easier.

This does not answer my concerns. So repeating: patch is changing ABI
without an explanation. This means contributor needs to provide
explanation for the ABI change in terms of actual impact.


Best regards,
Krzysztof

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

* Re: [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers
  2026-09-03  6:40             ` Krzysztof Kozlowski
@ 2026-09-03  6:42               ` Konrad Dybcio
  0 siblings, 0 replies; 12+ messages in thread
From: Konrad Dybcio @ 2026-09-03  6:42 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Krishna Kurapati
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, linux-arm-msm, linux-usb, devicetree,
	linux-kernel

On 9/3/26 8:40 AM, Krzysztof Kozlowski wrote:
> On 03/09/2026 08:32, Konrad Dybcio wrote:
>> On 9/2/26 6:59 PM, Krishna Kurapati wrote:
>>>
>>>
>>> On 9/2/2026 7:40 PM, Konrad Dybcio wrote:
>>>> On 8/31/26 2:29 PM, Krzysztof Kozlowski wrote:
>>>>> On 31/08/2026 11:03, Krishna Kurapati wrote:
>>>>>>
>>>>>>
>>>>>> On 8/31/2026 2:07 PM, Krzysztof Kozlowski wrote:
>>>>>>> On Fri, Aug 28, 2026 at 01:45:42PM +0530, Krishna Kurapati wrote:
>>>>>>>> Currently for Glymur non-multiport USB controllers, number of interrupts
>>>>>>>> are limited to a maximum of "5". Either hs_phy_irq or ss_phy_irq are to be
>>>>>>>> present.
>>>>
>>>> [...]
>>>>
>>>>>>>>                  - qcom,eliza-dwc3
>>>>>>>> +              - qcom,glymur-dwc3
>>>>>>>>                  - qcom,ipq4019-dwc3
>>>>>>>>                  - qcom,ipq8064-dwc3
>>>>>>>>                  - qcom,kaanapali-dwc3
>>>>>>>
>>>>>>> This changes the ABI without an explanation.
>>>>>>>
>>>>>> As per the harware specification, the controllers do have both
>>>>>> hs_phy_irq and ss_phy_irq. Hence wanted the binding to capture that
>>>>>> info. Will update the commit message accordingly.
>>>>>>
>>>>>
>>>>> So the change in 99df63d20dabda8d7ae01bcca7cdb1e92110a555 was
>>>>> incomplete? Lack of context here is not helping.
>>>>>
>>>>> If they have these IRQs but it does not matter, then it is not a good
>>>>> reason to change ABI and you should just add the clock as optional to
>>>>> the end. Was this binding already released? I think yes.
>>>>
>>>> IIUC the intent of the patch is to allow specifying the currently
>>>> missing hs_phy_irq on non-multiport controllers (i.e. usb3_[012]).
>>>> Bundling the DT change would have made that easier.
>>> Yes, I wanted to add the missing hs_phy_irq. I didn't want to bundle in the DT along with the usb binding changes. DT change was posted separately:
>>>
>>> https://lore.kernel.org/all/20260803-glymur-dt-usb-fixes-v1-1-0f5f52853102@oss.qualcomm.com/
>>
>> Shipping bindings and DT changes in a _series_ is preferred, what one
>> must avoid is changing them within the same _patch_
> 
> No, DTS cannot be posted within USB patchset.

Aah, I missed that point..

Konrad

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

* Re: [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers
  2026-09-03  6:41         ` Krzysztof Kozlowski
@ 2026-09-03  8:11           ` Krishna Kurapati
  2026-09-03  8:14             ` Krzysztof Kozlowski
  0 siblings, 1 reply; 12+ messages in thread
From: Krishna Kurapati @ 2026-09-03  8:11 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Konrad Dybcio
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, linux-arm-msm, linux-usb, devicetree,
	linux-kernel



On 9/3/2026 12:11 PM, Krzysztof Kozlowski wrote:
> On 02/09/2026 16:10, Konrad Dybcio wrote:
>> On 8/31/26 2:29 PM, Krzysztof Kozlowski wrote:
>>> On 31/08/2026 11:03, Krishna Kurapati wrote:
>>>>
>>>>
>>>> On 8/31/2026 2:07 PM, Krzysztof Kozlowski wrote:
>>>>> On Fri, Aug 28, 2026 at 01:45:42PM +0530, Krishna Kurapati wrote:
>>>>>> Currently for Glymur non-multiport USB controllers, number of interrupts
>>>>>> are limited to a maximum of "5". Either hs_phy_irq or ss_phy_irq are to be
>>>>>> present.
>>
>> [...]
>>
>>>>>>                  - qcom,eliza-dwc3
>>>>>> +              - qcom,glymur-dwc3
>>>>>>                  - qcom,ipq4019-dwc3
>>>>>>                  - qcom,ipq8064-dwc3
>>>>>>                  - qcom,kaanapali-dwc3
>>>>>
>>>>> This changes the ABI without an explanation.
>>>>>
>>>> As per the harware specification, the controllers do have both
>>>> hs_phy_irq and ss_phy_irq. Hence wanted the binding to capture that
>>>> info. Will update the commit message accordingly.
>>>>
>>>
>>> So the change in 99df63d20dabda8d7ae01bcca7cdb1e92110a555 was
>>> incomplete? Lack of context here is not helping.
>>>
>>> If they have these IRQs but it does not matter, then it is not a good
>>> reason to change ABI and you should just add the clock as optional to
>>> the end. Was this binding already released? I think yes.
>>
>> IIUC the intent of the patch is to allow specifying the currently
>> missing hs_phy_irq on non-multiport controllers (i.e. usb3_[012]).
>> Bundling the DT change would have made that easier.
> 
> This does not answer my concerns. So repeating: patch is changing ABI
> without an explanation. This means contributor needs to provide
> explanation for the ABI change in terms of actual impact.
> 
 From a functional standpoint, there would be no effect. I was trying to 
make the bindings reflect that the hardware has hs_phy_irq.

Regards,
Krishna,

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

* Re: [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers
  2026-09-03  8:11           ` Krishna Kurapati
@ 2026-09-03  8:14             ` Krzysztof Kozlowski
  0 siblings, 0 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2026-09-03  8:14 UTC (permalink / raw)
  To: Krishna Kurapati, Konrad Dybcio
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, linux-arm-msm, linux-usb, devicetree,
	linux-kernel

On 03/09/2026 10:11, Krishna Kurapati wrote:
> 
> 
> On 9/3/2026 12:11 PM, Krzysztof Kozlowski wrote:
>> On 02/09/2026 16:10, Konrad Dybcio wrote:
>>> On 8/31/26 2:29 PM, Krzysztof Kozlowski wrote:
>>>> On 31/08/2026 11:03, Krishna Kurapati wrote:
>>>>>
>>>>>
>>>>> On 8/31/2026 2:07 PM, Krzysztof Kozlowski wrote:
>>>>>> On Fri, Aug 28, 2026 at 01:45:42PM +0530, Krishna Kurapati wrote:
>>>>>>> Currently for Glymur non-multiport USB controllers, number of interrupts
>>>>>>> are limited to a maximum of "5". Either hs_phy_irq or ss_phy_irq are to be
>>>>>>> present.
>>>
>>> [...]
>>>
>>>>>>>                  - qcom,eliza-dwc3
>>>>>>> +              - qcom,glymur-dwc3
>>>>>>>                  - qcom,ipq4019-dwc3
>>>>>>>                  - qcom,ipq8064-dwc3
>>>>>>>                  - qcom,kaanapali-dwc3
>>>>>>
>>>>>> This changes the ABI without an explanation.
>>>>>>
>>>>> As per the harware specification, the controllers do have both
>>>>> hs_phy_irq and ss_phy_irq. Hence wanted the binding to capture that
>>>>> info. Will update the commit message accordingly.
>>>>>
>>>>
>>>> So the change in 99df63d20dabda8d7ae01bcca7cdb1e92110a555 was
>>>> incomplete? Lack of context here is not helping.
>>>>
>>>> If they have these IRQs but it does not matter, then it is not a good
>>>> reason to change ABI and you should just add the clock as optional to
>>>> the end. Was this binding already released? I think yes.
>>>
>>> IIUC the intent of the patch is to allow specifying the currently
>>> missing hs_phy_irq on non-multiport controllers (i.e. usb3_[012]).
>>> Bundling the DT change would have made that easier.
>>
>> This does not answer my concerns. So repeating: patch is changing ABI
>> without an explanation. This means contributor needs to provide
>> explanation for the ABI change in terms of actual impact.
>>
>  From a functional standpoint, there would be no effect. I was trying to 
> make the bindings reflect that the hardware has hs_phy_irq.

If there is no functional impact, so before everything was fine and now
is fine as well, then usual expectations is to make it
backwards-compatible way, so grow the list with minItems.

Best regards,
Krzysztof

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

end of thread, other threads:[~2026-09-03  8:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28  8:15 [PATCH v2] dt-bindings: usb: qcom,snps-dwc3: Fix glymur binding for non-MP controllers Krishna Kurapati
2026-08-31  8:37 ` Krzysztof Kozlowski
2026-08-31  9:03   ` Krishna Kurapati
2026-08-31 12:29     ` Krzysztof Kozlowski
2026-09-02 14:10       ` Konrad Dybcio
2026-09-02 16:59         ` Krishna Kurapati
2026-09-03  6:32           ` Konrad Dybcio
2026-09-03  6:40             ` Krzysztof Kozlowski
2026-09-03  6:42               ` Konrad Dybcio
2026-09-03  6:41         ` Krzysztof Kozlowski
2026-09-03  8:11           ` Krishna Kurapati
2026-09-03  8:14             ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox