Commit 34d8775a authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Jassi Brar

dt-bindings: mailbox: qcom,apcs-kpss-global: use fallbacks for few variants

Rework the compatibles of IPQ8074, SC7180, SC8180X and SM8150 as
compatible devices (same from Linux driver point of view).  This allows
smaller of_device_id table in the Linux driver and smaller
allOf:if:then: constraints.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 26e02e6c
...@@ -19,22 +19,14 @@ properties: ...@@ -19,22 +19,14 @@ properties:
- items: - items:
- enum: - enum:
- qcom,ipq5332-apcs-apps-global - qcom,ipq5332-apcs-apps-global
- qcom,ipq8074-apcs-apps-global
- const: qcom,ipq6018-apcs-apps-global - const: qcom,ipq6018-apcs-apps-global
- items: - items:
- enum: - enum:
- qcom,ipq6018-apcs-apps-global
- qcom,ipq8074-apcs-apps-global
- qcom,msm8996-apcs-hmss-global
- qcom,msm8998-apcs-hmss-global
- qcom,qcm2290-apcs-hmss-global
- qcom,sc7180-apss-shared - qcom,sc7180-apss-shared
- qcom,sc8180x-apss-shared - qcom,sc8180x-apss-shared
- qcom,sdm660-apcs-hmss-global
- qcom,sdm845-apss-shared
- qcom,sm4250-apcs-hmss-global
- qcom,sm6125-apcs-hmss-global
- qcom,sm6115-apcs-hmss-global
- qcom,sm8150-apss-shared - qcom,sm8150-apss-shared
- const: qcom,sdm845-apss-shared
- items: - items:
- enum: - enum:
- qcom,msm8916-apcs-kpss-global - qcom,msm8916-apcs-kpss-global
...@@ -45,6 +37,18 @@ properties: ...@@ -45,6 +37,18 @@ properties:
- qcom,qcs404-apcs-apps-global - qcom,qcs404-apcs-apps-global
- qcom,sdx55-apcs-gcc - qcom,sdx55-apcs-gcc
- const: syscon - const: syscon
- enum:
- qcom,ipq6018-apcs-apps-global
- qcom,ipq8074-apcs-apps-global
- qcom,msm8996-apcs-hmss-global
- qcom,msm8998-apcs-hmss-global
- qcom,qcm2290-apcs-hmss-global
- qcom,sdm660-apcs-hmss-global
- qcom,sdm845-apss-shared
- qcom,sm4250-apcs-hmss-global
- qcom,sm6115-apcs-hmss-global
- qcom,sm6125-apcs-hmss-global
reg: reg:
maxItems: 1 maxItems: 1
...@@ -88,6 +92,7 @@ allOf: ...@@ -88,6 +92,7 @@ allOf:
items: items:
- const: pll - const: pll
- const: aux - const: aux
- if: - if:
properties: properties:
compatible: compatible:
...@@ -111,7 +116,6 @@ allOf: ...@@ -111,7 +116,6 @@ allOf:
contains: contains:
enum: enum:
- qcom,ipq6018-apcs-apps-global - qcom,ipq6018-apcs-apps-global
- qcom,ipq8074-apcs-apps-global
then: then:
properties: properties:
clocks: clocks:
...@@ -133,14 +137,11 @@ allOf: ...@@ -133,14 +137,11 @@ allOf:
- qcom,msm8996-apcs-hmss-global - qcom,msm8996-apcs-hmss-global
- qcom,msm8998-apcs-hmss-global - qcom,msm8998-apcs-hmss-global
- qcom,qcm2290-apcs-hmss-global - qcom,qcm2290-apcs-hmss-global
- qcom,sc7180-apss-shared
- qcom,sc8180x-apss-shared
- qcom,sdm660-apcs-hmss-global - qcom,sdm660-apcs-hmss-global
- qcom,sdm845-apss-shared - qcom,sdm845-apss-shared
- qcom,sm4250-apcs-hmss-global - qcom,sm4250-apcs-hmss-global
- qcom,sm6115-apcs-hmss-global - qcom,sm6115-apcs-hmss-global
- qcom,sm6125-apcs-hmss-global - qcom,sm6125-apcs-hmss-global
- qcom,sm8150-apss-shared
then: then:
properties: properties:
clocks: false clocks: false
...@@ -152,7 +153,6 @@ allOf: ...@@ -152,7 +153,6 @@ allOf:
contains: contains:
enum: enum:
- qcom,ipq6018-apcs-apps-global - qcom,ipq6018-apcs-apps-global
- qcom,ipq8074-apcs-apps-global
then: then:
properties: properties:
'#clock-cells': '#clock-cells':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment