Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: remoteproc: qcom,adsp: Allow cx-supply on qcom,sdm845-slpi-pas

One SDM845 board uses cx-supply, which is not allowed by the bindings,
as reported by dtbs_check:

sdm845-samsung-starqltechn.dtb: remoteproc@5c00000 (qcom,sdm845-slpi-pas): Unevaluated properties are not allowed ('cx-supply' was unexpected)

The SDM845 SLPI binding already allows lcx and lmx domains, thus the
cx-supply seems like a fake name for something else, e.g. some
enable pin. The qcom_q6v5_pas.c driver parses cx-supply, so it is an
established ABI, therefore document it for this device only.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251229152658.284199-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Bjorn Andersson
2cb0c97c a84a1e21

+5
+5
Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml
··· 32 32 reg: 33 33 maxItems: 1 34 34 35 + cx-supply: true 36 + 35 37 px-supply: 36 38 description: Phandle to the PX regulator 37 39 ··· 161 159 items: 162 160 - const: lcx 163 161 - const: lmx 162 + else: 163 + properties: 164 + cx-supply: false 164 165 165 166 - if: 166 167 properties: