Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp162543pxu; Thu, 7 Jan 2021 01:13:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtpfGGbaP1qBfxd6IPGtaLx73WVefQAjQJSWqGKPqqKV4vOXWHpQ+nQXVKYGc+kE4VQYSW X-Received: by 2002:a50:d2d2:: with SMTP id q18mr962693edg.346.1610010780830; Thu, 07 Jan 2021 01:13:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610010780; cv=none; d=google.com; s=arc-20160816; b=R0nOFS7gBdZAPYvKUK7GgV/Sn9S418IeGLAE+QjKexkRjGopdE7M0pU06j2FTZz6VN FTJ7awZZKHORHUkgUpjkH7jDvl19bFDTfOpjMgZ7PaQr4qW0VjEB/oYOyyWliC1OSSQK XWdpj9lvbdmPqQRvNUtoO8kusIUrYGwmbHmUSkydPEjVMVb/MvTT8C/vJuLUCL2NQvvQ U0JgY9d4plKMrHHx5ejHBr8i24O5pd5Rjo+UucBmsAwqtjQ2tVv+97Qo8npNzWc8IMtC 0Yalg7KzHh+gcKF8etqxRA0FAywzt2biLnnlBzm3WXUw7g37/Ed1NK7OOna2+HpSQyQ7 ZmDw== 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=T+iZKNW1gmpT+HQqIiqmRRpQMcaG8pgogUVWa/pKYOM=; b=gxygHi8F0NvVy5SWIBSQnTtJqXSRaICH9ioli26cfOkHvTemJDUMpSFHBDz5wFB5iA V3qA+ELxWyCkhbQq1N/qEyBsUlfD4q/NUYEOF71UHpFk0QaeeMxadx/w5yXFSaW9EJCG 9JbXHQECs0gCe2OHxYrR8K3ULxYlSSrO2Oj+tiaNxuSsrTNGUwB3/p6VFpDC9VLQzCAW 4mAGpGB7VYa8IfxqZi5O1jzdu92/LPKfdO6gKbKF4JdRgLke3wWFVjaDQJe6mFkCIXIv YREUMxcsTe++h9rF2EYKE/oMgd2zvzCIl7s0R9fyWoxnt0bXTxrc5Y+vP82+vZGvSZAO xmaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cyz7QwbT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d5si1892898ejk.389.2021.01.07.01.12.37; Thu, 07 Jan 2021 01:13:00 -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=@linaro.org header.s=google header.b=cyz7QwbT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727278AbhAGJLa (ORCPT + 99 others); Thu, 7 Jan 2021 04:11:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727279AbhAGJL3 (ORCPT ); Thu, 7 Jan 2021 04:11:29 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 662BAC0612FB for ; Thu, 7 Jan 2021 01:10:20 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id h22so13024004lfu.2 for ; Thu, 07 Jan 2021 01:10:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=T+iZKNW1gmpT+HQqIiqmRRpQMcaG8pgogUVWa/pKYOM=; b=cyz7QwbTfHcC+qnorIFVkv7DnbL/oyA5L+VJJAN8XWkNMg42oKdig8X5tU4xa7X7pN 01zspKzmEcVvu5fY2nzlSr3geA/q2812tr8Wz0sUieGMHhvg1aGrsz+m0J4b8Wmr2jr4 Bxuqd5E5gXQb8ARkFssKYAOK0W62M412pmNUBd9NwRQD04zf23syAxjzcLmFBod8VeLt Wkczn2W4OJkxg0o6mQ3tRUOpKTABRCCUpHtxAiPQFjxJEJCf/WQ1QzYZHEZTgGgMtnu2 jNC0bNdR63+2S3cfHE4fDoxHLsYIWb3l6Ja+q5Vt8aM4kBs1TbyhYMIEDY91gB4GZfH3 2CvQ== 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=T+iZKNW1gmpT+HQqIiqmRRpQMcaG8pgogUVWa/pKYOM=; b=WEk1n9SbrJ938gLqX5Lzn0yXzvNN+Z2bzzWv44aN926h1hzvcfQhSC2ZoSheuI7M1R JdqxO+tQBweBeaN49bVlg1Tvawg3GfJg0uxazb8o+CruRaBKKlu98pJ1nqhoPY8tpv4F uet4010hAsFsvoncHZB0tJ5qkS/oZtecXPcHbYA7Q3M/0cDlr0ucrTUErOGELajCJK6m sX/89QbY3UCgs56UgjuYZ/pS4vFzk02zGg54g8MA5Du0PZobb9uNw73JV27hxr4q+V7X wuapX85syKnoKH2+oj4vp5PF/dJ5zHVK7hrFr7JjsD7ATCg7qifa9qPGiTc8R4ficXiG PytQ== X-Gm-Message-State: AOAM533ssE5soVZOb2B5D2sMQ/IbKEO/JTQmYBTAWHN/L/EYaxVhEO+B 3WBisgBrnXIvnLCnUEXbFOsAuLtPtyE07BmQiAc/iA== X-Received: by 2002:a19:495d:: with SMTP id l29mr3392190lfj.465.1610010618615; Thu, 07 Jan 2021 01:10:18 -0800 (PST) MIME-Version: 1.0 References: <20210104230253.2805217-1-robh@kernel.org> In-Reply-To: <20210104230253.2805217-1-robh@kernel.org> From: Linus Walleij Date: Thu, 7 Jan 2021 10:10:07 +0100 Message-ID: Subject: Re: [PATCH] dt-bindings: Add missing array size constraints To: Rob Herring Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" , Jens Axboe , Stephen Boyd , Thierry Reding , MyungJoo Ham , Chanwoo Choi , Bartosz Golaszewski , 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 , Linux ARM , "open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)" , linux-clk , "open list:DRM PANEL DRIVERS" , "open list:GPIO SUBSYSTEM" , linux-iio , Linux Input , Linux Media Mailing List , linux-mmc , netdev , Linux PM list , linux-remoteproc@vger.kernel.org, linux-riscv , "open list:SERIAL DRIVERS" , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , linux-spi , linux-usb 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. > > Cc: Jens Axboe > Cc: Stephen Boyd > Cc: Thierry Reding > Cc: MyungJoo Ham > Cc: Chanwoo Choi > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: Jonathan Cameron > Cc: Dmitry Torokhov > Cc: Thomas Gleixner > Cc: Marc Zyngier > Cc: Mauro Carvalho Chehab > Cc: Chen-Yu Tsai > Cc: Ulf Hansson > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: Sebastian Reichel > Cc: Ohad Ben-Cohen > Cc: Bjorn Andersson > Cc: Greg Kroah-Hartman > Signed-off-by: Rob Herring This is good. The stricter the better. Reviewed-by: Linus Walleij Yours, Linus Walleij