Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[cris-mirror.git] / Documentation / devicetree / bindings / phy / phy-cpcap-usb.txt
blob2eb9b2b69037f75f07256ae7a17df9ac2272f28a
1 Motorola CPCAP PMIC USB PHY binding
3 Required properties:
4 compatible: Shall be either "motorola,cpcap-usb-phy" or
5             "motorola,mapphone-cpcap-usb-phy"
6 #phy-cells: Shall be 0
7 interrupts: CPCAP PMIC interrupts used by the USB PHY
8 interrupt-names: Interrupt names
9 io-channels: IIO ADC channels used by the USB PHY
10 io-channel-names: IIO ADC channel names
11 vusb-supply: Regulator for the PHY
13 Optional properties:
14 pinctrl: Optional alternate pin modes for the PHY
15 pinctrl-names: Names for optional pin modes
16 mode-gpios: Optional GPIOs for configuring alternate modes
18 Example:
19 cpcap_usb2_phy: phy {
20         compatible = "motorola,mapphone-cpcap-usb-phy";
21         pinctrl-0 = <&usb_gpio_mux_sel1 &usb_gpio_mux_sel2>;
22         pinctrl-1 = <&usb_ulpi_pins>;
23         pinctrl-2 = <&usb_utmi_pins>;
24         pinctrl-3 = <&uart3_pins>;
25         pinctrl-names = "default", "ulpi", "utmi", "uart";
26         #phy-cells = <0>;
27         interrupts-extended = <
28                 &cpcap 15 0 &cpcap 14 0 &cpcap 28 0 &cpcap 19 0
29                 &cpcap 18 0 &cpcap 17 0 &cpcap 16 0 &cpcap 49 0
30                 &cpcap 48 1
31         >;
32         interrupt-names =
33                 "id_ground", "id_float", "se0conn", "vbusvld",
34                 "sessvld", "sessend", "se1", "dm", "dp";
35         mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH
36                       &gpio1 0 GPIO_ACTIVE_HIGH>;
37         io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>;
38         io-channel-names = "vbus", "id";
39         vusb-supply = <&vusb>;