Message ID | 20221125050807.1857479-2-shravan.chippa@microchip.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3775796wrr; Thu, 24 Nov 2022 21:10:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf4BAhS5YjXvcDNpOsWYKzAEHBGrPJ4xhKWPawCzaQgfQdjN3U+P+AOSKRqAkqT2sIN8uish X-Received: by 2002:a17:90b:1e0f:b0:213:c5ae:55ec with SMTP id pg15-20020a17090b1e0f00b00213c5ae55ecmr37719708pjb.182.1669353036673; Thu, 24 Nov 2022 21:10:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669353036; cv=none; d=google.com; s=arc-20160816; b=SLpRuek+GkkhhG0JXfysmCcWj9jZwdVRMPHEbxppEfS7zUxP4ENc0tS+RdLjLSL8D0 AIk4rqMebACisYCa/a/NnVsacySpiBP7UT5rQ6F9tZDMDRZO/+yDOBd/6D7U+6UZw8oZ lyV1fSfQbSYwF5A8bK0zKSkEY1anF6bQTh+GRIhsE5ULCcrCaUuZSnkrwYY3BVab/RP1 M24XrLjFf65jUjjeptW8PFkaPOqOGipZAaIafKtQ4OWfTSbLvG0AcxcPnhnWpmk7kF/N ZkCP5BrLICvYiB1dhCDDXZTm2kGqXScAyYdjbdb8n/4Y0bovwCEfO/at9XiTHrgzvcDT 8DmQ== 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=RApTeIt/6Ok1d1cNQXE/itXeDpVDvtFnB8173Z6m/qg=; b=fiBd0kTzZNGFgKXW0R+7ja5RmAg620drHdEzBGSWVjZ3YeDdpmUR7qOCLfqnGpBZ5W /m4vlYXatbFBmaySj+Ic6gVSdDFQvAk9WmK08KnyeayQqpVHc6kVEc4a0Q53pAlCF5IK Yj7jKLDTet/JmwVNs7HgEhyFyX4VTvvbRk+AtV7HATbOKrRX+UGJVyf2xo5bem5O1h5z gHwBhaUmJxST61VmGEsrRJvyn9CcEExX6wfn+Jt0fbdT79+WS6LYqiF2ggvcnoCAOGfb NE9kYzNkWK8OS4nrPL3pNAnTMIy65QyqiON3TxaTvHFG1JbcDOIMhlUCVcX2H+lV6wXE 95vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Bnv02nNp; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w64-20020a623043000000b005731d316830si2556656pfw.23.2022.11.24.21.10.23; Thu, 24 Nov 2022 21:10:36 -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=Bnv02nNp; 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 S229641AbiKYFIe (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Fri, 25 Nov 2022 00:08:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229624AbiKYFIa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 25 Nov 2022 00:08:30 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47E8E28E35; Thu, 24 Nov 2022 21:08:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1669352908; x=1700888908; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=V1OMSs+r2Vdaq4EgRP9UUqO3OShybYjzPFVxY3dHlKs=; b=Bnv02nNpyF8pY6pZ7cvb01gWcqVMd7IfFtAEAF91+Fwq/J0Zz9poEs0W on52ZdYqhiFx8qM+LFgJl+YXl4rD0CqtqlNSt+S5JuxbUmaVVAogVby1I 4NPLckF+kQi1M1A0+nzaFx+41J7ARAL7bElEfe5gScyR3+seATEI9l+r0 L+0kHn+gyaS1nCKdvVQI0YkwTrqfk2CbbisP5msvVHdsEhDHx1ENX5+Uh oaA+dkbDsCXI4Wr3Yfln+vF2odSGVmHDViKVxAllZ3tgCtvIM5unM7xkQ yf/GR1u/l73ppGhDdnqV4jy2WcsFh4Lj3is/Etw2sOyNfefOUGPWeInip g==; X-IronPort-AV: E=Sophos;i="5.96,192,1665471600"; d="scan'208";a="125044667" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Nov 2022 22:08:27 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) 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.12; Thu, 24 Nov 2022 22:08:27 -0700 Received: from microchip1-OptiPlex-9020.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Thu, 24 Nov 2022 22:08:25 -0700 From: shravan kumar <shravan.chippa@microchip.com> To: <paul.j.murphy@intel.com>, <daniele.alessandrelli@intel.com>, <mchehab@kernel.org> CC: <linux-media@vger.kernel.org>, <linux-kernel@vger.kernel.org>, "Shravan Chippa" <shravan.chippa@microchip.com> Subject: [PATCH v5 1/6] dt-bindings: imx334: modify link frequency in examples Date: Fri, 25 Nov 2022 10:38:02 +0530 Message-ID: <20221125050807.1857479-2-shravan.chippa@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221125050807.1857479-1-shravan.chippa@microchip.com> References: <20221125050807.1857479-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, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750443529683319954?= X-GMAIL-MSGID: =?utf-8?q?1750443529683319954?= |
Series |
media: i2c: imx334: support lower bandwidth mode
|
|
Commit Message
shravan chippa
Nov. 25, 2022, 5:08 a.m. UTC
From: Shravan Chippa <shravan.chippa@microchip.com> -imx334 sensor is configured to 1782Mbps/lane for 3840x2160@60. -But in device tree bindings exapmple we are passing 891Mbps/lane so modified to 1782Mbps Signed-off-by: Shravan Chippa <shravan.chippa@microchip.com> --- Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi Shravan, On Fri, Nov 25, 2022 at 10:38:02AM +0530, shravan kumar wrote: > From: Shravan Chippa <shravan.chippa@microchip.com> > > -imx334 sensor is configured to 1782Mbps/lane for 3840x2160@60. > -But in device tree bindings exapmple we are passing 891Mbps/lane > so modified to 1782Mbps > > Signed-off-by: Shravan Chippa <shravan.chippa@microchip.com> > --- > Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml > index f5055b9db693..ea3c93f97d65 100644 > --- a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml > +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml > @@ -82,7 +82,7 @@ examples: > imx334: endpoint { > remote-endpoint = <&cam>; > data-lanes = <1 2 3 4>; > - link-frequencies = /bits/ 64 <891000000>; > + link-frequencies = /bits/ 64 <1782000000>; My understanding is that the original frequency is correct --- 594 MHz pixel clock, 12 bpp, four lanes (and DDR). > }; > }; > };
On Fri, Nov 25, 2022 at 9:27 PM Sakari Ailus <sakari.ailus@iki.fi> wrote: > > Hi Shravan, > > On Fri, Nov 25, 2022 at 10:38:02AM +0530, shravan kumar wrote: > > From: Shravan Chippa <shravan.chippa@microchip.com> > > > > -imx334 sensor is configured to 1782Mbps/lane for 3840x2160@60. > > -But in device tree bindings exapmple we are passing 891Mbps/lane > > so modified to 1782Mbps > > > > Signed-off-by: Shravan Chippa <shravan.chippa@microchip.com> > > --- > > Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml > > index f5055b9db693..ea3c93f97d65 100644 > > --- a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml > > +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml > > @@ -82,7 +82,7 @@ examples: > > imx334: endpoint { > > remote-endpoint = <&cam>; > > data-lanes = <1 2 3 4>; > > - link-frequencies = /bits/ 64 <891000000>; > > + link-frequencies = /bits/ 64 <1782000000>; > > My understanding is that the original frequency is correct --- 594 MHz > pixel clock, 12 bpp, four lanes (and DDR). As per my understanding, other than these three parameters there is one more link frequency (communication frequency from imx334 sensor to MIPI CSI2 controller). thanks, Thanks, Shravan. > > > }; > > }; > > }; > > -- > Kind regards, > > Sakari Ailus
On Sat, Nov 26, 2022 at 04:21:57PM +0530, shravan kumar wrote: > On Fri, Nov 25, 2022 at 9:27 PM Sakari Ailus <sakari.ailus@iki.fi> wrote: > > > > Hi Shravan, > > > > On Fri, Nov 25, 2022 at 10:38:02AM +0530, shravan kumar wrote: > > > From: Shravan Chippa <shravan.chippa@microchip.com> > > > > > > -imx334 sensor is configured to 1782Mbps/lane for 3840x2160@60. > > > -But in device tree bindings exapmple we are passing 891Mbps/lane > > > so modified to 1782Mbps > > > > > > Signed-off-by: Shravan Chippa <shravan.chippa@microchip.com> > > > --- > > > Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml > > > index f5055b9db693..ea3c93f97d65 100644 > > > --- a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml > > > +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml > > > @@ -82,7 +82,7 @@ examples: > > > imx334: endpoint { > > > remote-endpoint = <&cam>; > > > data-lanes = <1 2 3 4>; > > > - link-frequencies = /bits/ 64 <891000000>; > > > + link-frequencies = /bits/ 64 <1782000000>; > > > > My understanding is that the original frequency is correct --- 594 MHz > > pixel clock, 12 bpp, four lanes (and DDR). > > As per my understanding, other than these three parameters there is > one more link frequency (communication frequency from imx334 sensor to > MIPI CSI2 controller). > thanks, Feel free to add additional frequencies later on. But this patch appears to be just wrong.
diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml index f5055b9db693..ea3c93f97d65 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml @@ -82,7 +82,7 @@ examples: imx334: endpoint { remote-endpoint = <&cam>; data-lanes = <1 2 3 4>; - link-frequencies = /bits/ 64 <891000000>; + link-frequencies = /bits/ 64 <1782000000>; }; }; };