Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2369330lqp; Sun, 24 Mar 2024 16:10:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVRIb7FSFpfUK5ZDERqnyF5NivH2+iHq2Ab5bJkWznP1+i5Y9zIHdoyryphGPRlwBehThYu9/Tq9Pap21mgezW2Ns7AOWVCT/ctRE0ucw== X-Google-Smtp-Source: AGHT+IG7VcOJl7G6wAS06V+uFBl84HMCoMDKFEuqG8CMgHGDn2/7cgZn934q/e5vREblTS4s1R1N X-Received: by 2002:a17:902:d2cf:b0:1de:f840:fb22 with SMTP id n15-20020a170902d2cf00b001def840fb22mr6224595plc.12.1711321852414; Sun, 24 Mar 2024 16:10:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711321852; cv=pass; d=google.com; s=arc-20160816; b=Gf0ZjSvB2EgoZFT9MNqJRIelksnQR6+j6WTvPVrvR73gn7ck/ve+5HSKMyohQpNqJP bVfDMnzm4Bt5UQLu4rlHbU2kLlAQsHooZ94N9NxzMJy9pqwfPAuoduvBL3Odh2Y2r4H2 BThZTCw6BS1ep38LoM69h8APVNdxH+xvWZJzmQLPzKwMW+mPKSy3EPMHfNi6A5hb0Czu IMfIpIkzccRTwyRA3fYgjOwQ8FIf55z4qz5zAX5JTV7tYQCvFfMqGJfI4qZjVgDDpbP/ GiK7ikPR3c17S4lC4BNBYPCF3GDA6boW0blZoXBrj6+aBgnK4kKpBxzZAG+x+5r+HhQK TApA== 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=Hv5uI8RJFv25Fk3bJwvXEk+mIlqgq3+T2U+ZhOvGRro=; fh=kXzVRSaRNX3jCYmREr9dxw+stjzXPCa1LQSiSfbjcyU=; b=WhClk842ujwUUacpB0PS53HtJMlU+am6PJwHeTSnip1FmQVm+f5lbwmCzoc2fhFOyD QqdTIMY3ME76uLctrHT4bbpwqzPRoG3ept2RU73XWLZsNfsfq8MGcNa4un2i6pKMM99N wNjfadZhBDSyDZyG4K2aQjB1GzmgcXJRaIGT1A+KKaqRil3bDo7v9xzD0vStlEFz4Gd2 XHjKxbUgSrroZFbhRm/ZXOHj+IXPvD4v2Z2V0lmj/HDge901tOzTv60Rf+1j03fgJuP3 hFaEvncXUA3gEfwOw0mCvCZPlse/qLAX0B09ZW+FreutKtIvjKbvl+NpTakwBjUJz5BY 5bkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AsXU1zkO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113043-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113043-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bh3-20020a170902a98300b001e0a1e6197esi3834833plb.182.2024.03.24.16.10.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:10:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113043-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AsXU1zkO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113043-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113043-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id EC91228172E for ; Sun, 24 Mar 2024 23:10:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3AA8E140E50; Sun, 24 Mar 2024 22:37:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AsXU1zkO" 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 3B90D14038E; Sun, 24 Mar 2024 22:37:33 +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=1711319853; cv=none; b=oQYG0ufl1VI1td758zJ0CQSbJmVzoRS2WQZOvP2HaYPXB162DTutl7Jl5DQU0HEHqST/H7Iv3gLkQtRCGfVetcwFOfW5AB03FNPxEC6QCCATNceTJbFWC0fSEu7uozLAu3335VWSC/rJ+10acryGU97lZZuwvueCdXlPYVZTbzM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319853; c=relaxed/simple; bh=NRCKEtw5FEZEB1cAvNhMBod8zjMtinZJoPRlHF708sg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NamHCsZKGWEsTD1rBBZHAHtoxIakdC+HIo7qqjSOeHws98mGP+wrzdjM7KNtPWip6TH29KOkIrAwFRlL5NRymGlSl2ovRv/AEJcd4RXNl0u4701EwwYAgMV6Yh7hI6LerOu6PQxGT6W5PqIM/okHC2UhZVno0mRfObr6a2nPnl4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AsXU1zkO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66A9CC43390; Sun, 24 Mar 2024 22:37:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319853; bh=NRCKEtw5FEZEB1cAvNhMBod8zjMtinZJoPRlHF708sg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AsXU1zkOiZqtdwEoQFc+aLCyjljuWSE9+pMWBKc++GpYWlHLY/wTSe8tQCkZdtGhZ yZEql1H2ie2uvLDaMo0DM00m7iVdb2J//FUbDQKh6UvzzgV7E9WCqJsJ6e7agI0mGm eDSre5zuPPU/6mQXKLLlfJtZkrMvd8/AOpPbVyBQY07Hg217oLZ7evEK53n12avxUh pE0v/Ph4M7WDo9FXJ6VxF/JaOphaag5nPeN3mi+owlNsrrkjU9IRYIEwIS2AHQj3VP 8obHNG94oZHKnTigR4H72NTJUUvjfLOyvb0AzI7CApra2Fx8krGmWb/GLOuOFM6B9n tKGIQ0cFXlCQA== 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 156/715] arm64: dts: qcom: sm6115: declare VLS CLAMP register for USB3 PHY Date: Sun, 24 Mar 2024 18:25:35 -0400 Message-ID: <20240324223455.1342824-157-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 95d739ed962c9aaa17d77b739606dbdf31879f6e ] The USB3 PHY on the SM6115 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: 9dd5f6dba729 ("arm64: dts: qcom: sm6115: Add USB SS qmp phy node") Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Link: https://lore.kernel.org/r/20240117-usbc-phy-vls-clamp-v2-6-a950c223f10f@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index f9849b8befbf2..b627c473ffa54 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -614,6 +614,11 @@ tcsr_mutex: hwlock@340000 { #hwlock-cells = <1>; }; + tcsr_regs: syscon@3c0000 { + compatible = "qcom,sm6115-tcsr", "syscon"; + reg = <0x0 0x003c0000 0x0 0x40000>; + }; + tlmm: pinctrl@500000 { compatible = "qcom,sm6115-tlmm"; reg = <0x0 0x00500000 0x0 0x400000>, @@ -879,6 +884,8 @@ usb_qmpphy: phy@1615000 { #phy-cells = <0>; + qcom,tcsr-reg = <&tcsr_regs 0xb244>; + status = "disabled"; }; -- 2.43.0