From nobody Mon Feb 9 03:00:10 2026 Received: from out-177.mta1.migadu.com (out-177.mta1.migadu.com [95.215.58.177]) (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 AF4AA17A2E8 for ; Sun, 16 Nov 2025 01:13:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763255612; cv=none; b=T9PKr9pCiRn7+3YhSirD04+j1SahCWoXePkT/nbMczRaUhtSsoWi1lUujogiVRYSmhNtd37WXpcIg+zIxMjsC8u40ZaUWhv69BfDLn1MohiLPAWVR3gw7VRU4BB5s5s8t8SMsLehMGWTG0hzIWY7NbOMMKLNwW0IZkVrEtJARkU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763255612; c=relaxed/simple; bh=nGxW10UyfEQ4DreGljKjL7EGfj7eoO2RwkgSELWMwws=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EmmDgEky2Pzz1ra1k22Ei+2To77bmtkZZ33y2fem+ykVr7jn+hQ6fwcmvy4Tde71Bq4p77ECrjTEXv7jBCU3ax3VZz0LKnPLB42EZoFl2crMVv6OpHOhAf9GuC4bY9xd9lW3n2IsxZ+AFh2717U+DpithaSy1adMCTMHVmt1C8w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=n9coPHJ8; arc=none smtp.client-ip=95.215.58.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="n9coPHJ8" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1763255608; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OASaWzG/9FNfSviY1px1DKBa9NEDcyYNBxg2Dtdf/TI=; b=n9coPHJ8bY7oWh8VQ+3C4Bs71azVv4bg8AtAibsevuJ9C5ZTg9FJvq909AQ2zhto4nseIT dyKZ5O3V/DujBcE7OIed5C8RgtrZlynzzfufvyXwk618R3opc6VEY+4AVcT6jfPty+UEXG C3QkYR1NVDrkGUMLZZyJ8xkkZlRp27i9uqUO7RMPGCuqCUguOhpUvpyKD/6G2pwBhKHPfJ 2bSrF34Vrm/YiM/tXQbDDMRQkaChiTL9/dt1LV8HS86WEWrae3CLykgqFoGf2gFQe5tD/P LKyVzFiYD+YQbOszT3lWU7wpMUC0yrxkPRvWyPRnEBFnk5rhZ8G/7wgkICm/cA== From: Alexey Minnekhanov Date: Sun, 16 Nov 2025 04:12:33 +0300 Subject: [PATCH v2 1/3] dt-bindings: clock: mmcc-sdm660: Add missing MDSS reset Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251116-sdm660-mdss-reset-v2-1-6219bec0a97f@postmarketos.org> References: <20251116-sdm660-mdss-reset-v2-0-6219bec0a97f@postmarketos.org> In-Reply-To: <20251116-sdm660-mdss-reset-v2-0-6219bec0a97f@postmarketos.org> To: Bjorn Andersson , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Alexey Minnekhanov X-Migadu-Flow: FLOW_OUT Add definition for display subsystem reset control, so display driver can reset display controller properly, clearing any configuration left there by bootloader. Since 6.17 after PM domains rework it became necessary for display to function. Fixes: 0e789b491ba0 ("pmdomain: core: Leave powered-on genpds on until sync= _state") Cc: # 6.17 Signed-off-by: Alexey Minnekhanov Acked-by: Krzysztof Kozlowski --- include/dt-bindings/clock/qcom,mmcc-sdm660.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/qcom,mmcc-sdm660.h b/include/dt-bind= ings/clock/qcom,mmcc-sdm660.h index f9dbc21cb5c7..ee2a89dae72d 100644 --- a/include/dt-bindings/clock/qcom,mmcc-sdm660.h +++ b/include/dt-bindings/clock/qcom,mmcc-sdm660.h @@ -157,6 +157,7 @@ #define BIMC_SMMU_GDSC 7 =20 #define CAMSS_MICRO_BCR 0 +#define MDSS_BCR 1 =20 #endif =20 --=20 2.51.0 From nobody Mon Feb 9 03:00:10 2026 Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (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 206D11F09A5; Sun, 16 Nov 2025 01:13:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.189 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763255614; cv=none; b=thBUetsStnXZxJGVtJkgS3KaXkBOagMKzYby+iWKRjFdpw+275fq/SdbJ1kG6j8msOhHpSVJf0p3W6NLnSprfz1OjGUSObFGOjp8xOkP0M/mgV8vaWffuzUrb1hvWTlBBmZcH+M+M0TX+Bm9bOfGS7W+B9i9QPjsVRWZSEy/nNY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763255614; c=relaxed/simple; bh=vf+IqT1tZ09wYkSDTMitxn1GWRUACmFnGKa7BeMLS+Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PUrtsxMB6/G6D1AuRjMm8BUS8DrDfQHekBjT0I0kslxwVQJh6btX3MjkOjVUgABFoI0XYv7mUJBsJxpkYmInk39SlhmNmQ17aQQ8TMQX2IQFzfw3pjTw1EE0EVz+wE7wbJe9z2VGT0EZaIriqidat5ZUW38ppnVxWMBOQy/vdVU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=gc2fMTIS; arc=none smtp.client-ip=95.215.58.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="gc2fMTIS" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1763255610; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ivhTRThJyhdTW8a88HXfTfhYf/VeNvjO9pC+MTucnks=; b=gc2fMTISB1PQXMeFikmy3q4KoBqM+YcSH+cUXRIDOL0AoakudFGcVcEiTOWhJJXExlLTHi PHj75HyKI9T3sSohKa/nd9cACArMLW3/Jdd6SKmVOIJ1nAzpDPz2YoSWlLPDz7iSdAK8/l Lc3e/d66bly5/6MRWR1FNGpYiPbS6wm1ERdA1t6AVbMEVXOfrM7B+VSA3zzzHkOpIf/jis pg9bznAg5/PRbGnJz/9+JUgCu30Wu4Zahx1SI9wSGXUyVudr3S6E2KjULmjZdTyVtuSrf2 gMqs+Zxgr2GCmKhM1jZkpfXoREjqu46hVXN7mqH2s1pb8Cz7ou6fthYASgJjZg== From: Alexey Minnekhanov Date: Sun, 16 Nov 2025 04:12:34 +0300 Subject: [PATCH v2 2/3] clk: qcom: mmcc-sdm660: Add missing MDSS reset Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251116-sdm660-mdss-reset-v2-2-6219bec0a97f@postmarketos.org> References: <20251116-sdm660-mdss-reset-v2-0-6219bec0a97f@postmarketos.org> In-Reply-To: <20251116-sdm660-mdss-reset-v2-0-6219bec0a97f@postmarketos.org> To: Bjorn Andersson , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Alexey Minnekhanov X-Migadu-Flow: FLOW_OUT Add offset for display subsystem reset in multimedia clock controller block, which is necessary to reset display when there is some configuration in display controller left by previous stock (Android) bootloader to provide continuous splash functionaluty. Before 6.17 power domains were turned off for long enough to clear registers, now this is not the case and a proper reset is needed to have functioning display. Fixes: 0e789b491ba0 ("pmdomain: core: Leave powered-on genpds on until sync= _state") Cc: # 6.17 Signed-off-by: Alexey Minnekhanov Reviewed-by: Dmitry Baryshkov Reviewed-by: Taniya Das --- drivers/clk/qcom/mmcc-sdm660.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/mmcc-sdm660.c b/drivers/clk/qcom/mmcc-sdm660.c index b723c536dfb6..dbd3f561dc6d 100644 --- a/drivers/clk/qcom/mmcc-sdm660.c +++ b/drivers/clk/qcom/mmcc-sdm660.c @@ -2781,6 +2781,7 @@ static struct gdsc *mmcc_sdm660_gdscs[] =3D { }; =20 static const struct qcom_reset_map mmcc_660_resets[] =3D { + [MDSS_BCR] =3D { 0x2300 }, [CAMSS_MICRO_BCR] =3D { 0x3490 }, }; =20 --=20 2.51.0 From nobody Mon Feb 9 03:00:10 2026 Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [95.215.58.180]) (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 2495E217F2E for ; Sun, 16 Nov 2025 01:13:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763255616; cv=none; b=tJYlnhEMGyZPMsz0wBqTVuWFAGX799yJXsk7saFj/fxH+KVR8xiV1yL87OHs6KB2X/rVi+Qe71vo5RGsj4lYitM/be6M1I1hU26zXLHehrDYlC7pCf6H7ag7wboQra2WTZB2hiYSA4SJ9XSP9T4fPD2jeVtthLzLo7NlRqLVwjI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763255616; c=relaxed/simple; bh=bTyV/HYwPwuHc6C1YROdxFSSqnjzqyL8eog+Uhw91jE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PNmRm6p9QvKUWlxVkvVdSUhyh2809w+7j03+sCEM/ACEO5q0gO7iGd2assd/BlPpjQbMURMMhHr3KYOJTR4rscEj03bvd+tBkxFjSobqGcicvRGsYcAOQnPp+2k0pKt18fgzVKuhiMnOCUext1qdgmYND69cEUGhylouEJelRow= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=AJuYWDNd; arc=none smtp.client-ip=95.215.58.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="AJuYWDNd" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=key1; t=1763255612; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w6bXBbcoVoyWKUZamRu37JTHuPgnt26R7z8laRfJ1tE=; b=AJuYWDNdOFJnBy/w9c9ZYiw/ioZMVRXq8L1Mqp3JSMGUVn2LhgkB+9Kz5batLKhzUSfpGs mGtHFMzY373gCxfRBDbCqYpvQqpbBcmf3xu9MAN/0yKagkkGqtw+L62MbmbvNC70AfYu4x lhIGnGALdSgKyAQPp7SIkVr2po/nShhQs5VMTTOa/ZsnOhBSbKvAtEaBfN/JhQoL5WgGVq X+hWMVNGlcEuVVVcCe6RF9ODPjcaJXR2/gSMxubI8I7UN2YUdVBi7b2cpHGHbPdxx6YwTc f1ohfQCaXUXTNy1TVZ5KFoELWnjSwgZbAXhdSa8KW+Hzl4V78cdyUZzSeGWvfQ== From: Alexey Minnekhanov Date: Sun, 16 Nov 2025 04:12:35 +0300 Subject: [PATCH v2 3/3] arm64: dts: qcom: sdm630: Add missing MDSS reset Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251116-sdm660-mdss-reset-v2-3-6219bec0a97f@postmarketos.org> References: <20251116-sdm660-mdss-reset-v2-0-6219bec0a97f@postmarketos.org> In-Reply-To: <20251116-sdm660-mdss-reset-v2-0-6219bec0a97f@postmarketos.org> To: Bjorn Andersson , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Alexey Minnekhanov X-Migadu-Flow: FLOW_OUT If the OS does not support recovering the state left by the bootloader it needs a way to reset display hardware, so that it can start from a clean state. Add a reference to the relevant reset. It fixes display init issue appeared in Linux v6.17: without reset device boots into black screen and you need to turn display off/on to "fix" it. Also sometimes it can boot into solid blue color with these messages in kernel log: hw recovery is not complete for ctl:2 [drm:dpu_encoder_phys_vid_prepare_for_kickoff:569] [dpu error]enc33 intf1 ctl 2 reset failure: -22 [drm:dpu_encoder_frame_done_timeout:2727] [dpu error]enc33 frame done timeout Fixes: 0e789b491ba0 ("pmdomain: core: Leave powered-on genpds on until sync= _state") Cc: # 6.17 Signed-off-by: Alexey Minnekhanov Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qco= m/sdm630.dtsi index 8b1a45a4e56e..fedff18a5721 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1563,6 +1563,7 @@ mdss: display-subsystem@c900000 { reg-names =3D "mdss_phys", "vbif_phys"; =20 power-domains =3D <&mmcc MDSS_GDSC>; + resets =3D <&mmcc MDSS_BCR>; =20 clocks =3D <&mmcc MDSS_AHB_CLK>, <&mmcc MDSS_AXI_CLK>, --=20 2.51.0