Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753816Ab3HBPEX (ORCPT ); Fri, 2 Aug 2013 11:04:23 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:60561 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752674Ab3HBPEV (ORCPT ); Fri, 2 Aug 2013 11:04:21 -0400 Message-ID: <51FBCA6F.9030503@ti.com> Date: Fri, 2 Aug 2013 20:34:15 +0530 From: George Cherian User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Roger Quadros CC: , , , , , , , , , Subject: Re: [PATCH 3/4] dts: dra7-evm: add USB support References: <1375369134-26398-1-git-send-email-rogerq@ti.com> <1375369134-26398-4-git-send-email-rogerq@ti.com> In-Reply-To: <1375369134-26398-4-git-send-email-rogerq@ti.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1297 Lines: 51 On 8/1/2013 8:28 PM, Roger Quadros wrote: > Add USB drv_vbus pinctrl information and USB mode > for the USB controller. > > Signed-off-by: Roger Quadros > --- > arch/arm/boot/dts/dra7-evm.dts | 22 ++++++++++++++++++++++ > 1 files changed, 22 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts > index cb0703c..acd3c09 100644 > --- a/arch/arm/boot/dts/dra7-evm.dts > +++ b/arch/arm/boot/dts/dra7-evm.dts > @@ -18,3 +18,25 @@ > reg = <0x80000000 0x60000000>; /* 1536 MB */ > }; > }; > + > +&dra7_pmx_core { > + pinctrl-names = "default"; > + pinctrl-0 = < > + &usb_pins > + >; > + > + usb_pins: pinmux_usb_pins { > + pinctrl-single,pins = < > + 0x280 0xc0000 /* usb1_drvvbus, SLOW_SLEW | PULLUPEN | MODE0 */ > + 0x284 0xc0000 /* usb2_drvvbus, SLOW_SLEW | PULLUPEN | MODE0 */ > + >; > + }; > +}; > + > +&dwc3_1 { > + dr_mode = "otg"; otg??? > +}; > + > +&dwc3_2 { > + dr_mode = "host"; > +}; -- -George -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/