From nobody Wed Apr 15 12:59:21 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A0E742848A0; Wed, 4 Mar 2026 13:49:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772632155; cv=none; b=qd/x4j7PL7gV5h2Ux80xXWK2N/faLcd2k5a+NI6asmBMW4NU8yf6Mp9G2dbnytIqMxjEWKHe0WThwE0WIdvfm+HHddgqpUKq0RBQZD+aEHug6Mcym7RLj6fj2W5GS5ii+fybmA+0ItuR2kpu18VcHLTzQNC44dBAhr6oLox72co= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772632155; c=relaxed/simple; bh=MxzsAapppLE+8dV2RbQr3gOSjRpPALVoD/deaZcnxTE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=O1/2s2+kJfS0BaQ76tHSQ3d4QtXkEHkcZsLpPkJJQirm6DjUweiI4qOrd0WklJp8+gdK/F1yCEdpqhIAlzU0Wa/LNTELb+2kCPEV8kIM+orcDso6SW6/savwsY2ORQTqNjQj4AijXPYwih48NvMDR1N2Y5ri16U6d8DlOmSvfwI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YL1NFCVf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YL1NFCVf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D2F2C2BCAF; Wed, 4 Mar 2026 13:49:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772632155; bh=MxzsAapppLE+8dV2RbQr3gOSjRpPALVoD/deaZcnxTE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=YL1NFCVf3XXvWn/HrD9/Kwb7G5EcH5zbSVoFZoLx09V2O4Prk3kxTz5kR174PKEPb qZoyBMyXBRNBxLSMF4ngl8+VhJ8Z6ztw0QqFdu+venZ06tzEAcyZghkUrEAlB3EpWB /SGA8jbvM86Vh7TkYa5nQjb5a/izZzLVRc9KfGYJ2lIAp7um7Xh/STxn/cZd8aJVNZ kL1ovk5rix08ok0Mq9C6UGRT8FzrqA1xJx/5DJc18FlDNJDNNQCiN0BrEnzJM2Lfe4 IU+PrZlZT0n5TTxt2QDwODFFPcSm/tH+k+DKeF2NsICRgXmlb6W989ccc2mdNY3lML qZBewG3iaK3xw== From: Konrad Dybcio Date: Wed, 04 Mar 2026 14:48:27 +0100 Subject: [PATCH 1/5] clk: qcom: dispcc-glymur: Fix DSI byte clock rate setting 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: <20260304-topic-dsi_byte_fixup-v1-1-b79b29f83176@oss.qualcomm.com> References: <20260304-topic-dsi_byte_fixup-v1-0-b79b29f83176@oss.qualcomm.com> In-Reply-To: <20260304-topic-dsi_byte_fixup-v1-0-b79b29f83176@oss.qualcomm.com> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Taniya Das , Dmitry Baryshkov , Luca Weiss , Dmitry Baryshkov , Ajit Pandey , Taniya Das , Jagadeesh Kona Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772632145; l=1502; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=Ts2BJkKZit7+6I3gWjETShyTjCfuuBSpIfDPQ8kJcTE=; b=Oh0bbCKVfqcCa6PbzquX5UrHTrJm0RcibjGEGKn+eUkSO+5eYJRBsJ8WnCvult2dg+f3Otmsr VEGts4q1OM/C+w1D5v61aMde9Rft52eCuPk5fb2S1vfPb9yl8gaoARB X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio The clock tree for byte_clk_src is as follows: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80byte0_clk= _src=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=90 =E2=94=82 =E2=94=82 byte0_clk byte0_div_clk_src =E2=94=82 byte0_intf_clk If both of its direct children have CLK_SET_RATE_PARENT with different requests, byte0_clk_src (and its parent) will be reconfigured. In this case, byte0_intf should strictly follow the rate of byte0_clk (with some adjustments based on PHY mode). Remove CLK_SET_RATE_PARENT from byte0_div_clk_src to avoid this issue. Fixes: b4d15211c408 ("clk: qcom: dispcc-glymur: Add support for Display Clo= ck Controller") Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov Reviewed-by: Taniya Das --- drivers/clk/qcom/dispcc-glymur.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/qcom/dispcc-glymur.c b/drivers/clk/qcom/dispcc-gly= mur.c index 94053452e871..a8c3cbf591d1 100644 --- a/drivers/clk/qcom/dispcc-glymur.c +++ b/drivers/clk/qcom/dispcc-glymur.c @@ -747,7 +747,6 @@ static struct clk_regmap_div disp_cc_mdss_byte0_div_clk= _src =3D { &disp_cc_mdss_byte0_clk_src.clkr.hw, }, .num_parents =3D 1, - .flags =3D CLK_SET_RATE_PARENT, .ops =3D &clk_regmap_div_ops, }, }; @@ -762,7 +761,6 @@ static struct clk_regmap_div disp_cc_mdss_byte1_div_clk= _src =3D { &disp_cc_mdss_byte1_clk_src.clkr.hw, }, .num_parents =3D 1, - .flags =3D CLK_SET_RATE_PARENT, .ops =3D &clk_regmap_div_ops, }, }; --=20 2.53.0