mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: pci: qcom,pcie-sm8550: document vdda-supply
@ 2026-12-01 12:03 Qianhui Xu
  2026-12-01 13:02 ` Konrad Dybcio
  0 siblings, 1 reply; 2+ messages in thread
From: Qianhui Xu @ 2026-12-01 12:03 UTC (permalink / raw)
  To: mani, lpieralisi, kwilczynski
  Cc: robh, bhelgaas, krzk+dt, conor+dt, andersson, linux-pci,
	linux-arm-msm, devicetree, linux-kernel

The PCIe driver (drivers/pci/controller/dwc/pcie-qcom.c) requests the
"vdda" regulator for every platform it probes, and the older Qualcomm
PCIe bindings (qcom,pcie-apq8064.yaml, qcom,pcie-msm8996.yaml) already
document vdda-supply.  The SM8550 binding never gained the property, so
a DT node that legitimately wires vdda-supply fails dtbs_check with
"Unevaluated properties are not allowed ('vdda-supply' was unexpected)".

Document the property so the binding matches what the driver consumes.
No DT or driver change; purely a binding-completeness fix.

Found while auditing a board that enables qcom,pcie-sm8750 (which
inherits this binding).

Signed-off-by: Qianhui Xu <xiaqinghuan@mail.ustc.edu.cn>
---
*** AI-assistance disclosure ***
This patch was prepared with the help of an LLM coding assistant.  The
author reviewed every line, checked every quoted claim against the tree,
and ran the gates recorded in the send report; the design decisions and
any errors are the author's.

diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-sm8550.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-sm8550.yaml
index fb706b139..3e40f1cf9 100644
--- a/Documentation/devicetree/bindings/pci/qcom,pcie-sm8550.yaml
+++ b/Documentation/devicetree/bindings/pci/qcom,pcie-sm8550.yaml
@@ -62,6 +62,9 @@ properties:
     minItems: 8
     maxItems: 9
 
+  vdda-supply:
+    description: Core analog power supply
+
   interrupt-names:
     minItems: 8
     items:
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/3] dt-bindings: pci: qcom,pcie-sm8550: document vdda-supply
  2026-12-01 12:03 [PATCH 1/3] dt-bindings: pci: qcom,pcie-sm8550: document vdda-supply Qianhui Xu
@ 2026-12-01 13:02 ` Konrad Dybcio
  0 siblings, 0 replies; 2+ messages in thread
From: Konrad Dybcio @ 2026-12-01 13:02 UTC (permalink / raw)
  To: Qianhui Xu, mani, lpieralisi, kwilczynski
  Cc: robh, bhelgaas, krzk+dt, conor+dt, andersson, linux-pci,
	linux-arm-msm, devicetree, linux-kernel

On 12/1/26 1:03 PM, Qianhui Xu wrote:
> The PCIe driver (drivers/pci/controller/dwc/pcie-qcom.c) requests the
> "vdda" regulator for every platform it probes, and the older Qualcomm
> PCIe bindings (qcom,pcie-apq8064.yaml, qcom,pcie-msm8996.yaml) already
> document vdda-supply.  The SM8550 binding never gained the property, so
> a DT node that legitimately wires vdda-supply fails dtbs_check with
> "Unevaluated properties are not allowed ('vdda-supply' was unexpected)".
> 
> Document the property so the binding matches what the driver consumes.
> No DT or driver change; purely a binding-completeness fix.
> 
> Found while auditing a board that enables qcom,pcie-sm8750 (which
> inherits this binding).
> 
> Signed-off-by: Qianhui Xu <xiaqinghuan@mail.ustc.edu.cn>
> ---
> *** AI-assistance disclosure ***
> This patch was prepared with the help of an LLM coding assistant.  The
> author reviewed every line, checked every quoted claim against the tree,
> and ran the gates recorded in the send report; the design decisions and
> any errors are the author's.
> 
> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-sm8550.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-sm8550.yaml
> index fb706b139..3e40f1cf9 100644
> --- a/Documentation/devicetree/bindings/pci/qcom,pcie-sm8550.yaml
> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-sm8550.yaml
> @@ -62,6 +62,9 @@ properties:
>      minItems: 8
>      maxItems: 9
>  
> +  vdda-supply:
> +    description: Core analog power supply

Sorry, this is slop. If you want this to be ultra-correct, you can
restrict the requested regulator lists per platform in the driver,
but that brings no practical benefit

Konrad

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-12-01 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 12:03 [PATCH 1/3] dt-bindings: pci: qcom,pcie-sm8550: document vdda-supply Qianhui Xu
2026-12-01 13:02 ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®