Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2525164lqp; Mon, 25 Mar 2024 01:07:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXR/JqHMaI9iDo2PgbWfDhI5HvQrq1zM0SzEOTkX4W5MXiFWDcCb1FRhAkJDjWar8Bsm4NEPUoFor1GEk5jvnbHg+rGLJtcrZa7XWjsyw== X-Google-Smtp-Source: AGHT+IHd1UZCyDHjdGbI0dHiAzCMgzZZ6AGQZcq9fGdW9Aj3WfXh9ZY9zS9xzyZ3aKnxn/E1spee X-Received: by 2002:a05:622a:47ce:b0:431:3e1a:c479 with SMTP id dp14-20020a05622a47ce00b004313e1ac479mr6710253qtb.52.1711354038320; Mon, 25 Mar 2024 01:07:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711354038; cv=pass; d=google.com; s=arc-20160816; b=xeO7Q2lhMZS/P5mNj7W2TX/lGdc9x9J5afaXxkYtWU/sjNUw2aiH4MJ9Dy+ctLz3ze C569HzzOPxSL/6hIIkdNe1dFh1jXeXrJKeEvFH7TphxcGvP1Ota/MmVVmd/WdkOzfWnO oTNejzoTXYuzudhl7rpfXFKF3JPAfGPq+6ZtP7WbgFZqha5qIiCsjrrhEQ0MRoguTyC/ nxW9FHE2ZTpD55cl5FfmWsbWB1BDOWIzhIqvujgkGX0+hmKJHGHUTy4c8Z+JntopKaZp IybGWqcsVNLfLZBo7F3LMWrScOamBkI92gKbPpercPmjhuqsU6aegMcfgwbmbiIqSOVm l29w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=1WJ52mWV3AGlX70jUw4K4+B1Ush4pT0g3rjB9xTKn5I=; fh=AESRpm2spDSB2nZVlFGvDzxsAqvsKNIHnK75zcIPIz8=; b=EDucY/sV5/ZC6mjLC+PG5oqoioyqVgpnB4de+xwK+UEy5D2nzTFI93isGdI9n/DjVT Rz+kRQPOoYt5eMjrklYio1swYmUL6gTyiIb2Ggmp8wHqboHQ9HlPz4pGMfzme732R+MC XTWGisNf9w1hGKb+sEASwDe5exHA8nlBXAehSiKj+j8qsSSq7eDf1dbMoA43LvRDQHYD xSf4w9Zc/NXosdPQ5ESc1gkNOLGlzGhY/HB3wDr6yVDSkhPJM/TdUko0J/JUmsa5JBvC GkAXiST7YTN1sxJXdNnQdzYdRU9Uuh97z1Sf3Y2+d1TXNQN6gVPJcM/4Vm5Swvk9KQ7k HYmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iFeCjqgw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115821-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id r13-20020a05622a034d00b00431500fd3fcsi2443522qtw.372.2024.03.25.01.07.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 01:07:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-115821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iFeCjqgw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115821-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115821-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 103621C2D789 for ; Mon, 25 Mar 2024 08:07:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A6B8F3782A4; Mon, 25 Mar 2024 03:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iFeCjqgw" 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 ABDE5145FF3; Sun, 24 Mar 2024 23:14:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322056; cv=none; b=Z/tFMYJ8fnw1v4kJYPU1jtW05CS81xkyIQsb5n2TAnc3QA6Whrz4kX62vhUg2lB3RrZLiPnlxuiFputZaBpUEnlJQLhKoXuiDwpU2JDxF0gtxajtM9jaRPU18cFqL/F/sWeffkqqlESxu2QibXtgjNC0yQQoBtpUXNMCj1dxSgc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322056; c=relaxed/simple; bh=cZ3FDbVrdGMansDtfsbUATAeF8l7KjlYgQN5CPOAiUk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eBF19py/3M8b3LhRDwWeoTrJ0/3jVaPpbjfjhblD50C9YbiX3Bf2Hgwk2lEUK7mRbtisa7mmZVtsASJiOS4W4Afe6qrLIWD3bUp+GDGfAYFhJSYHI6P/Wq3HnNY36tXoPu7qwailnkfwY9G3CuVi8E+OCX3c5tzO5f0Tw8BKMh4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iFeCjqgw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC7E0C433F1; Sun, 24 Mar 2024 23:14:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711322055; bh=cZ3FDbVrdGMansDtfsbUATAeF8l7KjlYgQN5CPOAiUk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iFeCjqgwyzeJ7h8OWIKQ01hhoa8Khff7BeMaoZYQaPOVR8SnU6uR7X6I6K51J05Q7 8D++fZeNNrIETojoL6L2xFKSKMk+aLzu9BvY43j/za1bfTTTUMqBM4GRLeJy/Scw+P H9nFCtkvzjfFINj9rbo9mDZJy+eTF1BEYQX9dZJ7b0Jykh7wqT1ArBGP+n7Rfrm5H1 2AKnYuFN67hO23ZrG/8hdMhA6Fm4p8E8UEUrLxn+20e8RAHleAQ0roDjTcJC3gjkRD kJkykInVBnHk57xoZS0R9+QCT1DsKGhQPmX57mONGwzwEXqrGfvj5stoFR8HrbhIEN 7+mrvCOdJNWPw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Dmitry Baryshkov , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.1 128/451] arm64: dts: qcom: msm8998: switch USB QMP PHY to new style of bindings Date: Sun, 24 Mar 2024 19:06:44 -0400 Message-ID: <20240324231207.1351418-129-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324231207.1351418-1-sashal@kernel.org> References: <20240324231207.1351418-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Dmitry Baryshkov [ Upstream commit b7efebfeb2e8ad8187cdabba5f0212ba2e6c1069 ] Change the USB QMP PHY to use newer style of QMP PHY bindings (single resource region, no per-PHY subnodes). Signed-off-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20230824211952.1397699-11-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson Stable-dep-of: fc835b2311d4 ("arm64: dts: qcom: msm8998: declare VLS CLAMP register for USB3 PHY") Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 35 +++++++++++---------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 7a41250539ff5..6eef7cbe7d7bf 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -2030,7 +2030,7 @@ usb3_dwc3: usb@a800000 { interrupts = ; snps,dis_u2_susphy_quirk; snps,dis_enblslpm_quirk; - phys = <&qusb2phy>, <&usb1_ssphy>; + phys = <&qusb2phy>, <&usb3phy>; phy-names = "usb2-phy", "usb3-phy"; snps,has-lpm-erratum; snps,hird-threshold = /bits/ 8 <0x10>; @@ -2039,33 +2039,26 @@ usb3_dwc3: usb@a800000 { usb3phy: phy@c010000 { compatible = "qcom,msm8998-qmp-usb3-phy"; - reg = <0x0c010000 0x18c>; - status = "disabled"; - #address-cells = <1>; - #size-cells = <1>; - ranges; + reg = <0x0c010000 0x1000>; clocks = <&gcc GCC_USB3_PHY_AUX_CLK>, + <&gcc GCC_USB3_CLKREF_CLK>, <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, - <&gcc GCC_USB3_CLKREF_CLK>; - clock-names = "aux", "cfg_ahb", "ref"; + <&gcc GCC_USB3_PHY_PIPE_CLK>; + clock-names = "aux", + "ref", + "cfg_ahb", + "pipe"; + clock-output-names = "usb3_phy_pipe_clk_src"; + #clock-cells = <0>; + #phy-cells = <0>; resets = <&gcc GCC_USB3_PHY_BCR>, <&gcc GCC_USB3PHY_PHY_BCR>; - reset-names = "phy", "common"; + reset-names = "phy", + "phy_phy"; - usb1_ssphy: phy@c010200 { - reg = <0xc010200 0x128>, - <0xc010400 0x200>, - <0xc010c00 0x20c>, - <0xc010600 0x128>, - <0xc010800 0x200>; - #phy-cells = <0>; - #clock-cells = <0>; - clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>; - clock-names = "pipe0"; - clock-output-names = "usb3_phy_pipe_clk_src"; - }; + status = "disabled"; }; qusb2phy: phy@c012000 { -- 2.43.0