From nobody Sat Sep 26 05:28:10 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 979F73B71B9 for ; Fri, 4 Sep 2026 07:51:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788508319; cv=none; b=prlbsd/zj+2PNLc1JXdRpfmprJKOmeuWXIRq9yP9NKPUy2UcdSb960xKJ89H/i0CQ0DdFoxamq4hx9mXh+KA/w9wXhSTOeb448VZ0a61zaDekfmenCtFDYq7KzZl2M2+OJUBODw/bBktRk1oWDSezlZvTmYxv1Xnr9EgVTh81dw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788508319; c=relaxed/simple; bh=rP1BEpNy7j59pYCuXhy9GQIlhQNX/qMgcYlTfd8auyc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HQvF1/O/NyHt5ioIyB5tMBTk31eSzhxZ4A9L1IXIHsrnMucmMhBZwA/WBlFXapNBY9sdlLrtcyXgQ3DdG5HqrbPkrGtI/c1leR8QB1hnAgcVrqy8smAacydroMXBZSU2T/wlGxlg+G75tBnnuX8gVBZVg0AIwDZa22oNWvVSFjQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=XeUHtofL; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XeUHtofL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788508317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dGdvgtkNrs9KN5jbXelsFzF+Y38oqarYUi5pXTI1gUo=; b=XeUHtofLqmPQNf31dFzQ5R0L4P7xvvW4XzHmr6+OTRPFlUNrKWnjR97JEXnW2liv4a+D2L WYKtJdyMB4hW9CiD1xoyNCH1gBB3ak2IkIJioB7YyNH1wfhVov2fpbijuzp06yGvDVP6M/ +yWwixT8sIOF26Ibs4fCPEkrjxQNJQ8= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-373-tdxsGeK6OSutJDY6UNxSqg-1; Fri, 04 Sep 2026 03:51:56 -0400 X-MC-Unique: tdxsGeK6OSutJDY6UNxSqg-1 X-Mimecast-MFC-AGG-ID: tdxsGeK6OSutJDY6UNxSqg_1788508315 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A6A63186FB8D; Fri, 4 Sep 2026 07:51:54 +0000 (UTC) Received: from hpa-thinkpadx1carbongen12.taipei.csb (headnet05.pony-001.prod.iad2.dc.redhat.com [10.2.32.117]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 5BECF18001D0; Fri, 4 Sep 2026 07:51:51 +0000 (UTC) From: Kate Hsuan To: Mauro Carvalho Chehab , Hans de Goede , Hans Verkuil , Sakari Ailus , Jai Luthra Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Kate Hsuan Subject: [PATCH v2 1/3] media: i2c: imx471: Add line length PCK setting Date: Fri, 4 Sep 2026 15:51:11 +0800 Message-ID: <20260904075113.125751-2-hpa@redhat.com> In-Reply-To: <20260904075113.125751-1-hpa@redhat.com> References: <20260904075113.125751-1-hpa@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Content-Type: text/plain; charset="utf-8" Add the line length PCK setting to the IMX471 driver. This parameter determines the horizontal line scan duration and is used to calculate and control the sensor frame rate. Set the line length PCK value to 0x0a00 (matching the original value in ipu6-drivers), which maintains a frame rate close to the datasheet spec (~150 FPS in 2328x1304 binning mode). Signed-off-by: Kate Hsuan --- drivers/media/i2c/imx471.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/i2c/imx471.c b/drivers/media/i2c/imx471.c index 4053aed84340..3c939f2a9056 100644 --- a/drivers/media/i2c/imx471.c +++ b/drivers/media/i2c/imx471.c @@ -91,6 +91,7 @@ #define IMX471_CSI_2_LANE_MODE 1 #define IMX471_CSI_4_LANE_MODE 3 =20 +#define IMX471_REG_LINE_LENGTH_PCK CCI_REG16(0x0342) #define IMX471_REG_X_ADD_STA CCI_REG16(0x0344) #define IMX471_REG_Y_ADD_STA CCI_REG16(0x0346) #define IMX471_REG_X_ADD_END CCI_REG16(0x0348) @@ -240,6 +241,7 @@ static const struct cci_reg_sequence mode_1928x1088_reg= s[] =3D { { CCI_REG8(0x030d), 0x02 }, { CCI_REG8(0x030e), 0x00 }, { CCI_REG8(0x030f), 0x53 }, + { IMX471_REG_LINE_LENGTH_PCK, 2560 }, { IMX471_REG_PLL_MULT_DRIV, IMX471_PLL_DUAL }, { CCI_REG8(0x3f4c), 0x81 }, { CCI_REG8(0x3f4d), 0x81 }, --=20 2.55.0 From nobody Sat Sep 26 05:28:10 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 6972F3D6688 for ; Fri, 4 Sep 2026 07:52:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788508326; cv=none; b=Dx9Js3MH+E5pgNL4sT7AwC7V43Ja4HSIoXTMKKhQgaaZm7yF9YGbuAz+G3wS6PSCZ4ATq6LxPfXXDXrfxMNyYcn6wxdJp92gT24VLKXvC8LrJrejHybC8UcOH+YPd3dtfBSru281QHVe+w/1/rRV3a1D27bIRzSoHPsf/u89jPo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788508326; c=relaxed/simple; bh=s30E2MW5wW1e3GDry9skCsc7+1RsL6FhXie5ijCcqMU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=X5ZUQwIHPTQohDVw5HwoOdrUhO3MV1Vkj5BZXgojjQNREsZXzJDOFVvXI7xXFsVMCLEvdmHB+vuSc7oxX/QZL+eBOidBZhDWXea8DgecdfI+h+pnjHsTzIYzX/+hY4I1c0mOZI5B5UZ8d4CsO069m465RU4tQZiT7RCY8SNWl10= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=HeXrBZ2T; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="HeXrBZ2T" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788508324; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r1x6pa7zD2FT4ykUicH5mxRTizvTeGsAjI1Ucs/bj7w=; b=HeXrBZ2TNeSwuxwCBuF7Yizcinh08yzI3dVkpuIbLcFJRBf34GmHUKYm4JFWbOWZxEjO+v rHGqRiSb2KHS1CI6zZ9m/MT0Nw90G5JI5uhUioCv8pUgT01EwqvSpLCdZtJQ+2//qsMcnU qV5kcAUJ7AsJCDlIO3DUfklTZIeC4UM= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-106-nZ-w6ECuMtyrJy2TFcNUzA-1; Fri, 04 Sep 2026 03:52:02 -0400 X-MC-Unique: nZ-w6ECuMtyrJy2TFcNUzA-1 X-Mimecast-MFC-AGG-ID: nZ-w6ECuMtyrJy2TFcNUzA_1788508321 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id EA7F11954206; Fri, 4 Sep 2026 07:52:00 +0000 (UTC) Received: from hpa-thinkpadx1carbongen12.taipei.csb (headnet05.pony-001.prod.iad2.dc.redhat.com [10.2.32.117]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 6C3B7180034C; Fri, 4 Sep 2026 07:51:57 +0000 (UTC) From: Kate Hsuan To: Mauro Carvalho Chehab , Hans de Goede , Hans Verkuil , Sakari Ailus , Jai Luthra Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Kate Hsuan Subject: [PATCH v2 2/3] media: i2c: imx471: Name the PLL registers in the OP domain Date: Fri, 4 Sep 2026 15:51:12 +0800 Message-ID: <20260904075113.125751-3-hpa@redhat.com> In-Reply-To: <20260904075113.125751-1-hpa@redhat.com> References: <20260904075113.125751-1-hpa@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Content-Type: text/plain; charset="utf-8" Define symbolic names for the registers in the OP domain, including IMX471_REG_OP_PREPLLCK_DIV and IMX471_REG_OP_PLL_MULTIPLIER.Replaces raw register addresses with meaningful macros to improve code readability. Signed-off-by: Kate Hsuan --- drivers/media/i2c/imx471.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/media/i2c/imx471.c b/drivers/media/i2c/imx471.c index 3c939f2a9056..316383076b3d 100644 --- a/drivers/media/i2c/imx471.c +++ b/drivers/media/i2c/imx471.c @@ -71,8 +71,17 @@ #define IMX471_REG_OPPXCK_DIV CCI_REG8(0x0309) #define IMX471_REG_OPSYCK_DIV CCI_REG8(0x030b) #define IMX471_REG_PLL_MULT_DRIV CCI_REG8(0x0310) +#define IMX471_REG_OP_PREPLLCK_DIV CCI_REG16(0x030c) +#define IMX471_REG_OP_MPY CCI_REG16(0x030e) #define IMX471_PLL_SINGLE 0 #define IMX471_PLL_DUAL 1 +#define IMX471_VTPXCK_DIV 6 +#define IMX471_VTSYCK_DIV 2 +#define IMX471_PREPLLCK_VT_DIV 2 +#define IMX471_PLL_VT_MPY 121 +#define IMX471_OPSYCK_DIV 1 +#define IMX471_PLL_OP_MPY 83 +#define IMX471_PREPLLCK_OP_DIV 2 =20 /* IMX471 native and active pixel array size */ #define IMX471_NATIVE_WIDTH 4672 @@ -233,14 +242,13 @@ static const struct cci_reg_sequence mode_1928x1088_r= egs[] =3D { { IMX471_REG_DIG_CROP_HEIGHT, 1088 }, { IMX471_REG_X_OUTPUT_SIZE, 1928 }, { IMX471_REG_Y_OUTPUT_SIZE, 1088 }, - { IMX471_REG_VTPXCK_DIV, 0x06 }, - { IMX471_REG_VTSYCK_DIV, 0x02 }, - { IMX471_REG_PREPLLCK_VT_DIV, 0x02 }, - { IMX471_REG_PLL_VT_MPY, 0x0079 }, - { IMX471_REG_OPSYCK_DIV, 0x01 }, - { CCI_REG8(0x030d), 0x02 }, - { CCI_REG8(0x030e), 0x00 }, - { CCI_REG8(0x030f), 0x53 }, + { IMX471_REG_VTPXCK_DIV, IMX471_VTPXCK_DIV }, + { IMX471_REG_VTSYCK_DIV, IMX471_VTSYCK_DIV }, + { IMX471_REG_PREPLLCK_VT_DIV, IMX471_PREPLLCK_VT_DIV }, + { IMX471_REG_PLL_VT_MPY, IMX471_PLL_VT_MPY }, + { IMX471_REG_OPSYCK_DIV, IMX471_OPSYCK_DIV }, + { IMX471_REG_OP_PREPLLCK_DIV, IMX471_PREPLLCK_OP_DIV }, + { IMX471_REG_OP_MPY, IMX471_PLL_OP_MPY }, { IMX471_REG_LINE_LENGTH_PCK, 2560 }, { IMX471_REG_PLL_MULT_DRIV, IMX471_PLL_DUAL }, { CCI_REG8(0x3f4c), 0x81 }, --=20 2.55.0 From nobody Sat Sep 26 05:28:10 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 A6E0C3612E2 for ; Fri, 4 Sep 2026 07:52:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788508335; cv=none; b=uiV3/pSiY28Ay48t8nJOxyjHyPQ1or8+hGmHshAd5X884MmqC5dDCIIJHwDpGZYT9bmiSwpTa4EQ2eBA3jVwlp9yPF192mlR4nsSEHz8YreKldkKTlN9RwxOK6CCL4OlYR4Yu4EQW6qLcZ+iROS1NcIhVv6HivpunJYLCZUXMzQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788508335; c=relaxed/simple; bh=IiaOlIOx3X3W6DFnx1Teyhn32TkW+Oje3m5teqBJGiQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NujFAhRjsU4NHLtLHobdNPx/ADnwqdtyRB51BqFiBfit12lwmDofyfL8dwhmjMf3x1aaFsq8eqRKnxhsIZYGWwbqF5fb+YU8YrDx6p4pFs3nyjgvXiZerDPqEKraFvHXsk5pxzD2SxJ/xO1sxqE7IebS1wupPua6Fzel0UyCuGk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=MpanSPlV; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="MpanSPlV" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1788508332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kce8DglwAH31zHJL/kQHurhnPheFXUZ6gKNThVu2MfA=; b=MpanSPlV6ua6NGi5M91iu/kqjfatp5QY2FMI77hJraZaiGST9U6Rh50ErDBwevH3qYE16r PWGDkP3+fWTHZ2ynlwTgpmsjUaJ4A5N18G1axUu8fFrPOS28tPPlDCLvLrfNwzMTUPNFZW ML/h1xde+vsAw75E4sETYLnK9R5ABDI= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-378-MGoWLxE2PFa_LpGguzij3g-1; Fri, 04 Sep 2026 03:52:08 -0400 X-MC-Unique: MGoWLxE2PFa_LpGguzij3g-1 X-Mimecast-MFC-AGG-ID: MGoWLxE2PFa_LpGguzij3g_1788508326 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 90E07195DE67; Fri, 4 Sep 2026 07:52:06 +0000 (UTC) Received: from hpa-thinkpadx1carbongen12.taipei.csb (headnet05.pony-001.prod.iad2.dc.redhat.com [10.2.32.117]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 2D3331800609; Fri, 4 Sep 2026 07:52:02 +0000 (UTC) From: Kate Hsuan To: Mauro Carvalho Chehab , Hans de Goede , Hans Verkuil , Sakari Ailus , Jai Luthra Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Kate Hsuan Subject: [PATCH v2 3/3] media: i2c: imx471: Calculate pixel rate based on external clock rate Date: Fri, 4 Sep 2026 15:51:13 +0800 Message-ID: <20260904075113.125751-4-hpa@redhat.com> In-Reply-To: <20260904075113.125751-1-hpa@redhat.com> References: <20260904075113.125751-1-hpa@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Content-Type: text/plain; charset="utf-8" The IMX471 sensor operates in PLL Dual Mode, so OP domain configurations must be used to determine the pixel rate. Based on the IMX471 clock tree topology, the pixel rate is calculated as: (extclk * IOP_PLL_MPY * DDR_FACTOR) / (IOP_PREPLLCK_DIV * IOP_SYNCK_DIV * B= PP) With the register values, this yields a pixel rate of 159.36 MPix/s. Signed-off-by: Kate Hsuan --- drivers/media/i2c/imx471.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/imx471.c b/drivers/media/i2c/imx471.c index 316383076b3d..d81d64dd8761 100644 --- a/drivers/media/i2c/imx471.c +++ b/drivers/media/i2c/imx471.c @@ -701,8 +701,17 @@ static int imx471_init_controls(struct imx471 *sensor) 0, link_freq_menu_items); =20 - /* pixel_rate =3D link_freq * 2 * nr_of_lanes / bits_per_sample */ - pixel_rate =3D div_u64(IMX471_LINK_FREQ_DEFAULT * 2 * 4, 10); + /* + * The sensor runs in the PLL DUAL mode so the configurations of the + * OP domain are considered. According to the imx471 clock tree, + * the pixel rate can be calculated as follows: + * (exck_freq * IOP_PLL_MPY * DDR factor) / + * (IOP_PREPLLCK_DIV * IOP_SYNCK_DIV * RAW10 bits) =3D 159.36 MPix/s + */ + pixel_rate =3D (IMX471_EXT_CLK * IMX471_PLL_OP_MPY * (u64)2) / + (IMX471_PREPLLCK_OP_DIV * IMX471_OPSYCK_DIV * (u64)10); + + dev_dbg(sensor->dev, "pixel_rate: %llu\n", pixel_rate); =20 v4l2_ctrl_new_std(ctrl_hdlr, &imx471_ctrl_ops, V4L2_CID_PIXEL_RATE, pixel_rate, --=20 2.55.0