Satya Durga Srinivasu Prabhala | 6090900 | 2016-09-12 11:36:09 -0700 | [diff] [blame] | 1 | * Qualcomm Technologies Inc Embedded USB Debugger (EUD) |
| 2 | |
| 3 | The EUD (Embedded USB Debugger) is a mini-USB hub implemented |
| 4 | on chip to support the USB-based debug and trace capabilities. |
| 5 | |
| 6 | Required 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 Prabhala | 5a49778 | 2017-09-22 13:47:47 -0700 | [diff] [blame] | 13 | - 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 Prabhala | 6090900 | 2016-09-12 11:36:09 -0700 | [diff] [blame] | 17 | |
| 18 | Driver notifies clients via extcon for VBUS spoof attach/detach |
| 19 | and charger enable/disable events. Clients registered for these |
| 20 | notifications should have extcon property set to eud. |
| 21 | |
| 22 | An 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 Prabhala | 5a49778 | 2017-09-22 13:47:47 -0700 | [diff] [blame] | 30 | clocks = <&clock_gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>; |
| 31 | clock-names = "cfg_ahb_clk"; |
Satya Durga Srinivasu Prabhala | 6090900 | 2016-09-12 11:36:09 -0700 | [diff] [blame] | 32 | }; |
| 33 | |
| 34 | An example for EUD extcon client: |
| 35 | |
| 36 | usb3 { |
| 37 | extcon = <&eud>; |
| 38 | }; |