2023-09-25 21:29:23

by Rob Herring (Arm)

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Rob Herring <[email protected]>
---
.../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


2023-09-26 02:44:58

by Fabio Estevam

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

Hi Rob,

On Mon, Sep 25, 2023 at 6:26 PM Rob Herring <[email protected]> wrote:
>
> A bus schema based on simple-pm-bus shouldn't define how may 'reg' entries

s/may/many

2023-09-26 13:14:18

by Conor Dooley

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

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 <[email protected]>

Acked-by: Conor Dooley <[email protected]>

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
>


Attachments:
(No filename) (1.07 kB)
signature.asc (235.00 B)
Download all attachments

2023-09-27 06:46:33

by Liu Ying

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

On Tuesday, September 26, 2023 5:27 AM, Rob Herring <[email protected]> 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 <[email protected]>
> ---
> .../bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml | 3 ---
> 1 file changed, 3 deletions(-)

Reviewed-by: Liu Ying <[email protected]>

2023-10-06 18:53:27

by Rob Herring (Arm)

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


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 <[email protected]>
> ---
> .../bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml | 3 ---
> 1 file changed, 3 deletions(-)
>

Applied, thanks!