* [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs
@ 2022-09-11 13:55 Krzysztof Kozlowski
2022-09-11 14:14 ` Krzysztof Kozlowski
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-11 13:55 UTC (permalink / raw)
To: Manivannan Sadhasivam, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Bjorn Helgaas, Rob Herring, Krzysztof Kozlowski, linux-pci,
linux-arm-msm, devicetree, linux-kernel
Cc: Manivannan Sadhasivam, Krzysztof Kozlowski
qcom,perst-regs is an phandle array of one item with a phandle and its
arguments.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
index 3d23599e5e91..077e002b07d3 100644
--- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
+++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
@@ -60,8 +60,10 @@ properties:
enable registers
$ref: "/schemas/types.yaml#/definitions/phandle-array"
items:
- minItems: 3
- maxItems: 3
+ - items:
+ - description: Syscon to TCSR system registers
+ - description: Perst enable offset
+ - description: Perst separateion enable offset
interrupts:
items:
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs
2022-09-11 13:55 [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs Krzysztof Kozlowski
@ 2022-09-11 14:14 ` Krzysztof Kozlowski
2022-09-13 15:20 ` Rob Herring
2022-09-14 12:25 ` Manivannan Sadhasivam
2022-09-16 18:48 ` Rob Herring
2 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-11 14:14 UTC (permalink / raw)
To: Manivannan Sadhasivam, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Bjorn Helgaas, Rob Herring, Krzysztof Kozlowski, linux-pci,
linux-arm-msm, devicetree, linux-kernel
Cc: Manivannan Sadhasivam
On 11/09/2022 15:55, Krzysztof Kozlowski wrote:
> qcom,perst-regs is an phandle array of one item with a phandle and its
> arguments.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> index 3d23599e5e91..077e002b07d3 100644
> --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> @@ -60,8 +60,10 @@ properties:
> enable registers
> $ref: "/schemas/types.yaml#/definitions/phandle-array"
> items:
> - minItems: 3
> - maxItems: 3
> + - items:
> + - description: Syscon to TCSR system registers
> + - description: Perst enable offset
> + - description: Perst separateion enable offset
Unfortunately this still complains:
qcom-sdx55-t55.dtb: pcie-ep@40000000: qcom,perst-regs:0: [28] is too short
where 28 is the phandle...
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs
2022-09-11 14:14 ` Krzysztof Kozlowski
@ 2022-09-13 15:20 ` Rob Herring
2022-09-13 16:25 ` Krzysztof Kozlowski
0 siblings, 1 reply; 8+ messages in thread
From: Rob Herring @ 2022-09-13 15:20 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Manivannan Sadhasivam, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Bjorn Helgaas, Krzysztof Kozlowski, linux-pci, linux-arm-msm,
devicetree, linux-kernel, Manivannan Sadhasivam
On Sun, Sep 11, 2022 at 04:14:54PM +0200, Krzysztof Kozlowski wrote:
> On 11/09/2022 15:55, Krzysztof Kozlowski wrote:
> > qcom,perst-regs is an phandle array of one item with a phandle and its
> > arguments.
> >
> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > ---
> > Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 ++++--
> > 1 file changed, 4 insertions(+), 2 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> > index 3d23599e5e91..077e002b07d3 100644
> > --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> > @@ -60,8 +60,10 @@ properties:
> > enable registers
> > $ref: "/schemas/types.yaml#/definitions/phandle-array"
> > items:
> > - minItems: 3
> > - maxItems: 3
> > + - items:
> > + - description: Syscon to TCSR system registers
> > + - description: Perst enable offset
> > + - description: Perst separateion enable offset
>
> Unfortunately this still complains:
>
> qcom-sdx55-t55.dtb: pcie-ep@40000000: qcom,perst-regs:0: [28] is too short
>
>
> where 28 is the phandle...
Meaning the dt is wrong or there's a tooling issue?
Rob
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs
2022-09-13 15:20 ` Rob Herring
@ 2022-09-13 16:25 ` Krzysztof Kozlowski
2022-09-14 1:47 ` Rob Herring
0 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-13 16:25 UTC (permalink / raw)
To: Rob Herring
Cc: Manivannan Sadhasivam, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Bjorn Helgaas, Krzysztof Kozlowski, linux-pci, linux-arm-msm,
devicetree, linux-kernel, Manivannan Sadhasivam
On 13/09/2022 17:20, Rob Herring wrote:
> On Sun, Sep 11, 2022 at 04:14:54PM +0200, Krzysztof Kozlowski wrote:
>> On 11/09/2022 15:55, Krzysztof Kozlowski wrote:
>>> qcom,perst-regs is an phandle array of one item with a phandle and its
>>> arguments.
>>>
>>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>> ---
>>> Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 ++++--
>>> 1 file changed, 4 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
>>> index 3d23599e5e91..077e002b07d3 100644
>>> --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
>>> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
>>> @@ -60,8 +60,10 @@ properties:
>>> enable registers
>>> $ref: "/schemas/types.yaml#/definitions/phandle-array"
>>> items:
>>> - minItems: 3
>>> - maxItems: 3
>>> + - items:
>>> + - description: Syscon to TCSR system registers
>>> + - description: Perst enable offset
>>> + - description: Perst separateion enable offset
>>
>> Unfortunately this still complains:
>>
>> qcom-sdx55-t55.dtb: pcie-ep@40000000: qcom,perst-regs:0: [28] is too short
>>
>>
>> where 28 is the phandle...
>
> Meaning the dt is wrong or there's a tooling issue?
I think tooling issue. I looked at this many times and code (schema and
DTS) seems to be correct, but tool doesn't like it.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs
2022-09-13 16:25 ` Krzysztof Kozlowski
@ 2022-09-14 1:47 ` Rob Herring
2022-09-16 18:47 ` Rob Herring
0 siblings, 1 reply; 8+ messages in thread
From: Rob Herring @ 2022-09-14 1:47 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Manivannan Sadhasivam, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Bjorn Helgaas, Krzysztof Kozlowski, linux-pci, linux-arm-msm,
devicetree, linux-kernel, Manivannan Sadhasivam
On Tue, Sep 13, 2022 at 06:25:49PM +0200, Krzysztof Kozlowski wrote:
> On 13/09/2022 17:20, Rob Herring wrote:
> > On Sun, Sep 11, 2022 at 04:14:54PM +0200, Krzysztof Kozlowski wrote:
> >> On 11/09/2022 15:55, Krzysztof Kozlowski wrote:
> >>> qcom,perst-regs is an phandle array of one item with a phandle and its
> >>> arguments.
> >>>
> >>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> >>> ---
> >>> Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 ++++--
> >>> 1 file changed, 4 insertions(+), 2 deletions(-)
> >>>
> >>> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> >>> index 3d23599e5e91..077e002b07d3 100644
> >>> --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> >>> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> >>> @@ -60,8 +60,10 @@ properties:
> >>> enable registers
> >>> $ref: "/schemas/types.yaml#/definitions/phandle-array"
> >>> items:
> >>> - minItems: 3
> >>> - maxItems: 3
> >>> + - items:
> >>> + - description: Syscon to TCSR system registers
> >>> + - description: Perst enable offset
> >>> + - description: Perst separateion enable offset
> >>
> >> Unfortunately this still complains:
> >>
> >> qcom-sdx55-t55.dtb: pcie-ep@40000000: qcom,perst-regs:0: [28] is too short
> >>
> >>
> >> where 28 is the phandle...
> >
> > Meaning the dt is wrong or there's a tooling issue?
>
> I think tooling issue. I looked at this many times and code (schema and
> DTS) seems to be correct, but tool doesn't like it.
Okay, I found the issue. Will test it a bit more and apply it tomorrow.
Rob
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs
2022-09-11 13:55 [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs Krzysztof Kozlowski
2022-09-11 14:14 ` Krzysztof Kozlowski
@ 2022-09-14 12:25 ` Manivannan Sadhasivam
2022-09-16 18:48 ` Rob Herring
2 siblings, 0 replies; 8+ messages in thread
From: Manivannan Sadhasivam @ 2022-09-14 12:25 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Bjorn Helgaas,
Rob Herring, Krzysztof Kozlowski, linux-pci, linux-arm-msm,
devicetree, linux-kernel
On Sun, Sep 11, 2022 at 03:55:47PM +0200, Krzysztof Kozlowski wrote:
> qcom,perst-regs is an phandle array of one item with a phandle and its
> arguments.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Manivannan Sadhasivam <mani@kernel.org>
Thanks,
Mani
> ---
> Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> index 3d23599e5e91..077e002b07d3 100644
> --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> @@ -60,8 +60,10 @@ properties:
> enable registers
> $ref: "/schemas/types.yaml#/definitions/phandle-array"
> items:
> - minItems: 3
> - maxItems: 3
> + - items:
> + - description: Syscon to TCSR system registers
> + - description: Perst enable offset
> + - description: Perst separateion enable offset
>
> interrupts:
> items:
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs
2022-09-14 1:47 ` Rob Herring
@ 2022-09-16 18:47 ` Rob Herring
0 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-09-16 18:47 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Manivannan Sadhasivam, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Bjorn Helgaas, Krzysztof Kozlowski, linux-pci, linux-arm-msm,
devicetree, linux-kernel, Manivannan Sadhasivam
On Tue, Sep 13, 2022 at 08:47:01PM -0500, Rob Herring wrote:
> On Tue, Sep 13, 2022 at 06:25:49PM +0200, Krzysztof Kozlowski wrote:
> > On 13/09/2022 17:20, Rob Herring wrote:
> > > On Sun, Sep 11, 2022 at 04:14:54PM +0200, Krzysztof Kozlowski wrote:
> > >> On 11/09/2022 15:55, Krzysztof Kozlowski wrote:
> > >>> qcom,perst-regs is an phandle array of one item with a phandle and its
> > >>> arguments.
> > >>>
> > >>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > >>> ---
> > >>> Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 ++++--
> > >>> 1 file changed, 4 insertions(+), 2 deletions(-)
> > >>>
> > >>> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> > >>> index 3d23599e5e91..077e002b07d3 100644
> > >>> --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> > >>> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> > >>> @@ -60,8 +60,10 @@ properties:
> > >>> enable registers
> > >>> $ref: "/schemas/types.yaml#/definitions/phandle-array"
> > >>> items:
> > >>> - minItems: 3
> > >>> - maxItems: 3
> > >>> + - items:
> > >>> + - description: Syscon to TCSR system registers
> > >>> + - description: Perst enable offset
> > >>> + - description: Perst separateion enable offset
> > >>
> > >> Unfortunately this still complains:
> > >>
> > >> qcom-sdx55-t55.dtb: pcie-ep@40000000: qcom,perst-regs:0: [28] is too short
> > >>
> > >>
> > >> where 28 is the phandle...
> > >
> > > Meaning the dt is wrong or there's a tooling issue?
> >
> > I think tooling issue. I looked at this many times and code (schema and
> > DTS) seems to be correct, but tool doesn't like it.
>
> Okay, I found the issue. Will test it a bit more and apply it tomorrow.
This and some other cases are now fixed. There's a new release,
v2022.09.
Rob
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs
2022-09-11 13:55 [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs Krzysztof Kozlowski
2022-09-11 14:14 ` Krzysztof Kozlowski
2022-09-14 12:25 ` Manivannan Sadhasivam
@ 2022-09-16 18:48 ` Rob Herring
2 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2022-09-16 18:48 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Manivannan Sadhasivam, Krzysztof Kozlowski, linux-pci,
linux-kernel, linux-arm-msm, Bjorn Helgaas, Bjorn Andersson,
Manivannan Sadhasivam, Rob Herring, devicetree, Andy Gross,
Konrad Dybcio
On Sun, 11 Sep 2022 15:55:47 +0200, Krzysztof Kozlowski wrote:
> qcom,perst-regs is an phandle array of one item with a phandle and its
> arguments.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-09-16 18:48 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-11 13:55 [PATCH] dt-bindings: pci: qcom,pcie-ep: correct qcom,perst-regs Krzysztof Kozlowski
2022-09-11 14:14 ` Krzysztof Kozlowski
2022-09-13 15:20 ` Rob Herring
2022-09-13 16:25 ` Krzysztof Kozlowski
2022-09-14 1:47 ` Rob Herring
2022-09-16 18:47 ` Rob Herring
2022-09-14 12:25 ` Manivannan Sadhasivam
2022-09-16 18:48 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).