From patchwork Tue Jan 23 21:03:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 191764 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1256535dyi; Wed, 24 Jan 2024 13:10:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGyOKXoC3N1q+alMh1dlZR97ZociqLhe+ma1fyzEXg+s5lCoqLC+yEiXthdjYy45K+DpR/F X-Received: by 2002:a05:6871:5d4:b0:210:e93b:9747 with SMTP id v20-20020a05687105d400b00210e93b9747mr3737582oan.115.1706130654751; Wed, 24 Jan 2024 13:10:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706130654; cv=pass; d=google.com; s=arc-20160816; b=txA6Ma74xB33Zw35PNc8pDGjdbBUjiZZFYIBypaYElY3UT9dAXe5nglWXleUuxaPVx +Z8sGqUZxQJeQaGTg4Kxp4mV94zsi40PFE4e0XelphhHTCOqW5cYRQIcODfIzDZjSRwz kUc+X6j3LVxx7ygyMZtQ7LvMkd1D0n3/EDgbKljZ3nf4hvHhc+RL/ZQQG9UpfA5uDfGn BwGIcXsXsjIpcQKIrQTTTPh7jnBBzzS5KcIz3m+aLaJuI0zBM+0BFvq0RVVPZn7X/Pi/ dcLiEs5SuwW1ah/iWZ4Gy04uPBQvDV1Jo+JtfYI3A8BwT80n2vkyodP580uaOlevhF9p yTpw== 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=AlrTuC5okjyZzzgXGMM4sR/TzKlJnMnqPGZFGvvtmcU=; fh=AVF8B10kevm1JBsKE+uoyI7jCTiX+8+ylrraE5hmDkk=; b=d/fdGXieJ19lALynGLMXr7KSf/SDJrC37YTbRz2V7LIJqDAHOygT4SSfwCo1oiEfzp /sZp3uNcSGCTcVCC5I8Ln7TNt5GkNt2ef5EzjtB4ShGkb35qOCD5xh0+CMF5KpP+5LD1 NervTg7zq3XK9w7adXLsoiv/OnFCcqEj8KF7jF9VTjXnvf29hSnWEubfNtu16QlIiPQL YzEGfW3Z8guFSfMbDYX/OvllEfRIWiDdYx7cezEtictN6eZDCBywkCVkY7LAHo2oJStG kHSKKiOpcJ8TwSUhABOzOEOPh/TxBzoS7krBP526JwWEPxLCnMbs977FI3o8APiS8W5r BwiQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=CtKF7IDS; 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-36055-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36055-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v25-20020a05622a189900b0042a635c42cesi1441614qtc.583.2024.01.24.13.10.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 13:10:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36055-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=CtKF7IDS; 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-36055-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36055-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 09FC61C28E14 for ; Tue, 23 Jan 2024 21:05:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24AE44F203; Tue, 23 Jan 2024 21:04:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="CtKF7IDS" 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 BCCE519BDC; 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=1706043877; cv=none; b=dNRj/GDGZOiT9x6xWTuxATKa8M2Ks9L8Rx88ZmBVaHzI2n220qVZy/0s6kk1UkUY57x5L9wKqKuUnIKJ1K2+X1km7fhbWjYPfrYoh/iZQXKiKdB0HSvslbDD95fjRgiirexWuTZ2A8u6W4Kip1jxS8omWIw2ax3HGRcvMw68ClQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706043877; c=relaxed/simple; bh=fKNOuDoTzwcVzhQKQRV0risOvkUSvEE2mxGjG+qiGFM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HLvVYL/AwqHiUCxp2CxS0xd0z3OFg1u0nEMpY1jzaMhqFHBIn8Yo1++dvR2uBw7ySxDrXGbkEWI+fZzLUVdFjRongXEH8xEL5YClrH3SjUQzEdScs7Y/2Z61YTNOUSVizneLNZ9JdPt7cH0vaqmdYmFNjB5R+QPFtDFK3qN7kxg= 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=CtKF7IDS; 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=1706043866; bh=fKNOuDoTzwcVzhQKQRV0risOvkUSvEE2mxGjG+qiGFM=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=CtKF7IDSkGMIKSDjrC1pkNtds5M2ywxHYrRxbtNMREIAyL4pUvLKsGB5vQDWoKh9h U8BS2PosNaOpKKPaenf9PzHQ5EnbVAIeOE5V8yPMnWQWt9DlDaYjV32aaSxorELBLV 1YAr45GvXy8ID20tQgnYD+bebzFZhr1iPq4WywyM= From: Luca Weiss Date: Tue, 23 Jan 2024 22:03:55 +0100 Subject: [PATCH 1/3] dt-bindings: clock: gcc-msm8953: add reset for MDSS subsystem 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-1-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=736; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=nowTyNlcYWdBQrzi/O5J4gsbaEoQ6NuvDACFQUsNsms=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlsCnWW0r9jBCJrtoQbLrBv0ZaFIeW9WTt/l0Iq xYcLVturdyJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZbAp1gAKCRBy2EO4nU3X VoivEACI0QI2XZfoqVKppuc4WBE91IwWNshNwI/+dbesUmPY5DQjl1UerOfNMOzMYQ248FULlgI B2vih7/EmjR9dPfsjO0BLHcYSagtV2kzA6Cygwzod0iTc0zf3lXmwTRjMTeb7ZcgpR3DwbF1a3t F1LG6VzYVqeU+dXQDGTXjFS8Q7SaE/4VL1195xE62eidr2ruh74QVBqKMkYbCKjwd6SxpVAYdFy X7V24Ba/YxQK4MXGXUibclPuUoUSjisaKUOPxcWRKP0U5bWAm7vq1QCxd8LGM+aJSUHRhFBPJ9e /fpsXHlrSX4LBTUEZozSlHlK6kj/fkuCmjxay+7PDNOM6jPJrrmCystrdUMhmwkiARZKtEEmMgI KCrRbs6+rVA8W5MS5yPvOkIFrlRToebabO8/lCFRvKCgKhORGAg/KaqO+69bFurkrEP3eSYMZXy yC7zhRa/xy3tM4lYMoA1LqEjbi9Auu6VMVx5D2R2uTLkhtIIAmYj3Y20xYzEy3Et8MfsBJzL1ra 1uKWrYyEcc3f/qDvp4WMic/xf5SWPdnCxUE67YF2QcP9b+uqgYI1j3C9Kzixu0+r1SxEQntbPNo vdEcSBuVVEYtpAI5rSW7u/+oAxx8k7CFWPYybFseFMGfNvsqFS/5Z57PfRkIXoh4q9WQ+tBxyIn DDUXoCbBQ3lgPtw== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788953072564558518 X-GMAIL-MSGID: 1789007657904235949 From: Vladimir Lypak Add a new define for the GCC_MDSS_BCR found on MSM8953. Signed-off-by: Vladimir Lypak [luca: expand commit message] Signed-off-by: Luca Weiss --- include/dt-bindings/clock/qcom,gcc-msm8953.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/qcom,gcc-msm8953.h b/include/dt-bindings/clock/qcom,gcc-msm8953.h index 783162da6148..28090f9d7f24 100644 --- a/include/dt-bindings/clock/qcom,gcc-msm8953.h +++ b/include/dt-bindings/clock/qcom,gcc-msm8953.h @@ -218,6 +218,7 @@ #define GCC_USB3PHY_PHY_BCR 3 #define GCC_USB3_PHY_BCR 4 #define GCC_USB_30_BCR 5 +#define GCC_MDSS_BCR 6 /* GDSCs */ #define CPP_GDSC 0 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 = { From patchwork Tue Jan 23 21:03:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 191763 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1256183dyi; Wed, 24 Jan 2024 13:10:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjAICArLwlY5ft8EliqjPtdx8Kh9hbkn7EWjalt2b76cLssA2bQGctLBE0WKRy8cVTn6bd X-Received: by 2002:a05:620a:4c:b0:783:5186:a4c4 with SMTP id t12-20020a05620a004c00b007835186a4c4mr5808qkt.30.1706130608733; Wed, 24 Jan 2024 13:10:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706130608; cv=pass; d=google.com; s=arc-20160816; b=TIhx2PwIIRm2Lv0p2Gs0buIqED4JOdMuU9H+LeQi06Qm2AAYbF6+6mYwPktHPXf55z mEpWfuCA/h5TuQN8HkuvsJN9Z73lqJUYFvjMnYG3hySkPjxoH8qmDhz+IoMYWxfZHkbC fziwU/ZD1FGQNvGgyUNqPvSZYA4IbZAITtPAx6CNLGWs0ps3Ewq2pETUWBhBT7YWuMLJ PPHyawEWicW7y9GDCxYAvon8Fiz2cpPdNBNwoT2dyGqlEKU1R34QLyQvwRjhhdEKWYmv Rfrc0OUbas95MBMNdlT57MfSByf9Afzhlf+FEdRVj1qwJvxBqA+DNNQkUZNh9EXTTHFY 4+sg== 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=+vWLnJdYwjmuZou0LvAw8jz2c8GGzz37Z+yRvkAahUE=; fh=AVF8B10kevm1JBsKE+uoyI7jCTiX+8+ylrraE5hmDkk=; b=SE/AXcz/BRAAi4diuiAhzsdeL+CU+OGJ9iNzQA7VO2VRa9J59VjTNgWMFLW19m1JWa brn0M7RnGxmk1vWEoVrqJcnLcZ4ZFhQ2pqPYaviIVQ0wgGt19QBNlDYmZLgx6ycfvAc/ vvh0YqSRE7o/oSgUMMecFy3/XtmIrxDFpLDJCWaCy8lRjVXp+c8cwuPgIrSamC9BfGQd RXJeXWcPHlwTBddtVxBrLtV6os+p2H1hdvSzvXpiA/IqiXL48xnR+nIh5nm+eyMHZOpY zCkoPEX45sbcVAHSLt6jyI9r8k8uZBUyCGxJiOUhfIaae2jN/WyskspH5bfAJfTQI3OJ tmLA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=VhEfb8xu; 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-36053-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36053-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g13-20020a37e20d000000b00783343bb309si11007650qki.165.2024.01.24.13.10.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 13:10:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36053-ouuuleilei=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=@z3ntu.xyz header.s=s1 header.b=VhEfb8xu; 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-36053-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36053-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AE1F11C28947 for ; Tue, 23 Jan 2024 21:05:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDCE34BA9A; Tue, 23 Jan 2024 21:04:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="VhEfb8xu" 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 BCD231A27A; 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=aUR/XuvdNC7sevQv7OWXd25eV5wMI6GPWmIpbxDEC4wi+NAXgxR4hoatvtWexr+X68zaMZMj2+Xf7TfDNh+g6aX3EGvbFgCE4lGAdXN6TLSFOZOlzbkXt2oI7bdhAs0IGC5uqS3D3hgePWXWTZX3eq80XwOpX/VQf2ko+/Vov/0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706043876; c=relaxed/simple; bh=iUZ9ff9Sy/VGyfLsHpEtkeYzZrimjw/PLUyxTEaxB+8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=loWzWMLJ+hh6vpKC2OYiCB1/VXpOK3G67ZFMOojgPYhprTvogiG6oDRcUYl1DcCy3rUR6W+e8B2secijNPCWH/0mDZzGiTov31ymfyPcI8TBFWji1Nk3XplEebJJvRBGsxd5wumUUvBSO1irt1+HKnbVaw24oRBpoYg2hZTLR9o= 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=VhEfb8xu; 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=iUZ9ff9Sy/VGyfLsHpEtkeYzZrimjw/PLUyxTEaxB+8=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=VhEfb8xuK6Z+e0ASbBsRCW8WXFX3p/aLRwG3yVVu1N6eWhIG0/9JKrS7F1NBQBOxC IeWZ+v1tqDX4Yiw2SYzJj1Ez8aN/464YRdXYpfU2meZAZsSV8T15puoTzCdaYuX+2z zMqQnTjKY5NwCjIHsV9DCYzc0S4o9CYCvokFNr3w= From: Luca Weiss Date: Tue, 23 Jan 2024 22:03:57 +0100 Subject: [PATCH 3/3] arm64: dts: qcom: msm8953: add reset for display subsystem 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-3-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=774; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=2eGHbPBMdO+UgME/Y6wGkZ+t0vRvxXHXtjw6rDrXCQA=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlsCnY8IywGYM0+ByxpNlLjwe0KF31yb0R24nKo 3uRQqntBqiJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZbAp2AAKCRBy2EO4nU3X VkT4D/wPDY9u4kI772wMuV+JU85Ok3ODvWBeV65f2Aj5mic3HAOfGFQzvBnED3RY5v68/T5t0iN hpHpxQvletMss+auTI4T/PXBF8JsFCfoQY3mn+eGFJQil2NrXrqfhQjeRNGT4b0X1aBtFQ+EQDY HU82Mfq2R5GophhKMW0oa0RhCX2w1D2LVcTAg8hU2/ygTKCQ6zK34kkgyJMZAVBmhBocTFu1F49 IUU2js0Irq4RN2gN1TDiOqDo9uOGLkAh0jLCoSve4YsnmPx67PB8WpkIJS0RGVxOwPtAM7lD2yc 0j+0Z8CPikioyLaogYNma9RHo1FliEADpTsmVMDeKCp5fh4ddE4ZO5GAKgCr7ecDWHUb+z+OWNg xWVzaq5WiRYo1LFM8BNjlN4+Ko8uQ1MiMG0/N0zEYlvd942mAuD5t9rARfbPbMgXL5WRQuFVb7a wjlKLpaduvTnNpyz0KUb4425j3IAj5AL+Eo5dhginLcKUMeaC60S6wVVljPN/nqV1RJgtti5W1A 2xc2pEp1E4RYZlpJZ2hAHpH3TRhba0zzoWDpnQXCWA9vIHO1bPQdXJZx/7wT2sM5e25HCF+YQcb hXQXRl1Bzr8PaqnxkhUf7I49TnAuis8Kfp6VnyKucUqfiupwurZXgYt1O4AooMO7ZQnmTMuTd+n dsEgawnrk5b2QCA== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788977045668089646 X-GMAIL-MSGID: 1789007609436711022 From: Vladimir Lypak With this reset we can avoid situations like IRQ storms from DSI host before it even started probing (because boot-loader left DSI IRQs on). Signed-off-by: Vladimir Lypak Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index ad2f8cf9c966..dcb5c98b793c 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -859,6 +859,8 @@ mdss: display-subsystem@1a00000 { "vsync", "core"; + resets = <&gcc GCC_MDSS_BCR>; + #address-cells = <1>; #size-cells = <1>; ranges;