Re: [PATCH v1 6/7] dt-bindings: net: qcom-ipa: Document qcom,sc7180-ipa compatible
From: Rob Herring
Date: Fri Mar 05 2021 - 14:33:35 EST
On Thu, Feb 11, 2021 at 06:50:14PM +0100, AngeloGioacchino Del Regno wrote:
> The driver supports SC7180, but the binding was not documented.
> Just add it.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/net/qcom,ipa.yaml | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml
> index 8a2d12644675..b063c6c1077a 100644
> --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml
> +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml
> @@ -43,7 +43,11 @@ description:
>
> properties:
> compatible:
> - const: "qcom,sdm845-ipa"
> + oneOf:
> + - items:
> + - enum:
Just enum, you don't need oneOf when only 1. And items is implied when
only 1 entry.
> + - "qcom,sdm845-ipa"
> + - "qcom,sc7180-ipa"
>
> reg:
> items:
> --
> 2.30.0
>