dt-bindings: phy: qcom,qusb2: do not define properties in "if" block
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 24 Dec 2022 15:42:26 +0000 (16:42 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 13 Jan 2023 18:17:18 +0000 (23:47 +0530)
commitb1e96b50da7b921be4bc6684682b856cebfe8ad0
tree4997a471ee57b966de55ce46284a0f49a94dc4c9
parent9160fb7c39a1e7456e309dbe360b5abbafd4b295
dt-bindings: phy: qcom,qusb2: do not define properties in "if" block

It is more readable to define properties in top-level "properties:" and
restrict them (if needed) per compatible in the "if" block.  Defining
properties in "if" block  does not work correctly with
additionalProperties:false:

  sc7180-trogdor-pazquel-lte-ti.dtb: phy@88e3000: 'qcom,bias-ctrl-value', 'qcom,charge-ctrl-value', 'qcom,hsdisc-trim-value',
    'qcom,imp-res-offset-value', 'qcom,preemphasis-level', 'qcom,preemphasis-width' do not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221224154226.43417-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml