summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/soc
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2021-09-27 16:55:39 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-09-28 06:10:07 +0300
commit1ff63d5465d0b0bf4e69562096b2d3ec9ff1a116 (patch)
treebc28377848b791fadc823837a4db1fd6b7f508d2 /Documentation/devicetree/bindings/soc
parent985f62a9a13175217978a797cd8f1f26216b2c87 (diff)
downloadlinux-1ff63d5465d0b0bf4e69562096b2d3ec9ff1a116.tar.xz
soc: dt-bindings: qcom: apr: deprecate qcom,apr-domain property
replace usage of qcom,apr-domain property with qcom,domain property so that bindings and driver can be reused. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210927135559.738-3-srinivas.kandagatla@linaro.org
Diffstat (limited to 'Documentation/devicetree/bindings/soc')
-rw-r--r--Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml19
1 files changed, 17 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml
index a52b955b8b39..bfe04fca8aa3 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml
@@ -31,6 +31,21 @@ properties:
5 = Application processor Domain
6 = Modem2 Domain
7 = Application Processor2 Domain
+ deprecated: true
+
+ qcom,domain:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ minimum: 1
+ maximum: 7
+ description:
+ Selects the processor domain for apr
+ 1 = APR simulator
+ 2 = PC Domain
+ 3 = Modem Domain
+ 4 = ADSP Domain
+ 5 = Application processor Domain
+ 6 = Modem2 Domain
+ 7 = Application Processor2 Domain
'#address-cells':
const: 1
@@ -96,7 +111,7 @@ patternProperties:
required:
- compatible
- - qcom,apr-domain
+ - qcom,domain
additionalProperties: false
@@ -105,7 +120,7 @@ examples:
#include <dt-bindings/soc/qcom,apr.h>
apr {
compatible = "qcom,apr-v2";
- qcom,apr-domain = <APR_DOMAIN_ADSP>;
+ qcom,domain = <APR_DOMAIN_ADSP>;
#address-cells = <1>;
#size-cells = <0>;