aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRobert Marko2020-09-10 16:00:01 +0200
committerTom Rini2020-09-18 16:20:47 -0400
commit6ef099b29e153f664b1de829020b4410b9ec709d (patch)
tree63059ac6ccd1d99c018ce74617af9d1111ac4326 /arch
parent5ae15415c12c330ef3cd5d8c13bdadf5afb3db7a (diff)
IPQ40xx: Add SMEM support
There is already existing driver for SMEM so lets enable it for IPQ40xx as well. Signed-off-by: Robert Marko <robert.marko@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig2
-rw-r--r--arch/arm/dts/qcom-ipq4019.dtsi5
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 80702c23d34..ee378f03f44 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -767,8 +767,10 @@ config ARCH_IPQ40XX
select DM
select DM_GPIO
select DM_SERIAL
+ select MSM_SMEM
select PINCTRL
select CLK
+ select SMEM
select OF_CONTROL
imply CMD_DM
diff --git a/arch/arm/dts/qcom-ipq4019.dtsi b/arch/arm/dts/qcom-ipq4019.dtsi
index 7b3b5e0248f..dd69d0a5b28 100644
--- a/arch/arm/dts/qcom-ipq4019.dtsi
+++ b/arch/arm/dts/qcom-ipq4019.dtsi
@@ -39,6 +39,11 @@
};
};
+ smem {
+ compatible = "qcom,smem";
+ memory-region = <&smem_mem>;
+ };
+
soc: soc {
#address-cells = <1>;
#size-cells = <1>;