Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2369273lqp; Sun, 24 Mar 2024 16:10:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUQEpLwaZqMcFisJ4Me/YTewdy6lDOQIjXhYbCHVZOA2jEmemaYoHS1Tz2PzG4uO/k4eKoMJA7ktpDS7dk9qwLca4wkMY2206oaP8r8tw== X-Google-Smtp-Source: AGHT+IE2oYDPfaOL/3AcqkxhPjzaBWuDdO6BxfxDrwJvvc0dpisIRaw0TYsaman8hw0WxQxW9g7P X-Received: by 2002:a05:620a:20d8:b0:78a:517d:a84a with SMTP id f24-20020a05620a20d800b0078a517da84amr2745709qka.44.1711321843877; Sun, 24 Mar 2024 16:10:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711321843; cv=pass; d=google.com; s=arc-20160816; b=qV++UbvmF/Pt+AT7IApddMu+e2qhI8/F3NugWMAgcwd59CTeBes3ZVVpv4niDQeRNq brkBmyEyOjTLu8UbiWvWWvdJ9oxe/QAQ00QO3vBVpbrYOOz86t9ajXTfSwbQtrmgi+di nIgJ7un3QUCAkVBA0HLYIN9glehAz/sH0eUZK/UCcRwIcsuNzUtatQZ2i0zV7BNRyZdw cEFYwCZxMKV6jwHyo4EyLE5on4MMw+9WI0WKOQ/25TsRkmkHV08wP8hqws/6O1C5rIX/ 7wPAMS6MbY2CsxO8NWZFUOof2OeSxkhmZ+1DvDBmNF/HRxnoEtM6sOmC5+RrPzWdEDSi lloA== 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=Y08JUIP6MDAUhFR+DJ7GnRXJHubZ2BZg/EQH1d0512k=; fh=kXzVRSaRNX3jCYmREr9dxw+stjzXPCa1LQSiSfbjcyU=; b=mLFmcOeAe6CtTa1PwISDXtEr/qAscYv46nDxr1a5UhorjhcsIe+c5Poi3mY6UOoVZe +yTKiQ38VeQBpFfLRA3BOoPFKQaasuhjN5a72GiaJhrFpGe/22di+7xmveX660aku/CT BCt/3DsUJhdil2oMvzz1Rk95MjY9JdhjfIYDHnNiyfncXarDY8AjIiRmuNxFZ5eoVV94 T47TS3HOioTaq5lnrDK7Jy0qigGWReOYerqMaNQZs5xhkXvhCH5kT2YUJFRkKBEe2C9/ bAzJXaGX0eBp34+rF78+ClHzQlxFmy5Zup0amKXkc678J4dz2xJdfO7H64uL4lBIKOXt WO7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e0ISpO2X; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113042-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113042-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 c18-20020a37e112000000b0078a3a9d35c5si4196398qkm.298.2024.03.24.16.10.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:10:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113042-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=e0ISpO2X; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113042-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113042-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 6F3321C21439 for ; Sun, 24 Mar 2024 23:10:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7216B524C9; Sun, 24 Mar 2024 22:37:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e0ISpO2X" 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 83F4C482EE; Sun, 24 Mar 2024 22:37:32 +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=1711319852; cv=none; b=bNfx8G3GuOLNPjxLSUaMC7JT1n5Cb3It5qn0RPMiQa1Y6HvIGhGMiCqL/l46dOhCC9rNmt+uXe1UjNwudiZzrmX08B1DmFYCS4OFBXZ4cNMzIN5i6zxNbPfl2ay0/nknsB1I+cdw2SvcCn6Vi+drRQkLu6PCDwjM5rMs/Iz9njc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319852; c=relaxed/simple; bh=E2EDG6e7E1HOrhGCm5ge/wOxqVvEJkTrwXvXG19O9sE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gUh+SXpMdkTYXWZhGyXg/k4kYtuPdFFBz5SQBR/6JOSimiOg5+9fLic048EhdLm1/zSFuUBx97V7r5dW9W6E/b/2LuXk495/gLPbh1r5BU9bC44Z138H4H43Sc4htbrfOC+c8cXH1i/IiirT57QWOaDKn1RFx4Iddm7EcD9Hiyo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e0ISpO2X; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69225C433C7; Sun, 24 Mar 2024 22:37:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319852; bh=E2EDG6e7E1HOrhGCm5ge/wOxqVvEJkTrwXvXG19O9sE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e0ISpO2Xq03ZxKKGyR2wyFi4NVu6/a4WAGBdRMs9OB37HSoaR86qVV+9ovVXrn2WO x4W1nwDftULrjYnPD09OVixJqO/0n3k2tH2/zhhL+JJ876Crza+hKJ6TgHdBgo7u7F K60G8Rf9JoTlPYG6URPod/lekcJ1c7IsVWCOmhSpZpBRRCSWTjJ61AOA3YigPCBqwH 39R7sagSE3qQaSBTFxQewITgTirTiDGb4ftJCaYBBWvHfg+UNotCFSEE0igY4QPa0Q +iRwXbSfJ5TIUHpcLVJ3wMUzy6NwmutanrMgRuSfa2K/G/R+3wRr1wvspzlAPH2prg XLC3QluVUtLSg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Dmitry Baryshkov , Konrad Dybcio , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.8 155/715] arm64: dts: qcom: qcm2290: declare VLS CLAMP register for USB3 PHY Date: Sun, 24 Mar 2024 18:25:34 -0400 Message-ID: <20240324223455.1342824-156-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 acb94d67f5a23dbb2e0021b6c30609ed05d7d6a5 ] The USB3 PHY on the QCM2290 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: 0c55f6229bc3 ("arm64: dts: qcom: qcm2290: Add USB3 PHY") Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Link: https://lore.kernel.org/r/20240117-usbc-phy-vls-clamp-v2-5-a950c223f10f@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/qcm2290.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi b/arch/arm64/boot/dts/qcom/qcm2290.dtsi index 0911fb08ed632..89beac833d435 100644 --- a/arch/arm64/boot/dts/qcom/qcm2290.dtsi +++ b/arch/arm64/boot/dts/qcom/qcm2290.dtsi @@ -442,6 +442,11 @@ tcsr_mutex: hwlock@340000 { #hwlock-cells = <1>; }; + tcsr_regs: syscon@3c0000 { + compatible = "qcom,qcm2290-tcsr", "syscon"; + reg = <0x0 0x003c0000 0x0 0x40000>; + }; + tlmm: pinctrl@500000 { compatible = "qcom,qcm2290-tlmm"; reg = <0x0 0x00500000 0x0 0x300000>; @@ -690,6 +695,8 @@ usb_qmpphy: phy@1615000 { #phy-cells = <0>; + qcom,tcsr-reg = <&tcsr_regs 0xb244>; + status = "disabled"; }; -- 2.43.0