mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
ARM: dts: msm: Add memshare for yupik
Memshare driver allocates and share the memory with the modem clients for their use. The device tree information for memshare driver on yupik are added to specify client details. Change-Id: Iabb9036668e36bb7d0fe1bc937e5a86935642712
This commit is contained in:
parent
387750a177
commit
6ca87df01f
1 changed files with 41 additions and 0 deletions
|
|
@ -517,6 +517,19 @@
|
|||
label = "dfps_data_memory";
|
||||
};
|
||||
|
||||
memshare_mem: memshare_region {
|
||||
compatible = "shared-dma-pool";
|
||||
no-map;
|
||||
/*
|
||||
* Memory shared with modem needs to be outside of
|
||||
* the CLADE address space, which begins at
|
||||
* 0xE0000000 and spans 512 MB.
|
||||
*/
|
||||
alloc-ranges = <0x0 0x00000000 0x0 0xdfffffff>;
|
||||
alignment = <0x0 0x100000>;
|
||||
size = <0x0 0x800000>;
|
||||
};
|
||||
|
||||
cnss_wlan_mem: cnss_wlan_region {
|
||||
compatible = "shared-dma-pool";
|
||||
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
||||
|
|
@ -942,6 +955,34 @@
|
|||
status = "ok"
|
||||
};
|
||||
|
||||
qcom,memshare {
|
||||
compatible = "qcom,memshare";
|
||||
|
||||
qcom,client_1 {
|
||||
compatible = "qcom,memshare-peripheral";
|
||||
qcom,peripheral-size = <0x0>;
|
||||
qcom,client-id = <0>;
|
||||
qcom,allocate-boot-time;
|
||||
label = "modem";
|
||||
};
|
||||
|
||||
qcom,client_2 {
|
||||
compatible = "qcom,memshare-peripheral";
|
||||
qcom,peripheral-size = <0x0>;
|
||||
qcom,client-id = <2>;
|
||||
label = "modem";
|
||||
};
|
||||
|
||||
qcom,client_3 {
|
||||
compatible = "qcom,memshare-peripheral";
|
||||
qcom,peripheral-size = <0x500000>;
|
||||
memory-region = <&memshare_mem>;
|
||||
qcom,client-id = <1>;
|
||||
qcom,allocate-on-request;
|
||||
label = "modem";
|
||||
};
|
||||
};
|
||||
|
||||
clocks {
|
||||
xo_board: xo-board {
|
||||
compatible = "fixed-clock";
|
||||
|
|
|
|||
Loading…
Reference in a new issue