From patchwork Tue Jan 23 21:03:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 191192 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp604799dyi; Tue, 23 Jan 2024 13:05:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHgRwwPWHV6Ybr53XSf3ZQEbypZnP7ANvQCwLE/0WMI/fHjNg7/Ral7REEBBM4fLtOFeHQa X-Received: by 2002:a17:906:f249:b0:a30:8657:e9eb with SMTP id gy9-20020a170906f24900b00a308657e9ebmr255346ejb.131.1706043929655; Tue, 23 Jan 2024 13:05:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706043929; cv=pass; d=google.com; s=arc-20160816; b=l3Ss/OdvXoJr++LT0AatGIXB2BeL8kLjVAiVeHG0sowtSYBshiU3c2aIW58/8+tUvK wM4jsSiT0O/0neJ/cCV6VjZRxtf2TClaREYUeIoVD2OSG8FXQAk78ylg6Gx/yhgZBx1C 5z2I6vpMR6JQb8xsHIIPlyEjf0NAqKhhlwuO9L1rx9tfxqql5EWOSdjUxN1RG2fkQSuz scIfRN8fDJw2HvsoIN5XlVC2LBYEoy92FKHxpodTe/lLU4ADH7CKXUbzWh2XZwHs2iiH zyHRVkzGXKWdnkWZ7IVlTjl1Z7j2yKkiHd3c1p/NKMhtIc8C1Yni1kqoYBTOUbRvQlYj FaoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=4TmNll1fhuK57pRP2E+Uuf0obyo9mH2O0BW6kQiiR7Q=; fh=AVF8B10kevm1JBsKE+uoyI7jCTiX+8+ylrraE5hmDkk=; b=TrmyWotGjs89skw6IofWiVkEAKR674k0xTlCrRePa2Z7QwpWGB1CsWlHy5fr0zWla6 jf3CGv2vEkwi7jWrKs4MtflGPAmooHVlEGPN/UwBb/pBEhyDlzWmpsMAZxDVEQ/O/fOE /hsw4du0ZO50UKyNan+DiElM+mxXFYE13ogJC6JEqNiKUAgEAZQmNY35Uq1E8LuZnwBF ajzpcZplqjy7XbfML8lpQp5ZicmAeL2NDvYX2r2tSYlTwWQMtPq9o2YvwqVcRk/6CinW /NXB3BhdFjmTKwp7TR2WdnyMRRGJmihg671vwktMOm0MT8+U5MalI1Zl8I4JrXizUyRV uU2w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=tMappZn9; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-36054-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36054-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l16-20020a17090615d000b00a2d4e9abdc9si10333952ejd.204.2024.01.23.13.05.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 13:05:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36054-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=tMappZn9; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-36054-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36054-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4A6E11F2485B for ; Tue, 23 Jan 2024 21:05:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1282F4E1C3; Tue, 23 Jan 2024 21:04:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="tMappZn9" Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCCBD13ACC; Tue, 23 Jan 2024 21:04:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706043876; cv=none; b=hPbQKwGGX/DbkVR/0aHpU2M0XCcqVIPFYVIjiEP9SBx7BCb3bqJ832wtMLaFI0+J1172pkFkDz1XAhyg/LuuL5nejgTA0aYKlxdV9Fl+JhuP1afyKPmmzYoTe5QHZSBTB7ticc7USKOb+Qr08SU/pi7b1FQCnixmgUG/L+SJ5a4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706043876; c=relaxed/simple; bh=6Tt6eRYCiLryDbZmMcrKQu7hSAO30Hir5TyQMBYLc2E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JFUYl4Qmv0Ftc6Hz8W7+6jH+ZBwfE1EsJuyHwkGcdgL71Z28IBxWIzhJEfEqusi8XlClWPM7O9mKxoYfi3aMnB1hwA/Wmff/UB/cwKSM3Psj4wDtoW3TmtbGHSjKitxGTuzkZMIizFjsrSvpDsyFW5wAwyhSkkYfweUKoPrJ8bg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz; spf=pass smtp.mailfrom=z3ntu.xyz; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b=tMappZn9; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=z3ntu.xyz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1706043867; bh=6Tt6eRYCiLryDbZmMcrKQu7hSAO30Hir5TyQMBYLc2E=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=tMappZn94EZDvk53WXGyAWQjeOxqtwTvDv42zG18rEuu1uegC0BhYJ1DbxkZB0ZFZ Q0FlkgGTUNDV5/QCXog3OwikuARSDiFMdjR6nCnBsswpBbbYAL60MA9+q6YCiTI6JI pNtmu99dYk5zkyw7jpByT7ZuAcj3VxPj/zZWzrTU= From: Luca Weiss Date: Tue, 23 Jan 2024 22:03:56 +0100 Subject: [PATCH 2/3] clk: qcom: gcc-msm8953: add MDSS_BCR reset Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240123-msm8953-mdss-reset-v1-2-bb8c6d3ce897@z3ntu.xyz> References: <20240123-msm8953-mdss-reset-v1-0-bb8c6d3ce897@z3ntu.xyz> In-Reply-To: <20240123-msm8953-mdss-reset-v1-0-bb8c6d3ce897@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss , Vladimir Lypak X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=812; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=8RJwt2p5+9bT6QQ/3hPOmBGTH0lkJfO7XYCtLnTgeIM=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlsCnXA+2mEUNEOks1QZlI/1ceT4VUxjVTjAH78 B8CNE5k++uJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZbAp1wAKCRBy2EO4nU3X VrhSD/0WGCK03oMpHb2EbL2RqQS/Ywq3b7sbBoW8HjGlfmhZyNN03GchQqM43BSpXDOGpDPv2b6 mb4nvGd4fG000UsPOctR1SgCRll82pC30krHtuzuXE0TxKsIaifKwLMfItBz2r6FS/9n01XOoS1 a9boyPpp6pWLydI2EPn3AbMAP+CDejOWxnn5yYB8O7O46xPI40fhLir61rJLbhM4wWreP65hi+P F/OVc94cTXB69aO/bwqGu+ri1WtDXnaoJKto2HmNjbC9B6hD5sa2Z0YC7gKhNTPAP01ivY2GNa0 v9JOnqHjNex12zSdicTUd1tYiud8crfzGz+9Y1W9m0XkIGcq646eEXFvqbadN2XlTfjpY1Nogd9 Oef2Bz4dWDa8TY/fJ6Nheeu/M4AvSViBCLv+1S/+f0KA0fOSUwLd5s7Q/k+88BXhYqTmvj8C2A7 IdJakQnCqtXOfa0/ppIzrbxlZjyYX8nMS+8yH+kZfjqYl1KnbZFgVDARfQ4XM1yvX1NAI/MdZ4c MXkLqAvrmBW9DA7ZJ++TxdPJdmXdGfXqlfv9/XT4auG5M2Q+nrkUOlKLCF005baXIgYM1/LinOl +JmC2x30d28UPk/07XBLUEePxVy+Gqy79hHNYvGXPWnOpsdbzOOKsuqhyqqeJoW3C7Zz77yjjF4 5Jl8a/0cKfc3FIg== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788916719716113735 X-GMAIL-MSGID: 1788916719716113735 From: Vladimir Lypak Add an entry in the gcc driver for the MDSS_BCR reset found on MSM8953. Signed-off-by: Vladimir Lypak [luca: expand commit message, move entry] Signed-off-by: Luca Weiss --- drivers/clk/qcom/gcc-msm8953.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/gcc-msm8953.c b/drivers/clk/qcom/gcc-msm8953.c index 3e5a8cb14d4d..5725857faae6 100644 --- a/drivers/clk/qcom/gcc-msm8953.c +++ b/drivers/clk/qcom/gcc-msm8953.c @@ -4171,6 +4171,7 @@ static const struct qcom_reset_map gcc_msm8953_resets[] = { [GCC_USB3PHY_PHY_BCR] = { 0x3f03c }, [GCC_USB3_PHY_BCR] = { 0x3f034 }, [GCC_USB_30_BCR] = { 0x3f070 }, + [GCC_MDSS_BCR] = { 0x4d074 }, }; static const struct regmap_config gcc_msm8953_regmap_config = {