Thread (12 messages) read the whole thread 12 messages, 3 authors, 2025-08-01

Re: [PATCH v2 1/4] dt-bindings: thermal: qoriq: Update compatible string for imx93

From: Frank Li <Frank.li@nxp.com>
Date: 2025-08-01 14:25:18
Also in: imx, linux-pm

On Fri, Aug 01, 2025 at 04:11:16PM +0800, Jacky Bai wrote:
quoted hunk ↗ jump to hunk
The TMU used on i.MX93 has some slight differences and bugs compared with
the one used on QorIQ platforam even the basic function is the same. Add
i.MX93 specific compatible string and keep the fallback ability.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
---
 - v2 changes:
  - keep the enum
  - refine the commit log to use i.MX93 and QorIQ name
---
 .../devicetree/bindings/thermal/qoriq-thermal.yaml     | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml b/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml
index aa756dae512a..6d8766c6a58d 100644
--- a/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml
@@ -22,9 +22,13 @@ properties:
             Value           Device
             ----------      -----
             0x01900102      T1040
-    enum:
-      - fsl,qoriq-tmu
-      - fsl,imx8mq-tmu
+    oneOf:
+      - enum:
+          - fsl,qoriq-tmu
+          - fsl,imx8mq-tmu
+      - items:
+          - const: fsl,imx93-tmu
+          - const: fsl,qoriq-tmu
look like previous fsl,imx93-tmu have not define, which new compatible
string, and you also add it in driver, needn't fail back to fsl,qoriq-tmu

enum
  - fsl,imx8mq-tmu
  - fsl,imx93-tmu
  - fsl,qoriq-tmu

Frank
   reg:
     maxItems: 1
--
2.34.1
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help