Skip to contentSkip to conversation

dt-bindings: soc: imx: add fsl,aipi-bus and fsl,emi-bus

PATCH Superseded Frank Li 2 participants 4 messages Feb 11 – Feb 13

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Frank Li

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: soc: imx: add fsl,aipi-bus and fsl,emi-bus

Add fsl,aipi-bus and fsl,emi-bus for i.MX1, i.MX2*.

---
 Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml +4 -0
index 00bbde203f598..4808065fc9115 100644
@@ -26,8 +26,10 @@ select:
     compatible:
       contains:
         enum:
+          - fsl,aipi-bus
           - fsl,aips
           - fsl,emi
+          - fsl,emi-bus
           - fsl,spba-bus
   required:
     - compatible
@@ -39,8 +41,10 @@ properties:
   compatible:
     items:
       - enum:
+          - fsl,aipi-bus
           - fsl,aips
           - fsl,emi
+          - fsl,emi-bus
           - fsl,spba-bus
       - const: simple-bus
 
Signature · 1 line
2.43.0
#1 lore raw
Quoted 23 lines · Frank Li

Add fsl,aipi-bus and fsl,emi-bus for i.MX1, i.MX2*.

---
 Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml +2 -0
index 00bbde203f598..4808065fc9115 100644
@@ -26,8 +26,10 @@ select:
     compatible:
       contains:
         enum:
+          - fsl,aipi-bus
           - fsl,aips
           - fsl,emi
+          - fsl,emi-bus
           - fsl,spba-bus
   required:
     - compatible

Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml properties: · line 47

Quoted 7 lines
Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml +2 -0
@@ -39,8 +41,10 @@ properties:
   compatible:
     items:
       - enum:
+          - fsl,aipi-bus
           - fsl,aips
           - fsl,emi
+          - fsl,emi-bus

Why exactly? There is already emi, although not in my next, so don't do it per one compatible.

https://lore.kernel.org/all/[email protected]/

Quoted 6 lines
Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml +0 -0
           - fsl,spba-bus
       - const: simple-bus
 
Signature · 1 line
2.43.0
author maintainer
#2 lore raw
Quoted 35 lines · Krzysztof Kozlowski
Quoted 23 lines · Frank Li

Add fsl,aipi-bus and fsl,emi-bus for i.MX1, i.MX2*.

---
 Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml +2 -0
index 00bbde203f598..4808065fc9115 100644
@@ -26,8 +26,10 @@ select:
     compatible:
       contains:
         enum:
+          - fsl,aipi-bus
           - fsl,aips
           - fsl,emi
+          - fsl,emi-bus
           - fsl,spba-bus
   required:
     - compatible

Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml properties: · line 47

Quoted 7 lines
Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml +2 -0
@@ -39,8 +41,10 @@ properties:
   compatible:
     items:
       - enum:
+          - fsl,aipi-bus
           - fsl,aips
           - fsl,emi
+          - fsl,emi-bus

Why exactly? There is already emi, although not in my next, so don't do it per one compatible.

Quoted 1 line

https://lore.kernel.org/all/[email protected]/

It is really old chips. some mx3/5 use fsl,emi. but imx2 use fsl,emi-bus. it is not used in current kernel source. Consider it is really old, over 20 years, Just allow it to avoid CHECK_DTBS warning.

Frank

Quoted 7 lines
Quoted 7 lines
Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml +0 -1
           - fsl,spba-bus
       - const: simple-bus
 
--

2.43.0

#3 lore raw
Quoted 36 lines · Frank Li
Quoted 35 lines · Krzysztof Kozlowski
Quoted 23 lines · Frank Li

Add fsl,aipi-bus and fsl,emi-bus for i.MX1, i.MX2*.

---
 Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml +2 -0
index 00bbde203f598..4808065fc9115 100644
@@ -26,8 +26,10 @@ select:
     compatible:
       contains:
         enum:
+          - fsl,aipi-bus
           - fsl,aips
           - fsl,emi
+          - fsl,emi-bus
           - fsl,spba-bus
   required:
     - compatible

Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml properties: · line 47

Quoted 7 lines
Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml +2 -0
@@ -39,8 +41,10 @@ properties:
   compatible:
     items:
       - enum:
+          - fsl,aipi-bus
           - fsl,aips
           - fsl,emi
+          - fsl,emi-bus

Why exactly? There is already emi, although not in my next, so don't do it per one compatible.

Quoted 5 lines
Quoted 1 line

https://lore.kernel.org/all/[email protected]/

It is really old chips. some mx3/5 use fsl,emi. but imx2 use fsl,emi-bus. it is not used in current kernel source. Consider it is really old, over 20 years, Just allow it to avoid CHECK_DTBS warning.

So mention in the commit msg that this is for existing old DTS. I understand the list will not grow and compatibles will not be used in any new designs, so it's fine.

Best regards,
Krzysztof