From 2f4d05fe9f9dee7a5178ba21e4f50494b226eb5e Mon Sep 17 00:00:00 2001 From: Richard Patrick Date: Wed, 4 Dec 2019 15:50:34 -0800 Subject: [PATCH] ARM: dts: msm: enable rmtfs for Lahaina Add rmtfs properties to enable remote storage access for Lahaina. Change-Id: I4f427b5572ea6c2290dda3be8a3c91ba0b3d3280 --- bindings/uio/msm_sharedmem.txt | 18 ++++++++++++++++++ qcom/lahaina.dtsi | 7 +++++++ 2 files changed, 25 insertions(+) create mode 100644 bindings/uio/msm_sharedmem.txt diff --git a/bindings/uio/msm_sharedmem.txt b/bindings/uio/msm_sharedmem.txt new file mode 100644 index 000000000000..749c6e856819 --- /dev/null +++ b/bindings/uio/msm_sharedmem.txt @@ -0,0 +1,18 @@ +msm_sharedmem provides the shared memory addresses for various clients in user-space + +Required properties: +- compatible: Must be "qcom,sharedmem-uio" +- reg : The address and size of the shared memory. The address/sizes may vary. + A reg address of Zero indicates that the shared memory is dynamically + allocated using dma_alloc_coherent. A non zero reg address is used + directly. +- reg-names : Indicates various client-names. +- qcom,client-id : The client id for the QMI clients. + +Example: + qcom,msm_sharedmem@0dc80000 { + compatible = "qcom,sharedmem-uio"; + reg = <0x0dc80000 0x00180000>, + reg-names = "rmtfs"; + qcom,client-id = <0x00000001>; + }; diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index 0b894e7efcf6..85bda183be4d 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -959,6 +959,13 @@ qcom,rtb-size = <0x100000>; }; + qcom,rmtfs_sharedmem@0 { + compatible = "qcom,sharedmem-uio"; + reg = <0x0 0x200000>; + reg-names = "rmtfs"; + qcom,client-id = <0x00000001>; + }; + ufsphy_mem: ufsphy_mem@1d87000 { reg = <0x1d87000 0xe10>; reg-names = "phy_mem";