arm64: dts: qcom: pmk8350: Allow specifying arbitrary SID
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Tue, 15 Nov 2022 15:27:20 +0000 (16:27 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 6 Dec 2022 17:05:29 +0000 (11:05 -0600)
commitf73de026a49f05638b7dd260b055246846883266
tree34fce5a703c43a5be87f9b96893dcf81def40852
parentd409e44d2ec672ae9c1513485f850e17af829916
arm64: dts: qcom: pmk8350: Allow specifying arbitrary SID

PMK8350 is shipped on SID6 with some SoCs, for example with SM6375.
Add some preprocessor logic to allow changing the SID in cases like
this.

While I am not in favour of adding #if's into the device tree, this
is the least messy way to handle this. If one isn't specified, it
will default to 0 (as it has been previously).

Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221115152727.9736-3-konrad.dybcio@linaro.org
arch/arm64/boot/dts/qcom/pmk8350.dtsi