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";