From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 316B8263F44; Sat, 30 May 2026 17:21:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780161709; cv=none; b=tdXs4cBX48MWY4r81tvMEp0OsCFiPYBcOFwwqIEhzNVOftu7NZGMc4bqCrUR15Y9km+I9dN3oH6Jb/xyNNzQhWL4ol25n4l6vR5oMayay7ZZYmngc9Xmca/zjvzgu7QEacCoRTj6QM3m4g9u8oG+tv5yR925VAMTAbP6pclj9oI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780161709; c=relaxed/simple; bh=YYQYGvEwNRMaCLRhOhHtYDCLC5EYd4N/tkK74SXHAlM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VCzIOVF72CXc6dKkst9JBgxLezuTjCZFq4bXnkKYqqIIirEndvrMZPpnSIsQJGqmikaNI5XhvHJ6BIPiJz8UQE3TABOhc6NDlpwICYsfH/7Lj+Og1mKsHjPqO3WslrJBMKEiueSnEOYy8yd2RPZxwmSQNNiQgeWUW9mGCBCRGpQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WpD0m2i8; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WpD0m2i8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DBC51F00893; Sat, 30 May 2026 17:21:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780161708; bh=YfaYi+yzadAgyYT8h7JbYhusBIfRSYvIRdBiPSkou5Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WpD0m2i8iFpdYv6Sv46E23B6c479TOwwePQA93/QvZOs92fC8yvPx6iy+0j1uy7d8 Jwnvqn/dJk0aQbDUT3H4jyV8+dEoymMvvsa4truARqRc5paSlHPOeDRN9FEHI0eZRI Jxo8TRzC5QwsZWwHS+KiQpI/6o4VPTHGJUFaS7a8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Konrad Dybcio , Dmitry Baryshkov , Taniya Das , Bjorn Andersson , Sasha Levin , Val Packett Subject: [PATCH 6.1 664/969] clk: qcom: dispcc-sc7180: Add missing MDSS resets Date: Sat, 30 May 2026 18:03:08 +0200 Message-ID: <20260530160318.816239759@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260530160300.485627683@linuxfoundation.org> References: <20260530160300.485627683@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Konrad Dybcio [ Upstream commit b0bc6011c5499bdfddd0390262bfa13dce1eff74 ] The MDSS resets have so far been left undescribed. Fix that. Fixes: dd3d06622138 ("clk: qcom: Add display clock controller driver for SC7180") Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov Reviewed-by: Taniya Das Tested-by: Val Packett # sc7180-ecs-liva-qc710 Link: https://lore.kernel.org/r/20260120-topic-7180_dispcc_bcr-v1-2-0b1b442156c3@oss.qualcomm.com Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- drivers/clk/qcom/dispcc-sc7180.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/clk/qcom/dispcc-sc7180.c b/drivers/clk/qcom/dispcc-sc7180.c index 5d2ae297e7413..040149f24d798 100644 --- a/drivers/clk/qcom/dispcc-sc7180.c +++ b/drivers/clk/qcom/dispcc-sc7180.c @@ -16,6 +16,7 @@ #include "clk-regmap-divider.h" #include "common.h" #include "gdsc.h" +#include "reset.h" enum { P_BI_TCXO, @@ -635,6 +636,11 @@ static struct gdsc mdss_gdsc = { .flags = HW_CTRL, }; +static const struct qcom_reset_map disp_cc_sc7180_resets[] = { + [DISP_CC_MDSS_CORE_BCR] = { 0x2000 }, + [DISP_CC_MDSS_RSCC_BCR] = { 0x4000 }, +}; + static struct gdsc *disp_cc_sc7180_gdscs[] = { [MDSS_GDSC] = &mdss_gdsc, }; @@ -686,6 +692,8 @@ static const struct qcom_cc_desc disp_cc_sc7180_desc = { .config = &disp_cc_sc7180_regmap_config, .clks = disp_cc_sc7180_clocks, .num_clks = ARRAY_SIZE(disp_cc_sc7180_clocks), + .resets = disp_cc_sc7180_resets, + .num_resets = ARRAY_SIZE(disp_cc_sc7180_resets), .gdscs = disp_cc_sc7180_gdscs, .num_gdscs = ARRAY_SIZE(disp_cc_sc7180_gdscs), }; -- 2.53.0