]> git.baikalelectronics.ru Git - kernel.git/commit
soc: qcom: apr: Don't use reg for domain id
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 23 May 2019 15:01:53 +0000 (08:01 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 15 Jun 2019 07:03:44 +0000 (00:03 -0700)
commit46c1a646eb86db44cdf022d04dc7b59c549ab6e9
tree50710386766e34ed39c3357b14f3dc41338e47a4
parent2c9a6e027355d098e63716b3d313dd77e88144d0
soc: qcom: apr: Don't use reg for domain id

The reg property represents the address and size on the bus that a
device lives, but for APR the parent is a rpmsg bus, which does not have
numerical addresses. Simply defining #address/#size-cells to 1 and 0,
respectively, to silence the compiler is not an appropriate solution.

Replace the use of "reg" with an APR specific property.

Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Documentation/devicetree/bindings/soc/qcom/qcom,apr.txt
drivers/soc/qcom/apr.c