Message ID | 20240123-msm8953-mdss-reset-v1-0-bb8c6d3ce897@z3ntu.xyz |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-36056-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp604931dyi; Tue, 23 Jan 2024 13:05:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHKkPkwSigd+VanSm1mcTrS06aRXCpusnZkBSuaRWo6FzooLqvP3yQ+6t/MDx4TPKjAaEnS X-Received: by 2002:a17:907:c246:b0:a30:e89d:3989 with SMTP id tj6-20020a170907c24600b00a30e89d3989mr225875ejc.198.1706043942913; Tue, 23 Jan 2024 13:05:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706043942; cv=pass; d=google.com; s=arc-20160816; b=SSm5VwOid16EvNJtr/ro3+T/wqDhN4FLTZB+l3qiFmPx5MyA8i/MC5XT0GzFbLckry YzuQ+TzhSgS/QpvcPMbyH0lJ+/AsUO8i4HWozZJDUTvD0VrJte/Bsk5u4BMxYicAKZ3W 4zSMqFz/OIV4edY/1x3TBv/DqXCa+GdGzVENUq38Kyi7l32Gs6pVAaRVqB0QO8kP5zAT cGekw+UckPCi1UhJVQtyR+Ub4157In95AIL5Kvc2RWIqwoAhUlQ1fTYjfJ4Xvtg1x4NI tm7T+oNvXHdATEvxjozwaLyerSU4mdrB24fFLYsJNhx0VsM6PTNXVAmBi4gDdWCIFMJX upDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=/Bh/q/ggx2MchB+e8Iv+QGgv1YnZOWNDIP5lZV/1yZo=; fh=AVF8B10kevm1JBsKE+uoyI7jCTiX+8+ylrraE5hmDkk=; b=LH81sKysxF4sM8wZRCdMXGW8yHPbrKMdrCdxK1huk80RqSf1KBmL6KC3A955RBTr9C /gLEUX8XkVJMDy0T2wasL3PZMOXIKmWI1aNcm0eOjPnMjOwgVX3ppYavDCdaaF3DD+lG /6zDG/G/qXJ6T2RZRSdq4xTJsN7LUqvG+OKxxtxum+wlyKcO34FAO5z8nOrq8U+r+Jog 1l9ybz5sSqrXiFp2LnDDNAEOcxyMJ1hrePDN1WnZ5jvSW7xW/mnEfRdVOKr/CeUBOnTq /elotpC92I27REzcj1lTOSfcD/OSizKcBW3Eq3IiXio1fbPo21yI7V6dfvVKFapsQQU+ dpkA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=Ve4vV3h8; 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-36056-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36056-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 dt19-20020a170906b79300b00a30ce952302si879197ejb.696.2024.01.23.13.05.42 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 13:05:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36056-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=Ve4vV3h8; 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-36056-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36056-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 863DE1F22554 for <ouuuleilei@gmail.com>; Tue, 23 Jan 2024 21:05:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24B034F205; 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="Ve4vV3h8" 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 D4B8D12E7B; Tue, 23 Jan 2024 21:04:33 +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=U0jRS9uNs8TYjLFaJgWGqJxTjHaVqHY2j92sEU7G+BLZos5doD9Mf4xTMu5aSZPTrbzCwA4XUnc8+v5Kb4dvVKguxCV0wkRPrbqUPvoQWqUErzaqyCVWt+tpZOmkI+pFszPEbb0NLuVwjnUOuF8WC7n34tLbrB+EeOHCCLk968A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706043877; c=relaxed/simple; bh=CKtMfO6Bfzyox+5EUVJ1yI9kA2uCj8V8lQP91cG1mvA=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=eJ74qBBhz2uBoZbJqIAcLTp61CvhJMQ+IT+toVYKeFAOoQUdClRpUBndoFRVJYDCpd1UQKcSYLj53x2Fjal1ThY2u23X+xBbhOCwaZiIpW77K/e2OgLYgBX3bV+W0vYwceiblxhwIBlRmBIkJFr8sA0FGTDXvihRv2CsPtcxYDY= 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=Ve4vV3h8; 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=CKtMfO6Bfzyox+5EUVJ1yI9kA2uCj8V8lQP91cG1mvA=; h=From:Subject:Date:To:Cc; b=Ve4vV3h83HsNyUHx0wDQAQrD/AtjaoMoh+H+4DnOVWwYZFSHaPUhfvPGh1nrM87cn WwMYzpdGemNdpcw2sgM/Wcjz1TdImDZUjdJ5FmMYe22+NT6cwKi8YRNSMGj6tHqzol S+5g0UDvr/W+VEYXIOSpoUoSGde7REYzYPF1UcUg= From: Luca Weiss <luca@z3ntu.xyz> Subject: [PATCH 0/3] Add MDSS_BCR reset for MSM8953 Date: Tue, 23 Jan 2024 22:03:54 +0100 Message-Id: <20240123-msm8953-mdss-reset-v1-0-bb8c6d3ce897@z3ntu.xyz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIALopsGUC/x2MQQqAIBAAvxJ7TjDNsL4SHSTX2oMWbkQg/T3pN MxhpgBjJmSYmgIZb2I6UpWubWDdXdpQkK8OSqpedkqLyNGOptIzi4yMlxisltZJHUIwUMMzY6D nn87L+35ar2NRZAAAAA== To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss <luca@z3ntu.xyz>, Vladimir Lypak <vladimir.lypak@gmail.com> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=758; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=CKtMfO6Bfzyox+5EUVJ1yI9kA2uCj8V8lQP91cG1mvA=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlsCnVCCHHoC3NJac8mzXQRwG4STJPMvdCDV3LN BKhPFfN5m6JAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZbAp1QAKCRBy2EO4nU3X VkkxD/48FVfzjdGeBTusDywMmrPM+JjWI6YgcN9Ys473zlgjt7DtSuYr4mM/l7229VHt3LT7/zx MJQG5e+XQPCXa/wYqZ3izEkygl/anbiCglAkCNQu4uoc2ET8KGUyx5qZVbwie+61jMjNG0Gj4C0 W5uCWYprbt8Wpi92P2rqVuUPdh/LnSbNL2wIXjuvDMoCIgJKUdAcoyORzIUD6YlETVnRDgP/+3K v/zdH3dfXl+I4OaxXFHpBPIxhIJyR5H1bWX1+maD4wxk1eWyvVVfHgoVlmkrIpNqoIRWM43Uq0O NVbZkME+23RnEOwxetPnuScaxk6GqzvYPlWVk6Oh92xltAqdBSC1fWJqyl1C5HTUqfcaLLJSU3F JS+q4hxku2Kcyt4/f0bXvoTS/WcCLj/9jpCeUPtmQFqgWuHmXUakIuy2bkZ+zSA0xcGa2iHhtHz 77tXDnc4BdaGPdxqJXX373I6HuGkT35er34XYx0RiFpTlkuSJzxK+iuxYE1wHG0q+UJRXqR2Bo4 p+6EeDLTY4WYJ/Fp0dPC1g+T7H0C0uyJO/PH5kFeiahlsIU/+dV4WY4UsGxth1YyF914GJfnj2B VYd390Qk0jf55wKU3O/ThS+3dOEPX8YhWV3ZFyQvUtU9XatZ+eQ5n0sy9yto5UahLpeRXCH6yhu HJ+En5+GQYB7f2A== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788916733306632838 X-GMAIL-MSGID: 1788916733306632838 |
Series | Add MDSS_BCR reset for MSM8953 | |
Message
Luca Weiss
Jan. 23, 2024, 9:03 p.m. UTC
Add the MDSS_BCR reset that is found in the GCC of MSM8953 so we can
make sure the MDSS gets properly reset before Linux starts using it.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
Vladimir Lypak (3):
dt-bindings: clock: gcc-msm8953: add reset for MDSS subsystem
clk: qcom: gcc-msm8953: add MDSS_BCR reset
arm64: dts: qcom: msm8953: add reset for display subsystem
arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 ++
drivers/clk/qcom/gcc-msm8953.c | 1 +
include/dt-bindings/clock/qcom,gcc-msm8953.h | 1 +
3 files changed, 4 insertions(+)
---
base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
change-id: 20240123-msm8953-mdss-reset-68308a03fff5
Best regards,
Comments
On 23/01/2024 22:03, Luca Weiss wrote: > From: Vladimir Lypak <vladimir.lypak@gmail.com> > > Add a new define for the GCC_MDSS_BCR found on MSM8953. > > Signed-off-by: Vladimir Lypak <vladimir.lypak@gmail.com> > [luca: expand commit message] > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On 1/23/24 22:03, Luca Weiss wrote: > From: Vladimir Lypak <vladimir.lypak@gmail.com> > > 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 <vladimir.lypak@gmail.com> > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad