* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-07-23 15:13 [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again Johan Hovold
@ 2024-07-24 13:22 ` Krzysztof Kozlowski
2024-07-24 17:22 ` Dmitry Baryshkov
` (2 subsequent siblings)
3 siblings, 0 replies; 15+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-24 13:22 UTC (permalink / raw)
To: Johan Hovold, Bjorn Helgaas, Lorenzo Pieralisi,
Krzysztof Wilczyński
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Manivannan Sadhasivam, Abel Vesa, linux-arm-msm, linux-pci,
devicetree, linux-kernel
On 23/07/2024 17:13, Johan Hovold wrote:
> Commit 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to
> dedicated schema") incorrectly removed 'vddpe-3v3-supply' from the
> bindings, which results in DT checker warnings like:
>
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb: pcie@600000: Unevaluated properties are not allowed ('vddpe-3v3-supply' was unexpected)
> from schema $id: http://devicetree.org/schemas/pci/qcom,pcie.yaml#
>
> Note that this property has been part of the Qualcomm PCIe bindings
> since 2018 and would need to be deprecated rather than simply removed if
> there is a desire to replace it with 'vpcie3v3' which is used for some
> non-Qualcomm controllers.
>
> Fixes: 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to dedicated schema")
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Thanks. You could also mention in commit msg that Linux drivers for
msm8996, SM8[123456]50 and few others actually requested that supply. In
any case:
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-07-23 15:13 [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again Johan Hovold
2024-07-24 13:22 ` Krzysztof Kozlowski
@ 2024-07-24 17:22 ` Dmitry Baryshkov
2024-07-25 6:17 ` Johan Hovold
2024-08-22 9:07 ` Johan Hovold
2024-08-22 9:42 ` Manivannan Sadhasivam
3 siblings, 1 reply; 15+ messages in thread
From: Dmitry Baryshkov @ 2024-07-24 17:22 UTC (permalink / raw)
To: Johan Hovold
Cc: Bjorn Helgaas, Lorenzo Pieralisi, Krzysztof Wilczyński,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Manivannan Sadhasivam, Abel Vesa, linux-arm-msm, linux-pci,
devicetree, linux-kernel
On Tue, Jul 23, 2024 at 05:13:28PM GMT, Johan Hovold wrote:
> Commit 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to
> dedicated schema") incorrectly removed 'vddpe-3v3-supply' from the
> bindings, which results in DT checker warnings like:
>
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb: pcie@600000: Unevaluated properties are not allowed ('vddpe-3v3-supply' was unexpected)
> from schema $id: http://devicetree.org/schemas/pci/qcom,pcie.yaml#
>
> Note that this property has been part of the Qualcomm PCIe bindings
> since 2018 and would need to be deprecated rather than simply removed if
> there is a desire to replace it with 'vpcie3v3' which is used for some
> non-Qualcomm controllers.
I think Rob Herring suggested [1] adding the property to the root port
node rather than the host. If that suggestion still applies it might be
better to enable the deprecated propertly only for the hosts, which
already used it, and to define a new property at the root port.
[1] https://lore.kernel.org/lkml/20240604235806.GA1903493-robh@kernel.org/
>
> Fixes: 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to dedicated schema")
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> ---
> Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml | 3 +++
> Documentation/devicetree/bindings/pci/qcom,pcie-sc7280.yaml | 3 ---
> Documentation/devicetree/bindings/pci/qcom,pcie-sc8280xp.yaml | 3 ---
> Documentation/devicetree/bindings/pci/qcom,pcie.yaml | 3 +++
> 4 files changed, 6 insertions(+), 6 deletions(-)
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-07-24 17:22 ` Dmitry Baryshkov
@ 2024-07-25 6:17 ` Johan Hovold
2024-07-25 7:49 ` Dmitry Baryshkov
0 siblings, 1 reply; 15+ messages in thread
From: Johan Hovold @ 2024-07-25 6:17 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Johan Hovold, Bjorn Helgaas, Lorenzo Pieralisi,
Krzysztof Wilczyński, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Manivannan Sadhasivam, Abel Vesa,
linux-arm-msm, linux-pci, devicetree, linux-kernel
On Wed, Jul 24, 2024 at 08:22:54PM +0300, Dmitry Baryshkov wrote:
> On Tue, Jul 23, 2024 at 05:13:28PM GMT, Johan Hovold wrote:
> > Commit 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to
> > dedicated schema") incorrectly removed 'vddpe-3v3-supply' from the
> > bindings, which results in DT checker warnings like:
> >
> > arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb: pcie@600000: Unevaluated properties are not allowed ('vddpe-3v3-supply' was unexpected)
> > from schema $id: http://devicetree.org/schemas/pci/qcom,pcie.yaml#
> >
> > Note that this property has been part of the Qualcomm PCIe bindings
> > since 2018 and would need to be deprecated rather than simply removed if
> > there is a desire to replace it with 'vpcie3v3' which is used for some
> > non-Qualcomm controllers.
>
> I think Rob Herring suggested [1] adding the property to the root port
> node rather than the host. If that suggestion still applies it might be
> better to enable the deprecated propertly only for the hosts, which
> already used it, and to define a new property at the root port.
You seem to miss the point that this is just restoring status quo (and
that the property has not yet been deprecated).
I assume you've already read my reply to Rob's bot, but here it is for
reference for others:
Link: https://lore.kernel.org/lkml/Zp_LPixNnh-2Fy5N@hovoldconsulting.com/
Johan
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-07-25 6:17 ` Johan Hovold
@ 2024-07-25 7:49 ` Dmitry Baryshkov
2024-07-25 8:13 ` Johan Hovold
0 siblings, 1 reply; 15+ messages in thread
From: Dmitry Baryshkov @ 2024-07-25 7:49 UTC (permalink / raw)
To: Johan Hovold
Cc: Johan Hovold, Bjorn Helgaas, Lorenzo Pieralisi,
Krzysztof Wilczyński, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Manivannan Sadhasivam, Abel Vesa,
linux-arm-msm, linux-pci, devicetree, linux-kernel
On Thu, 25 Jul 2024 at 09:17, Johan Hovold <johan@kernel.org> wrote:
>
> On Wed, Jul 24, 2024 at 08:22:54PM +0300, Dmitry Baryshkov wrote:
> > On Tue, Jul 23, 2024 at 05:13:28PM GMT, Johan Hovold wrote:
> > > Commit 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to
> > > dedicated schema") incorrectly removed 'vddpe-3v3-supply' from the
> > > bindings, which results in DT checker warnings like:
> > >
> > > arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb: pcie@600000: Unevaluated properties are not allowed ('vddpe-3v3-supply' was unexpected)
> > > from schema $id: http://devicetree.org/schemas/pci/qcom,pcie.yaml#
> > >
> > > Note that this property has been part of the Qualcomm PCIe bindings
> > > since 2018 and would need to be deprecated rather than simply removed if
> > > there is a desire to replace it with 'vpcie3v3' which is used for some
> > > non-Qualcomm controllers.
> >
> > I think Rob Herring suggested [1] adding the property to the root port
> > node rather than the host. If that suggestion still applies it might be
> > better to enable the deprecated propertly only for the hosts, which
> > already used it, and to define a new property at the root port.
>
> You seem to miss the point that this is just restoring status quo (and
> that the property has not yet been deprecated).
You are restoring it for all platforms. However in my opinion it's
better to follow Rob's suggestion and to add new property to the
device where it actually belongs, rather than hacking up the PCIe host
device. More importantly with the arrival of the power sequencing
subsystem we can handle powering up PCIe devices properly.
> I assume you've already read my reply to Rob's bot, but here it is for
> reference for others:
>
> Link: https://lore.kernel.org/lkml/Zp_LPixNnh-2Fy5N@hovoldconsulting.com/
>
> Johan
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-07-25 7:49 ` Dmitry Baryshkov
@ 2024-07-25 8:13 ` Johan Hovold
2024-07-25 8:57 ` Dmitry Baryshkov
0 siblings, 1 reply; 15+ messages in thread
From: Johan Hovold @ 2024-07-25 8:13 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Johan Hovold, Bjorn Helgaas, Lorenzo Pieralisi,
Krzysztof Wilczyński, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Manivannan Sadhasivam, Abel Vesa,
linux-arm-msm, linux-pci, devicetree, linux-kernel
On Thu, Jul 25, 2024 at 10:49:41AM +0300, Dmitry Baryshkov wrote:
> On Thu, 25 Jul 2024 at 09:17, Johan Hovold <johan@kernel.org> wrote:
> > On Wed, Jul 24, 2024 at 08:22:54PM +0300, Dmitry Baryshkov wrote:
> > > On Tue, Jul 23, 2024 at 05:13:28PM GMT, Johan Hovold wrote:
> > > > Note that this property has been part of the Qualcomm PCIe bindings
> > > > since 2018 and would need to be deprecated rather than simply removed if
> > > > there is a desire to replace it with 'vpcie3v3' which is used for some
> > > > non-Qualcomm controllers.
> > >
> > > I think Rob Herring suggested [1] adding the property to the root port
> > > node rather than the host. If that suggestion still applies it might be
> > > better to enable the deprecated propertly only for the hosts, which
> > > already used it, and to define a new property at the root port.
> >
> > You seem to miss the point that this is just restoring status quo (and
> > that the property has not yet been deprecated).
>
> You are restoring it for all platforms.
It is already part of the bindings for all platforms.
Johan
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-07-25 8:13 ` Johan Hovold
@ 2024-07-25 8:57 ` Dmitry Baryshkov
2024-07-25 9:05 ` Johan Hovold
0 siblings, 1 reply; 15+ messages in thread
From: Dmitry Baryshkov @ 2024-07-25 8:57 UTC (permalink / raw)
To: Johan Hovold
Cc: Johan Hovold, Bjorn Helgaas, Lorenzo Pieralisi,
Krzysztof Wilczyński, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Manivannan Sadhasivam, Abel Vesa,
linux-arm-msm, linux-pci, devicetree, linux-kernel
On Thu, Jul 25, 2024 at 10:13:07AM GMT, Johan Hovold wrote:
> On Thu, Jul 25, 2024 at 10:49:41AM +0300, Dmitry Baryshkov wrote:
> > On Thu, 25 Jul 2024 at 09:17, Johan Hovold <johan@kernel.org> wrote:
> > > On Wed, Jul 24, 2024 at 08:22:54PM +0300, Dmitry Baryshkov wrote:
> > > > On Tue, Jul 23, 2024 at 05:13:28PM GMT, Johan Hovold wrote:
>
> > > > > Note that this property has been part of the Qualcomm PCIe bindings
> > > > > since 2018 and would need to be deprecated rather than simply removed if
> > > > > there is a desire to replace it with 'vpcie3v3' which is used for some
> > > > > non-Qualcomm controllers.
> > > >
> > > > I think Rob Herring suggested [1] adding the property to the root port
> > > > node rather than the host. If that suggestion still applies it might be
> > > > better to enable the deprecated propertly only for the hosts, which
> > > > already used it, and to define a new property at the root port.
> > >
> > > You seem to miss the point that this is just restoring status quo (and
> > > that the property has not yet been deprecated).
> >
> > You are restoring it for all platforms.
>
> It is already part of the bindings for all platforms.
It is not, it is enabled only for sc7280 and sc8280xp. It has been,
before the mentioned patch. I propopse to enable the property for the
platforms which are using it now (that is +x1e80100, msm8996 and
sdm845), clearly document it as deprecated and start shifting to the
pwrseq and having the power supplies being a part of the root port or
wcn device, depending on the use case.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-07-25 8:57 ` Dmitry Baryshkov
@ 2024-07-25 9:05 ` Johan Hovold
2024-07-25 10:24 ` Dmitry Baryshkov
0 siblings, 1 reply; 15+ messages in thread
From: Johan Hovold @ 2024-07-25 9:05 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Johan Hovold, Bjorn Helgaas, Lorenzo Pieralisi,
Krzysztof Wilczyński, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Manivannan Sadhasivam, Abel Vesa,
linux-arm-msm, linux-pci, devicetree, linux-kernel
On Thu, Jul 25, 2024 at 11:57:39AM +0300, Dmitry Baryshkov wrote:
> On Thu, Jul 25, 2024 at 10:13:07AM GMT, Johan Hovold wrote:
> > It is already part of the bindings for all platforms.
>
> It is not, it is enabled only for sc7280 and sc8280xp.
No, that's both incorrect and irrelevant. It is used by msm8996 and
older platforms by in-kernel DTs as well. But the point is that is has
been part of the bindings an cannot simply be removed as there can be
out-of-tree DTs that are correctly using this property for any of these
platforms.
Johan
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-07-25 9:05 ` Johan Hovold
@ 2024-07-25 10:24 ` Dmitry Baryshkov
2024-07-25 11:28 ` Johan Hovold
0 siblings, 1 reply; 15+ messages in thread
From: Dmitry Baryshkov @ 2024-07-25 10:24 UTC (permalink / raw)
To: Johan Hovold
Cc: Johan Hovold, Bjorn Helgaas, Lorenzo Pieralisi,
Krzysztof Wilczyński, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Manivannan Sadhasivam, Abel Vesa,
linux-arm-msm, linux-pci, devicetree, linux-kernel
On Thu, Jul 25, 2024 at 11:05:07AM GMT, Johan Hovold wrote:
> On Thu, Jul 25, 2024 at 11:57:39AM +0300, Dmitry Baryshkov wrote:
> > On Thu, Jul 25, 2024 at 10:13:07AM GMT, Johan Hovold wrote:
>
> > > It is already part of the bindings for all platforms.
> >
> > It is not, it is enabled only for sc7280 and sc8280xp.
>
> No, that's both incorrect and irrelevant. It is used by msm8996 and
> older platforms by in-kernel DTs as well. But the point is that is has
> been part of the bindings an cannot simply be removed as there can be
> out-of-tree DTs that are correctly using this property for any of these
> platforms.
It can not be removed from the driver, but it definitely can be remove
from bindings.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-07-25 10:24 ` Dmitry Baryshkov
@ 2024-07-25 11:28 ` Johan Hovold
0 siblings, 0 replies; 15+ messages in thread
From: Johan Hovold @ 2024-07-25 11:28 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Johan Hovold, Bjorn Helgaas, Lorenzo Pieralisi,
Krzysztof Wilczyński, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Bjorn Andersson, Manivannan Sadhasivam, Abel Vesa,
linux-arm-msm, linux-pci, devicetree, linux-kernel
On Thu, Jul 25, 2024 at 01:24:27PM +0300, Dmitry Baryshkov wrote:
> On Thu, Jul 25, 2024 at 11:05:07AM GMT, Johan Hovold wrote:
> > On Thu, Jul 25, 2024 at 11:57:39AM +0300, Dmitry Baryshkov wrote:
> > > On Thu, Jul 25, 2024 at 10:13:07AM GMT, Johan Hovold wrote:
> >
> > > > It is already part of the bindings for all platforms.
> > >
> > > It is not, it is enabled only for sc7280 and sc8280xp.
> >
> > No, that's both incorrect and irrelevant. It is used by msm8996 and
> > older platforms by in-kernel DTs as well. But the point is that is has
> > been part of the bindings an cannot simply be removed as there can be
> > out-of-tree DTs that are correctly using this property for any of these
> > platforms.
>
> It can not be removed from the driver, but it definitely can be remove
> from bindings.
You apparently ignored the word "simply" in "cannot simply be removed".
Johan
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-07-23 15:13 [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again Johan Hovold
2024-07-24 13:22 ` Krzysztof Kozlowski
2024-07-24 17:22 ` Dmitry Baryshkov
@ 2024-08-22 9:07 ` Johan Hovold
2024-09-11 6:13 ` Johan Hovold
2024-09-11 13:51 ` Bjorn Helgaas
2024-08-22 9:42 ` Manivannan Sadhasivam
3 siblings, 2 replies; 15+ messages in thread
From: Johan Hovold @ 2024-08-22 9:07 UTC (permalink / raw)
To: Bjorn Helgaas, Lorenzo Pieralisi, Krzysztof Wilczyński
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Manivannan Sadhasivam, Abel Vesa, linux-arm-msm, linux-pci,
devicetree, linux-kernel
On Tue, Jul 23, 2024 at 05:13:28PM +0200, Johan Hovold wrote:
> Commit 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to
> dedicated schema") incorrectly removed 'vddpe-3v3-supply' from the
> bindings, which results in DT checker warnings like:
>
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb: pcie@600000: Unevaluated properties are not allowed ('vddpe-3v3-supply' was unexpected)
> from schema $id: http://devicetree.org/schemas/pci/qcom,pcie.yaml#
>
> Note that this property has been part of the Qualcomm PCIe bindings
> since 2018 and would need to be deprecated rather than simply removed if
> there is a desire to replace it with 'vpcie3v3' which is used for some
> non-Qualcomm controllers.
>
> Fixes: 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to dedicated schema")
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Can someone pick this one up for 6.11?
Johan
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-08-22 9:07 ` Johan Hovold
@ 2024-09-11 6:13 ` Johan Hovold
2024-09-11 13:51 ` Bjorn Helgaas
1 sibling, 0 replies; 15+ messages in thread
From: Johan Hovold @ 2024-09-11 6:13 UTC (permalink / raw)
To: Bjorn Helgaas, Lorenzo Pieralisi, Krzysztof Wilczyński
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Manivannan Sadhasivam, Abel Vesa, linux-arm-msm, linux-pci,
devicetree, linux-kernel
On Thu, Aug 22, 2024 at 11:07:33AM +0200, Johan Hovold wrote:
> On Tue, Jul 23, 2024 at 05:13:28PM +0200, Johan Hovold wrote:
> > Commit 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to
> > dedicated schema") incorrectly removed 'vddpe-3v3-supply' from the
> > bindings, which results in DT checker warnings like:
> >
> > arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb: pcie@600000: Unevaluated properties are not allowed ('vddpe-3v3-supply' was unexpected)
> > from schema $id: http://devicetree.org/schemas/pci/qcom,pcie.yaml#
> >
> > Note that this property has been part of the Qualcomm PCIe bindings
> > since 2018 and would need to be deprecated rather than simply removed if
> > there is a desire to replace it with 'vpcie3v3' which is used for some
> > non-Qualcomm controllers.
> >
> > Fixes: 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to dedicated schema")
> > Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
>
> Can someone pick this one up for 6.11?
Another three weeks have passed and the merge window is now around the
corner.
Can someone please pick this one up for 6.12.
Note that this patch has been acked by the driver maintainer as well as
a DT maintainer.
Johan
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-08-22 9:07 ` Johan Hovold
2024-09-11 6:13 ` Johan Hovold
@ 2024-09-11 13:51 ` Bjorn Helgaas
2024-09-11 13:57 ` Johan Hovold
1 sibling, 1 reply; 15+ messages in thread
From: Bjorn Helgaas @ 2024-09-11 13:51 UTC (permalink / raw)
To: Johan Hovold
Cc: Bjorn Helgaas, Lorenzo Pieralisi, Krzysztof Wilczyński,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Manivannan Sadhasivam, Abel Vesa, linux-arm-msm, linux-pci,
devicetree, linux-kernel
On Thu, Aug 22, 2024 at 11:07:33AM +0200, Johan Hovold wrote:
> On Tue, Jul 23, 2024 at 05:13:28PM +0200, Johan Hovold wrote:
> > Commit 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to
> > dedicated schema") incorrectly removed 'vddpe-3v3-supply' from the
> > bindings, which results in DT checker warnings like:
> >
> > arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb: pcie@600000: Unevaluated properties are not allowed ('vddpe-3v3-supply' was unexpected)
> > from schema $id: http://devicetree.org/schemas/pci/qcom,pcie.yaml#
> >
> > Note that this property has been part of the Qualcomm PCIe bindings
> > since 2018 and would need to be deprecated rather than simply removed if
> > there is a desire to replace it with 'vpcie3v3' which is used for some
> > non-Qualcomm controllers.
> >
> > Fixes: 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to dedicated schema")
> > Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
>
> Can someone pick this one up for 6.11?
I applied this to pci/dt-bindings for v6.12.
v6.11 is possible but we'd need a bit of a story to justify it.
756485bfbb85 appeared in v6.9, and the commit log says it fixes a DT
checker warning, which don't make it sound like this is urgent. Is
there more to it that would make this v6.11 material?
Bjorn
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-09-11 13:51 ` Bjorn Helgaas
@ 2024-09-11 13:57 ` Johan Hovold
0 siblings, 0 replies; 15+ messages in thread
From: Johan Hovold @ 2024-09-11 13:57 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Bjorn Helgaas, Lorenzo Pieralisi, Krzysztof Wilczyński,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Manivannan Sadhasivam, Abel Vesa, linux-arm-msm, linux-pci,
devicetree, linux-kernel
On Wed, Sep 11, 2024 at 08:51:06AM -0500, Bjorn Helgaas wrote:
> On Thu, Aug 22, 2024 at 11:07:33AM +0200, Johan Hovold wrote:
> > On Tue, Jul 23, 2024 at 05:13:28PM +0200, Johan Hovold wrote:
> > > Commit 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to
> > > dedicated schema") incorrectly removed 'vddpe-3v3-supply' from the
> > > bindings, which results in DT checker warnings like:
> > >
> > > arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb: pcie@600000: Unevaluated properties are not allowed ('vddpe-3v3-supply' was unexpected)
> > > from schema $id: http://devicetree.org/schemas/pci/qcom,pcie.yaml#
> > >
> > > Note that this property has been part of the Qualcomm PCIe bindings
> > > since 2018 and would need to be deprecated rather than simply removed if
> > > there is a desire to replace it with 'vpcie3v3' which is used for some
> > > non-Qualcomm controllers.
> > >
> > > Fixes: 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to dedicated schema")
> > > Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
> >
> > Can someone pick this one up for 6.11?
>
> I applied this to pci/dt-bindings for v6.12.
>
> v6.11 is possible but we'd need a bit of a story to justify it.
> 756485bfbb85 appeared in v6.9, and the commit log says it fixes a DT
> checker warning, which don't make it sound like this is urgent. Is
> there more to it that would make this v6.11 material?
No, merging for 6.12 is fine (e.g. this late in the cycle). Thanks.
Johan
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again
2024-07-23 15:13 [PATCH] dt-bindings: PCI: qcom: Allow 'vddpe-3v3-supply' again Johan Hovold
` (2 preceding siblings ...)
2024-08-22 9:07 ` Johan Hovold
@ 2024-08-22 9:42 ` Manivannan Sadhasivam
3 siblings, 0 replies; 15+ messages in thread
From: Manivannan Sadhasivam @ 2024-08-22 9:42 UTC (permalink / raw)
To: Johan Hovold
Cc: Bjorn Helgaas, Lorenzo Pieralisi, Krzysztof Wilczyński,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
Abel Vesa, linux-arm-msm, linux-pci, devicetree, linux-kernel
On Tue, Jul 23, 2024 at 05:13:28PM +0200, Johan Hovold wrote:
> Commit 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to
> dedicated schema") incorrectly removed 'vddpe-3v3-supply' from the
> bindings, which results in DT checker warnings like:
>
> arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dtb: pcie@600000: Unevaluated properties are not allowed ('vddpe-3v3-supply' was unexpected)
> from schema $id: http://devicetree.org/schemas/pci/qcom,pcie.yaml#
>
> Note that this property has been part of the Qualcomm PCIe bindings
> since 2018 and would need to be deprecated rather than simply removed if
> there is a desire to replace it with 'vpcie3v3' which is used for some
> non-Qualcomm controllers.
>
> Fixes: 756485bfbb85 ("dt-bindings: PCI: qcom,pcie-sc7280: Move SC7280 to dedicated schema")
> Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
- Mani
> ---
> Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml | 3 +++
> Documentation/devicetree/bindings/pci/qcom,pcie-sc7280.yaml | 3 ---
> Documentation/devicetree/bindings/pci/qcom,pcie-sc8280xp.yaml | 3 ---
> Documentation/devicetree/bindings/pci/qcom,pcie.yaml | 3 +++
> 4 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml
> index 0a39bbfcb28b..2b6f5a171f20 100644
> --- a/Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml
> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml
> @@ -78,6 +78,9 @@ properties:
> description: GPIO controlled connection to WAKE# signal
> maxItems: 1
>
> + vddpe-3v3-supply:
> + description: PCIe endpoint power supply
> +
> required:
> - reg
> - reg-names
> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-sc7280.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-sc7280.yaml
> index 634da24ec3ed..7ed46a929d73 100644
> --- a/Documentation/devicetree/bindings/pci/qcom,pcie-sc7280.yaml
> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-sc7280.yaml
> @@ -66,9 +66,6 @@ properties:
> items:
> - const: pci
>
> - vddpe-3v3-supply:
> - description: PCIe endpoint power supply
> -
> allOf:
> - $ref: qcom,pcie-common.yaml#
>
> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-sc8280xp.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-sc8280xp.yaml
> index 25c9f13ae977..15ba2385eb73 100644
> --- a/Documentation/devicetree/bindings/pci/qcom,pcie-sc8280xp.yaml
> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-sc8280xp.yaml
> @@ -58,9 +58,6 @@ properties:
> items:
> - const: pci
>
> - vddpe-3v3-supply:
> - description: A phandle to the PCIe endpoint power supply
> -
> required:
> - interconnects
> - interconnect-names
> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
> index f867746b1ae5..ffabbac57fc1 100644
> --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml
> @@ -91,6 +91,9 @@ properties:
> vdda_refclk-supply:
> description: A phandle to the core analog power supply for IC which generates reference clock
>
> + vddpe-3v3-supply:
> + description: A phandle to the PCIe endpoint power supply
> +
> phys:
> maxItems: 1
>
> --
> 2.44.2
>
--
மணிவண்ணன் சதாசிவம்
^ permalink raw reply [flat|nested] 15+ messages in thread