From patchwork Thu Jan 25 21:35:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 192782 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp149434dyb; Fri, 26 Jan 2024 13:06:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IE/Y9BUJtyvR3ev6v70E8aH/ituvHeYhdawJJRiXsjgN9LzMDJlVNFXyBqhstcXW3LFEXQC X-Received: by 2002:adf:f1cc:0:b0:337:c6ef:c7f7 with SMTP id z12-20020adff1cc000000b00337c6efc7f7mr116378wro.61.1706303170417; Fri, 26 Jan 2024 13:06:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706303170; cv=pass; d=google.com; s=arc-20160816; b=mlbIq6ZjZ+8d70VhEkBbypeNzicHgMyhoHDkwjsP9Qb+X9vPwOp2HOXic6fmVm/JZS 2UwElslUJLRLofIwVtD1kYKF7NuaIT2rO7EyF1DIZx1hKeeA7zY/3GkmcYWifXvUxTPY qNjc1H4TFC6m5cnnZ5GyOetl6dXEcHa+qUqFY0/trH7BQnfQL5qUkPz50Phsm7MKpdXK 6rRl9sw3jVyzmw5OaBtOmhvo6rZQ0ckhKE58pv9ZljOik2DBBZvvf+xB/oRg7c/pfjHr q4f5uzIVCZiC+Wa1U892bF/O+ZHV0XBkgfm7PUGMHPr2dyNLitF07zqnfk7TM4J6N5H/ 8eow== 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=dmFFDAI53a9Y+U3gGs0cIM52v3bsKBfKh5Ju7cy2d4Q=; fh=9Usvn2xhFfmQT7vO0WdNy1V+7QyxcOHIw4WE9qM30uc=; b=sRMTiXkp1VxYv74VIvuJlGWQc+GRVARV/tWOdOPiB9yBAGiy/F9beDeFLUfQIVmYNt dvTZ6NkomdmJHr2ideuZ1nq5MTOeqIav8FyHsZUYAcI5eChBmadA4WHwYSKvOSYBAYjd Rtxub0dt59UtC9topUy6Zq3nSKZ5HdrsoHr5jE98+PQLiFM5f6+MO97LtwKyWNGK0WGh RI6LZTapj2qx3vVpuTgja75IF1pJrcIoKW/brDWVkaxJvmPUa3Tib4bA3uPc1F87rL2K QNwFk+fkJ9zolTZ6qVGuoGM0j+BievzVTQoE+ZYTBObs4xgrT96NehoEUeI+/pWWFmaT CphA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=xP0S2Ujr; 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-39321-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39321-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k18-20020a1709065fd200b00a3251785400si957053ejv.459.2024.01.26.13.06.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 13:06:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39321-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=xP0S2Ujr; 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-39321-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39321-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 DF3391F25C3A for ; Thu, 25 Jan 2024 21:36:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 75CA213BEA1; Thu, 25 Jan 2024 21:35:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="xP0S2Ujr" 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 37D995B1E8; Thu, 25 Jan 2024 21:35:39 +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=1706218541; cv=none; b=PnKVJHIJOlC4Ejsuyl5YUhUuJjk8KOAshiH3RZImghwGmNDFH9TvUGiXMKJ2KQh2CmKgpJtdRCROUdqaMDTRg24ACQWzoTUGOi71JCgNRzkTuy7OuuEvI7Pafqe3GBIwTf4MKFguLnXGzxFKhnPwscmUB/PNPOl625Ku9FFCTc0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706218541; c=relaxed/simple; bh=xh9qon9uSb2P4Lif5swmXLPlXmBT6MHyg+9ChYhCDvA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=c2g4iPOBxFj4q6tA1rVbjnAfBCp2J3tP9oG15IizML4rh1pYuGHgoX19t45URInvxr+QDVkZLENNz2IR0KhXmfuDCRxYYc1mIoN2w2K0gb3czQE9zhVGGCAJ7yRltQ3lG8DHR19V7Bkt+S24DQDnF1fEcCKLOozZFgPI5pqfUDw= 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=xP0S2Ujr; 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=1706218538; bh=xh9qon9uSb2P4Lif5swmXLPlXmBT6MHyg+9ChYhCDvA=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=xP0S2UjrPUwkmvw6sUjkJaNfZcJ31AnIrK4GUa/KSNjx5U2T4OFoOUY1tUKxWOnjt RvdJC4afSF6wrG2xPIEYzRI93rlvfdyPW1uiRLODGPf+pqhYHWIpHwWgJsr5GZvsVx ELvPdgrpgs3AvhRWOFvMpDGn1Ua9Ndejov6HeaVg= From: Luca Weiss Date: Thu, 25 Jan 2024 22:35:12 +0100 Subject: [PATCH v2 1/3] dt-bindings: clock: gcc-msm8953: add more resets Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240125-msm8953-mdss-reset-v2-1-fd7824559426@z3ntu.xyz> References: <20240125-msm8953-mdss-reset-v2-0-fd7824559426@z3ntu.xyz> In-Reply-To: <20240125-msm8953-mdss-reset-v2-0-fd7824559426@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 , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=907; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=LRUAlEGpm7vwiiZudwOrNyuxrWuDT7lijZ3surPmQl4=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlstQmXrmcDVSdaQOgOy02TRqd5MrT02SsRltmt Qq2fJMCe1OJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZbLUJgAKCRBy2EO4nU3X VuzTEADayMZEyalP4CoUzhuIvH3OkGc57bjnSsTsGwGnlv6PMuVGYLJC3mZNHpHv+62XMkImiKf 1jDg42irzsgnU7djdJAvHF56t1CiVghART1jmZEMKPE8TuPzjsh1JjbvFL2nGZhb9r1vdNn0iR7 lLhbSOgOw7LcsYxu9mUGVynrHEHzy5lkNCyK+dg15UUgjPYAB8Jdnj/6waHSK4CVTHXpw+bzUVM 4cCKb3UG/zGvMaRvecWJDBQsf6QUFzsejEHvKXg+V7YJK5slV7o2Bsv68KdZgwatM9LQbKk4msw sHclg0Q+t/GIIJED2KjFYo9VPt5eEE3hd7RJ1XYkGi+FSGGfho7XoOkAT5x0QNvu9Gzd+X9wsWs FGRaNhyJ5yx5j3npf8B7CFxP9gjgT3WNfMOkcvJk09FV8fwYXta1NbBIpfz1JdepRnHhKtv+VAb tDkZJ54cf9n3KG9sOHp740g9nFg9bTUPtC7FdX0cPCIkl31I0Dq+oHvXUQCNK09pBk3JW4oh6DT bV4p3X7SMR4p8qSNBML9dhxp7mo+eBx+fp3uhGbg34fzZYnDM2fQU0Ylk2kSfZHFY8cmwW+O4au QKnmYVhO00onAhS1XGjsOsZiQk+oaJIYj5W2dv+cUDCSaIfiUPn3UVXcncdL+UwiHh8WXLrpTNG UgIlDgLCcJRsgSQ== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789188553026497784 X-GMAIL-MSGID: 1789188553026497784 From: Vladimir Lypak Add new defines for some more BCRs found on MSM8953. Signed-off-by: Vladimir Lypak [luca: expand commit message, add more resets] Acked-by: Krzysztof Kozlowski Signed-off-by: Luca Weiss --- include/dt-bindings/clock/qcom,gcc-msm8953.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dt-bindings/clock/qcom,gcc-msm8953.h b/include/dt-bindings/clock/qcom,gcc-msm8953.h index 783162da6148..13b4a62877e5 100644 --- a/include/dt-bindings/clock/qcom,gcc-msm8953.h +++ b/include/dt-bindings/clock/qcom,gcc-msm8953.h @@ -218,6 +218,10 @@ #define GCC_USB3PHY_PHY_BCR 3 #define GCC_USB3_PHY_BCR 4 #define GCC_USB_30_BCR 5 +#define GCC_MDSS_BCR 6 +#define GCC_CRYPTO_BCR 7 +#define GCC_SDCC1_BCR 8 +#define GCC_SDCC2_BCR 9 /* GDSCs */ #define CPP_GDSC 0 From patchwork Thu Jan 25 21:35:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 192311 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:e09d:b0:103:945f:af90 with SMTP id gm29csp268679dyb; Thu, 25 Jan 2024 13:36:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQ5gzJfGBCmyNjL8f0/W42U4g2SlPXEKsFZNp0/RL98EQc+eDn035CzsWhwkdErke5nX/f X-Received: by 2002:ac8:7c55:0:b0:42a:67eb:2d3c with SMTP id o21-20020ac87c55000000b0042a67eb2d3cmr351623qtv.95.1706218608969; Thu, 25 Jan 2024 13:36:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706218608; cv=pass; d=google.com; s=arc-20160816; b=lcQjE3pIwlWR3kIdGzNQrLLL52oPRKC1GSzu52y/W3uLO6+CMl6cViKomPulxmKs0C DFNwUqVfBIGRbfFUgO2gukF8Jgty7yqYcSvPhLRMsu1x8lyTOrrsGi+2NP7h5t5rdKx2 k/0u1oiiZldaZbr9q5Oxu9RLRCUChB6fJomIn1rnUYgmERRnJEdkDaD2ncQ2jt/xLgkZ d1/9HYp4vXApDNYW/05gqbiQQilz3voJ0w+aeFCURk2BFJOf5KeqFG8m9ZzRLFfPb4oU Y9LCpPvTLL0ZUY889zwJKyB8+1fraymclklvusqTc4jaG7kAek1nyIRETV6W3yTWdkLy 6AyA== 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=hv3gYbQRwspeiXR1qmJinVWdox3WoAzI6DIkdHwdkjM=; fh=AVF8B10kevm1JBsKE+uoyI7jCTiX+8+ylrraE5hmDkk=; b=PfFCPs7urf0fV/kq8LRFGIiOBFzPn+6BAsFh1BZIRSCCCSnGGkCc9qAjtE9JGL9CGe gEFE2StPAbAQfkNQzdjznewzIgxWCPwPptsBxSCS4ErpYO2PI+UGgw5EsFsJ7luKwW3A 4QHmE1oPNyZyDEu4qkbEYnC6JuKy+GTeWTBmW6AU2FtX30Kav3rPM2IilMUS8/+KnBg9 zv3Ort/MfxBm//n2Xa/1F5DcoStJptBnUfwTfU/W2fiAduNKdyUM/XDVjjbbyEPLEiYH tB1kW9UFyuepGBVcdvpvxVyqbD1sjfV8bFpa84Oqv6gvZ8dIaiyk1dlS2go3Yp/BZOuC lGgA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=QtWY3TlF; 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-39322-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39322-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 g20-20020ac87d14000000b00428340b0ae5si13316969qtb.731.2024.01.25.13.36.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 13:36:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39322-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=QtWY3TlF; 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-39322-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39322-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 C0A561C23A3E for ; Thu, 25 Jan 2024 21:36:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A576F13BEA7; Thu, 25 Jan 2024 21:35:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="QtWY3TlF" 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 784BE1386DA; Thu, 25 Jan 2024 21:35:40 +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=1706218542; cv=none; b=cIv56lE3jjK/OfkcKnBOvuwfa5KiQ/L1jUx+5D5/7o1sV3aCC9b3adxu5p182gFvYytYylsNkaf94qD2KtDCKX1Uc0O9i2/RcCRq+VRnC31fUQ7gODwtzZqLC1bexeSot/x8P2FEHvrdDHGio+rDC5p3XtH3UgPioPDKFRVrEbs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706218542; c=relaxed/simple; bh=FK+L8LgnkcrpzitQ1T/eo/BRxUMyYXtYZKulFp8jUQ4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lj5TdPzwD6b2ntjtLpLiTYExHyKspJCfPJqo0enbP+cwygHlCHP43AaFCo/RmuJnbuJRiZhfvlcmlP49yj6tZJa23IGngn9cDHiAU72kw17PAeOYr9qy77c9qThrmNAZv8Thx9iJEm9D0Pe5KQ9clZPs9OwoD5wP2njqmkq8xSU= 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=QtWY3TlF; 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=1706218538; bh=FK+L8LgnkcrpzitQ1T/eo/BRxUMyYXtYZKulFp8jUQ4=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=QtWY3TlFVMGLuC2uIA8n8bKW1pBNOI7wltw9gRQOZ+34cTk07B9xIss6qog2hibcA Nq/j8U+mr3NPemDrMBOrlHYwGWof3Z6ieqW9GGPZh1BkFZmnQwehMd0Un5Atd+daea XPMFrmDpU03YnjMPF8MlDTuzAf33FoRLAc6Nweac= From: Luca Weiss Date: Thu, 25 Jan 2024 22:35:13 +0100 Subject: [PATCH v2 2/3] clk: qcom: gcc-msm8953: add more resets Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240125-msm8953-mdss-reset-v2-2-fd7824559426@z3ntu.xyz> References: <20240125-msm8953-mdss-reset-v2-0-fd7824559426@z3ntu.xyz> In-Reply-To: <20240125-msm8953-mdss-reset-v2-0-fd7824559426@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=941; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=r1BPJQPZkawQ6cFOzFDI5AEkOrpUf7EO3bhDtyAamxM=; b=kA0DAAgBcthDuJ1N11YByyZiAGWy1CeiLyJaLPECWcMyp3ramZhs2rrDRfuQpXiZgOg5fmb+g YkCMwQAAQgAHRYhBDm60i8ILNqRuhWP+nLYQ7idTddWBQJlstQnAAoJEHLYQ7idTddWvxMP/1wV ZXykMiFTPRh22kggE/SmsO/EoTVupX3OTnw7ag7Xyqh2FVJ1QboXJqEc3vzpnO8pPh9BP0P9ZjN dk7CKQr5V1J0XQ4Bn6VcroyDBbJhaZsjt0PoXMRFS6M6utbX3zlNdKeG3aj5oeEhXneboFt57Xd qUQg7UdTbBX+TPtb5c+BKcVU1GXBoKnnCeK3CBcRvtrTuIZLHz+jdKVXmFvdI7v7rTb3Xp3WUyg pRsdRHLyTmHyq2iW/NWMV8GRr4g+LdKjG3LX5tPPRh+W4qC5wmqcqtfizuUP2icY/qQldidUcPG ZH05ebkv/Cv9sjH8eBOs276b+k6ZYC3G6S9txcrby87pWIlwFTq6a8N0ktpX5ge6S9qDXqiccNS Fx1G1EVe25c+UFtmYrDp/Mp/sxF10TsSbZLI6/zWvGMQWkFg2DussTxNXFxQMUrJaD+Ivc3vo2e pxq1NsyUS6SXnsp825rQipBGhQWI9Y67uQMa906hKcgfuJtjfJU+ABuZs8R4cFR8rIUQQtl31Qt MVQrkkg0eLSLLSDnSFC5A0019uNcJC2nrjtwQxT1TqfYGHHy1s4pohJQjoFwipybsHeJ4kD8YSB OKlWKeGrRTP3EP9+oWhXi91lLneIOdemj1nGSJvrcCoDyrUSr5QDYHmn3fAQBCfxl17lLUVhzyi dLCWh X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789099884206517061 X-GMAIL-MSGID: 1789099884206517061 From: Vladimir Lypak Add new entries in the gcc driver for some more resets found on MSM8953. Signed-off-by: Vladimir Lypak [luca: expand commit message, move entry, add more entries] Signed-off-by: Luca Weiss Reviewed-by: Dmitry Baryshkov --- drivers/clk/qcom/gcc-msm8953.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/clk/qcom/gcc-msm8953.c b/drivers/clk/qcom/gcc-msm8953.c index 3e5a8cb14d4d..68359534ff25 100644 --- a/drivers/clk/qcom/gcc-msm8953.c +++ b/drivers/clk/qcom/gcc-msm8953.c @@ -4171,6 +4171,10 @@ 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 }, + [GCC_CRYPTO_BCR] = { 0x16000 }, + [GCC_SDCC1_BCR] = { 0x42000 }, + [GCC_SDCC2_BCR] = { 0x43000 }, }; static const struct regmap_config gcc_msm8953_regmap_config = { From patchwork Thu Jan 25 21:35:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 192784 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp152261dyb; Fri, 26 Jan 2024 13:11:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgwWbWKREfuZNp5/EFlQK3NcZKQs5qfipFZYDfdMF0EUdyYrgwR+MTTqBtrUqH/vh1eNzZ X-Received: by 2002:a05:6a20:c488:b0:19c:3092:73bb with SMTP id eo8-20020a056a20c48800b0019c309273bbmr354365pzb.72.1706303497021; Fri, 26 Jan 2024 13:11:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706303497; cv=pass; d=google.com; s=arc-20160816; b=nFFU/cRiKXSxTGwy/QF1JJqEjUrwCGTB9s/5OpIZlSwMETmiG6pQwj/AvBTint4smg 1n2ft27eMgNFdDj1lWQAt2nBlwwi1HGMaSP6G3cL1oiaJLiSTSO/F37yyFsvtFIKA4Ka 8YNV10AyZS00NVL5vTuTTdOLo2X/090DkRYqLHAWlB5P2HU8jqY4JZwz4q3R9QM+e+Vb 2A+lMY9imd5zX4bp90iO2AwIZzECUy/Grz8NiWEd9ZLsJOpTABY7unZEZL2ZCwdKAnLc EpBp81EngCV6uMpH4XoespiLkWJ88tby6CdDyRtQLCCcINIvkLQfGJHkkkVXiObK98nY 9RRg== 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=Quj2oKgHdxxa4HKND9uN0mvxaSiSkDOr+LtnH4YLvIg=; fh=AVF8B10kevm1JBsKE+uoyI7jCTiX+8+ylrraE5hmDkk=; b=wV1rw3nsWk/qwgyfnt9f1LWJALTN9GqPdKWBKqlgj4wXG0nkhDwmC//aOmwA1CSThH 7LuIRs1tcOTLdgYbLOM2Y2yNaErnypWhbZJiAS5zCPqXK+BQrb2v/0VYywXgiqmg6HZr 1AjaKepDzLjkkB4NDKPUjQCqKj1FbHZbCKymVPBwMETWCsUez+YVu3azKIVud6DAPDzJ zhETdaIcmoa/tI1BTc1uBOHhRAY0K6VEKFFJXwE0XjI8XBbGlxhBLSjIi9HVR5v8a1yC DJf3L8y56dqKPAjESZ2wwOQvau9NlaDDyw6U7g14SPE5k3YplsNlWgSV3V59m/KlK1+F Nemg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=8HxHjOLF; 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-39323-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39323-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t191-20020a6381c8000000b005d553239b18si1710967pgd.638.2024.01.26.13.11.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 13:11:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39323-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=8HxHjOLF; 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-39323-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39323-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 32209B27882 for ; Thu, 25 Jan 2024 21:36:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08F0513BEB2; Thu, 25 Jan 2024 21:35:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="8HxHjOLF" 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 B9A5D1386DF; Thu, 25 Jan 2024 21:35:40 +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=1706218542; cv=none; b=Hb1Z6f7qoRG7jru+4VPp9lNL1vEKJe9LEfVdyvBomX+z3EYjsM6Tm8rs2NA/4ohqBqUnfEOy+R1T2oG2lgWPf/Nazo55gclwxlD1YRNIeNXjFkF8NZzCtVoar1lt/0Nx0j/XgaJb1qLiDjg+CoDDp5CVwdFFD1hL5NuUonabszI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706218542; c=relaxed/simple; bh=yU5QrcQggwQQZ+kfNFxdDHxu5MXwpTUge718BD6qWsA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hhjek9Z/1EUyKOBo4i1B8wCOn+XwkVthPCHdY6wGruLNEStK8lSIcd+CRYD0slVyi2RoTjgy58whKGfCX8nyR+PzreD/Zoa1prdVNTHJXT9LYUTU+zTk+5xYeXKgMc82x+w7XSSI2WrFxrKl1Oe/fR4zjJn8JU0kfb6eeaD1ARc= 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=8HxHjOLF; 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=1706218539; bh=yU5QrcQggwQQZ+kfNFxdDHxu5MXwpTUge718BD6qWsA=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=8HxHjOLF+iUIlmdJpb+yOEnAOc73gJ70iQl3IEieRVCRQBRZkpfENOBnc0vIdKrhm FXYR2/mVAIz9uHQs/owmqJQqFdW/Q3u04NI46mXKpRkOGBketnm3BFgs9ULiC8rIzI N8fsDFDKGquBYwTD6euXWUiGU/qgo+JkkF/k+CBY= From: Luca Weiss Date: Thu, 25 Jan 2024 22:35:14 +0100 Subject: [PATCH v2 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: <20240125-msm8953-mdss-reset-v2-3-fd7824559426@z3ntu.xyz> References: <20240125-msm8953-mdss-reset-v2-0-fd7824559426@z3ntu.xyz> In-Reply-To: <20240125-msm8953-mdss-reset-v2-0-fd7824559426@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=829; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=PzUs+5/iYFOXD5TPEPyAZhq1wFpo0mlo1sKi+auOvx0=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlstQoUguZBfVZalKZvT/s2F/nZ2v3tWppxGDNu tWud5Pl8XGJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZbLUKAAKCRBy2EO4nU3X VoMYEACbrmNAcNRKzZvwmfCgVFNyTCg1I1Z2ILz9rZou8AdDvxucvfn6vRdhtimmK9FrTm2PETT sioLaWn6Z4sQyHTqQzlypeWR45Ip/9rc4DCGob51xftVJQU0RGaNdiyDMq4m0IQXgIZVK9Er6bm +C1FdGzc9+Tzx8NpNX7hFViGOiqhwxSLeCyYQSCDda73uQbntRtqtOMggHyQinLEXx4HJOJsiod cJeUcq/7F6vb0SbQI64bddmjwUbq9cu3m+FcgSgabmCEYqenq8jhjJ/hIf26195ons2CcPxFQWF spj+75YQBK2NFdISJnjdg6OpJyB60gJnghou8p23Vd2rU8kIZib9X1tzG7BUxLgcNq/pTqzbFCm yVf7KHFfABIkx3PqccOVNVGUPfNekEpz2Bv7yVvXkRWavxTN0gYF7InjuiXWmpII2JKnhbdoLIo OMjOe2g4IC7+P6FobM7aVW7WyeRPV1HpIhR2Lp6Y+dk2lYitHIqStFUUle6H0iyD+Y6kwBEcT0f QvrhfBkX2TT4lPbs7+InXcFstxgmu6GQyLSe00atj5+mjIhpcLTD2eI0nrnEqiAZUPnFQ+XGMNc ynjS38vRZm+saU8xa0MEgUro0MWpGiTtdZ7+2jq9oyKtfAKFGfgt8a6Tct6nYSVYCyTMSobnFLu +RAuiMrvgrw2epg== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789103152576684985 X-GMAIL-MSGID: 1789188895443902477 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 Reviewed-by: Konrad Dybcio 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;