diff mbox series

[v1] dt-bindings: qcom: geni-se: Rename qcom,geni-se.yaml to qcom,geni-se-qup.yaml

Message ID 20250221085439.235821-1-quic_vdadhani@quicinc.com
State New
Headers show
Series [v1] dt-bindings: qcom: geni-se: Rename qcom,geni-se.yaml to qcom,geni-se-qup.yaml | expand

Commit Message

Viken Dadhaniya Feb. 21, 2025, 8:54 a.m. UTC
The qcom,geni-se.yaml file describes the Qualcomm Universal Peripheral
(QUP) wrapper and the common entities required by QUP to run any Serial
Engine (SE) as I2C, SPI, UART, or I3C protocol.

Rename qcom,geni-se.yaml to qcom,geni-se-qup.yaml to better reflect its
association with QUP (Qualcomm Universal Peripheral) and the compatible
string.

Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
---
 .../soc/qcom/{qcom,geni-se.yaml => qcom,geni-se-qup.yaml}       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename Documentation/devicetree/bindings/soc/qcom/{qcom,geni-se.yaml => qcom,geni-se-qup.yaml} (98%)

Comments

Viken Dadhaniya Feb. 24, 2025, 8:47 a.m. UTC | #1
On 2/21/2025 5:05 PM, Krzysztof Kozlowski wrote:
> On 21/02/2025 09:54, Viken Dadhaniya wrote:
>> The qcom,geni-se.yaml file describes the Qualcomm Universal Peripheral
>> (QUP) wrapper and the common entities required by QUP to run any Serial
>> Engine (SE) as I2C, SPI, UART, or I3C protocol.
>>
>> Rename qcom,geni-se.yaml to qcom,geni-se-qup.yaml to better reflect its
>> association with QUP (Qualcomm Universal Peripheral) and the compatible
>> string.
>>
>> Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
>> ---
>>   .../soc/qcom/{qcom,geni-se.yaml => qcom,geni-se-qup.yaml}       | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>   rename Documentation/devicetree/bindings/soc/qcom/{qcom,geni-se.yaml => qcom,geni-se-qup.yaml} (98%)
>>
> 
> That's just churn for no real gain. Not even tested churn.

That's just churn for no real gain.

We made this change based on below plan, we think this will be helpful.

1. Rename qcom,geni-se.yaml to qcom,geni-se-qup.yaml. Reason at 2 below.
2. Create qcom,geni-se.yaml with shared properties for SE-protocol (spi, 
i2c, uart) nodes. This will be helpful for the shared schema in the 
ongoing changes 
https://lore.kernel.org/linux-arm-msm/f090d637-1ef1-4967-b5bc-6bfce3d7130e@kernel.org/T/.

Not even tested churn.

Sorry, we realized other SPI drivers also needs to be adjusted too. We 
have validated dt_binding_check for i2c, spi, uart, and geni-se YAML 
files but missed checking make refcheckdocs.

Please let us know if any command/step is missing in further validation, 
that will help us.

> 
> Best regards,
> Krzysztof
Viken Dadhaniya Feb. 24, 2025, 1:25 p.m. UTC | #2
On 2/24/2025 3:48 PM, Krzysztof Kozlowski wrote:
> On 24/02/2025 09:47, Viken Dadhaniya wrote:
>>
>>
>> On 2/21/2025 5:05 PM, Krzysztof Kozlowski wrote:
>>> On 21/02/2025 09:54, Viken Dadhaniya wrote:
>>>> The qcom,geni-se.yaml file describes the Qualcomm Universal Peripheral
>>>> (QUP) wrapper and the common entities required by QUP to run any Serial
>>>> Engine (SE) as I2C, SPI, UART, or I3C protocol.
>>>>
>>>> Rename qcom,geni-se.yaml to qcom,geni-se-qup.yaml to better reflect its
>>>> association with QUP (Qualcomm Universal Peripheral) and the compatible
>>>> string.
>>>>
>>>> Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
>>>> ---
>>>>    .../soc/qcom/{qcom,geni-se.yaml => qcom,geni-se-qup.yaml}       | 2 +-
>>>>    1 file changed, 1 insertion(+), 1 deletion(-)
>>>>    rename Documentation/devicetree/bindings/soc/qcom/{qcom,geni-se.yaml => qcom,geni-se-qup.yaml} (98%)
>>>>
>>>
>>> That's just churn for no real gain. Not even tested churn.
>>
>> That's just churn for no real gain.
>>
>> We made this change based on below plan, we think this will be helpful.
>>
>> 1. Rename qcom,geni-se.yaml to qcom,geni-se-qup.yaml. Reason at 2 below.
> 
> There is no reason 2 at this point. You split your patchsets
> incorrectly. At this point this is churn, without gain. No users of this
> rename, no benefits.
> 
>> 2. Create qcom,geni-se.yaml with shared properties for SE-protocol (spi,
>> i2c, uart) nodes. This will be helpful for the shared schema in the
>> ongoing changes
> 
> Then post it, instead of sending something which makes no sense on its own.

Should I include this change in v3 of the following serial patch?

https://lore.kernel.org/linux-arm-msm/f090d637-1ef1-4967-b5bc-6bfce3d7130e@kernel.org/T/

I hope the approach below is fine for you:

1. Rename qcom,geni-se.yaml to qcom,geni-se-qup.yaml.
2. Create qcom,geni-se.yaml with shared properties for SE-protocol (i2c, 
spi, uart) nodes.

if there is anything wrong or missing any validation, please let me know 
so before next patch i can correct my self.

> 
> 
> Best regards,
> Krzysztof
Viken Dadhaniya Feb. 25, 2025, 9:33 a.m. UTC | #3
On 2/24/2025 6:59 PM, Krzysztof Kozlowski wrote:
> On 24/02/2025 14:25, Viken Dadhaniya wrote:
>>
>>
>> On 2/24/2025 3:48 PM, Krzysztof Kozlowski wrote:
>>> On 24/02/2025 09:47, Viken Dadhaniya wrote:
>>>>
>>>>
>>>> On 2/21/2025 5:05 PM, Krzysztof Kozlowski wrote:
>>>>> On 21/02/2025 09:54, Viken Dadhaniya wrote:
>>>>>> The qcom,geni-se.yaml file describes the Qualcomm Universal Peripheral
>>>>>> (QUP) wrapper and the common entities required by QUP to run any Serial
>>>>>> Engine (SE) as I2C, SPI, UART, or I3C protocol.
>>>>>>
>>>>>> Rename qcom,geni-se.yaml to qcom,geni-se-qup.yaml to better reflect its
>>>>>> association with QUP (Qualcomm Universal Peripheral) and the compatible
>>>>>> string.
>>>>>>
>>>>>> Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
>>>>>> ---
>>>>>>     .../soc/qcom/{qcom,geni-se.yaml => qcom,geni-se-qup.yaml}       | 2 +-
>>>>>>     1 file changed, 1 insertion(+), 1 deletion(-)
>>>>>>     rename Documentation/devicetree/bindings/soc/qcom/{qcom,geni-se.yaml => qcom,geni-se-qup.yaml} (98%)
>>>>>>
>>>>>
>>>>> That's just churn for no real gain. Not even tested churn.
>>>>
>>>> That's just churn for no real gain.
>>>>
>>>> We made this change based on below plan, we think this will be helpful.
>>>>
>>>> 1. Rename qcom,geni-se.yaml to qcom,geni-se-qup.yaml. Reason at 2 below.
>>>
>>> There is no reason 2 at this point. You split your patchsets
>>> incorrectly. At this point this is churn, without gain. No users of this
>>> rename, no benefits.
>>>
>>>> 2. Create qcom,geni-se.yaml with shared properties for SE-protocol (spi,
>>>> i2c, uart) nodes. This will be helpful for the shared schema in the
>>>> ongoing changes
>>>
>>> Then post it, instead of sending something which makes no sense on its own.
>>
>> Should I include this change in v3 of the following serial patch?
>>
>> https://lore.kernel.org/linux-arm-msm/f090d637-1ef1-4967-b5bc-6bfce3d7130e@kernel.org/T/
>>
>> I hope the approach below is fine for you:
>>
>> 1. Rename qcom,geni-se.yaml to qcom,geni-se-qup.yaml.
> 
> I still do not see any need nor justification for above.
> 
>> 2. Create qcom,geni-se.yaml with shared properties for SE-protocol (i2c,
>> spi, uart) nodes.
> 
> Look how other common qcom schemas are named :/
> 

Yes, but we need to get agreement on whether we can create it or not. I 
found a few commonly used files:

- /pci/qcom,pcie-common.yaml
- /pinctrl/qcom,tlmm-common.yaml

Would it be wise to name it /soc/qcom/qcom,qup-common.yaml?

> 
> Best regards,
> Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se-qup.yaml
similarity index 98%
rename from Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
rename to Documentation/devicetree/bindings/soc/qcom/qcom,geni-se-qup.yaml
index 7b031ef09669..26f806fd627a 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se-qup.yaml
@@ -1,7 +1,7 @@ 
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/soc/qcom/qcom,geni-se.yaml#
+$id: http://devicetree.org/schemas/soc/qcom/qcom,geni-se-qup.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: GENI Serial Engine QUP Wrapper Controller