Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp834853pxb; Wed, 6 Oct 2021 16:51:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqFEMSVhVMgvHeMwH++xaourlcZxjM868Nqn2bNBQbVLTrbQLrpJG9xlD2DrWgD/C9vtIG X-Received: by 2002:a17:906:2cc9:: with SMTP id r9mr1596049ejr.138.1633564290876; Wed, 06 Oct 2021 16:51:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633564290; cv=none; d=google.com; s=arc-20160816; b=y7IGNK6SQ22MiYBDuyAJkhsVDAe9rKWMqz/MiYBPf8Fc6Lj2wQa0sYxNjDAiL52E9l /ZDWk0PQlLNy9gJpvoEQysc01IkIQRwI3Vo2Yjgbr7BHjnNM9xEbcIE+9gSzXd4cu8GE tYrX62sU+/RCFWqrGrJZjCWTS6ARcF+4USnXVpoWMi7yXQ/kzAF8Mg26Xy/YQV6fhsfM E6hCofqBnFzKCLPCihsATELQw8GytktgGUv8HT5LCswUBiTIbb2F9xqKo2vK/hwMjICL HJkKY352NiGsdNMvBdUq6leQFuUO7TAcgtlZkei5EMSy16cqaAT3qKlLqoznabZgiXaE B0Tg== 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=EiejDlkQNSX/QG3NGKzfU9XgqKF0K+Ke3v6FZ0QKFU4=; b=eY1pGEUjxN/w+6Kc3Xfz1Ir4L1VxOYvfjaNENYc0J18drqpV1unptuFj1E2c5aWvN4 l+Fh2Pq+foY0oWhWz3B7aoIQpmrLpCyuB8ibtxCQXO4uMZ2TUXSz4rJCbczNH3Vm3iQX su/sbPmQ+6XH7Eu1yJXeqqysLw2k1mvweEgUiQeV7jmnN+zzJp4X0SZZT9tNZxNn9R9Y WKSRlNBPLgpOb7gkd9TaQN1UXhqWWAAH5XIu7ytxfgfIAQIUtlu3iTjiG5wZoQYitOMw JqfUjpEnJ2UNy2OvsXTLZK4Tx0LjmLb5MbJouUXjyrs+KzeKQVq68zqh/iMJtcIlmCjb zg9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=kq481s76; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq6si43645585ejc.558.2021.10.06.16.51.07; Wed, 06 Oct 2021 16:51:30 -0700 (PDT) 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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=kq481s76; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239804AbhJFXtp (ORCPT + 99 others); Wed, 6 Oct 2021 19:49:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239840AbhJFXto (ORCPT ); Wed, 6 Oct 2021 19:49:44 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D7E7C061760; Wed, 6 Oct 2021 16:47:51 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D6E6E9DC; Thu, 7 Oct 2021 01:47:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1633564070; bh=Bj8VsTDeyyiwIBxV+2/7RUl4PMzTmAKX4hpsvEJDZGY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kq481s76qZfrN7HpvnlTtIF8qV+J5q63erSTC3Nkr0fWQJPAB/bhQJdTyG430Tk01 4WTIj3hrsdIZOxM72fNBFSWrDiXpL5b9nCH/NugptDOARyi5opzt1bFGoM7MxDDjF0 wV2lmdxWkBOVUb1NqnKeuYkPhGEYD3uD9Z+0an34= Date: Thu, 7 Oct 2021 02:47:41 +0300 From: Laurent Pinchart To: Pratyush Yadav Cc: Mauro Carvalho Chehab , Nikhil Devshatwar , Tomi Valkeinen , Vignesh Raghavendra , Benoit Parrot , Maxime Ripard , Rob Herring , Sakari Ailus , Niklas =?utf-8?Q?S=C3=B6derlund?= , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: [PATCH v4 09/11] media: dt-bindings: Make sure items in data-lanes are unique Message-ID: References: <20210915120240.21572-1-p.yadav@ti.com> <20210915120240.21572-10-p.yadav@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210915120240.21572-10-p.yadav@ti.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pratyush, Thank you for the patch. On Wed, Sep 15, 2021 at 05:32:38PM +0530, Pratyush Yadav wrote: > The data-lanes property maps the logical lane numbers to the physical > lane numbers. The position of an entry is the logical lane number and > its value is the physical lane number. Since one physical lane can only > map to one logical lane, no number in the list should repeat. Add the > uniqueItems constraint on the property to enforce this. > > Signed-off-by: Pratyush Yadav Reviewed-by: Laurent Pinchart > --- > > Changes in v4: > - New in v4. > > Documentation/devicetree/bindings/media/video-interfaces.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/media/video-interfaces.yaml b/Documentation/devicetree/bindings/media/video-interfaces.yaml > index 4391dce2caee..4bce93efae5f 100644 > --- a/Documentation/devicetree/bindings/media/video-interfaces.yaml > +++ b/Documentation/devicetree/bindings/media/video-interfaces.yaml > @@ -158,6 +158,7 @@ properties: > $ref: /schemas/types.yaml#/definitions/uint32-array > minItems: 1 > maxItems: 8 > + uniqueItems: true > items: > # Assume up to 9 physical lane indices > maximum: 8 -- Regards, Laurent Pinchart