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

Rob Herring posted 1 patch 2 years, 4 months ago
.../bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml           | 3 ---
1 file changed, 3 deletions(-)
[PATCH] dt-bindings: bus: fsl,imx8qxp-pixel-link-msi-bus: Drop child 'reg' property
Posted by Rob Herring 2 years, 4 months ago
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.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml           | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml b/Documentation/devicetree/bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml
index b568d0ce438d..7e1ffc551046 100644
--- a/Documentation/devicetree/bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml
+++ b/Documentation/devicetree/bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml
@@ -73,9 +73,6 @@ patternProperties:
   "^.*@[0-9a-f]+$":
     description: Devices attached to the bus
     type: object
-    properties:
-      reg:
-        maxItems: 1
 
     required:
       - reg
-- 
2.40.1
Re: [PATCH] dt-bindings: bus: fsl,imx8qxp-pixel-link-msi-bus: Drop child 'reg' property
Posted by Rob Herring 2 years, 4 months ago
On Mon, 25 Sep 2023 16:26:34 -0500, Rob Herring wrote:
> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  .../bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml           | 3 ---
>  1 file changed, 3 deletions(-)
> 

Applied, thanks!
RE: [PATCH] dt-bindings: bus: fsl,imx8qxp-pixel-link-msi-bus: Drop child 'reg' property
Posted by Ying Liu 2 years, 4 months ago
On Tuesday, September 26, 2023 5:27 AM, Rob Herring <robh@kernel.org> wrote:
> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  .../bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml           | 3 ---
>  1 file changed, 3 deletions(-)

Reviewed-by: Liu Ying <victor.liu@nxp.com>
Re: [PATCH] dt-bindings: bus: fsl,imx8qxp-pixel-link-msi-bus: Drop child 'reg' property
Posted by Conor Dooley 2 years, 4 months ago
On Mon, Sep 25, 2023 at 04:26:34PM -0500, Rob Herring wrote:
> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

> ---
>  .../bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml           | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml b/Documentation/devicetree/bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml
> index b568d0ce438d..7e1ffc551046 100644
> --- a/Documentation/devicetree/bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml
> +++ b/Documentation/devicetree/bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml
> @@ -73,9 +73,6 @@ patternProperties:
>    "^.*@[0-9a-f]+$":
>      description: Devices attached to the bus
>      type: object
> -    properties:
> -      reg:
> -        maxItems: 1
>  
>      required:
>        - reg
> -- 
> 2.40.1
> 
Re: [PATCH] dt-bindings: bus: fsl,imx8qxp-pixel-link-msi-bus: Drop child 'reg' property
Posted by Fabio Estevam 2 years, 4 months ago
Hi Rob,

On Mon, Sep 25, 2023 at 6:26 PM Rob Herring <robh@kernel.org> wrote:
>
> A bus schema based on simple-pm-bus shouldn't define how may 'reg' entries

s/may/many