diff mbox series

[net-next,1/4] dt-bindings: net: qcom,ipa: add some compatible strings

Message ID 20210409204024.1255938-2-elder@linaro.org
State Accepted
Commit c3264fee72e7565ca5df2896a221672678d595b2
Headers show
Series net: ipa: support two more platforms | expand

Commit Message

Alex Elder April 9, 2021, 8:40 p.m. UTC
Add existing supported platform "qcom,sc7180-ipa" to the set of IPA
compatible strings.  Also add newly-supported "qcom,sdx55-ipa",
"qcom,sc7280-ipa".

Signed-off-by: Alex Elder <elder@linaro.org>

---
 Documentation/devicetree/bindings/net/qcom,ipa.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.27.0

Comments

Rob Herring (Arm) April 12, 2021, 6:32 p.m. UTC | #1
On Fri, Apr 09, 2021 at 03:40:21PM -0500, Alex Elder wrote:
> Add existing supported platform "qcom,sc7180-ipa" to the set of IPA

> compatible strings.  Also add newly-supported "qcom,sdx55-ipa",

> "qcom,sc7280-ipa".

> 

> Signed-off-by: Alex Elder <elder@linaro.org>

> ---

>  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 8f86084bf12e9..2645a02cf19bf 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:

> +      - const: "qcom,sc7180-ipa"

> +      - const: "qcom,sc7280-ipa"

> +      - const: "qcom,sdm845-ipa"

> +      - const: "qcom,sdx55-ipa"


Use enum instead of oneOf + const. And drop the quotes.

>  

>    reg:

>      items:

> -- 

> 2.27.0

>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml
index 8f86084bf12e9..2645a02cf19bf 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:
+      - const: "qcom,sc7180-ipa"
+      - const: "qcom,sc7280-ipa"
+      - const: "qcom,sdm845-ipa"
+      - const: "qcom,sdx55-ipa"
 
   reg:
     items: