Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp219571rdb; Tue, 5 Dec 2023 03:43:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IG7dTkk5mDLOJCi5/EZAsrYE5vuFdIjE6b2xtHPDmH1JfJY+TbTwqvaeXPGZQHOoI6fRSXc X-Received: by 2002:aa7:9809:0:b0:6ce:4295:fec9 with SMTP id e9-20020aa79809000000b006ce4295fec9mr985888pfl.69.1701776610595; Tue, 05 Dec 2023 03:43:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701776610; cv=none; d=google.com; s=arc-20160816; b=jUEhAVzIA7kznLvO63QMM5OpmC4hmAv024vWzoPwQK8L59rQW0IJBJ2VbjJGLdaYg+ 5HaBNAnwkU3fH+LXihswX8TNdatK55O8INGi3GQ4sa5dJqAST8+VktMGD96cr8RFSv5+ +FpElEfpzFEUN3rJO5/cgZruwbPFxWWGTVS5TYfUiyuSuljjSnsvg7KsdpbLdjbmZg8y sOv4TTdetAnpjLCdKGal23PJtfT/3qaOZtyOwM9+hF7pgMgySJRCUvqZ38TxluILnB65 DuYldtaPiIWdXmFz7PRm2kjXsk1ZbyR087+7R5OZ7lgYZa5SeyQCyPuaJ6soZi6vYgWT gDUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vXaTpvFl8nPjK69+2surFlNcXjtJKkN0eM6M0Hy47es=; fh=PdYNUKOm5T/u7DvqHUGDwYCAWnhu6RohYYdRZd49GEc=; b=Vc0IGlUOW/13JY0MBbnDQDkmlqfeiACR3KgCy8EOV/ohKmGcntW9XD/c8V5fHT/5QR diQ1wRa/xTdyzDXf1rWPEh2IS88n9gxLUSdEKbR/M89OE1SxCGlro+/xS9IiiGrHzT57 hE9bez+vlIXCjX4JhomQqcaRvB5ap+QYOsCzZSiz6RTe6ce6EPofq8jLc0KJ8OjbcoWL XsLIOb47bsRp/jp36xgI51Jx06hGmL7KpX2h2jM78jzMTNnTLN4zTZUw06JtrFFr77M8 KxEGJVM2Py2CCd+R63svKL2KFZDmVzmRT+QygdF9GbT3AcrT4cU2dEjmfpxVHpcsQmz7 10ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WhTix8GJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id c23-20020a6566d7000000b005be1e55546esi9869457pgw.51.2023.12.05.03.43.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 03:43:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WhTix8GJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id D6558803DAEA; Tue, 5 Dec 2023 03:43:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345196AbjLELnM (ORCPT + 99 others); Tue, 5 Dec 2023 06:43:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345158AbjLELnL (ORCPT ); Tue, 5 Dec 2023 06:43:11 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9AB3C6; Tue, 5 Dec 2023 03:43:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701776597; x=1733312597; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=kTMmsxIwvrRFNgPLBtZ6ROY9A+n4NFUXiCrfw96ydpw=; b=WhTix8GJr+SA6lNoPycz2yZi8kNA4PLiIGvfXeH5tsFc54YRVTbcK16G u7ht0G6JQC9nEAmkmax1KX6igmvhRLTktdYl1etiLnsDzzgAiAs2DCroZ 8MVQiyIQA7Hy7gP+uziuw7w5Ujei6gBRuQNxTeP8mfa8qnAW0yq6Ljyox faL4LlppVy23mhDWHBl9n3FQJkWn3EaMAuaO1HZlRbIPJ4ORAFP27TdvF lrMDSKPKjo++8SALPXtTkdvhjUW7KS9mq58rtU/YTnS1NbN83ffkKKGFQ 1mmwxIE/TnE60m4XUL42j2VzoDz6n4wJbNJDvzWDqfKG+Uv5vxEdFEtJJ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="460370442" X-IronPort-AV: E=Sophos;i="6.04,252,1695711600"; d="scan'208";a="460370442" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 03:43:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,252,1695711600"; d="scan'208";a="18936758" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 03:43:15 -0800 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with SMTP id 2504E120622; Tue, 5 Dec 2023 13:43:11 +0200 (EET) Date: Tue, 5 Dec 2023 11:43:11 +0000 From: Sakari Ailus To: Krzysztof Kozlowski Cc: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Ripard , Laurent Pinchart , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: dt-bindings: ov8856: add missing second link frequency in example Message-ID: References: <20231205084835.15871-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 05 Dec 2023 03:43:28 -0800 (PST) On Tue, Dec 05, 2023 at 11:01:41AM +0000, Sakari Ailus wrote: > Hi Krzysztof, > > Thanks for the patch. > > On Tue, Dec 05, 2023 at 09:48:35AM +0100, Krzysztof Kozlowski wrote: > > Bindings and Linux driver require two link frequencies, so correct the > > example: > > > > ov8856.example.dtb: camera@10: port:endpoint:link-frequencies:0: [360000000] is too short > > > > Fixes: 066a94e28a23 ("media: dt-bindings: media: Use graph and video-interfaces schemas") > > Signed-off-by: Krzysztof Kozlowski > > --- > > Documentation/devicetree/bindings/media/i2c/ov8856.yaml | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/media/i2c/ov8856.yaml b/Documentation/devicetree/bindings/media/i2c/ov8856.yaml > > index 57f5e48fd8e0..bd1a55d767e7 100644 > > --- a/Documentation/devicetree/bindings/media/i2c/ov8856.yaml > > +++ b/Documentation/devicetree/bindings/media/i2c/ov8856.yaml > > @@ -126,7 +126,7 @@ examples: > > wcam_out: endpoint { > > remote-endpoint = <&mipi_in_wcam>; > > data-lanes = <1 2 3 4>; > > - link-frequencies = /bits/ 64 <360000000>; > > + link-frequencies = /bits/ 64 <360000000 180000000>; > > There indeed seems to be a problem with the example as far as the bindings > are concerned but the primary issue seems to be in the bindings. Both of > these frequencies have significance from driver point of view only while > the device itself supports a (wider) range. > > How about removing maxItems and items from the bindings instead? There's also a similar issue with lanes: 1, 2 and 4 are supported. -- Sakari Ailus