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=-15.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 CCA03C433B4 for ; Wed, 12 May 2021 19:45:23 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 3971161417 for ; Wed, 12 May 2021 19:45:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3971161417 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:CC: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=U/vaqEaA+HGEVYHBYg/zBEaOCInDazfb7cCi4erQ7mo=; b=MLWB/bqxRVIYexUUPmxbnVSUz M1lk+47Y+RctmGN+uTaaRK97OEzx2wZCwQm2zepGldJH2V/sDvWA1o7EFvjsaePYQHmOaxuPIFyyq OJr6CE/bYWxqII7vKpXsW0i8wZLNuXDvWo9rp/f6ypKu6ijD6VRQ1LyX8kHlQq5T1lRQG/JwWyfCF 4dMW9xDOyS3srYug7nYfnuHOYWlUYgpfUA9k6gr7oeoUolQb05AbwkwqpUC2j0JJGz3marwpVzSAr 13K+bLqzecUrugq0K1ChdI9gJZr4s5PcqjmxhAEvmCPIYkU96WbFSyvHgSkYf87Ztw4pQAUXun1hO HbhCt6xjg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lguk9-003oqU-Us; Wed, 12 May 2021 19:42:06 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lguid-003olh-Ng for linux-arm-kernel@desiato.infradead.org; Wed, 12 May 2021 19:40:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:CC:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=XAxS0SFmIO1s0BnTAqYY39TUgH1g7xZH22mM1kqhW6w=; b=zDTvBIeTQQgxv6Au3FHnMIgzdK Ed7nIEMRfVQJDi1ITw8pQzn0s/9Vf7dUCz7xsGYKKCN5KlEhE4MuInZpIfYrJWxfkBUr4A3n/GNL+ 2QzhUeIzVa13f9GyGsRCBOTfDmIEph+rENkjBBR07pD2mD4x2rlzDMF7Wx4f19CPJGnMAodHfyBOy E94PVAVGMGBGLBna/pZqUq0L6UoqWyD0Avz/YyA1m78F2iSCiJa6A3uA+tarDFn+wNqYvkxE5v1q2 CN0+oa36BCnCtkD8x7p0Y+LKc1pid5NfOYjVjU1O4Mkt8/qfR3ZkxlW2VdTDfIolyNU9hyzyeeCuP oTd1vrmA==; Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lguiY-00AlbB-6n for linux-arm-kernel@lists.infradead.org; Wed, 12 May 2021 19:40:29 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14CJeNuY099245; Wed, 12 May 2021 14:40:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1620848423; bh=XAxS0SFmIO1s0BnTAqYY39TUgH1g7xZH22mM1kqhW6w=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=K4aN4KrilSsAyG3k6eLAjq4S8oceXLPdhroGnMK0UzdGg3DxTS8OfW4H7fGJpQWCI cqbG/pGXWqaPa2Dq2QWM5j82uSh2PKKRLKq0mAkevmfzWWEPmrtUhgH7mekVdslMbV kS9TkdfHIi/ZuazLQj7ljNKIgSPKNiFVPN+uqG0w= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14CJeNKu023795 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 May 2021 14:40:23 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 12 May 2021 14:40:22 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Wed, 12 May 2021 14:40:23 -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 14CJeMA5084821; Wed, 12 May 2021 14:40:22 -0500 Date: Wed, 12 May 2021 14:40:22 -0500 From: Nishanth Menon To: Kishon Vijay Abraham I CC: Tero Kristo , Rob Herring , , , , Lokesh Vutla , Subject: Re: [PATCH 4/5] arm64: dts: ti: k3-am642-sk: Enable USB Super-Speed HOST port Message-ID: <20210512194022.27h53llpxmvg3eoe@splurge> References: <20210512150107.26793-1-kishon@ti.com> <20210512150107.26793-5-kishon@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210512150107.26793-5-kishon@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-20210512_124026_371545_5A3F25A4 X-CRM114-Status: GOOD ( 15.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 20:31-20210512, Kishon Vijay Abraham I wrote: > Enable USB Super-Speed HOST port. > > Signed-off-by: Kishon Vijay Abraham I > Signed-off-by: Aswath Govindraju > --- > arch/arm64/boot/dts/ti/k3-am642-sk.dts | 39 ++++++++++++++++++++++++++ > 1 file changed, 39 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts > index 8424cd071955..056c1b2df559 100644 > --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts > +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts > @@ -5,6 +5,8 @@ > > /dts-v1/; > > +#include > +#include > #include > #include > #include "k3-am642.dtsi" > @@ -85,6 +87,12 @@ > >; > }; > > + main_usb0_pins_default: main-usb0-pins-default { > + pinctrl-single,pins = < > + AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */ > + >; > + }; > + > main_i2c1_pins_default: main-i2c1-pins-default { > pinctrl-single,pins = < > AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */ > @@ -235,6 +243,37 @@ > disable-wp; > }; > > +&serdes_ln_ctrl { > + idle-states = ; > +}; > + > +&serdes_wiz0 { > + status = "okay"; not sure I understand why default of okay needs to be explicitly stated as okay in board dts. > +}; > + > +&serdes0 { > + serdes0_usb_link: phy@0 { > + reg = <0>; > + cdns,num-lanes = <1>; > + #phy-cells = <0>; > + cdns,phy-type = ; > + resets = <&serdes_wiz0 1>; > + }; > +}; > + > +&usbss0 { > + ti,vbus-divider; > +}; > + > +&usb0 { > + dr_mode = "host"; > + maximum-speed = "super-speed"; > + pinctrl-names = "default"; > + pinctrl-0 = <&main_usb0_pins_default>; > + phys = <&serdes0_usb_link>; > + phy-names = "cdns3,usb3-phy"; > +}; > + > &cpsw3g { > pinctrl-names = "default"; > pinctrl-0 = <&mdio1_pins_default > -- > 2.17.1 > -- 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