Thread (11 messages) 11 messages, 2 authors, 2024-10-01

Re: [PATCH v7 2/3] ASoC: dt-bindings: mt6358: Convert to DT Schema

From: Macpaul Lin <macpaul.lin@mediatek.com>
Date: 2024-10-01 07:50:22
Also in: linux-arm-kernel, linux-devicetree, linux-input, linux-leds, linux-mediatek, linux-pm, linux-rtc, linux-sound, lkml


On 10/1/24 15:05, Macpaul Lin wrote:
On 10/1/24 14:34, Krzysztof Kozlowski wrote:

[snip]
quoted
quoted
+description: |
+  The communication between MT6358 and SoC is through Mediatek PMIC 
wrapper.
+  For more detail, please visit Mediatek PMIC wrapper documentation.
+  Must be a child node of PMIC wrapper.
+
+properties:
+  compatible:
+    enum:
+      - mediatek,mt6366-sound
+      - mediatek,mt6358-sound
+    const: mediatek,mt6358-sound
This wasn't ever tested.
Hum, I have indeed tested it with linux-next/master branch.
Ran dt_binding_check with dtschema trunk with this single file
but didn't get any warning or errors.
'make dt_binding_check DT_SCHEMA_FILES=mt6358.yaml'

Could you please help to paste the error log for me?
If there are new errors, I need to check if there is any
environment issue.
I've both tested both of the following format pass dt_binding_check.
#1.
properties:
   compatible:
     items:
       - enum:
           - mediatek,mt6366-sound
           - mediatek,mt6358-sound
       - const: mediatek,mt6358-sound

#2.
properties:
   compatible:
     enum:
       - mediatek,mt6366-sound
       - mediatek,mt6358-sound
     const: mediatek,mt6358-sound
quoted
Do not send untested code, it's a waste of reviewers' time.

Best regards,
Krzysztof
Thanks
Macpaul Lin
Should I update it with format #1?

Thanks
Macpaul Lin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help