Update the compatible property to accept both "qcom,glymur-tlmm" and
"qcom,mahua-tlmm" using enum to allow proper device tree validation
for both SoCs.
Signed-off-by: Gopikrishna Garmidi <gopikrishna.garmidi@oss.qualcomm.com>
---
Documentation/devicetree/bindings/pinctrl/qcom,glymur-tlmm.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,glymur-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,glymur-tlmm.yaml
index d2b0cfeffb50..2836a1a10579 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,glymur-tlmm.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,glymur-tlmm.yaml
@@ -10,14 +10,16 @@ maintainers:
- Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
description:
- Top Level Mode Multiplexer pin controller in Qualcomm Glymur SoC.
+ Top Level Mode Multiplexer pin controller in Qualcomm Glymur and Mahua SoC.
allOf:
- $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
properties:
compatible:
- const: qcom,glymur-tlmm
+ enum:
+ - qcom,glymur-tlmm
+ - qcom,mahua-tlmm
reg:
maxItems: 1
--
2.34.1
On 02/01/2026 12:07, Gopikrishna Garmidi wrote: > Update the compatible property to accept both "qcom,glymur-tlmm" and > "qcom,mahua-tlmm" using enum to allow proper device tree validation > for both SoCs. 1. Why? You explained what, with a lot of redundant words. I do not find "paid by commit line" useful. Drop all the redundancies, do not explain what is "device tree validation". Look at other commits to learn how this is supposed to be written. 2. Why they are not compatible? You have entire commit msg to say something useful instead stating obvious and repeating the diff. 3. Subject: You cannot add "support" in the binding. Again, look at other commits. Best regards, Krzysztof
On 02/01/2026 12:10, Krzysztof Kozlowski wrote: > On 02/01/2026 12:07, Gopikrishna Garmidi wrote: >> Update the compatible property to accept both "qcom,glymur-tlmm" and >> "qcom,mahua-tlmm" using enum to allow proper device tree validation >> for both SoCs. > > 1. Why? You explained what, with a lot of redundant words. I do not find > "paid by commit line" useful. Drop all the redundancies, do not explain > what is "device tree validation". Look at other commits to learn how > this is supposed to be written. > > 2. Why they are not compatible? You have entire commit msg to say > something useful instead stating obvious and repeating the diff. > > 3. Subject: You cannot add "support" in the binding. Again, look at > other commits. AND I give you this feedback 4 minutes AFTER you sent your patches, so you can stop now and fix the same issues for all your future and your team's future Mahua patches. Best regards, Krzysztof
© 2016 - 2026 Red Hat, Inc.