From d8401f7d8f98df8e365e4cb2f65d14ecc21fd42e Mon Sep 17 00:00:00 2001 From: Sahitya Tummala Date: Tue, 7 Jul 2020 10:38:38 +0530 Subject: [PATCH] ARM: dts: msm: Add rmtfs_sharedmem support for Holi Add shared memory support to enable the rmt_storage service in userspace that allows other processor to access the primary storage device to store its data. Change-Id: Ie9aa53291e2cfb3f5249d76a0f2a12e33751ea21 --- bindings/uio/msm_sharedmem.txt | 5 +++++ qcom/holi.dtsi | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/bindings/uio/msm_sharedmem.txt b/bindings/uio/msm_sharedmem.txt index 749c6e856819..8bbfcf0ce532 100644 --- a/bindings/uio/msm_sharedmem.txt +++ b/bindings/uio/msm_sharedmem.txt @@ -9,10 +9,15 @@ Required properties: - reg-names : Indicates various client-names. - qcom,client-id : The client id for the QMI clients. +Optional properties: +- qcom,vm-nav-path: If this dtsi property is set, then the shared memory region + will be given access to vm-nav-path also. + Example: qcom,msm_sharedmem@0dc80000 { compatible = "qcom,sharedmem-uio"; reg = <0x0dc80000 0x00180000>, reg-names = "rmtfs"; qcom,client-id = <0x00000001>; + qcom,vm-nav-path; }; diff --git a/qcom/holi.dtsi b/qcom/holi.dtsi index 067456bb675e..d039505f6104 100644 --- a/qcom/holi.dtsi +++ b/qcom/holi.dtsi @@ -935,6 +935,14 @@ memory-region = <&pil_video_mem>; }; + qcom,rmtfs_sharedmem@0 { + compatible = "qcom,sharedmem-uio"; + reg = <0x0 0x200000>; + reg-names = "rmtfs"; + qcom,client-id = <0x00000001>; + qcom,vm-nav-path; + }; + ufsphy_mem: ufsphy_mem@4807000 { reg = <0x4807000 0xDDC>; reg-names = "phy_mem";