* [PATCH v3 1/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type
@ 2024-07-01 22:16 Frank Li
2024-07-03 17:27 ` Rob Herring
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Frank Li @ 2024-07-01 22:16 UTC (permalink / raw)
To: Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring,
Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley,
open list:PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
Cc: imx
fsl,pcie-scfg actually need an argument when there are more than one PCIe
instances. Change it to phandle-array and use items to describe each field
means.
Fix below warning.
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Change form v2 to v3
- remove minItems because all dts use one argument.
Change from v1 to v2
- update commit message.
---
.../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml b/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml
index 793986c5af7ff..741b96defcc95 100644
--- a/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml
+++ b/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml
@@ -43,10 +43,15 @@ properties:
- const: config
fsl,pcie-scfg:
- $ref: /schemas/types.yaml#/definitions/phandle
+ $ref: /schemas/types.yaml#/definitions/phandle-array
description: A phandle to the SCFG device node. The second entry is the
physical PCIe controller index starting from '0'. This is used to get
SCFG PEXN registers.
+ items:
+ items:
+ - description: A phandle to the SCFG device node
+ - description: PCIe controller index starting from '0'
+ maxItems: 1
big-endian:
$ref: /schemas/types.yaml#/definitions/flag
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v3 1/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type
2024-07-01 22:16 [PATCH v3 1/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type Frank Li
@ 2024-07-03 17:27 ` Rob Herring
2024-08-22 17:05 ` Frank Li
2024-08-12 16:33 ` Frank Li
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Rob Herring @ 2024-07-03 17:27 UTC (permalink / raw)
To: Frank Li
Cc: Lorenzo Pieralisi, Krzysztof Wilczyński, Bjorn Helgaas,
Krzysztof Kozlowski, Conor Dooley,
open list:PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
On Mon, Jul 1, 2024 at 4:16 PM Frank Li <Frank.Li@nxp.com> wrote:
>
> fsl,pcie-scfg actually need an argument when there are more than one PCIe
> instances. Change it to phandle-array and use items to describe each field
> means.
>
> Fix below warning.
>
> arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
> from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> Change form v2 to v3
> - remove minItems because all dts use one argument.
> Change from v1 to v2
> - update commit message.
> ---
> .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 1/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type
2024-07-01 22:16 [PATCH v3 1/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type Frank Li
2024-07-03 17:27 ` Rob Herring
@ 2024-08-12 16:33 ` Frank Li
2024-08-26 16:05 ` Rob Herring (Arm)
2024-09-04 15:03 ` Krzysztof Wilczyński
3 siblings, 0 replies; 7+ messages in thread
From: Frank Li @ 2024-08-12 16:33 UTC (permalink / raw)
To: Lorenzo Pieralisi, Krzysztof Wilczyński, Rob Herring,
Bjorn Helgaas, Krzysztof Kozlowski, Conor Dooley,
open list:PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
Cc: imx
On Mon, Jul 01, 2024 at 06:16:12PM -0400, Frank Li wrote:
> fsl,pcie-scfg actually need an argument when there are more than one PCIe
> instances. Change it to phandle-array and use items to describe each field
> means.
>
> Fix below warning.
>
> arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
> from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
Bjorn and Krzysztof Wilczyński:
Can you take care this patch? Rob already acked.
Frank
> Change form v2 to v3
> - remove minItems because all dts use one argument.
> Change from v1 to v2
> - update commit message.
> ---
> .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml b/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml
> index 793986c5af7ff..741b96defcc95 100644
> --- a/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml
> +++ b/Documentation/devicetree/bindings/pci/fsl,layerscape-pcie.yaml
> @@ -43,10 +43,15 @@ properties:
> - const: config
>
> fsl,pcie-scfg:
> - $ref: /schemas/types.yaml#/definitions/phandle
> + $ref: /schemas/types.yaml#/definitions/phandle-array
> description: A phandle to the SCFG device node. The second entry is the
> physical PCIe controller index starting from '0'. This is used to get
> SCFG PEXN registers.
> + items:
> + items:
> + - description: A phandle to the SCFG device node
> + - description: PCIe controller index starting from '0'
> + maxItems: 1
>
> big-endian:
> $ref: /schemas/types.yaml#/definitions/flag
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 1/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type
2024-07-03 17:27 ` Rob Herring
@ 2024-08-22 17:05 ` Frank Li
0 siblings, 0 replies; 7+ messages in thread
From: Frank Li @ 2024-08-22 17:05 UTC (permalink / raw)
To: Krzysztof Wilczyński <kw@linux.com>;Bjorn Helgaas
Cc: Lorenzo Pieralisi, Krzysztof Wilczyński, Bjorn Helgaas,
Krzysztof Kozlowski, Conor Dooley,
open list:PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
On Wed, Jul 03, 2024 at 11:27:21AM -0600, Rob Herring wrote:
> On Mon, Jul 1, 2024 at 4:16 PM Frank Li <Frank.Li@nxp.com> wrote:
> >
> > fsl,pcie-scfg actually need an argument when there are more than one PCIe
> > instances. Change it to phandle-array and use items to describe each field
> > means.
> >
> > Fix below warning.
> >
> > arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
> > from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#
> >
> > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > ---
> > Change form v2 to v3
> > - remove minItems because all dts use one argument.
> > Change from v1 to v2
> > - update commit message.
> > ---
> > .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 7 ++++++-
> > 1 file changed, 6 insertions(+), 1 deletion(-)
>
> Reviewed-by: Rob Herring <robh@kernel.org>
Krzysztof Wilczyński:
can you help care about this patch, rob already acked.
Frank
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 1/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type
2024-07-01 22:16 [PATCH v3 1/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type Frank Li
2024-07-03 17:27 ` Rob Herring
2024-08-12 16:33 ` Frank Li
@ 2024-08-26 16:05 ` Rob Herring (Arm)
2024-09-04 15:12 ` Frank Li
2024-09-04 15:03 ` Krzysztof Wilczyński
3 siblings, 1 reply; 7+ messages in thread
From: Rob Herring (Arm) @ 2024-08-26 16:05 UTC (permalink / raw)
To: Frank Li
Cc: Krzysztof Kozlowski, Krzysztof Wilczyński, linux-pci,
devicetree, imx, Lorenzo Pieralisi, Conor Dooley, linux-kernel,
Bjorn Helgaas
On Mon, 01 Jul 2024 18:16:12 -0400, Frank Li wrote:
> fsl,pcie-scfg actually need an argument when there are more than one PCIe
> instances. Change it to phandle-array and use items to describe each field
> means.
>
> Fix below warning.
>
> arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
> from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> Change form v2 to v3
> - remove minItems because all dts use one argument.
> Change from v1 to v2
> - update commit message.
> ---
> .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
It's been 2 months and no response to multiple pings, so I applied it.
Rob
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 1/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type
2024-07-01 22:16 [PATCH v3 1/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type Frank Li
` (2 preceding siblings ...)
2024-08-26 16:05 ` Rob Herring (Arm)
@ 2024-09-04 15:03 ` Krzysztof Wilczyński
3 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Wilczyński @ 2024-09-04 15:03 UTC (permalink / raw)
To: Frank Li
Cc: Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas,
Krzysztof Kozlowski, Conor Dooley,
open list:PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
Hello,
> fsl,pcie-scfg actually need an argument when there are more than one PCIe
> instances. Change it to phandle-array and use items to describe each field
> means.
>
> Fix below warning.
>
> arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
> from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#
Applied to dt-bindings, thank you!
[1/1] dt-bindings: PCI: layerscape-pci: Change property 'fsl,pcie-scfg' type
https://git.kernel.org/pci/pci/c/f66b63ef10d6
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 1/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type
2024-08-26 16:05 ` Rob Herring (Arm)
@ 2024-09-04 15:12 ` Frank Li
0 siblings, 0 replies; 7+ messages in thread
From: Frank Li @ 2024-09-04 15:12 UTC (permalink / raw)
To: Rob Herring (Arm), Krzysztof Wilczyński
Cc: Krzysztof Kozlowski, Krzysztof Wilczyński, linux-pci,
devicetree, imx, Lorenzo Pieralisi, Conor Dooley, linux-kernel,
Bjorn Helgaas
On Mon, Aug 26, 2024 at 11:05:58AM -0500, Rob Herring (Arm) wrote:
>
> On Mon, 01 Jul 2024 18:16:12 -0400, Frank Li wrote:
> > fsl,pcie-scfg actually need an argument when there are more than one PCIe
> > instances. Change it to phandle-array and use items to describe each field
> > means.
> >
> > Fix below warning.
> >
> > arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dtb: pcie@3400000: fsl,pcie-scfg:0: [22, 0] is too long
> > from schema $id: http://devicetree.org/schemas/pci/fsl,layerscape-pcie.yaml#
> >
> > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > ---
> > Change form v2 to v3
> > - remove minItems because all dts use one argument.
> > Change from v1 to v2
> > - update commit message.
> > ---
> > .../devicetree/bindings/pci/fsl,layerscape-pcie.yaml | 7 ++++++-
> > 1 file changed, 6 insertions(+), 1 deletion(-)
> >
>
> It's been 2 months and no response to multiple pings, so I applied it.
Krzysztof Wilczyński:
Rob said he already picked this patch. I am not sure if cause
conflict if you also picked.
https://lore.kernel.org/linux-pci/20240904150338.GD3032973@rocinante/T/#t
" Applied to dt-bindings, thank you!
[1/1] dt-bindings: PCI: layerscape-pci: Change property 'fsl,pcie-scfg' type
https://git.kernel.org/pci/pci/c/f66b63ef10d6
Krzysztof"
Frank
>
> Rob
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-09-04 15:12 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-01 22:16 [PATCH v3 1/1] dt-bindings: PCI: layerscape-pci: Fix property 'fsl,pcie-scfg' type Frank Li
2024-07-03 17:27 ` Rob Herring
2024-08-22 17:05 ` Frank Li
2024-08-12 16:33 ` Frank Li
2024-08-26 16:05 ` Rob Herring (Arm)
2024-09-04 15:12 ` Frank Li
2024-09-04 15:03 ` Krzysztof Wilczyński
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox