From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D26B01F604; Mon, 23 Oct 2023 16:30:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YE83aC6i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 473E1C433C7; Mon, 23 Oct 2023 16:30:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698078614; bh=oxhRkKnt1vpZzLnIp9TEFC3AqRHgwU5lT3eCZlDuw48=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YE83aC6iJN5FiMSyL1eqYXTZ9s18lUw/qEmLBkqlvmYgQ34qR2XCJljH7MpIsCZvo idB3WnKgL7GBaTOfTgim3oHz54nRve9bZ46sgkGe8iWZ/e/RPusxgFNhCUagcACq0C vLA2y3HA5Q+oC+amV6WYuaqCM4xQxXx1nlcMPdv8hTBkVs7IaLDvvB/I3aF7lOaWxF hiC2Fw2LnThirCygiDnsUXBdhKAZofDUnK9SbcyqL73azOn1JhP2/fwgiXisPQjo7b VD+g2ner/YU4qVK76cjb2mDRrQ92129YPSjxQ+ayk4A/WE1gAO81ua65jKzpodPX9x ZNvsN+10voyjg== Received: from johan by xi.lan with local (Exim 4.96) (envelope-from ) id 1quxoy-0002Bs-1e; Mon, 23 Oct 2023 18:30:29 +0200 Date: Mon, 23 Oct 2023 18:30:28 +0200 From: Johan Hovold To: Krishna Kurapati Cc: Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , Andy Gross , Bjorn Andersson , Konrad Dybcio , 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, ahalaney@redhat.com, quic_shazhuss@quicinc.com Subject: Re: [PATCH v13 10/10] arm64: dts: qcom: sa8540-ride: Enable first port of tertiary usb controller Message-ID: References: <20231007154806.605-1-quic_kriskura@quicinc.com> <20231007154806.605-11-quic_kriskura@quicinc.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231007154806.605-11-quic_kriskura@quicinc.com> On Sat, Oct 07, 2023 at 09:18:06PM +0530, Krishna Kurapati wrote: > From: Andrew Halaney > > 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. > > Co-developed-by: Andrew Halaney Checkpatch complains about this one too since Andrew is the primary author. > Signed-off-by: Andrew Halaney > [Krishna: Rebased on top of usb-next] > Co-developed-by: Krishna Kurapati > Signed-off-by: Krishna Kurapati How much co-development did you actually do here? Just rebasing and submitting a patch is not enough to warrant shared authorship. > --- > arch/arm64/boot/dts/qcom/sa8540p-ride.dts | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8540p-ride.dts b/arch/arm64/boot/dts/qcom/sa8540p-ride.dts > index b04f72ec097c..6904a4c201ff 100644 > --- a/arch/arm64/boot/dts/qcom/sa8540p-ride.dts > +++ b/arch/arm64/boot/dts/qcom/sa8540p-ride.dts > @@ -503,6 +503,18 @@ &usb_2_qmpphy0 { > status = "okay"; > }; > > +&usb_2 { > + pinctrl-0 = <&usb2_en_state>; > + pinctrl-names = "default"; > + > + status = "okay"; > +}; > + > +&usb_2_dwc3 { > + phy-names = "usb2-port0", "usb3-port0"; > + phys = <&usb_2_hsphy0>, <&usb_2_qmpphy0>; > +}; Sort order and what Konrad said. > + > &xo_board_clk { > clock-frequency = <38400000>; > }; > @@ -655,4 +667,13 @@ wake-pins { > bias-pull-up; > }; > }; > + > + usb2_en_state: usb2-en-state { Drop "_state" from label. > + /* TS3USB221A USB2.0 mux select */ > + pins = "gpio24"; > + function = "gpio"; > + drive-strength = <2>; > + bias-disable; > + output-low; > + }; > }; Johan