mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Qianhui Xu <xiaqinghuan@mail.ustc.edu.cn>,
	mani@kernel.org, lpieralisi@kernel.org, kwilczynski@kernel.org
Cc: robh@kernel.org, bhelgaas@google.com, krzk+dt@kernel.org,
	conor+dt@kernel.org, andersson@kernel.org,
	linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: pci: qcom,pcie-sm8550: document vdda-supply
Date: Tue, 1 Dec 2026 14:02:27 +0100	[thread overview]
Message-ID: <b03f2c03-821e-428c-9ea7-8556c62dc9e5@oss.qualcomm.com> (raw)
In-Reply-To: <20261201120357.2465896-1-xiaqinghuan@mail.ustc.edu.cn>

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

      reply	other threads:[~2026-12-01 13:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 12:03 Qianhui Xu
2026-12-01 13:02 ` Konrad Dybcio [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b03f2c03-821e-428c-9ea7-8556c62dc9e5@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=bhelgaas@google.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=kwilczynski@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=mani@kernel.org \
    --cc=robh@kernel.org \
    --cc=xiaqinghuan@mail.ustc.edu.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®