Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp32187rwr; Thu, 4 May 2023 14:22:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6+VhaD+EQdEEcpn57VX3r+L/aBDIxCRHZfnUr5MLH6GFP5aXuoWs6d5lL14f36HTVR+88U X-Received: by 2002:a17:90a:74c1:b0:24b:a5b6:e866 with SMTP id p1-20020a17090a74c100b0024ba5b6e866mr3479551pjl.24.1683235354965; Thu, 04 May 2023 14:22:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683235354; cv=none; d=google.com; s=arc-20160816; b=A8y4l+VIaekyKq07cv1AmhyrnQkRcylEcj3nFnuvzlCN7ST9A+6e3LgJepMCSKZ1XV tssQbanpccpZZRwBfbsGyF5k1DcHC1KkqWZClFlxKvJOeyXoHw2BPpor3zGZHnYLh2vS c9rAAMsqo5Cx/mQvrmZiKJPI2W7Y92LUuvz4c1Fcbh8S8w74fcsIsxnlBKEXR4KAxlWo bY+iHF0uxgyGxI/xp7niQwn/isx2euNogsk22UcHnYPJsBLuZk6fYx/695k7XsvlLjIc gDbJWHIMxTE2fafpeiy6nPIpuNY/P+TljNzhH12OX8UO52dHqbupl0RCy42M+LttSuPG RODA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=w1AF1GZ0WT5pOD5hZDOW/UjsIUcOtqbdTWX7manOxFE=; b=xWsKD1eLq7PmEojkzDGihQxvDgN2yWRWTQ8x0J5+6U+u1ARMiaSwdySAUOgr3/gB5/ 4Rf+Q9fXUDXfJnWjchcCBCSidJpZ0+G/8w+M7Fe1r0L6LuAf6wJK6+EW9fHWV3DwEmUo gAtwNcU0DDGsI5upientWU2yyJ9m2ANuYuI0NbknoaBI+IO+fNch6uYyL+hPOZO9D+0l 5udtwmEuPMWdczsqc7SD/HJvT1s7oLtiyj2uGah+UwlChfHvsaB3Zi9p7yVZsPzANJs8 JXOIJglAARlCmt7n3DpXRhr4PAD+VbEaKPr9CBfx2Px6ZJtMECaThcUn0wOQq2qs6aR2 WYdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Nq0O23e3; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r1-20020a17090aa08100b002467e72af54si16085150pjp.43.2023.05.04.14.22.19; Thu, 04 May 2023 14:22:34 -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=@redhat.com header.s=mimecast20190719 header.b=Nq0O23e3; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230178AbjEDUxv (ORCPT + 99 others); Thu, 4 May 2023 16:53:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbjEDUxs (ORCPT ); Thu, 4 May 2023 16:53:48 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FEC611B6A for ; Thu, 4 May 2023 13:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683233493; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=w1AF1GZ0WT5pOD5hZDOW/UjsIUcOtqbdTWX7manOxFE=; b=Nq0O23e3YAMUo5C4ZdMCoZBehsrCqo2JpMJe35Jh7KMjhHnYJ6anWvZiV3d/PNYwzGH+Se x0JIOUFq8rc5s/3xQq3czX14Lsuv/Ki1nq7neyPBrnnFWF8L7mtBxoDfOF79LZPJC4Z4rN eNVV8nOYsgDCxK8s4bp7ZBLsDLAYvIg= Received: from mail-ot1-f72.google.com (mail-ot1-f72.google.com [209.85.210.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-503-XVImsJgaNGae6oV8ZZiH9Q-1; Thu, 04 May 2023 16:07:03 -0400 X-MC-Unique: XVImsJgaNGae6oV8ZZiH9Q-1 Received: by mail-ot1-f72.google.com with SMTP id 46e09a7af769-6a42e05899bso519746a34.0 for ; Thu, 04 May 2023 13:07:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683230822; x=1685822822; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=w1AF1GZ0WT5pOD5hZDOW/UjsIUcOtqbdTWX7manOxFE=; b=bzbRWVzLHF0sBqsMpGjZtOaA4mlXCNoGurPRsK4Vzr53Pc5R79d3ht/bZSm5Wfzjn3 iunu31+FI8hRe7bg0Be7mwc3S4VNAQ6qL22Q2p2pJ2xV+MazSR/wah2d2FjHtENUM26a +y48voy9XqdtpQRbALLJ1vVcBccuAwjHXjsj7fKKA/5u7XxIEf3n2um6gpmTNEVGuVQA mkBabicX8pVsEQhutGt66cS9RtPn8Zl5SbWWVmRrIIeiOzvIyYLcng6ziFsRCD2mPCjg Wuv4eAFOgMpdmKH4+Mqebs7scuZgOAv9Uku33RtmGkRM17QxGMYUVem44o9PTfoU6qma ngnw== X-Gm-Message-State: AC+VfDzMfFIPWilRdhRVvTwrokfPM97qR1BjDfd2ARXMfKrXd39Vn78e fNkMR4mBuzqntQhaAp1eBP4+3DNTPLb+ZS6W2aotxzz092WjtL37Bu6SER/orXRQJPp6ch5Swnp 7NlYJtyCFgDaA8exbjcEN8PTd X-Received: by 2002:a05:6808:2908:b0:38c:4c09:562b with SMTP id ev8-20020a056808290800b0038c4c09562bmr2161233oib.13.1683230822473; Thu, 04 May 2023 13:07:02 -0700 (PDT) X-Received: by 2002:a05:6808:2908:b0:38c:4c09:562b with SMTP id ev8-20020a056808290800b0038c4c09562bmr2161213oib.13.1683230822199; Thu, 04 May 2023 13:07:02 -0700 (PDT) Received: from halaney-x13s ([2600:1700:1ff0:d0e0::22]) by smtp.gmail.com with ESMTPSA id o20-20020a056808125400b003908004b37dsm1966248oiv.26.2023.05.04.13.07.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 May 2023 13:07:01 -0700 (PDT) Date: Thu, 4 May 2023 15:06:59 -0500 From: Andrew Halaney To: Krishna Kurapati PSSNV Cc: Konrad Dybcio , Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , Wesley Cheng , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, quic_pkondeti@quicinc.com, quic_ppratap@quicinc.com, quic_jackp@quicinc.com, quic_harshq@quicinc.com, quic_shazhuss@quicinc.com Subject: Re: [PATCH v7 9/9] arm64: dts: qcom: sa8540-ride: Enable first port of tertiary usb controller Message-ID: <20230504200659.aphlfmk5przvfthi@halaney-x13s> References: <20230501143445.3851-1-quic_kriskura@quicinc.com> <20230501143445.3851-10-quic_kriskura@quicinc.com> <0e76a9f6-f062-2802-d9de-3c0b2b897a4e@linaro.org> <50c37e0c-3171-bce2-d97e-371150e1854f@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50c37e0c-3171-bce2-d97e-371150e1854f@quicinc.com> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 nit I just noticed: s/sa8540-ride/sa8540p-ride/ please during the next spin! On Thu, May 04, 2023 at 11:33:44PM +0530, Krishna Kurapati PSSNV wrote: > > > On 5/2/2023 4:37 PM, Konrad Dybcio wrote: > > > > > > On 1.05.2023 16:34, Krishna Kurapati wrote: > > > There is now support for the multiport USB controller this uses so > > > enable it. > > > > > > The board only has a single port hooked up (despite it being wired up to > > > the multiport IP on the SoC). There's also a USB 2.0 mux hooked up, > > > which by default on boot is selected to mux properly. Grab the gpio > > > controlling that and ensure it stays in the right position so USB 2.0 > > > continues to be routed from the external port to the SoC. > > > > > > Signed-off-by: Andrew Halaney > > > Signed-off-by: Krishna Kurapati > > > --- > > same comments as patch 8 > > > > Konrad > > Hi Konrad, > > Sure, will add a default value for drive-strength for this pinctrl node. > > Hi Andrew Halaney, > > I currently don't have a Ride device with me to test this change. Can you > help test this patch on SA8540-Ride including (drive-strength = <2>;) > property (which I believe is the default value). > > I can test the same on SA8295-ADP and can push the next version quickly. > The patch here for sa8540p-ride already includes the drive strength. I did pull this on top of usb-next and it is working well for me in a quick sanity test. Konrad's pinctrl-names/pinctrl-0 swap is purely cosmetic of course, but for what is worth that works fine too. I'd add my Tested-by for this patch, but it seems silly since I authored the original :) Also, make CHECK_DTBS=y qcom/sa8540p-ride.dtb is still reporting issues, but other reviewers have highlighted that I believe. Just for the record though, make sure you get those silenced! I look forward to the next revision. Thanks, Andrew > Regards, > Krishna, > > > > arch/arm64/boot/dts/qcom/sa8540p-ride.dts | 22 ++++++++++++++++++++++ > > > 1 file changed, 22 insertions(+) > > > > > > diff --git a/arch/arm64/boot/dts/qcom/sa8540p-ride.dts b/arch/arm64/boot/dts/qcom/sa8540p-ride.dts > > > index 24fa449d48a6..53d47593306e 100644 > > > --- a/arch/arm64/boot/dts/qcom/sa8540p-ride.dts > > > +++ b/arch/arm64/boot/dts/qcom/sa8540p-ride.dts > > > @@ -309,6 +309,19 @@ &usb_2_qmpphy0 { > > > status = "okay"; > > > }; > > > +&usb_2 { > > > + pinctrl-names = "default"; > > > + pinctrl-0 = <&usb2_en_state>; > > > + > > > + status = "okay"; > > > +}; > > > + > > > +&usb_2_dwc3 { > > > + dr_mode = "host"; > > > + phy-names = "usb2-port0", "usb3-port0"; > > > + phys = <&usb_2_hsphy0>, <&usb_2_qmpphy0>; > > > +}; > > > + > > > &xo_board_clk { > > > clock-frequency = <38400000>; > > > }; > > > @@ -401,4 +414,13 @@ wake-pins { > > > bias-pull-up; > > > }; > > > }; > > > + > > > + usb2_en_state: usb2-en-state { > > > + /* TS3USB221A USB2.0 mux select */ > > > + pins = "gpio24"; > > > + function = "gpio"; > > > + drive-strength = <2>; > > > + bias-disable; > > > + output-low; > > > + }; > > > }; >