Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6910755rwr; Tue, 25 Apr 2023 05:49:20 -0700 (PDT) X-Google-Smtp-Source: AKy350a9Xb3QUQChOL2/i0d6R4jwzm1NOymb+NgLWPeHc+6yZB1703Wtsv4CjF/g+AqR9JuUAHeZ X-Received: by 2002:a05:6a20:a111:b0:f3:ae06:c4e6 with SMTP id q17-20020a056a20a11100b000f3ae06c4e6mr9724081pzk.6.1682426960084; Tue, 25 Apr 2023 05:49:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682426960; cv=none; d=google.com; s=arc-20160816; b=ziucuaW6NDMGN9+WWTYLNW8fJDPJvoTo2t3c58sPBSJzO/RbkzzW8+f4K9FncPumkw 8BzgMKIy9CDP6Z7mcX06Dhr7dL5M1+mMo3OFj0heDBB3dTJ9/erUENA2iEe09W3mJKpQ YNXazPesHrCgd1KQfkqnGvouYX+v0oJbn9SccilomrBPs5y73Q3zRUhpeVSoRNZDOzri +ErNUsWQwPp8QVLzCiMH77M9Hwk8MUMTEfViULghHoRwgp2t0OJVzYhlyicJVFOTt3V7 gUW7cL29fZCDTf9tFDpjxbGYt0GxqBWWug8H3dBIF7mS+entDCnBF0D86Mx+XMOSxMZI 0oUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=LBfwTxbidWZ0or12s36XuGswyWTtxWPU3nU7gxW9OEM=; b=cF+UhXiVinKfkiv9iWTV7W0+bFXekI2/ugMwPFp+FFYcGLxMXzm2bsks7sW8K8yWjI xE0HgmTkUlPonZswir4QJO6mO0fi+fU8MFzi+GnqI8VDPAIf0IZANfuxyzmSvDUjBKC/ +Nkc3c0O0HTcEG4ZLtOSigkUiL3R7CqwQrN33bcZnd0PHqNqKiLmQ/vTonIx6a8sWLb4 DmDIjnwq5fL+rvQHvlsLyKJpwih6VBEBYat88N2Qlm1Kab2KREyC+tfVa7z1s7Dxy6bN Ag/kha8Uw/WviGJyC39sYRdugrZ4CHu1LkXFmItXkVPHThoo7Q1x+FvlWlOxGGwGrRvY nLSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=a+Uy9OQ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c31-20020a631c5f000000b0052087b60637si13794653pgm.144.2023.04.25.05.49.05; Tue, 25 Apr 2023 05:49:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=a+Uy9OQ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234133AbjDYMhO (ORCPT + 99 others); Tue, 25 Apr 2023 08:37:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234120AbjDYMhM (ORCPT ); Tue, 25 Apr 2023 08:37:12 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EE1CD32E; Tue, 25 Apr 2023 05:37:06 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33PCaowv026583; Tue, 25 Apr 2023 07:36:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682426210; bh=LBfwTxbidWZ0or12s36XuGswyWTtxWPU3nU7gxW9OEM=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=a+Uy9OQ8gAEyv2rCjjUEt/M8s5zvGRwk9iukj8fDFxY1ZEzj7gg8+urtwT/JTzXIk RUBl9ykXKT82kZdfYfWiCmTA6K5bW+lYvllHND7kRFmzrFlfocDJPleJwj4IxrPWTh t1p+Ro1idWtbaags2aFDk9hbDmHWgBeOz+iGiLMY= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33PCanBL068406 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 25 Apr 2023 07:36:50 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 25 Apr 2023 07:36:49 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Tue, 25 Apr 2023 07:36:49 -0500 Received: from [10.24.69.79] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33PCajGM000377; Tue, 25 Apr 2023 07:36:46 -0500 Message-ID: <57b41394-fdc4-b185-94c9-9daac7a9b89b@ti.com> Date: Tue, 25 Apr 2023 18:06:45 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v14 5/8] arm64: dts: ti: k3-j721s2-common-proc-board: Add USB support Content-Language: en-US To: Roger Quadros , , , , , , , , , ravi Gunasekaran CC: , , References: <20230331090028.8373-1-r-gunasekaran@ti.com> <20230331090028.8373-6-r-gunasekaran@ti.com> From: Ravi Gunasekaran In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/04/23 5:31 pm, Roger Quadros wrote: > > > On 31/03/2023 12:00, Ravi Gunasekaran wrote: >> From: Aswath Govindraju >> >> The board uses lane 1 of SERDES for USB. Set the mux >> accordingly. >> >> The USB controller and EVM supports super-speed for USB0 >> on the Type-C port. However, the SERDES has a limitation >> that up to 2 protocols can be used at a time. The SERDES is >> wired for PCIe, eDP and USB super-speed. It has been >> chosen to use PCIe and eDP as default. So restrict >> USB0 to high-speed mode. >> >> Signed-off-by: Aswath Govindraju >> Signed-off-by: Matt Ranostay >> Signed-off-by: Ravi Gunasekaran >> --- >> I had reviewed this patch in the v5 series [0]. >> Since I'm taking over upstreaming this series, I removed the self >> Reviewed-by tag. >> [...] >> * No change >> >> .../dts/ti/k3-j721s2-common-proc-board.dts | 23 +++++++++++++++++++ >> 1 file changed, 23 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts >> index 1afefaf3f974..5c4ffb8124ca 100644 >> --- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts >> +++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts >> @@ -147,6 +147,12 @@ >> J721S2_IOPAD(0x020, PIN_INPUT, 7) /* (AA23) MCAN15_RX.GPIO0_8 */ >> >; >> }; >> + >> + main_usbss0_pins_default: main-usbss0-pins-default { >> + pinctrl-single,pins = < >> + J721S2_IOPAD(0x0ec, PIN_OUTPUT, 6) /* (AG25) TIMER_IO1.USB0_DRVVBUS */ > > What about USB0_ID pin? > The pin (AC9) for USB0_ID signal is not multiplexed with any other signals. Please see Page 51 in [0]. >> + >; >> + }; >> }; >> [...] >> + >> +&usb0 { >> + dr_mode = "otg"; >> + maximum-speed = "high-speed"; > > Why is super-speed not possible? > I understood that SERDES lane 1 can be used for USB super-speed. The SerDes on J721S2 can simultaneously support only two protocols. By default PCIe and DP will be supported. Due to this, USB is configured in high-speed and this does not require any SerDes lane configuration. > >> +}; >> + >> &mcu_mcan0 { >> status = "okay"; >> pinctrl-names = "default"; > > cheers, > -roger [0] https://www.ti.com/lit/gpn/TDA4AL-Q1 -- Regards, Ravi