From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ivan T. Ivanov" Subject: Re: dts file with usb entry for dragonboard Date: Thu, 30 Jan 2014 17:20:53 +0200 Message-ID: <1391095253.3275.11.camel@iivanov-dev> References: <52EA2410.3090307@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from ns.mm-sol.com ([37.157.136.199]:44735 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751165AbaA3PWN (ORCPT ); Thu, 30 Jan 2014 10:22:13 -0500 In-Reply-To: <52EA2410.3090307@suse.de> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Tim Bird Cc: =?ISO-8859-1?Q?AndreasF=E4rber?= , linux-arm-msm@vger.kernel.org Hi,=20 On Thu, 2014-01-30 at 11:06 +0100, Andreas F=E4rber wrote: > Hi, >=20 > Am 29.01.2014 23:19, schrieb Tim Bird: > > I'm looking at the USB patches you posted in November. I'd like > > to test them on a dragonboard I've got here. Could you possibly se= nd > > me your dts file for the dragonboard, or let me know where I might > > get one with correpsonding bindings for the dragonboard (apq8074)? >=20 > It looked as if there is one queued for 3.14 here: >=20 > http://git.kernel.org/cgit/linux/kernel/git/davidb/linux-msm.git/comm= it/?h=3Dfor-3.14/boards&id=3De1959aadd4fdb804da85dbd2c6d11021811db7a3 >=20 > HTH, > Andreas >=20 Well, you will not get too far with just these files. I am using=20 DTS files available in CAF repository with new Qualcomm clock=20 controller driver and one ugly patch which "port" regulator drivers to upstream kernel. USB3.0 patches are not really tested because I can not=20 get one of the PHY clocks up. USB2.0 driver is working fine with following DTS bindings. Regards, Ivan usb2_phy: usb@f9a55000 { compatible =3D "qcom,usb-otg-snps"; status =3D "disabled"; reg =3D <0xf9a55000 0x400>; interrupts =3D <0 134 0>; vddcx-supply =3D <&pm8841_s2_corner>; v1p8-supply =3D <&pm8941_l6>; v3p3-supply =3D <&pm8941_l24>; dr_mode =3D "peripheral"; qcom,phy-init-sequence =3D <0x63 0x81 0xffffffff>; qcom,otg-control =3D <1>; qcom,vdd-levels =3D <1 5 7>; resets =3D <&gcc GCC_USB2A_PHY_BCR>, <&gcc GCC_USB_HS_BCR>; reset-names =3D "phy", "link"; clocks =3D <&gcc GCC_XO_CLK>, <&gcc GCC_USB_HS_SYSTEM_C= LK>, <&gcc GCC_USB_HS_AHB_CLK>; clock-names =3D "phy", "core", "iface"; }; gadget@f9a55000 { compatible =3D "qcom,ci-hdrc"; reg =3D <0xf9a55000 0x400>; dr_mode =3D "peripheral"; interrupts =3D <0 134 0>; interrupt-names =3D "core_irq"; usb-phy =3D <&usb2_phy>; };