Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp144147rdb; Wed, 21 Feb 2024 21:39:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXnt8OMiFzvcb+wNTo8yRPtfes1UqyYH1EB4aejwNioiFbb0NfO2zETjUy2Qa4yraXKdYeIW0FNXSZL2zHhcVtAUmlma0fKAEZf6U2ugw== X-Google-Smtp-Source: AGHT+IGbUOA1rlv7azOr1nTAG/gdjcL0APGF7kcaMK/OAEeD3C9hf4bsf8SKNd174vDpt/uQBk5h X-Received: by 2002:a05:6358:41aa:b0:17b:56f5:3 with SMTP id w42-20020a05635841aa00b0017b56f50003mr5444509rwc.12.1708580399020; Wed, 21 Feb 2024 21:39:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708580398; cv=pass; d=google.com; s=arc-20160816; b=IBwuxQZlQ9xRhbFSQ+l0yHi2XNS9P0lJQPVJrVVpW10YHX79EZd8q0JrbauLMu5vej ixnVU8AT5POYmechale1rDUrEogDnnUDePsxsDzOi1oHlA6ibUUEKj02T8NBZC6LU9s5 BODLz2aeBzO6GDQlEl+WWLoWEdd+MtOwnB9QnrAJlMFkJgrN+3ly9pfm382M8NvMEf4v ktwMsZ8fWaOtSjjCcliMRePy65fYpRXCD0fhwcKEZM9R2aSuX8c3oiZmwMYiiPnKhzG5 YpHnjThzwe5HqrSocXoWM+KqzASsWMTaKa2Hrv7sgpG0/lqi/KdIB0D7sFH1LR5EvMGy 9JHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=DUAN6efcT0bwm6zf+7k6iWx7A/6BQJaaPLnjpw2xGcs=; fh=87+3d7A1pqAoAcqKty4yWhlB+i5Vt8gWSTYNr4Ejq0I=; b=W9V6V75nSjq+uTJ1+w7rQTaGuLuiaZSQdhjEUQbYpoK6mPasEjPP5gV/imrOAaeFuN PjzDhT71LxN3VBJ3OYUoqL4sh5dFFK6UHTMhHJEQa/E8CDwUpnMXmEn7jTqsoLMtfIHD 0/9uj10p2rhrgxED7kxFapGcFXalAwIdgOL242cKKLgRt7D/f+0IbQwzYhql2u6vGzJM gMmaPlPAjokOMoKZzZF9wWO+W4iVhsudTH+shp44h3my3/GeMt26/Emhp0dfqFf1q15Y ZlkT0I4APJwo2Tp4rOeXttdBudEPEV9U21HXqy+fn586yTW7ENxug+71HOyoccQ75isp LnXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Qe2O986R; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-75943-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75943-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z126-20020a633384000000b005dc958db2ffsi9334652pgz.470.2024.02.21.21.39.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 21:39:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75943-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Qe2O986R; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-75943-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75943-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 73FB9282F78 for ; Thu, 22 Feb 2024 05:34:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA857171AF; Thu, 22 Feb 2024 05:33:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Qe2O986R" Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4ED681426C; Thu, 22 Feb 2024 05:33:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708580039; cv=none; b=uGzXe54B2+GKtpsLdI4zOasHA19/SzQb+SAofDF82IrJrQxMw6uXDFQ8EKhRVyrHn5NqVJTUA4bS2C/Gae0N9h5+NRRxMQ4SCKDbxoBcl22ptSl0V2B1j+1AvYbSJjmyiIhKnOBaMuV4TcUaFD6HXgju5Oa+z4WbHOusCyOD3YQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708580039; c=relaxed/simple; bh=x4hgtd5pbbZYAzpAWR0r/AY6F3nD8p1DTgVilbfppwc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=V5HT9DkST3+PEoJR0tDrCdc2CQzCOhHRjDKQJnIjcpia1lwiL6IarkqAgRhaKm46wiypEssi6utsoJNKWYoIyGDcdBHSE0OwQRppUSAZ7IvAm2+aWds0kDFjR+W1756UGo6sJMW7ORtzVeIGtmlWJkh27/TVZpHolW+VMundPU0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Qe2O986R; arc=none smtp.client-ip=209.85.167.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-512bb2ed1f7so5097975e87.3; Wed, 21 Feb 2024 21:33:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708580035; x=1709184835; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=DUAN6efcT0bwm6zf+7k6iWx7A/6BQJaaPLnjpw2xGcs=; b=Qe2O986RNMCXCW4KKPXKoyNay5XRfTfliYMP+2unyHirYFhofOKA15hJefdJhIdFw4 qS5A1KIsV2JpfAYMDhz4J5FFEiK/0tY039NGPFVP66c7NrgEi/rSFMk5nuj0Js13HUZh fYg2qHwbJOPm+1xm7Js0pzdN5AG2w09p/eLA/6e/8RRlUhVGq7NCmzGtS+vSSH35gZZu s5o39VIOC+YxZAnijypqivkopFhjgVkCYbaJnPRY/pbC8LMp6OrSWGu7mMB45eLOe1yq DOId88Ldc9jcPj/cPAYU0pPgEZUtwfAhhWAkw9xy3tPHegSs34JoRNuBLpkI2KGeSUlr rEGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708580035; x=1709184835; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DUAN6efcT0bwm6zf+7k6iWx7A/6BQJaaPLnjpw2xGcs=; b=n+ZZ7XtFfhM8oS8RH0KAyLa6GLOM4cZPBQJeojXViidmexP+15sU1w4W5A9taCmmp2 IpFvssGnOYfY0G9B0LhNoRrEMKDXA1Kjao0phPdeoJpS10/t8B78mFhc7Rlbh8Qa7KJT UaPQ6zkmeTQvvni4pqGIjJEZhCN2d9v4TQadJBJ35SHBtu/zsxaxeQjgnRHekweyzVEb XrpZzIwsl1zZLdPTGAas7O2d3J15QE/oCfOY2I0Rk2Q4CwUuLkHTbXlLRswhB2LNv7yR 7N0Tulrxr6oNul+QU6XurQ+VPUgcyfM+VOz9UGg6VX5QliaLAO7kMA+O83mpcgIszINC fTcQ== X-Forwarded-Encrypted: i=1; AJvYcCVvFxopj5jQyixmFWnW9ubKCP8IHLHuHa9JhpHxRw9Bkt1QL6AnaazZd1JoKBNA+vvQGP0GiZPtUbbI1onByjwYLPmNkR1PPjm7/rQOlP2q6z+Zmrr6TsWb8XPAGFgLAckvdWHfM0SFm/JPzXJZxEFnC7dCgrl5oyqLxvDX4p7qKv7dXuZR X-Gm-Message-State: AOJu0YzLNbJ9DE01NSqJGptp42vvv28DfCiFs726fjzRhReNbSBXkm8/ ZAp2Yyj6OSSUFkHOqyM+gcTUju36db1QInnJf0tdBKY7F87sDv2Q X-Received: by 2002:ac2:4244:0:b0:512:b066:be25 with SMTP id m4-20020ac24244000000b00512b066be25mr7435726lfl.37.1708580035130; Wed, 21 Feb 2024 21:33:55 -0800 (PST) Received: from localhost ([2a05:3580:f312:6c02:29d4:49b1:c3dc:494c]) by smtp.gmail.com with ESMTPSA id k24-20020a192d18000000b00512ab0bb96dsm1746745lfj.57.2024.02.21.21.33.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 21:33:54 -0800 (PST) Date: Thu, 22 Feb 2024 08:33:54 +0300 From: Andrey Skvortsov To: Sakari Ailus Cc: Alain Volmat , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?Q?Ond=C5=99ej?= Jirman , Pavel Machek , Arnaud Ferraris Subject: Re: [PATCH 1/2] dt-bindings: media: i2c: add galaxycore,gc2145 DVP bus support Message-ID: Mail-Followup-To: Andrey Skvortsov , Sakari Ailus , Alain Volmat , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?Q?Ond=C5=99ej?= Jirman , Pavel Machek , Arnaud Ferraris References: <20240217220308.594883-1-andrej.skvortzov@gmail.com> <20240217220308.594883-2-andrej.skvortzov@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Hi Sakari, On 24-02-20 10:47, Sakari Ailus wrote: > On Tue, Feb 20, 2024 at 10:46:23AM +0000, Sakari Ailus wrote: > > Hi Andrey, > > > > Thanks for the patchset. > > > > On Sun, Feb 18, 2024 at 01:03:07AM +0300, Andrey Skvortsov wrote: > > > Don't require link-frequencies like it's done for ov5640, that > > > supports both CSI-2 and DVP. And v4l2_fwnode_endpoint_alloc_parse > > > ignores link-frequencies property for DVP endpoint. It's used only for > > > CSI-2 endpoints > > > > > > Signed-off-by: Andrey Skvortsov > > > --- > > > .../bindings/media/i2c/galaxycore,gc2145.yaml | 33 +++++++++++++++++-- > > > 1 file changed, 30 insertions(+), 3 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml > > > index 1726ecca4c77..fb376b9d0f2a 100644 > > > --- a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml > > > +++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml > > > @@ -61,9 +61,6 @@ properties: > > > properties: > > > link-frequencies: true > > > > > > - required: > > > - - link-frequencies > > > > That seems like a bad idea to me. > > > > While for parallel interface it may not be often important, for CSI-2 it > > should stay. > > You're also missing the bus-type property which should default to CSI-2 > D-PHY. I'll add this type and make link-frequencies required based on that for CSI-2 bus. -- Best regards, Andrey Skvortsov