Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp2079211rwj; Sun, 18 Dec 2022 22:18:48 -0800 (PST) X-Google-Smtp-Source: AMrXdXsDX2x22KU+/YtRMGtVeoGh9QiTZxPjhnfDOxOi4vyiYNO7Eiz3bW1KnQebLnGHlSJCxAwJ X-Received: by 2002:a05:6a21:c01b:b0:af:705b:4816 with SMTP id bm27-20020a056a21c01b00b000af705b4816mr10863742pzc.33.1671430727914; Sun, 18 Dec 2022 22:18:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671430727; cv=none; d=google.com; s=arc-20160816; b=ThE9HwS2N7pmUYzU2ftgzeWt3CQwNT3AYS7yIE25xUk1OnZC5VO7olsR+0fpHljOcT C+aoRYNuLYeCKCbz1sO+arP10NZD+a3/xvHbR/tudrckT35yQNQwz1jbkQgBLShcyhAy m0hrB/dJMUTripy+TurFgsLB6Ac755yw/G/CYyKtBFck+IHOsxoR+0nNSnAFInomTEEN wqX/lC1XnOJho37Ca42ZeBIuTd0QyPI/xdogtgKTkr1Un9DJnai8TGHMOCU50v5UhdLA FaY/tBNqKS2CnN+KqhgicfoV5McguhMiWC32NlbnG/GEWgRGOeVprx/wV0JM7CIGIueo bZwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ijruODm4GS6dEEnxau3YlvnuGP+6k0+hbcibj8T5L4Y=; b=VbcQoBKkKTGoYs5CKooNkcAk6wyuO1HeSnKALcFsK3KiWLF8qDwnXiD+4KXEEyEweZ 5R57Am1CgNX05hiie89WS/taLzzkcz3x2FyHGq0aKInvKOsEWLexTVW0YCjHOUdymgsU +ngktammEJ9kTBEoNifSWKTPPLUNISJdQIqy/efQWHKP1nWhx3T59e8VENHsPJG0ymmJ Wg6c1quIa4GQRn0PUxHMc9zYHfXqawuVHzmpAPtUxHyesOQ72EZbVtnKIlt9lWzXiYEI I7SZ+HjUo+Gmn79DiyikR8vo7gQTHF4fQtMi8MJvYs4s9BE80uWQVSXvmsN5hZ65st1n YalA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="vdDJ/vKy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020a636b06000000b004792389988asi9711920pgc.305.2022.12.18.22.18.38; Sun, 18 Dec 2022 22:18:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="vdDJ/vKy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231234AbiLSGPm (ORCPT + 70 others); Mon, 19 Dec 2022 01:15:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230126AbiLSGPh (ORCPT ); Mon, 19 Dec 2022 01:15:37 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 155E7AE53; Sun, 18 Dec 2022 22:15:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1671430536; x=1702966536; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=97m/dDy4gUxTGV0oPsWMYrepMwx9K5cDv4BzNhP8KWE=; b=vdDJ/vKyfS0uqtocE9q3Lma2ajFuUrx0x+GuLcQ0UOI4oTaQD5SGWOK6 Wh8vVBDFnZ+bffv6lVvWoANklBTPTmTeltbgS7l+OfrakDGUuYULfDdOh l9ax9+OIt5Vqc8rDCtq3eau55hI13JKo+riqYiWAv3qxKaojJmRwJoKN/ Hftjq5/bKPhw/R2AtbjnQlUW+afSRZVUuH3hiT3BXB8APWW7ISNRN2qN9 pXatrYXIAHLhxktNRE5+sgLEcvlG4UBKe+vuA+L6MQ5HobTEet4Z6+bha xWinhk7c1TqLfgk45ET8XE+N06yJJ4Be47j89uWMDDtXuajfAuSLcVIc5 g==; X-IronPort-AV: E=Sophos;i="5.96,255,1665471600"; d="scan'208";a="204558703" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Dec 2022 23:15:36 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Sun, 18 Dec 2022 23:15:36 -0700 Received: from microchip1-OptiPlex-9020.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Sun, 18 Dec 2022 23:15:33 -0700 From: shravan kumar To: , , CC: , , "shravan kumar" Subject: [PATCH v7 1/5] media: i2c: imx334: modify link frequency as for the configureation Date: Mon, 19 Dec 2022 11:45:22 +0530 Message-ID: <20221219061526.3169369-2-shravan.chippa@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221219061526.3169369-1-shravan.chippa@microchip.com> References: <20221219061526.3169369-1-shravan.chippa@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Shravan Chippa Currently imx334 sensor driver is configured for 1782Mbps/lane for 3840x2160@60 resolution with reqired reg mode values but if we run the command "v4l2-ctl --all -d /dev/v4l-subdevX" it is showing incorrect link frequeny, This is because of the incorrect value of IMX334_LINK_FREQ witch is 891000000. it should be 1782000000. In general with the value of 891000000 link frequency it is not possible to configure 3840x2160@60 resolution. Fixes: 9746b11715c3 ("media: i2c: Add imx334 camera sensor driver") Signed-off-by: Shravan Chippa --- drivers/media/i2c/imx334.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/imx334.c b/drivers/media/i2c/imx334.c index 7b0a9086447d..acc9f9f15e47 100644 --- a/drivers/media/i2c/imx334.c +++ b/drivers/media/i2c/imx334.c @@ -49,7 +49,7 @@ #define IMX334_INCLK_RATE 24000000 /* CSI2 HW configuration */ -#define IMX334_LINK_FREQ 891000000 +#define IMX334_LINK_FREQ 1782000000 #define IMX334_NUM_DATA_LANES 4 #define IMX334_REG_MIN 0x00 -- 2.34.1