scsi: dt-bindings: ufs: qcom: Fix ICE phandle
authorAbel Vesa <abel.vesa@linaro.org>
Fri, 23 Jun 2023 11:30:05 +0000 (14:30 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Jun 2023 01:56:24 +0000 (21:56 -0400)
commit9b7c13b83c1dedb79a746eae9dfabc10a2673049
tree8204520c0f23c237eaadc6d966002d43e91c8e79
parent71e3e85ccf2b816e612c94b7460309dc5007caef
scsi: dt-bindings: ufs: qcom: Fix ICE phandle

The check for 'qcom,ice' property is wrong. Fix it by checking using
if-required clause and expand the clocks minItems and maxItems for
platforms where 'qcom,ice' is not required so that it includes platforms
with single reg entry and clocks that do not provide an ICE one.

Fixes: 29a6d1215b7c ("scsi: ufs: dt-bindings: qcom: Add ICE phandle")
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20230623113009.2512206-2-abel.vesa@linaro.org
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Documentation/devicetree/bindings/ufs/qcom,ufs.yaml