Skip to content

Commit

Permalink
soc: dt-bindings: qcom: apr: deprecate qcom,apr-domain property
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Srinivas Kandagatla authored and Bjorn Andersson committed Sep 28, 2021
1 parent 985f62a commit 1ff63d5
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -96,7 +111,7 @@ patternProperties:

required:
- compatible
- qcom,apr-domain
- qcom,domain

additionalProperties: false

Expand All @@ -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>;
Expand Down

0 comments on commit 1ff63d5

Please sign in to comment.