* [PATCH] dt-bindings: PCI: qcom-ep: Fix PERST register description
@ 2022-10-18 9:31 Johan Hovold
2022-10-18 13:04 ` Krzysztof Kozlowski
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Johan Hovold @ 2022-10-18 9:31 UTC (permalink / raw)
To: Manivannan Sadhasivam, Lorenzo Pieralisi
Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Bjorn Helgaas,
Rob Herring, Krzysztof Kozlowski, linux-arm-msm, linux-pci,
devicetree, linux-kernel, Johan Hovold
The 'qcom,perst-regs' property holds a single phandle array with the
phandle of the TCSR syscon and offsets of the two PERST registers, but
the current schema does not capture this.
Update the binding to describe the single phandle array and its three
elements.
Fixes: 31c9ef002580 ("dt-bindings: PCI: Add Qualcomm PCIe Endpoint controller")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
.../devicetree/bindings/pci/qcom,pcie-ep.yaml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
index 977c976ea799..7574291646ad 100644
--- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
+++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
@@ -42,13 +42,13 @@ properties:
maxItems: 8
qcom,perst-regs:
- description: Reference to a syscon representing TCSR followed by the two
- offsets within syscon for Perst enable and Perst separation
- enable registers
+ description: PERST TCSR registers
$ref: "/schemas/types.yaml#/definitions/phandle-array"
items:
- minItems: 3
- maxItems: 3
+ - items:
+ - description: phandle of TCSR syscon
+ - description: offset of PERST Enable register
+ - description: offset of PERST Separation Enable register
interrupts:
items:
--
2.37.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: PCI: qcom-ep: Fix PERST register description
2022-10-18 9:31 [PATCH] dt-bindings: PCI: qcom-ep: Fix PERST register description Johan Hovold
@ 2022-10-18 13:04 ` Krzysztof Kozlowski
2022-11-30 7:04 ` Johan Hovold
2022-11-30 18:02 ` Manivannan Sadhasivam
2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-18 13:04 UTC (permalink / raw)
To: Johan Hovold, Manivannan Sadhasivam, Lorenzo Pieralisi
Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Bjorn Helgaas,
Rob Herring, Krzysztof Kozlowski, linux-arm-msm, linux-pci,
devicetree, linux-kernel
On 18/10/2022 05:31, Johan Hovold wrote:
> The 'qcom,perst-regs' property holds a single phandle array with the
> phandle of the TCSR syscon and offsets of the two PERST registers, but
> the current schema does not capture this.
>
> Update the binding to describe the single phandle array and its three
> elements.
>
> Fixes: 31c9ef002580 ("dt-bindings: PCI: Add Qualcomm PCIe Endpoint controller")
It's not necessarily a fix, the original code was correct, just this one
is better. :)
Anyway:
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> ---
> .../devicetree/bindings/pci/qcom,pcie-ep.yaml | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: PCI: qcom-ep: Fix PERST register description
2022-10-18 9:31 [PATCH] dt-bindings: PCI: qcom-ep: Fix PERST register description Johan Hovold
2022-10-18 13:04 ` Krzysztof Kozlowski
@ 2022-11-30 7:04 ` Johan Hovold
2022-11-30 18:02 ` Manivannan Sadhasivam
2 siblings, 0 replies; 4+ messages in thread
From: Johan Hovold @ 2022-11-30 7:04 UTC (permalink / raw)
To: Lorenzo Pieralisi
Cc: Manivannan Sadhasivam, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Bjorn Helgaas, Rob Herring, Krzysztof Kozlowski, linux-arm-msm,
linux-pci, devicetree, linux-kernel
On Tue, Oct 18, 2022 at 11:31:15AM +0200, Johan Hovold wrote:
> The 'qcom,perst-regs' property holds a single phandle array with the
> phandle of the TCSR syscon and offsets of the two PERST registers, but
> the current schema does not capture this.
>
> Update the binding to describe the single phandle array and its three
> elements.
>
> Fixes: 31c9ef002580 ("dt-bindings: PCI: Add Qualcomm PCIe Endpoint controller")
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> ---
> .../devicetree/bindings/pci/qcom,pcie-ep.yaml | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> index 977c976ea799..7574291646ad 100644
> --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> @@ -42,13 +42,13 @@ properties:
> maxItems: 8
>
> qcom,perst-regs:
> - description: Reference to a syscon representing TCSR followed by the two
> - offsets within syscon for Perst enable and Perst separation
> - enable registers
> + description: PERST TCSR registers
> $ref: "/schemas/types.yaml#/definitions/phandle-array"
> items:
> - minItems: 3
> - maxItems: 3
> + - items:
> + - description: phandle of TCSR syscon
> + - description: offset of PERST Enable register
> + - description: offset of PERST Separation Enable register
>
> interrupts:
> items:
Lorenzo, it seems this one has not yet been picked up so sending a
reminder.
Johan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: PCI: qcom-ep: Fix PERST register description
2022-10-18 9:31 [PATCH] dt-bindings: PCI: qcom-ep: Fix PERST register description Johan Hovold
2022-10-18 13:04 ` Krzysztof Kozlowski
2022-11-30 7:04 ` Johan Hovold
@ 2022-11-30 18:02 ` Manivannan Sadhasivam
2 siblings, 0 replies; 4+ messages in thread
From: Manivannan Sadhasivam @ 2022-11-30 18:02 UTC (permalink / raw)
To: Johan Hovold
Cc: Lorenzo Pieralisi, Andy Gross, Bjorn Andersson, Konrad Dybcio,
Bjorn Helgaas, Rob Herring, Krzysztof Kozlowski, linux-arm-msm,
linux-pci, devicetree, linux-kernel
On Tue, Oct 18, 2022 at 11:31:15AM +0200, Johan Hovold wrote:
> The 'qcom,perst-regs' property holds a single phandle array with the
> phandle of the TCSR syscon and offsets of the two PERST registers, but
> the current schema does not capture this.
>
> Update the binding to describe the single phandle array and its three
> elements.
>
> Fixes: 31c9ef002580 ("dt-bindings: PCI: Add Qualcomm PCIe Endpoint controller")
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Acked-by: Manivannan Sadhasivam <mani@kernel.org>
Thanks,
Mani
> ---
> .../devicetree/bindings/pci/qcom,pcie-ep.yaml | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> index 977c976ea799..7574291646ad 100644
> --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> @@ -42,13 +42,13 @@ properties:
> maxItems: 8
>
> qcom,perst-regs:
> - description: Reference to a syscon representing TCSR followed by the two
> - offsets within syscon for Perst enable and Perst separation
> - enable registers
> + description: PERST TCSR registers
> $ref: "/schemas/types.yaml#/definitions/phandle-array"
> items:
> - minItems: 3
> - maxItems: 3
> + - items:
> + - description: phandle of TCSR syscon
> + - description: offset of PERST Enable register
> + - description: offset of PERST Separation Enable register
>
> interrupts:
> items:
> --
> 2.37.3
>
--
மணிவண்ணன் சதாசிவம்
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-30 18:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-18 9:31 [PATCH] dt-bindings: PCI: qcom-ep: Fix PERST register description Johan Hovold
2022-10-18 13:04 ` Krzysztof Kozlowski
2022-11-30 7:04 ` Johan Hovold
2022-11-30 18:02 ` Manivannan Sadhasivam
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).