From mboxrd@z Thu Jan 1 00:00:00 1970 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 588B83EC6B3; Fri, 16 Oct 2026 10:57:50 +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=1792148270; cv=none; b=mAeYbw4AFHcgl7mLV0oIYZPIEclw7eMV92X45pQmHGEhKVKUv+XFzH1dRBridxiSWU5NT2101Fg1U9jDwtUfdOpB3EfoGig8FMATR2z7/TE4MsszMi1NIkJv19DDoAGOcXoB+S6DewFibdhbtP3kfs+b527IpvS8zLg11/py2N8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792148270; c=relaxed/simple; bh=TV9DLJDuw1FQrZ/rVzxqE6XFQGyxeTIM2rSFGxjqIu8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LNaEhEcoDV0F3PoCfnD7wfSmIYU0qOOEELtcJ66rbjQtQjW5dXKAMp6HmBliQxIAuOOfJFm1dkSlBpD/MVd24cZcTZlG7e+tsj+8K5I0rOZsIFRIqwBmiEGa1XAkFznqEWmWw+TPAbEFrsM12w/PnzHm03rs93m/Ssk9E8MRtdQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Rhhuqtlx; 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="Rhhuqtlx" Received: by smtp.kernel.org (Postfix) with ESMTPS id 1DBBEC2BCFF; Fri, 16 Oct 2026 10:57:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1792148270; bh=TV9DLJDuw1FQrZ/rVzxqE6XFQGyxeTIM2rSFGxjqIu8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=RhhuqtlxlZCCpn4cEZH/PbWIegG7vtwya5vbD/eEZ0pR/FI6nyIg9+8sw483mXWJu x6FWQtHEXRAcX49/Z9q76sSgVDM4XJkMSz+065HQVQ7IOJrpY5S5Y3V5GyF3gjHGMf mrQlJfzuklEiwf8Xf2C/uSkov5rZa6Bz8AQvAhbQOlvpQ2M4H/jbnMKjdBYaZzp1KJ S7KfiumoI5x+jGHXF6zgDy29dYrfDVeZbnnD0AQ/deteXdynCQiwBaT4LBkqjySlsG XqTWvDYY5RawWdk+NxRsRln9egmgbizAYQ/P4rnv8/FK9+ADzoFga/6fyO8a5YwcLf QnRIqtSBCD5vA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C5F1CCA464; Fri, 16 Oct 2026 10:57:50 +0000 (UTC) From: George Neacsu via B4 Relay Date: Fri, 16 Oct 2026 11:57:50 +0100 Subject: [PATCH RFC v2 3/4] phy: qcom-mipi-csi2: Rename the D-PHY init sequence 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: 7bit Message-Id: <20261016-x1e-cphy-rfc-v2-3-377654253193@gmail.com> References: <20261016-x1e-cphy-rfc-v2-0-377654253193@gmail.com> In-Reply-To: <20261016-x1e-cphy-rfc-v2-0-377654253193@gmail.com> To: Bryan O'Donoghue , Vinod Koul , David Heidelberg Cc: Neil Armstrong , Vladimir Zapolskiy , Loic Poulain , Konrad Dybcio , Nihal Kumar Gupta , Vikram Sharma , Suresh Vankadara , tjose@qti.qualcomm.com, Mauro Carvalho Chehab , Manivannan Sadhasivam , linux-phy@lists.infradead.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, George Neacsu X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1792148268; l=2310; i=geocausa@gmail.com; s=20261015; h=from:subject:message-id; bh=SD3slAeSdjPUrTN6ZY+x3rxA6L16Lc3UUAvMwX7PGlM=; b=Y4ilSXLGhBLnUFyTGY+Uk3YsGPvGo5mfUK12wtHunY3kVjHUSpYk2qeydelK65Tds2aDO+LNZ 5/AkO6XvfYDCyhEaxczB7+VydcG3z7hrawFWDDOBq3DsKBffRw9MeHw X-Developer-Key: i=geocausa@gmail.com; a=ed25519; pk=KyQk/iWbxsikewDBh0SwlHI51RvAqahD3loqmRp9DVI= X-Endpoint-Received: by B4 Relay for geocausa@gmail.com/20261015 with auth_id=1199 X-Original-From: George Neacsu Reply-To: geocausa@gmail.com From: George Neacsu The init sequence and its size describe the D-PHY mode only. Call them dphy_init_seq and dphy_lane_array_size, so that a C-PHY sequence can sit next to them under matching names. No functional change. Suggested-by: Bryan O'Donoghue Assisted-by: Claude:claude-opus-5-5 Signed-off-by: George Neacsu --- drivers/phy/qualcomm/phy-qcom-mipi-csi2-3ph-dphy.c | 8 ++++---- drivers/phy/qualcomm/phy-qcom-mipi-csi2.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/phy/qualcomm/phy-qcom-mipi-csi2-3ph-dphy.c b/drivers/phy/qualcomm/phy-qcom-mipi-csi2-3ph-dphy.c index 966d79c98..b2d4ec3e8 100644 --- a/drivers/phy/qualcomm/phy-qcom-mipi-csi2-3ph-dphy.c +++ b/drivers/phy/qualcomm/phy-qcom-mipi-csi2-3ph-dphy.c @@ -246,8 +246,8 @@ phy_qcom_mipi_csi2_gen2_config_lanes(struct mipi_csi2phy_device *csi2phy, u8 settle_cnt) { const struct mipi_csi2phy_device_regs *regs = csi2phy_dev_to_regs(csi2phy); - const struct mipi_csi2phy_lane_regs *r = regs->init_seq; - int i, array_size = regs->lane_array_size; + const struct mipi_csi2phy_lane_regs *r = regs->dphy_init_seq; + int i, array_size = regs->dphy_lane_array_size; u32 val; for (i = 0; i < array_size; i++, r++) { @@ -372,8 +372,8 @@ static struct mipi_csi2_genpd x1e_genpds[] = { const struct mipi_csi2phy_soc_cfg mipi_csi2_dphy_4nm_x1e = { .ops = &phy_qcom_mipi_csi2_ops_3ph_1_0, .reg_info = { - .init_seq = lane_regs_x1e80100, - .lane_array_size = ARRAY_SIZE(lane_regs_x1e80100), + .dphy_init_seq = lane_regs_x1e80100, + .dphy_lane_array_size = ARRAY_SIZE(lane_regs_x1e80100), .common_regs_offset = 0x1000, }, .supply_names = (const char **)x1e_supplies, diff --git a/drivers/phy/qualcomm/phy-qcom-mipi-csi2.h b/drivers/phy/qualcomm/phy-qcom-mipi-csi2.h index 7e55ae007..0d6031a4d 100644 --- a/drivers/phy/qualcomm/phy-qcom-mipi-csi2.h +++ b/drivers/phy/qualcomm/phy-qcom-mipi-csi2.h @@ -48,8 +48,8 @@ struct mipi_csi2phy_lane_regs { }; struct mipi_csi2phy_device_regs { - const struct mipi_csi2phy_lane_regs *init_seq; - const int lane_array_size; + const struct mipi_csi2phy_lane_regs *dphy_init_seq; + const int dphy_lane_array_size; const u32 common_regs_offset; }; -- 2.53.0