Re: [PATCH 3/3] ARM: dts: omap4-droid4: Add CPCAP PMIC OTG PHY configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

On Thu, Mar 16, 2017 at 09:10:12PM -0700, Tony Lindgren wrote:
> Add CPCAP PMIC OTG PHY configuration.
> 
> Cc: devicetree@xxxxxxxxxxxxxxx
> Cc: Marcel Partap <mpartap@xxxxxxx>
> Cc: Michael Scott <michael.scott@xxxxxxxxxx>
> Cc: Sebastian Reichel <sre@xxxxxxxxxx>
> Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>

Reviewed-by: Sebastian Reichel <sre@xxxxxxxxxx>
Tested-by: Sebastian Reichel <sre@xxxxxxxxxx>

-- Sebastian

> ---
>  arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
> --- a/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
> +++ b/arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
> @@ -65,6 +65,29 @@
>  			interrupts = <23 IRQ_TYPE_NONE>;
>  		};
>  
> +		cpcap_usb2_phy: phy {
> +			compatible = "motorola,mapphone-cpcap-usb-phy";
> +			pinctrl-0 = <&usb_gpio_mux_sel1 &usb_gpio_mux_sel2>;
> +			pinctrl-1 = <&usb_ulpi_pins>;
> +			pinctrl-2 = <&usb_utmi_pins>;
> +			pinctrl-3 = <&uart3_pins>;
> +			pinctrl-names = "default", "ulpi", "utmi", "uart";
> +			#phy-cells = <0>;
> +			interrupts-extended = <
> +				&cpcap 15 0 &cpcap 14 0 &cpcap 28 0 &cpcap 19 0
> +				&cpcap 18 0 &cpcap 17 0 &cpcap 16 0 &cpcap 49 0
> +				&cpcap 48 1
> +			>;
> +			interrupt-names =
> +				"id_ground", "id_float", "se0conn", "vbusvld",
> +				"sessvld", "sessend", "se1", "dm", "dp";
> +			mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH
> +				      &gpio1 0 GPIO_ACTIVE_HIGH>;
> +			io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>;
> +			io-channel-names = "vbus", "id";
> +			vusb-supply = <&vusb>;
> +		};
> +
>  		led_red: led-red {
>  			compatible = "motorola,cpcap-led-red";
>  			vdd-supply = <&sw5>;
> -- 
> 2.11.1

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux