Re: [PATCH v3 2/4] dt-bindings: phy: qcom,qmp: Add support for SC7180

From: Matthias Kaehlcke
Date: Wed Feb 12 2020 - 15:30:13 EST


On Wed, Feb 12, 2020 at 04:51:26PM +0530, Sandeep Maheswaram wrote:
> Add compatible for SC7180 in qmp phy bindings.

nit: QMP PHY

> Signed-off-by: Sandeep Maheswaram <sanm@xxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 12 ++++++++----
> 1 file changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
> index b39a594..8c153e3 100644
> --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml
> @@ -23,6 +23,7 @@ properties:
> - qcom,msm8998-qmp-usb3-phy
> - qcom,msm8998-qmp-ufs-phy
> - qcom,msm8998-qmp-pcie-phy
> + - qcom,sc7180-qmp-usb3-phy
> - qcom,sdm845-qmp-usb3-phy
> - qcom,sdm845-qmp-usb3-uni-phy
> - qcom,sdm845-qmp-ufs-phy
> @@ -105,9 +106,10 @@ allOf:
> properties:
> compatible:
> contains:
> - enum:
> - - qcom,sdm845-qmp-usb3-phy
> - - qcom,sdm845-qmp-usb3-uni-phy
> + enum:
> + - qcom,sc7180-qmp-usb3-phy
> + - qcom,sdm845-qmp-usb3-phy
> + - qcom,sdm845-qmp-usb3-uni-phy

There is some extra churn from fixing the indentation, but that's the
fault of the parent patch and will go away when $parent is fixed.

> then:
> properties:
> clocks:
> @@ -238,7 +240,9 @@ allOf:
> properties:
> compatible:
> contains:
> - const: qcom,sdm845-qmp-usb3-phy
> + enum:
> + - qcom,sc7180-qmp-usb3-phy
> + - qcom,sdm845-qmp-usb3-phy
> then:
> required:
> - reg-names

Reviewed-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>