blob: 45e309c9c018e1c7ff8af70ab9a5ae5b67ffbc68 [file] [log] [blame]
Satya Durga Srinivasu Prabhala60909002016-09-12 11:36:09 -07001* Qualcomm Technologies Inc Embedded USB Debugger (EUD)
2
3The EUD (Embedded USB Debugger) is a mini-USB hub implemented
4on chip to support the USB-based debug and trace capabilities.
5
6Required properties:
7
8 - compatible: Should be "qcom,msm-eud"
9 - interrupt-names: Should be "eud_irq"
10 - interrupts: Interrupt number
11 - reg: Should be address and size of EUD register space
12 - reg-names: Should be "eud_base"
Satya Durga Srinivasu Prabhala5a497782017-09-22 13:47:47 -070013 - clocks: a list of phandles to the PHY clocks. Use as per
14 Documentation/devicetree/bindings/clock/clock-bindings.txt
15 - clock-names: Names of the clocks in 1-1 correspondence with
16 the "clocks" property.
Satya Durga Srinivasu Prabhala60909002016-09-12 11:36:09 -070017
18Driver notifies clients via extcon for VBUS spoof attach/detach
19and charger enable/disable events. Clients registered for these
20notifications should have extcon property set to eud.
21
22An example for EUD device node:
23
24 eud: qcom,msm-eud@88e0000 {
25 compatible = "qcom,msm-eud";
26 interrupt-names = "eud_irq";
27 interrupts = <GIC_SPI 492 IRQ_TYPE_LEVEL_HIGH>;
28 reg = <0x88e0000 0x4000>;
29 reg-names = "eud_base";
Satya Durga Srinivasu Prabhala5a497782017-09-22 13:47:47 -070030 clocks = <&clock_gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>;
31 clock-names = "cfg_ahb_clk";
Satya Durga Srinivasu Prabhala60909002016-09-12 11:36:09 -070032 };
33
34An example for EUD extcon client:
35
36 usb3 {
37 extcon = <&eud>;
38 };