Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1231550pxb; Fri, 21 Jan 2022 12:54:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxk7qORuWZAaN+C/8X2u2JUsDSapFPRCWT3XE8XgYb7bSaXSH+Wr7lFaMVNSkRMnFn4ld0f X-Received: by 2002:a62:be09:0:b0:4c6:1af8:e547 with SMTP id l9-20020a62be09000000b004c61af8e547mr5296908pff.3.1642798495396; Fri, 21 Jan 2022 12:54:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642798495; cv=none; d=google.com; s=arc-20160816; b=NG+YrJulWvJXRxajqx0xpiigySZ3XShcoB/xXRNSGZ7pY+iZ0kWkf+15QCgVpX2A/S 4cq1uJK1M1xRHvElXzErvEbpjoA4uNdi+05SX147pr27aed61JuCPalbN5AN4/l2oMPh OSzvYkr4JMsP/v/WU3AbSxLX0AC+LU7jDp/sBph7IYeZyKtHPKW+8LwVlrrZ8bkK2GG0 04FVZUVvY5PTdDDeJdOfORbKoYHboVgKgXOy/He9b1YFkTrWd5NBKRNE/E8LYK2afhXa 9avDMoih1MKJfluWH04Cf0jevjToMsXf0IRCACncI2rN+sdsQ45FDxi4lVDlZYlgSrSt N2Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=n/OQYQEaL5/6pjrQ0+kjBTTgidWpVR+SvcnazfsMZek=; b=PU8dHzirL6IyBEUGMOfzWEk6QL/QnfsC7dBgt3wWHdlsIwoPPzVUZAVGKd1nEZIL9Q vZlxUDgD/lT8bNzCEAdTJIBQdKdE2MH/tGcAlfqjLXjvvivndCyaDF6q0o6WTR73Dvsn RvVIPI5yQSg4cFT0DcwxKbJ2h9T82bZLR/2UnE8+zvPFF4HBBXzRGh1dfa2ui2Gy/90F 0Ih2MLv4qtj6XXgcokF7FeYg06SBp0ceTE42UvhCorT1S5dVLSCHIXNQahXOCJdOq41w zi4DN4p4za6cyPbc41QKIqQGWJVvGti9zvLz5uGNn9Al4TQiQxvueSzMIHpIgz0N6aGt sBtg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x70si2381249pgd.654.2022.01.21.12.54.43; Fri, 21 Jan 2022 12:54:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358065AbiATB0K (ORCPT + 99 others); Wed, 19 Jan 2022 20:26:10 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:17820 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1345516AbiATB0D (ORCPT ); Wed, 19 Jan 2022 20:26:03 -0500 X-IronPort-AV: E=Sophos;i="5.88,300,1635174000"; d="scan'208";a="107627278" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 20 Jan 2022 10:26:01 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id B9A7C416F260; Thu, 20 Jan 2022 10:25:58 +0900 (JST) From: Lad Prabhakar To: =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Jacopo Mondi , Mauro Carvalho Chehab , Rob Herring , Laurent Pinchart , Sakari Ailus , Hans Verkuil Cc: Geert Uytterhoeven , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v2] media: dt-bindings: media: renesas,csi2: Update data-lanes property Date: Thu, 20 Jan 2022 01:25:53 +0000 Message-Id: <20220120012553.23295-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CSI-2 (CSI4LNK0) on R-Car and RZ/G2 supports 4-lane mode which is already handled by rcar-csi2.c driver. This patch updates the data-lanes property to describe the same. Signed-off-by: Lad Prabhakar --- Hi All, Instead of adding uniqueItems:true into SoC binding doc's I think we could add this in video-interfaces.yaml for data-lanes property. Any thoughts on this? Cheers, Prabhakar v1->v2 * Dropped const items * Added uniqueItems v1: https://lore.kernel.org/lkml/20220118163413.ge2b4g75yhfqvq3x@uno.localdomain/T/ --- Documentation/devicetree/bindings/media/renesas,csi2.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/renesas,csi2.yaml b/Documentation/devicetree/bindings/media/renesas,csi2.yaml index e6a036721082..a5a1b570025a 100644 --- a/Documentation/devicetree/bindings/media/renesas,csi2.yaml +++ b/Documentation/devicetree/bindings/media/renesas,csi2.yaml @@ -67,7 +67,11 @@ properties: maxItems: 1 data-lanes: - maxItems: 1 + minItems: 1 + maxItems: 4 + uniqueItems: true + items: + maximum: 4 required: - clock-lanes -- 2.17.1