Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp629895pxu; Tue, 5 Jan 2021 23:15:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHPSARFvONBLg+jn64YqqdnSJP31FrQQX3AhqlqTns20NOUmWyGu74Ib4OdxyBxL/wmcAV X-Received: by 2002:a17:906:a857:: with SMTP id dx23mr1976411ejb.189.1609917352636; Tue, 05 Jan 2021 23:15:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609917352; cv=none; d=google.com; s=arc-20160816; b=YrctOUThUlCczxbNMfKVTVBAZ6MZVddUjiX6cUi29RUnnVu6qIhRX+l+Q7tC6zjQyP duHMk1KU5CVp7TfIlpQZLKKmsEMdziUZ4ijfGQP6guTHlzeP2hybDIC0IuM9ws+pHTfD Y/egW99q+2HmnPeDtTyCHvY306k0+aNIW5LUZ9ANunjEOZHqvd5diLDeTm45Ug/1VQlm QhgM9xO7VZ9U3vEQcDjzswVhvm/C8NNJhXW1wVFws1qiBBwfRdO1+mGFnJGC190XJzcQ 6uPKaNIrzBBpq3XkBcM+av8e35xen0ivUdmKEJjp3UZrNr1WMXAjrVKncAidK938yd2E qcbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=rT4Dc8swlK31/4OXAMfRD8Dy9QIvv8YpGOiKzBJjVS0=; b=C5Dzx77uivlSAOTA7dEaYeAX2JMxRSc9bXmL8Xb5nwan5ZZ3xAcQQRSSP7lTDCRTNa bmjcw7bGp1sC5vcr1SOS/+MDaZ6THNJgcE5F67d+DLXLB6V9Uo3zn3B3CgbCOnbdJ/Mb FcvJBPoDsvGqfQqhANF7hxWk/AF6ridgT+/sEJnAwcfLRpNokvP8akVbfrzHkNd8VIJk SrY7CLOvlWa1odfvjDQ5YizJ4L9h52ek/1aVO5Qfy4TI4Y/b7EgAMyLLpJRREQq9cqxl mcSIjNPafiUtDauD0Gqmhilfnegs/ytnGfxfwucKpbo2Uh+ElBZubvoRLJo37MM1q7cy 5WHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="kW/FIQ9U"; 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 o22si610728ejg.205.2021.01.05.23.15.28; Tue, 05 Jan 2021 23:15:52 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="kW/FIQ9U"; 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 S1725800AbhAFHOU (ORCPT + 99 others); Wed, 6 Jan 2021 02:14:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725789AbhAFHOU (ORCPT ); Wed, 6 Jan 2021 02:14:20 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88920C06134C for ; Tue, 5 Jan 2021 23:13:39 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id g20so3855279ejb.1 for ; Tue, 05 Jan 2021 23:13:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rT4Dc8swlK31/4OXAMfRD8Dy9QIvv8YpGOiKzBJjVS0=; b=kW/FIQ9UMgiQ4U+TkdADVoEYk5gZPV3uhWmFEaBISm60k6X7HKncaLJMcm7Te12ixW DmozTsbCxinSR4kw60jnPkTRpJcI2yoqWEX3PsYD1Gobe1MgtRCRsAYMvDuT6a2OmRZe JA5aIaNzC2Qz1QI2pjKK7hj+qAEnukuAv07b9W7M8pBoGmUjZmXbHaL5522RR1fvjBcC aUOByaCkN/CFtegf2L0lfAhcsuMiZ+e/Z0kGD0hJrq1CBcozlTfyZi2pX2qyg5tLtp5K qfoj7U94CqKy1yfDXJToNFtVkn5zEBI7/9XBDJd/bwiyCn1gMrTQ4lsyGmJDatnR3P5D m6RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rT4Dc8swlK31/4OXAMfRD8Dy9QIvv8YpGOiKzBJjVS0=; b=SJ9y8lSvsW4ftE7MF6zHghrtTxc8IaSPylbhM2jmyDWCShD+ecp46a/xqeKhDnoofX I7/ElKY/fO7sqCc1stcnM3Kp3Qa2zTnLhgc66COI8d279krcbVHM8n6WjA4i0zL8jdav 1LSZIIA/P1W5Urq3phspuwF7iKwfQw2hiFyrgYBRhUIKgLjztwwFpcIMDhXkXwSXS6fr 5nxGVbWKEUVaSRlCjbWt8w1Pf94Azgo/fmYgrSGdeGBbnYxQiebjdzk9fdqyp03ccGCY 8QrB0aN1pxYSFM5+8voCt54nX5qGpNVMuZzV/QlX4qdiut5PuvFuTWic18qv8XFuK4y6 d/MA== X-Gm-Message-State: AOAM531njKPL2HMSqCQqJAFDu0XocjHyoAJP0bHh/lrP79kLR/RoCo3A Fg+cAXB1PLghzgQnhrMw8OH9lKUX3C2CCfCbNZxMrg== X-Received: by 2002:a17:906:8594:: with SMTP id v20mr1986708ejx.470.1609917218321; Tue, 05 Jan 2021 23:13:38 -0800 (PST) MIME-Version: 1.0 References: <20210104230253.2805217-1-robh@kernel.org> In-Reply-To: <20210104230253.2805217-1-robh@kernel.org> From: Bartosz Golaszewski Date: Wed, 6 Jan 2021 08:13:27 +0100 Message-ID: Subject: Re: [PATCH] dt-bindings: Add missing array size constraints To: Rob Herring Cc: linux-devicetree , LKML , Jens Axboe , Stephen Boyd , Thierry Reding , MyungJoo Ham , Chanwoo Choi , Linus Walleij , Jonathan Cameron , Dmitry Torokhov , Thomas Gleixner , Marc Zyngier , Mauro Carvalho Chehab , Chen-Yu Tsai , Ulf Hansson , "David S. Miller" , Jakub Kicinski , Sebastian Reichel , Ohad Ben-Cohen , Bjorn Andersson , Greg Kroah-Hartman , arm-soc , linux-ide@vger.kernel.org, linux-clk , linux-drm , linux-gpio , linux-iio , Linux Input , linux-media , linux-mmc@vger.kernel.org, netdev , linux-pm , linux-remoteproc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-serial@vger.kernel.org, Linux-ALSA , linux-spi@vger.kernel.org, USB list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 5, 2021 at 12:03 AM Rob Herring wrote: > > DT properties which can have multiple entries need to specify what the > entries are and define how many entries there can be. In the case of > only a single entry, just 'maxItems: 1' is sufficient. > > Add the missing entry constraints. These were found with a modified > meta-schema. Unfortunately, there are a few cases where the size > constraints are not defined such as common bindings, so the meta-schema > can't be part of the normal checks. > [snip!] > .../bindings/gpio/gpio-pca95xx.yaml | 1 + [snip!] > diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml b/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml > index f5ee23c2df60..57cdcfd4ff3c 100644 > --- a/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml > +++ b/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml > @@ -81,6 +81,7 @@ properties: > const: 2 > > reset-gpios: > + maxItems: 1 > description: > GPIO specification for the RESET input. This is an active low signal to > the PCA953x. Not valid for Maxim MAX732x devices. Acked-by: Bartosz Golaszewski