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

Commit 3354cfe3 authored by Tarun Gupta's avatar Tarun Gupta Committed by Gerrit - the friendly Code Review server
Browse files

usb: gadget: Add snapshot of ChipIdea MSM HSIC driver



Add the snapshot ChipIdea-based HSIC UDC drivers for MSM chipsets for
USB. This snapshot is taken from msm-3.10 'commit f62f95b715a5
("Merge "dwc3-msm: Turn on 1.8V LDO before turning on 3.3V LDO"")'.

Change-Id: Id75431123f0af17595a5800b91a1d47105700e13
Signed-off-by: default avatarTarun Gupta <tarung@codeaurora.org>
parent 79ef7b34
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
USB HSIC Peripheral:

This describes device tree node for the USB HSIC Peripheral. This works with
usage of USB Device controller to enable USB HSIC Device mode functionality.

Required properties:
- compatible: should be "qcom,hsic-peripheral"
- regs : offset and length of the register set in the memory map
- interrupts: IRQ lines used by this controller
- <supply-name>-supply: handle to the regulator device tree node
  Required "supply-name" is "vdd" and optional "GDSC".
- qcom,vdd-voltage-level: This property must be a list of three integer
  values (no, min, max) where each value represents either a voltage in
  microvolts or a value corresponding to voltage corner.

Optional properties :
- qcom,usb-id-core: USB Core Index to be used to bind with gadget driver.
Example USB HSIC device node :
	hsic: hsic@f9a15000 {
		compatible = "qcom,hsic-peripheral";
		reg = <0xf9a15000 0x352>;
		interrupts = <0 136 0>;
		qcom,usb-id-core = <1>;
		vdd-supply = <&pmd9635_l2>;
		GDSC-supply = <&gdsc_usb_hsic>;
		qcom,vdd-voltage-level = <0 1200000 1200000>;
	};
+328 −153

File changed.

Preview size limit exceeded, changes collapsed.