lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251207-adsp-cx-fixup-v1-1-0471bf2c5f33@lucaweiss.eu>
Date: Sun, 07 Dec 2025 19:35:35 +0900
From: Luca Weiss <luca@...aweiss.eu>
To: Bjorn Andersson <andersson@...nel.org>, 
 Mathieu Poirier <mathieu.poirier@...aro.org>, Rob Herring <robh@...nel.org>, 
 Krzysztof Kozlowski <krzk+dt@...nel.org>, 
 Conor Dooley <conor+dt@...nel.org>, Manivannan Sadhasivam <mani@...nel.org>, 
 Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
Cc: ~postmarketos/upstreaming@...ts.sr.ht, phone-devel@...r.kernel.org, 
 linux-arm-msm@...r.kernel.org, linux-remoteproc@...r.kernel.org, 
 devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, 
 Luca Weiss <luca@...aweiss.eu>
Subject: [PATCH] dt-bindings: remoteproc: qcom,adsp: Re-add cx-supply

Some boards (e.g. sdm845-samsung-starqltechn) provide a cx-supply
reference for the SLPI PAS.

The Linux driver unconditionally tries getting "cx" and "px" supplies,
so it actually is used.

Fixes: 3d447dcdae53 ("dt-bindings: remoteproc: qcom,adsp: Make msm8974 use CX as power domain")
Signed-off-by: Luca Weiss <luca@...aweiss.eu>
---
There's literally one board using this upstream, judging from that I'm
not sure this is a misuse of cx-supply or what exactly. An alternative
to this patch is of course removing the usage in
sdm845-samsung-starqltechn, but as it stands right now the patch under
"Fixes" introduces a dtbs_check warning.
---
 Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
index 137f95028313..bde138716873 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
@@ -32,6 +32,9 @@ properties:
   reg:
     maxItems: 1
 
+  cx-supply:
+    description: Phandle to the CX regulator
+
   px-supply:
     description: Phandle to the PX regulator
 

---
base-commit: 37bb2e7217b01404e2abf9d90d8e5705a5603b52
change-id: 20251207-adsp-cx-fixup-442882486ec5

Best regards,
-- 
Luca Weiss <luca@...aweiss.eu>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ