Skip to contentSkip to conversation

dt-bindings: bus: fsl,imx8qxp-pixel-link-msi-bus: Drop child 'reg' property

PATCH Applied Rob Herring 4 participants 5 messages Sep 25, 2023 – Oct 6, 2023

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: bus: fsl,imx8qxp-pixel-link-msi-bus: Drop child 'reg' property

A bus schema based on simple-pm-bus shouldn't define how may 'reg' entries a child device has. That is a property of the device. Drop the 'reg' entry.

---
 .../bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml           | 3 ---
 1 file changed, 3 deletions(-)
Documentation/devicetree/bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml +0 -3
index b568d0ce438d..7e1ffc551046 100644
@@ -73,9 +73,6 @@ patternProperties:
   "^.*@[0-9a-f]+$":
     description: Devices attached to the bus
     type: object
-    properties:
-      reg:
-        maxItems: 1
 
     required:
       - reg
Signature · 1 line
2.40.1
reviewer
#1 lore raw

Hi Rob,

Quoted 2 lines · Rob Herring

A bus schema based on simple-pm-bus shouldn't define how may 'reg' entries

s/may/many

Acked-by on v1 1/1
#2 lore raw
In reply to Rob Herring
Quoted 4 lines · Rob Herring

A bus schema based on simple-pm-bus shouldn't define how may 'reg' entries a child device has. That is a property of the device. Drop the 'reg' entry.

Thanks,
Conor.

Quoted 21 lines
---
 .../bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml           | 3 ---
 1 file changed, 3 deletions(-)
Documentation/devicetree/bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml +0 -3
index b568d0ce438d..7e1ffc551046 100644
@@ -73,9 +73,6 @@ patternProperties:
   "^.*@[0-9a-f]+$":
     description: Devices attached to the bus
     type: object
-    properties:
-      reg:
-        maxItems: 1
 
     required:
       - reg
Signature · 1 line
2.40.1
author maintainer Applied
#4 lore raw
In reply to Rob Herring
Quoted 8 lines · Rob Herring

A bus schema based on simple-pm-bus shouldn't define how may 'reg' entries a child device has. That is a property of the device. Drop the 'reg' entry.

---
 .../bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml           | 3 ---
 1 file changed, 3 deletions(-)

Applied, thanks!