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

Commit c0e6a477 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mhi_bus: dev: netdev: add network interface driver" into msm-4.14

parents a2030579 15dec71f
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
@@ -134,3 +134,39 @@ mhi_controller {
		<driver specific properties>
	};
};

================
Children Devices
================

MHI netdev properties

- mhi,chan
  Usage: required
  Value type: <string>
  Definition: Channel name MHI netdev support

- mhi,mru
  Usage: required
  Value type: <u32>
  Definition: Largest packet size interface can receive in bytes.

- mhi,interface-name
  Usage: optional
  Value type: <string>
  Definition: Interface name to be given so clients can identify it

- mhi,recycle-buf
  Usage: optional
  Value type: <bool>
  Definition: Set true if interface support recycling buffers.

========
Example:
========

mhi_rmnet@0 {
	mhi,chan = "IP_HW0";
	mhi,interface-name = "rmnet_mhi";
	mhi,mru = <0x4000>;
};
+1 −0
Original line number Diff line number Diff line
@@ -202,5 +202,6 @@ config MHI_DEBUG
	   will be logged.

source drivers/bus/mhi/controllers/Kconfig
source drivers/bus/mhi/devices/Kconfig

endmenu
+1 −1
Original line number Diff line number Diff line
@@ -5,4 +5,4 @@
# core layer
obj-y += core/
obj-y += controllers/
#obj-y += devices/
obj-y += devices/
+10 −0
Original line number Diff line number Diff line
menu "MHI device support"

config MHI_NETDEV
       tristate "MHI NETDEV"
       depends on MHI_BUS
       help
	  MHI based net device driver for transferring IP traffic
	  between host and modem. By enabling this driver, clients
	  can transfer data using standard network interface.
endmenu
+1 −0
Original line number Diff line number Diff line
obj-$(CONFIG_MHI_NETDEV) +=mhi_netdev.o
Loading