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 B44CB4825D4; Fri, 16 Oct 2026 14:56:12 +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=1792162572; cv=none; b=gcKEJSlqd+NkcNLZEkr3HNA5KmLRp/ih30V4kLwOGQtkMsv7849NqhnGuRgruaC6HqkTHXDfp9Fjl3UDUtLZPjymj44GOKVLTDvsN+uVhGpp8fdA7LT2WAYdNI3fVwPT+kFF82wEnGVL2RddncjSGb0H3ZMIbdvXMeteoRafwDg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792162572; c=relaxed/simple; bh=g1rs06tI/ggxRizlgmcCCbC0xEg6/V1KLq1k/5Uc+ic=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MufYee2ShPUAeI6oJRBP4Wr8wq35ahGwkSaW4yL3FqnfC+IvcAWR3f7m7JwHkwY/pcxMlhG/41M5VHtd1i+HUMo9+uONLi6hO3mNJdQ+6kZNBJKbkKSgNSrlx9QCBDH/mrLstlbTX7+haSjM+papt6eg3Gr8MAdQjRkk+EfaCi8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k/Z/ReEM; 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="k/Z/ReEM" Received: by smtp.kernel.org (Postfix) with ESMTPS id 8D789C2BD00; Fri, 16 Oct 2026 14:56:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1792162572; bh=g1rs06tI/ggxRizlgmcCCbC0xEg6/V1KLq1k/5Uc+ic=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=k/Z/ReEM4RxPVirQhPcnZ06818EvIsJ75S30UYjAhgmu6P6eAUWQg7FPvxnZne8pL fHXJ+bOMB1isBGNT9dm/WqCSBDjR7BA+VXr/DOxtmzPCeckPDaAnlkxKieRKOwdiQV QwJ4JA8efO7UOgmHUrG7pnyI9rzox6CilQZsWdWyLXkx/KR/ats04VuewMojDlvdmA 9UsRgUR+3bg7dbC5Mq4CgQrmzg8Uc+0ICKmDFPZVfGF5WGhx0raJd5sMqbwTO93ooW 9tRi8oVNe9wXFSsK9A0YrbxB99JhoPIwXKkBTChTqZnfdV0Oc4LBuCF+BmB0qJbHAi v74eaixqcPMbw== 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 75A20CCA46C; Fri, 16 Oct 2026 14:56:12 +0000 (UTC) From: George Neacsu via B4 Relay Date: Fri, 16 Oct 2026 15:56:13 +0100 Subject: [PATCH v3 3/6] 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-v3-3-40a346a72153@gmail.com> References: <20261016-x1e-cphy-rfc-v3-0-40a346a72153@gmail.com> In-Reply-To: <20261016-x1e-cphy-rfc-v3-0-40a346a72153@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, Bryan O'Donoghue , George Neacsu X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1792162570; l=2374; i=geocausa@gmail.com; s=20261015; h=from:subject:message-id; bh=A4f3txo8ZFwqS2VX8XxM7L9p+S6DusnZS+18o4BDeVo=; b=lT1vBk//aXrLmPNBTm9/YQvSEQMRYuLIq8DU7UAvDwJdIpXcyQjiRehgHz7JXb1AwGolvY6GR fusquOScyt2DJHUDKvT7iqKB5BL0Klej8XGWBwjT3DHZA5XFKCQfpFt 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 Reviewed-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 966d79c98f..b2d4ec3e81 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 7e55ae0073..0d6031a4d8 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