Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2369193lqp; Sun, 24 Mar 2024 16:10:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUoi+aAsjBkJLKkNPvdmCdBk2RnJ3dTaTD1usGSzSxu8mV9YbhvuSrhoPsDE8E6sAxea1HPBoJdscgQ5P/vrotzp4EuWthpkkgbKwecOQ== X-Google-Smtp-Source: AGHT+IH1ixM0qb3UrE3MizQ/sN6uWUgZyZCz5fw3a0JMaG6upk5DFdOXVkD16zKDNKcisOFhQzZ+ X-Received: by 2002:a0d:df8d:0:b0:611:6500:5bb2 with SMTP id i135-20020a0ddf8d000000b0061165005bb2mr1670373ywe.13.1711321833575; Sun, 24 Mar 2024 16:10:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711321833; cv=pass; d=google.com; s=arc-20160816; b=kRG+VeIV5+EeYf9pNv2s37kQuRsWEhNNynNzDkAZSgbVmWmZAldDAS/Bwm2br7Wtxw T34boW/dvHmIRAhRu4KVClBClN4iw4jOKmDmtvP4A5xXBDncnCm0NqeiSaghnG0DCHEG 5s3tgGo1MDW+OSPKcPuOE0k/ioj1Z4sLFDuIrV5Ld1IOHLbBxkpsLXiHekqdOU47l+mr F5EhMsOh/W5TOWgxBEzWNI15t1Eg1wgnyH3oabCy7IDrX8E5oyXKDEYUj02chB/NXyEx CTZQE5Tp7RV9oSKfu2E1ribxMgQYiS8QACFiaWnXm8QzPw1pIq8N/dyOF2MtQYtT08Zu 2LDA== 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=scp2DmfopFxXPdATFebyvyEWnRiqT0b+lwmIF8p7Ie0=; fh=VA0dFmLs6Dx7CAKQkYgylxjvD8mWxUUUu058f6P2mHw=; b=t9aD8gcpkbxLuStsQV/RQob2wEIaBaWSyS6wv4JspqW5q3VQdAgOHzF3AiKZklv7e0 o5DYjNnsmgtMrfT3uD6KIHKx+O5jNqMrZkUHTqyeYVks1gxbjeeWurkRpwEtTZ0cFkSE Dy4unNem2S8cfEf9es/WuD+spEbe4PpdV8ixL5XfaxCmuK8BJaCs3FgDfH/qHR043Zrk ZhiftDTbJLBXanuX1Y8ihfAPOdmlM/8ZibIJy06vt7inTOHkWmGGdj6N+qCzRoa+gMaz WvC0uPSxY0rRrUYx2QujsYhcU03tX7m5YV+uLbd+vP2TJ/yzZQpK3RcE/2TTtBV4c1mn NLng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sGHvmtDC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113041-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113041-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 pn12-20020a056214130c00b00690b03e159esi6689507qvb.577.2024.03.24.16.10.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:10:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113041-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=sGHvmtDC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113041-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113041-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 29DC91C213B2 for ; Sun, 24 Mar 2024 23:10:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 84CE614036F; Sun, 24 Mar 2024 22:37:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sGHvmtDC" 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 9CCB013F456; Sun, 24 Mar 2024 22:37:31 +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=1711319851; cv=none; b=e4Er+JFIrHUBuMASo5W/gXu75DdmMGAdSWohjWoo0cIWgUkNtpG2Zfriv+m8RzZd9mupqvUPZPFpK8Krq/KwIidi5GJwm/ryLU8bNnG45u0X8HFCPgBjMIGK7hsu+ye005DbvJj22fuOMHNzZWfmBt1knx/41T8fDVGjODTao/s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319851; c=relaxed/simple; bh=cNdB/pqQYyF0iJeryPbJ9ObnQ7YMg6C50WwnaW6HwYk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BQA+dlIqAEl2QmXw4v9MKwlPvWUQHHuJB794/zcoTIr1n1R1uyr1KIdrLZo3PfLpM3bJdVeUtpFkRX7IDiK/FkLXvmFqMa56ksIPQtIBWBaPPb/ocDLzES4CIgBjEI9qriGJCliaPSH0UG9M3Aqu15E2mcv1vJ1VModby9xMg00= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sGHvmtDC; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54FBFC43399; Sun, 24 Mar 2024 22:37:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319851; bh=cNdB/pqQYyF0iJeryPbJ9ObnQ7YMg6C50WwnaW6HwYk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sGHvmtDC4Olu4JUVfkg5SpxFpRPTYQ5gKrolcoXnpbaOYyNJXlCCr7vS6s/dr6VK0 6dPIb6sy4qg1FsWR5qKUdCQCPrOEK5yb4JhS8OWXMlPPacVG+3wqUQYn7N7+5Kr7F3 kFYFF8cVGjaA7v0FzCyn3Z29Q15Y/MvQ3WPQi7LwMnDAEc3VVHL3ASNKQ0Sn+rtUmM SlUA3lXPLzBIjdc9V5o4/xo/4ZZQpnTXFCqfpfjzFi+3eDEX5tD/19ya4VFgiQEI3y oCM7pO/97O8rk+AOTEcN8t4pIDaKC76UBVLUjdUleHLWw4BvJQ3R8Ub9N38OHkhsyM ponNdfoeDSQAA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Dmitry Baryshkov , Jeffrey Hugo , Konrad Dybcio , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.8 154/715] arm64: dts: qcom: msm8998: declare VLS CLAMP register for USB3 PHY Date: Sun, 24 Mar 2024 18:25:33 -0400 Message-ID: <20240324223455.1342824-155-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-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 fc835b2311d4deb85d776c1d73562338462aa7ac ] The USB3 PHY on the MSM8998 platform doesn't have built-in PCS_MISC_CLAMP_ENABLE register. Instead clamping is handled separately via the register in the TCSR space. Declare corresponding register. Fixes: 026dad8f5873 ("arm64: dts: qcom: msm8998: Add USB-related nodes") Cc: Jeffrey Hugo Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Reviewed-by: Jeffrey Hugo Link: https://lore.kernel.org/r/20240117-usbc-phy-vls-clamp-v2-4-a950c223f10f@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 2793cc22d381a..317a91d669f82 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -1072,6 +1072,11 @@ tcsr_regs_1: syscon@1f60000 { reg = <0x01f60000 0x20000>; }; + tcsr_regs_2: syscon@1fc0000 { + compatible = "qcom,msm8998-tcsr", "syscon"; + reg = <0x01fc0000 0x26000>; + }; + tlmm: pinctrl@3400000 { compatible = "qcom,msm8998-pinctrl"; reg = <0x03400000 0xc00000>; @@ -2174,6 +2179,8 @@ usb3phy: phy@c010000 { reset-names = "phy", "phy_phy"; + qcom,tcsr-reg = <&tcsr_regs_2 0xb244>; + status = "disabled"; }; -- 2.43.0