From patchwork Tue May 2 05:35:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 89253 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp384844vqo; Mon, 1 May 2023 23:04:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4C6BvyTD389PmEgrr0Fbi81tD3aIFz57yU1d0Qxxs6Ky8iOY8m23VLXgeZCs2pG1DhXHqG X-Received: by 2002:a05:6a20:1588:b0:f9:1f3e:cccb with SMTP id h8-20020a056a20158800b000f91f3ecccbmr19686316pzj.10.1683007461926; Mon, 01 May 2023 23:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683007461; cv=none; d=google.com; s=arc-20160816; b=oaKw51swWN9EFz9BlqwuxqdJk+GCpj1b8XXOkBTh/DqCMM5N9DP+XSFpFj3iY4fwI4 g4cciMnZxdsI0YK/XcVMrOWQtKhcMSvj0Oji0Aol7qXWrouRRqj0R7tKHiXMYTASOehL M42nt6u1NElV/Odqg7pBhHeuljINtAwndscsCwJbn9uzixkMIbvaR1Oub+VTm3bkKEKs Fa5/ROkRdgjGgYZ5z8s2dcvBF8Ujf53k8rBX0OeWJRwSi390Ekki6ZaYSFtKd5lGm2Qq VfUBYrKG1Oa4mLkzY4Dp0TgecKHZeiROC/km5R8pBQHImWCXuy57pC/UMi3Mz5vjWrp+ z/Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=P5pQrJTTCZJZZKPmjIiq+X+xkUImdFCCiZ3e7a6lOiY=; b=IjOwgnxGPTXN5+wkftxyaxvXEOR9z8ZrO98BYzaGhoGYqkbSg+C+RL7DyLU6DWOptt kT14qvgEjgEFm4w2e50vJCP9A5AXE/+12umm+XnPiLhowkyto4KRkJUYHcEE04BjYNgs FxTs67JZLC6YOwIczZVowFTaezSSvxMh46XdL99/fgXcUgk0b9WXe3/Wtoh+Zl5vb93g uxcbz+3hq2t17CAa6vxcYGyxLXaj6oWu3YYIVG8pKIL4UGhDOJ4r3/Ls6X4XfxAWSRXA WXgEU+zfEGA8BYC1cuxmC7/oqChQL1R/FMtRaWnUqiei2//iYdafofUgpKVAYyHgONKu EXGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fZP5Z2rm; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 195-20020a6217cc000000b0063b77381764si29910212pfx.49.2023.05.01.23.04.05; Mon, 01 May 2023 23:04:21 -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=@linaro.org header.s=google header.b=fZP5Z2rm; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233461AbjEBFg1 (ORCPT + 99 others); Tue, 2 May 2023 01:36:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233540AbjEBFgW (ORCPT ); Tue, 2 May 2023 01:36:22 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35AFB46A8 for ; Mon, 1 May 2023 22:36:09 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-63b7096e2e4so2634576b3a.2 for ; Mon, 01 May 2023 22:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683005768; x=1685597768; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=P5pQrJTTCZJZZKPmjIiq+X+xkUImdFCCiZ3e7a6lOiY=; b=fZP5Z2rmGEmEpMy/cc4ZqxwatyLd6N1517X/g3uf1SrKVGaZW/O0PmycIWhrUpTajl r3ICQ65PAG96adg0yLWV3BYu8Io1tOKqCxKo7QyouVeng7Uv1GnYf6luRWhbqcvKo0Y8 lhTMNeAxOgQ/96CNfMBQNnGTEesOCzfPE6rTpr3653xNSDPZ3CMKcO0xdx8TnyKG0u0y aeHN39S3FzCqWfdH7hBmIl+aMdj2+VIXsJkCCix5kialup04MsjsUmv10/3nBUqlrErr aniplwSJ3sJvvni0BQ4M67c2ipOEpcTZyBYeojhiWj7MwJYnSTFiPDGSqTGERTeMU5u1 HWOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683005768; x=1685597768; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P5pQrJTTCZJZZKPmjIiq+X+xkUImdFCCiZ3e7a6lOiY=; b=LXcGzB7tsgMHCroCz4K3tAByPMXmsw1YgZLU//gosWRbi56LX5scCQJq+S01omU2Tb +3vFgZRTTpCqmbfexxjfNDQpZ1inZEAsXo6NGYn1SxyGyydvQw9sa5W+eVM48KsXTEZ0 WPbwb9pQ1LNKzWQlfpBoyixxfD3iFbdb7rUmabwKEqRLmDYrdSNcxayH+BhwAvgk+eWO KMjudqGnYmLFuqArjCU0gAwpZGrB+qqffk1w53Vf160R74jRttURFmlFBkbHAY3fFUty sWQVYsBgiSiEbM4BIVSN/yQTx7ErDSeCRx2BBSrrKjgVddAIaAnviG+DydBeBT5YnMVX 87yw== X-Gm-Message-State: AC+VfDzmis9EXew2xhH0KE5/vbhsDS54j+9UMLhaoEHBvdlHHt0UeOrn WID+vOgLo2ZqymF56s7IrOE5fw== X-Received: by 2002:a17:902:aa85:b0:1a5:22f3:220d with SMTP id d5-20020a170902aa8500b001a522f3220dmr15482431plr.49.1683005768487; Mon, 01 May 2023 22:36:08 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3b:58fa:39f6:37e1:bb9a:a094]) by smtp.gmail.com with ESMTPSA id j12-20020a170902690c00b001a6a6169d45sm18870369plk.168.2023.05.01.22.36.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 May 2023 22:36:08 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-phy@lists.infradead.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, kishon@kernel.org, vkoul@kernel.org, krzysztof.kozlowski+dt@linaro.org, dmitry.baryshkov@linaro.org Subject: [PATCH v10 4/4] arm64: dts: qcom: qrb4210-rb2: Enable USB node Date: Tue, 2 May 2023 11:05:34 +0530 Message-Id: <20230502053534.1240553-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230502053534.1240553-1-bhupesh.sharma@linaro.org> References: <20230502053534.1240553-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764761232639306843?= X-GMAIL-MSGID: =?utf-8?q?1764761232639306843?= Enable the USB controller and HS/SS PHYs on qrb4210-rb2 board. Reviewed-by: Dmitry Baryshkov Signed-off-by: Bhupesh Sharma Reviewed-by: Konrad Dybcio Reviewed-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts index dc80f0bca767..eae3024ce003 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -222,6 +222,30 @@ &uart4 { status = "okay"; }; +&usb { + status = "okay"; +}; + +&usb_dwc3 { + maximum-speed = "super-speed"; + dr_mode = "peripheral"; +}; + +&usb_hsphy { + vdd-supply = <&vreg_l4a_0p9>; + vdda-pll-supply = <&vreg_l12a_1p8>; + vdda-phy-dpdm-supply = <&vreg_l15a_3p128>; + + status = "okay"; +}; + +&usb_qmpphy { + vdda-phy-supply = <&vreg_l4a_0p9>; + vdda-pll-supply = <&vreg_l12a_1p8>; + + status = "okay"; +}; + &xo_board { clock-frequency = <19200000>; };