diff mbox series

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

Message ID 20230925212639.1975002-1-robh@kernel.org (mailing list archive)
State New, archived
Headers show
Series dt-bindings: bus: fsl,imx8qxp-pixel-link-msi-bus: Drop child 'reg' property | expand

Commit Message

Rob Herring (Arm) Sept. 25, 2023, 9:26 p.m. UTC
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(-)

Comments

Fabio Estevam Sept. 25, 2023, 9:32 p.m. UTC | #1
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
Conor Dooley Sept. 26, 2023, 1 p.m. UTC | #2
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
>
Liu Ying Sept. 27, 2023, 2:06 a.m. UTC | #3
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>
Rob Herring (Arm) Oct. 6, 2023, 6:52 p.m. UTC | #4
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!
diff mbox series

Patch

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