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>
This commit is contained in:
Robert Marko 2020-09-10 16:00:01 +02:00 committed by Tom Rini
parent 5ae15415c1
commit 6ef099b29e
3 changed files with 8 additions and 1 deletions

View file

@ -767,8 +767,10 @@ config ARCH_IPQ40XX
select DM select DM
select DM_GPIO select DM_GPIO
select DM_SERIAL select DM_SERIAL
select MSM_SMEM
select PINCTRL select PINCTRL
select CLK select CLK
select SMEM
select OF_CONTROL select OF_CONTROL
imply CMD_DM imply CMD_DM

View file

@ -39,6 +39,11 @@
}; };
}; };
smem {
compatible = "qcom,smem";
memory-region = <&smem_mem>;
};
soc: soc { soc: soc {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;

View file

@ -15,7 +15,7 @@ config SANDBOX_SMEM
config MSM_SMEM config MSM_SMEM
bool "Qualcomm Shared Memory Manager (SMEM)" bool "Qualcomm Shared Memory Manager (SMEM)"
depends on DM depends on DM
depends on ARCH_SNAPDRAGON depends on ARCH_SNAPDRAGON || ARCH_IPQ40XX
help help
Enable support for the Qualcomm Shared Memory Manager. Enable support for the Qualcomm Shared Memory Manager.
The driver provides an interface to items in a heap shared among all The driver provides an interface to items in a heap shared among all