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

dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Restrict resets per each device

Bindings should be complete, thus complete the constraints for the
resets by adding missing compatibles for devices with two resets and
"else:" clause narrowing them for all other devices.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20251017045919.34599-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Vinod Koul
a7f0d69e 95e59056

+8
+8
Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml
··· 215 215 enum: 216 216 - qcom,sm8550-qmp-gen4x2-pcie-phy 217 217 - qcom,sm8650-qmp-gen4x2-pcie-phy 218 + - qcom,x1e80100-qmp-gen3x2-pcie-phy 218 219 - qcom,x1e80100-qmp-gen4x2-pcie-phy 219 220 - qcom,x1e80100-qmp-gen4x4-pcie-phy 220 221 - qcom,x1e80100-qmp-gen4x8-pcie-phy 222 + - qcom,x1p42100-qmp-gen4x4-pcie-phy 221 223 then: 222 224 properties: 223 225 resets: 224 226 minItems: 2 225 227 reset-names: 226 228 minItems: 2 229 + else: 230 + properties: 231 + resets: 232 + maxItems: 1 233 + reset-names: 234 + maxItems: 1 227 235 228 236 - if: 229 237 properties: