From patchwork Mon Jan 18 05:10:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 365467 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1940522jap; Sun, 17 Jan 2021 21:12:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwdz5bkC3u4sy3zjABFdORwznlCc2BoT0qDk9QVjy5PbQ59eoOY4RINMyPzYVkZVMCYkVMY X-Received: by 2002:a17:906:af96:: with SMTP id mj22mr16476358ejb.127.1610946741116; Sun, 17 Jan 2021 21:12:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610946741; cv=none; d=google.com; s=arc-20160816; b=hCj6YV+QX/x+vc6BSC7GeQq+0TZF2e4fkuHaLJwjmM6nYdDNdk5y+pHFy9rMxpwjWY ne5VPCggEKMq9rI27wv9kkB2938qb7AZSiFR+UBhW8AhoBH2RYOAuN+thLEu0nYERq1G xvwB2rF6eLTnlFSpYwD+/udcUry9NOlA9OIXcqhMAhkVX50kqgDxf3bEHKBS7yJewh5G Fzl2XVieR9LIjYhNMt3h+aiKs/R1L06/rtyyKvUiZxh3TlQ4oAD+lEMJgI7CVJMRyFBl ceu+A69zAkTTscxTS6g7UTed4NHq5icWUluDYzFqFAjy4ySmwT7Da5tVt8zcn5ZCT4fS bwjA== 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=kIOurttyqDWMRZTk0KvtZ6egeQZ8d/AjuWKlkLPQdLY=; b=S70T8lm7TPKiHgqXXCcE/M2h1CC7KxkRzpH2XaOZrTrWPgFjn3bneS8+LncJLaxtB3 xmYof9J6ycqQ6M6Vd5rua7KndxpMR/aB7XCjnfavH4Njz0phhBN3+gWfOAmeKMw96wNJ hlAzbKXY0GOMjgurcAs1KVyz7IZgOy8D5GBltDITbKTt/RMfKUdynPFUDoF8Dj/D83z/ iG+YM08RaD5TywciCoH5/lXnPCF/U8wqHepczI9T1BzuQHFWfFHXHXat+7uoJIvPcvpW Cx7zczcnv5IDUbZFe3eWLAqaB5lB+eNFi1TbigB+Crdz4W91SNUN5stC4Fb+ZG3J2n5t lQqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nxcJ06gH; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o11si7111122edq.506.2021.01.17.21.12.20; Sun, 17 Jan 2021 21:12:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nxcJ06gH; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1731507AbhARFLm (ORCPT + 15 others); Mon, 18 Jan 2021 00:11:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731485AbhARFLk (ORCPT ); Mon, 18 Jan 2021 00:11:40 -0500 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6203C061786 for ; Sun, 17 Jan 2021 21:10:22 -0800 (PST) Received: by mail-pl1-x629.google.com with SMTP id r4so7977139pls.11 for ; Sun, 17 Jan 2021 21:10:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kIOurttyqDWMRZTk0KvtZ6egeQZ8d/AjuWKlkLPQdLY=; b=nxcJ06gHz+s+l4F5b6KRUULDkdvR9nFrEmEBfOtHH90Rn0WAJUvZd4737DwfjHxeq4 jQxia7m0Xbr+1TuNCgGsMANgHySvH6ZCev8d1DgUSJtfpl4/zx0wVmVRFN6jvWjiJn6S vjm/PncbRqQEL1j576bFsSPXuwvLMSAfYUUSfRdxqeJAxGLvNd3TDVmsrjHgtaUp2XvI 6f9xhk2EaRH58wjvbhKQh9Ue9Mhgc7LpiC/p239jlWO3JzHj038ClZVz5JRpOphdoDb7 AHsI8PSDmgEYqo7Q7dAt0Nr8eVCZo6ruqjq0d3ngn0zFxv/tYfrsMURXMLU5RSWqCW29 3j2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kIOurttyqDWMRZTk0KvtZ6egeQZ8d/AjuWKlkLPQdLY=; b=HMaf43wDxE2Io1hiXpTechRxwY5coqYZsdtaGQn6sVV9GC8f4lZokoymoIKUoGpzHr 9pKsizlZ/pCY0SdMQP+tbaDDZzTmwzLMJf+IsgxCNCbKvJSt0ghQMk5iGAR0ddbjsHIi x+Xh0QVhgU+G/nVZoU2htTfwVcAvA5TQ1iVluCZlsIj4Sy4dCS9vomqx1p+anDPhp8aq KQIiOSqKKP/sdKLKJVLR40RssR34AEY+FcokL3nqP6z6a/mT+NkepkiD9MBsMDESdZRy wHP19k4IvhvUeSLBK8/OnWY4C+NhK7FR3pvLrpC1GW4uvMYLclfR2APmAvGXVu2S0BMU VnCA== X-Gm-Message-State: AOAM531LrAkcKW+IIz3bYTBZ5/VETcBrX9QtUcw5N/agJHCNKgfzAhAM d24smFossTilW0CAbuBAlsG/ X-Received: by 2002:a17:90a:ee8f:: with SMTP id i15mr23955008pjz.82.1610946622280; Sun, 17 Jan 2021 21:10:22 -0800 (PST) Received: from localhost.localdomain ([103.77.37.182]) by smtp.gmail.com with ESMTPSA id j3sm14703571pjs.50.2021.01.17.21.10.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 21:10:21 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 3/7] ARM: dts: qcom: sdx55-mtp: Enable USB3 and PHY support Date: Mon, 18 Jan 2021 10:40:01 +0530 Message-Id: <20210118051005.55958-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> References: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable the support for USB3 controller, QMP PHY and HS PHY on SDX55 MTP. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 29 ++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 96b6a295f813..7fec5e7a2724 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -111,7 +111,7 @@ vreg_s4e_1p904: smps4 { regulator-max-microvolt = <1960000>; }; - ldo1 { + vreg_l1e_bb_1p2: ldo1 { regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; @@ -129,13 +129,13 @@ ldo3 { regulator-initial-mode = ; }; - ldo4 { + vreg_l4e_bb_0p875: ldo4 { regulator-min-microvolt = <872000>; regulator-max-microvolt = <872000>; regulator-initial-mode = ; }; - ldo5 { + vreg_l5e_bb_1p7: ldo5 { regulator-min-microvolt = <1704000>; regulator-max-microvolt = <1900000>; regulator-initial-mode = ; @@ -165,7 +165,7 @@ ldo9 { regulator-initial-mode = ; }; - ldo10 { + vreg_l10e_3p1: ldo10 { regulator-min-microvolt = <3088000>; regulator-max-microvolt = <3088000>; regulator-initial-mode = ; @@ -228,3 +228,24 @@ nand@0 { nand-bus-width = <8>; }; }; + +&usb { + status = "okay"; +}; + +&usb_dwc3 { + dr_mode = "peripheral"; +}; + +&usb_hsphy { + status = "okay"; + vdda-pll-supply = <&vreg_l4e_bb_0p875>; + vdda33-supply = <&vreg_l10e_3p1>; + vdda18-supply = <&vreg_l5e_bb_1p7>; +}; + +&usb_qmpphy { + status = "okay"; + vdda-phy-supply = <&vreg_l4e_bb_0p875>; + vdda-pll-supply = <&vreg_l1e_bb_1p2>; +};