From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7270C43461 for ; Tue, 8 Sep 2020 12:38:16 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4FC7E221EC for ; Tue, 8 Sep 2020 12:38:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gDPTMRZB"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="dJmrpRIv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4FC7E221EC Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=L0sd76owFrHZuFgZv16a5TxZx6XjBIejYDQDxpcoOfU=; b=gDPTMRZBKC38k/rSa4QnRvepz my2LiPWDxGYXM+tfKNHfBVkkHijwEmFzcHEFbKaqlIzknhcQYLm/ixMg00A2RBwI91XwWhxSRsLDt BvgweB95pm2Jx052H9IYRRWCnwxyO0UdlbTwCsVDku2RKBcwgPj3n6I/DyWHL4ByQ1GuXeLOyygYS klJVU2565BtA0S2pnPZr91QDgM4cwAYjBlX+Mv1lu8ZqgTd43gEvbnFWxP9OB1zHHfypFVZs0DtH8 vLyfJsernAQvoXuO/Jq8gZk58/9fyxASR6HYdTU5rGtkY0pw0sJr8JOsdVH+QAhlV1Lu8P8X/PX7g b9pAcM57Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFcrs-0005Xx-SQ; Tue, 08 Sep 2020 12:37:00 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFcrm-0005XL-T7 for linux-arm-kernel@lists.infradead.org; Tue, 08 Sep 2020 12:36:58 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 088Caq2l101881; Tue, 8 Sep 2020 07:36:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1599568612; bh=yE6h/TCCI1nr5Hwk2p595EtwXTIH9VDdBsXkMKKTFWA=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=dJmrpRIv/Jw2G79AVUgGNzWeslazPxYqLvhWM6FOoBSjTVLxI4e7DjvFMhHGSteIZ bdut1T98FntyvxALagJ6MPiDXjpHufpg8kvWYKM9dupO3UC8BUzsIpShwb5xtg/Tso 5Bp6hu0U+YNXMl8SNckYFa/VnfmKYWuvDKPfWCI8= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 088Caqj9102372; Tue, 8 Sep 2020 07:36:52 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 8 Sep 2020 07:36:52 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 8 Sep 2020 07:36:52 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 088Caq0J126769; Tue, 8 Sep 2020 07:36:52 -0500 Date: Tue, 8 Sep 2020 07:36:51 -0500 From: Nishanth Menon To: Roger Quadros Subject: Re: [PATCH v2 6/6] arm64: dts: ti: k3-j7200-common-proc-board: Add USB support Message-ID: <20200908123651.yg54ht2z2esqdg4e@akan> References: <20200907145213.30788-1-rogerq@ti.com> <20200907145213.30788-7-rogerq@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200907145213.30788-7-rogerq@ti.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200908_083655_032520_0A54F896 X-CRM114-Status: GOOD ( 16.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, nsekhar@ti.com, linux-kernel@vger.kernel.org, kishon@ti.com, t-kristo@ti.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 17:52-20200907, Roger Quadros wrote: > Enable USB0 port in high-speed (2.0) mode. Am I right that this is a choice forced by serdes mux configuration selection? Might be good to document it (default speed is super-speed). > > The board uses lane 3 of SERDES for USB. Set the mux > accordingly. > > Signed-off-by: Roger Quadros > --- > .../dts/ti/k3-j7200-common-proc-board.dts | 22 +++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts > index 0ecaba600704..5ce3fddbd617 100644 > --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts > +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts > @@ -42,6 +42,12 @@ > J721E_IOPAD(0xe4, PIN_INPUT, 8) /* (V1) TIMER_IO0.MMC1_SDCD */ > >; > }; > + > + main_usbss0_pins_default: main-usbss0-pins-default { > + pinctrl-single,pins = < > + J721E_IOPAD(0x120, PIN_OUTPUT, 0) /* (T4) USB0_DRVVBUS */ > + >; > + }; > }; > > &wkup_uart0 { > @@ -145,3 +151,19 @@ > idle-states = , , > , ; > }; > + > +&usb_serdes_mux { > + idle-states = <1>; /* USB0 to SERDES lane 3 */ > +}; > + > +&usbss0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&main_usbss0_pins_default>; > + ti,vbus-divider; > + ti,usb2-only; > +}; > + > +&usb0 { > + dr_mode = "otg"; > + maximum-speed = "high-speed"; > +}; > -- > Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. > Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel