Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abbe48a1 authored by Sujeev Dias's avatar Sujeev Dias
Browse files

msm: mhi_rmnet: Add support for platform devices



In order to support multiple instances of mhi_rmnet
net devices re-architect how the driver initialize
by adding support for platform device.

CRs-Fixed: 1027069
Change-Id: I038f9dcb2e9bffb2637d82fb30794f6e6d4c578c
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent 187c2895
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
MSM MHI RMNET interface device

MHI RMNET provides a network interface over PCIe
to transfer IP packets between modem and apps.

Required properties:
- compatible : "qcom,mhi-rmnet"
- At least one of MHI channel
  - qcom,mhi-rx-channel : MHI channel number for incoming data
  - qcom,mhi-tx-channel : MHI channel number for outgoing data
- Default MRU for interface
  - qcom,mhi-mru
- Alias id to identify interface instance

Example:
	aliases {
		mhi_rmnet0 = &mhi_rmnet_0;
	};
	mhi_rmnet_0: qcom,mhi-rmnet@0 {
		compatible = "qcom,mhi-rmnet";
		qcom,mhi-rx-channel = <101>;
		qcom,mhi-tx-channel = <100>;
		qcom,mhi-mru = <8000>;
		status = "okay";
	};
+451 −259

File changed.

Preview size limit exceeded, changes collapsed.