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

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

Merge "msm: mhi: Add MHI core driver"

parents 9bf311b8 a81e713a
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
MSM MHI

MSM MHI enables communication with a device over a PCIe link using the
Modem Host Interface protocol. The bindings referred to below, enable
the correct configuration of the interface and required sideband
signals.

Required properties:
  - compatible: should be "qcom,mhi"
  - Refer to "Documentation/devicetree/bindings/esoc/esoc_client.txt" for
    below properties:
	- esoc-names
	- esoc-0
  - wakeup-gpios: gpio used to wake device from low power mode.
  - Refer to "Documentation/devicetree/bindings/arm/msm/msm_bus.txt" for
    below optional properties:
	- qcom,msm-bus,name
	- qcom,msm-bus,num-cases
	- qcom,msm-bus,num-paths
	- qcom,msm-bus,vectors-KBps

Example:

	mhi: qcom,mhi {
		compatible = "qcom,mhi";
		esoc-names = "mdm";
		esoc-0 = <&mdm1>;
		mhi-device-wake-gpio =
			<&msmgpio 108 0>;
		qcom,msm-bus,name = "mhi";
		qcom,msm-bus,num-cases = <2>;
		qcom,msm-bus,num-paths = <1>;
		qcom,msm-bus,vectors-KBps =
				<100 512 0 0>,
				<100 512 1200000000 1200000000>;
	};
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@
	qcom,msm-bus,num-paths = <1>;
	qcom,msm-bus,vectors-KBps =
			<100 512 0 0>,
			<100 512 625000000 625000000>;
			<100 512 1200000000 1200000000>;
};
&ufsphy1 {
	status = "disabled";
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@
	qcom,msm-bus,num-paths = <1>;
	qcom,msm-bus,vectors-KBps =
			<100 512 0 0>,
			<100 512 625000000 625000000>;
			<100 512 1200000000 1200000000>;
};
&usb3 {
	vbus_dwc3-supply = <&smb1357_otg_vreg>;
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@
	qcom,msm-bus,num-paths = <1>;
	qcom,msm-bus,vectors-KBps =
			<100 512 0 0>,
			<100 512 625000000 625000000>;
			<100 512 1200000000 1200000000>;
};

&usb3 {
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@
	qcom,msm-bus,num-paths = <1>;
	qcom,msm-bus,vectors-KBps =
			<100 512 0 0>,
			<100 512 625000000 625000000>;
			<100 512 1200000000 1200000000>;
};
&usb3 {
	vbus_dwc3-supply = <&smb1357_otg_vreg>;
Loading