Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp198413rdb; Tue, 5 Dec 2023 03:01:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IH2i/Tuv/hCojFLAWFyUkaDYHPIp9/gQgRKHmIrUOfNS2PTcgZXhpGPO8ZsLnxyg84vJGVr X-Received: by 2002:a05:6a20:6a0e:b0:18a:7498:de11 with SMTP id p14-20020a056a206a0e00b0018a7498de11mr3077630pzk.4.1701774117274; Tue, 05 Dec 2023 03:01:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701774117; cv=none; d=google.com; s=arc-20160816; b=hHDnr0HIxjo5HJOsDNY9sLLjsoszzHLuKwSAu9U9r2H+Ic5VxfVdd/Eb+23T8jsLCp Gj3F1ji8fw6adFQQ0RrMmEHL3C4clvhQbkJyAQDyYhFhyshMwrSCmdFxEmrX6K0xULxs YTzRAJmcoz+TWBf4cjDrD40SUqv0Adhg2ejDVAfPcL0dSj2Hf/byqqb7YEDIl2ce6JX/ p4K0gTGrku5ysfIa6h5cqW/Da14kgbov+kC5gTDiLaw4CKhfWRgzdBNHuuN2/HjHO6yT OiQJsetIy+/Xok8RwUUp1XhHCjliKfvjfu6I2L1H0BCqIoyjfQbRDTG3KT/9WdXXIoBq bohw== 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=gUSCnW/2ia0SSNFzgXeHNzqReJwZAQP2VnZ2Qw/hye4=; fh=PdYNUKOm5T/u7DvqHUGDwYCAWnhu6RohYYdRZd49GEc=; b=KLC8GZofPf66AiyoQn8ZP8SZpaywONBUHSLzSceodNqJMqjeRNCDZe7T3eXjYI935N 0sjvcnd9AQpwoi5NOyHGpMrntn63QjwrTsWY/d8DnCfZ6J7jywwbqtT97dyfxAagR04K 476uDtrG8BGI+N9DFdiDNpXHaUhKAP3X+dvAT2SFrXbqX48QR6oK2YJLpn+nUVZrwgU4 FZ7E2GziEjJWISZvTOkfyD3qgw2qUZuEPSJuB+OaSJKfG5WV56+GRAUNX9kM5gHKZlOf XIAC74FnT+9qSfRohdWxrz0WK96spP9VF0IfIIzKHqDMMrOmITklvVKIISE/AarOxOfJ GZ3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Vmtn2+Dy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id r6-20020a632b06000000b005c65defc400si5554488pgr.624.2023.12.05.03.01.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 03:01:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Vmtn2+Dy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id C964B80BD271; Tue, 5 Dec 2023 03:01:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235072AbjLELBm (ORCPT + 99 others); Tue, 5 Dec 2023 06:01:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235105AbjLELBl (ORCPT ); Tue, 5 Dec 2023 06:01:41 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD4F3122; Tue, 5 Dec 2023 03:01:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701774107; x=1733310107; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EOoOeUhGO49Qx8BIhAdC+BnBXEPnvyFtMtH3ybC1/vY=; b=Vmtn2+DyiUAZMj/pddALKtvndjcvg2r2a+6aUDLYpoHC7LwM5pkTPe4u 3G2128XhwBBlJ31r047SBBCwcWmymadA0mSL4haPwowFJKb2C0qvYcvZO dN9mQfqm+znLojQTMEQ2fG3RW/tbQGm6kMLgC1oIfeUIk0KMgeZ9RwLEw ySq87KLi56yhNGkEZ68OKAN0GIOl0ofjBGUL345RFBJkHLX6d+Ghow5h1 qdsMStjqQ+iA8dV1ZC58Tj2savRw5480tGT69zPy1OI0hvZRZ2jqalbU+ QWrC4zUBJ5JMcGErHHgtZtxK/6IQB7DcQDREQMw1j9aDl27C2WYYliMYB g==; X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="392743828" X-IronPort-AV: E=Sophos;i="6.04,251,1695711600"; d="scan'208";a="392743828" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 03:01:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="861707932" X-IronPort-AV: E=Sophos;i="6.04,251,1695711600"; d="scan'208";a="861707932" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 03:01:44 -0800 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with SMTP id C095E120622; Tue, 5 Dec 2023 13:01:41 +0200 (EET) Date: Tue, 5 Dec 2023 11:01:41 +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: <20231205084835.15871-1-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 05 Dec 2023 03:01:56 -0800 (PST) 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? > }; > }; > }; -- Kind regards, Sakari Ailus