From patchwork Mon May 1 19:24:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 89157 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp143257vqo; Mon, 1 May 2023 12:40:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4hG1iBMB425EDWZP3OthQG8f2jIPXhW6TXFgPfz5fKQY8Z48aLF9NSwgT36RMapqoiE5zt X-Received: by 2002:a05:6a20:4321:b0:ec:713f:3cb2 with SMTP id h33-20020a056a20432100b000ec713f3cb2mr19763020pzk.53.1682970047256; Mon, 01 May 2023 12:40:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682970047; cv=none; d=google.com; s=arc-20160816; b=ycSqiGEaWXic2j9qFkYf5sOhLOukXKva+/uiFIpNWndgWjkmcvbbpax0LX1AOPN5pV fnfCiyEk+vkpDLSWw2XNGwQSAy2fkT8e6xZjqdkhOL4bYohEEsug3IQrF4JHEi32WhpZ 6V5E/88P149EZ2BA7B5qfe+wvsYqGdmN5b8hDuAwR4i6whqrLIgmrwdzbui5FNl/nFYs 4deyMcyl3oeI3hsM0bIRZlPdeMHjeIDjjnAQkxY29YKRrROyihJFetxkEaW57PW0jgbA aSMarxrlL7IvEwZCnEuiaIhyATJNP2ddg6dzu0KDBAT+UCUikZn5fY0x2hxvNCS58Ixk cwzA== 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=G+pBeS9Hy93exDLsefkYuUxrFqOWBmhI2jVtFARaSEE=; b=cZ7U6LJ9ZeIcOfdBeQ8fk6LTgGBS2MqtBim4XKnW4hxEBaqPyWF6kiFQCqG87X2cDN ws/xgP3S2jit+oGyhzI++X50UeUEO5Hfa0d5WovyiLDRqHPFDeL7rjpBHZX+RaaPjRJN W9sPpBEA8cmZ+gGH4KTchpSatNZt1VhBCceADOjDJu/9fqJPj74qsBSGBXTnXc4bhsGo bzh4xIBdIs7SqOYaQQgqYZVwiAs2raH+zEQQljijW4O1p8A3wN3fubJwi7HHslAPf4tR iBGKrKc8HAa3VudXyVdKP0sMoYlDvFro+e/7/QXDjKxkOKQMcFSa5gdqmhQSb65ZRh4t I8kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AtgDoBpx; 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 205-20020a6303d6000000b0052504ae7539si23452076pgd.145.2023.05.01.12.40.32; Mon, 01 May 2023 12:40:47 -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=AtgDoBpx; 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 S233217AbjEATZ2 (ORCPT + 99 others); Mon, 1 May 2023 15:25:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233045AbjEATZP (ORCPT ); Mon, 1 May 2023 15:25:15 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79E4A30D1 for ; Mon, 1 May 2023 12:25:03 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-63b60366047so2007829b3a.1 for ; Mon, 01 May 2023 12:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682969103; x=1685561103; 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=G+pBeS9Hy93exDLsefkYuUxrFqOWBmhI2jVtFARaSEE=; b=AtgDoBpxQSSDh44UdQty/vRuFhtjwIi1zEb7gyHEee8aUWm/K8YfYJM9CHrDpODjT0 TbBMQEPZ7HzEHk3F6D/+K3gIJOXGljPAQ+G+a8TDomSKajd+E8OaPNrV7JrKrsKrC5PI ExR3HZmpzOvSlLK5R9XcpI1WcHIHZ1/UDP/Jl1xaloym8h9kOmm0HaM7t0rnkfrYhnA+ 6XfpXA7JIsocxXAp/kZAjzeZYwa+5tBnPLP9kjJq1I6C40dRtKuEROkqpJQYJgjennxq J94v8LRftoRudirrGwZPcGMcCT2KcFIwsoqa1Ivbdg3t7jlqGgPq/S8uFPmG9Pa/YZrJ lF4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682969103; x=1685561103; 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=G+pBeS9Hy93exDLsefkYuUxrFqOWBmhI2jVtFARaSEE=; b=gg1f3kxCTZqONcXHhLzkERBpUkD/zeSOyBV30KEQF/l5uHMyCo+r433TOvw16yPTOc WHv/z/KOZbtlDckPLyP3GmDnlfQXBfJMI0a/RU7+bQpITgW4teqHqiOfQB+wWXrMgP0k 5xJnch0X+mscgV33nR2lZH+/rW3IcBnOqjpyYyapMfutoE36R6H0rxwSPY3ASkVhLr0j Qvv+vc6niHT0R+//IXyyEkOysIEouvVMkSkxMnAdlBVCnZN5aMvjhlaYvEMtN7o6GdAx mjXAtj+QU0saEA7gmm1oQdv4VGyEbms576sJsycYMqR5oiufeEvc5pc1JrrgTlwuNCK4 L3+g== X-Gm-Message-State: AC+VfDxuCk9BFUdhf267P5fHsy9zEiJU+lUcUSs0dNbcODlUospFlQsX cQ5O7FbPkJpQoTVGDMWDzlJN5w== X-Received: by 2002:a05:6a21:1584:b0:f0:b6e3:90f2 with SMTP id nr4-20020a056a21158400b000f0b6e390f2mr17699356pzb.13.1682969102858; Mon, 01 May 2023 12:25:02 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3b:58fa:39f6:37e1:bb9a:a094]) by smtp.gmail.com with ESMTPSA id 189-20020a6304c6000000b00513cc8c9597sm17459144pge.10.2023.05.01.12.24.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 May 2023 12:25:02 -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 Subject: [PATCH v9 4/4] arm64: dts: qcom: qrb4210-rb2: Enable USB node Date: Tue, 2 May 2023 00:54:32 +0530 Message-Id: <20230501192432.1220727-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230501192432.1220727-1-bhupesh.sharma@linaro.org> References: <20230501192432.1220727-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=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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764722000438880471?= X-GMAIL-MSGID: =?utf-8?q?1764722000438880471?= Enable the USB controller and HS/SS PHYs on qrb4210-rb2 board. Signed-off-by: Bhupesh Sharma Reviewed-by: Dmitry Baryshkov --- 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>; };