Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3584458pxk; Mon, 5 Oct 2020 13:38:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQuXMHulna8aRiGLtQGqKmUHsOWugmRzelZya4EfxedWFbpWLMkkkTnjAsdJMBgbPQQKW1 X-Received: by 2002:a05:6402:b68:: with SMTP id cb8mr1636420edb.350.1601930283873; Mon, 05 Oct 2020 13:38:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601930283; cv=none; d=google.com; s=arc-20160816; b=uXdXPS+yh8icxK2jeliN+s4TFdSu+VhOwM10sRHkLcTK7JvF6wnIWg8JJAy4x2AZso GoIYOfH2r15FJ2XC40sJy4xZ+zp+zs0vFm+gb5ZPwX4iTKkF2VVbhMI//HJX5sFmvpUP avxKsDvdUTQ+BL9WiifdBmJ0H6xqF2q/Jm77M/AUJ4KmrixQxv6ssRvYKN4WzefUWBG+ hoawDBAP2TjVMvzD3r1RDh3ePDcGiJL/Ff838VmGHhLLnZDMqOhDW+zv09aJ6oNV/m6U Cnap+2+CkA66RFRhhboyRDzt2qhIU2arbe9ttxk3eU9SmCr0xBIgSblOvphQ5bUsKDSR mNzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=B4PwgTffJiJmPt6zUisqAw6fhFqqUXNEIJ77LrR5pRQ=; b=DqH75hPMVy390TkKursXkncweSZECNBlkkQYBcx2D6/lmsf3efP1r4umE0jHWA9n+R KZQOrDXH6V2tX13j8VkEOunTOuLIEb6Yj8AZCEYrKdJXgtjXJtAvbWgob5k+huKz0hgX bVEvCn/4QZ6HblJ3s1hgwTTcudrgwaqf/ilN53xIYtLfn9xe860Le+bIeeJ/UivhXyqw x+70aUwjdfKYwWFSYDaGW2Sm4LQgHvN8Gx1eD/LDjCOz/qD70r4adM6fcwcdAAK35nww nseaqtFk0rXkV2MidFSAkdyvJzAqDlxzWwmvfWL5Qr2HgVxSo2Wpzk+DF8G5yr0AjhIn G4gg== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n19si763745edq.82.2020.10.05.13.37.41; Mon, 05 Oct 2020 13:38:03 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729721AbgJEUcB (ORCPT + 99 others); Mon, 5 Oct 2020 16:32:01 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:40032 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727262AbgJEUb7 (ORCPT ); Mon, 5 Oct 2020 16:31:59 -0400 Received: by mail-wm1-f65.google.com with SMTP id k18so827215wmj.5; Mon, 05 Oct 2020 13:31:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=B4PwgTffJiJmPt6zUisqAw6fhFqqUXNEIJ77LrR5pRQ=; b=niGxbyG6YYwt29jP/PAkQMzezk9R40Mp2J3BgZY3UeV0tGC53v2K1c5FIYfJPDMMbr eM9ZY0DWpIEviXKYInyjIRTMIlxteYS1wUlimu9FddZ0Ft2MtPgMQfikxI9ZEcY4k2F3 RregBQBVS0ME2K7Ym95DgX/TF/M7Tq6InzH5CKpOuWFAgxoI7/UK0B3Q1CEIPEWiVtN1 XOwwgMu2YP73ZBtia7NAyOhHq3ZN/OfWC1TCc8vsasVnu2JzVJa7pRm+GFbbITwpk0KK I8iyf7gezRzj69hgd2WNW0e+xZLXzCMQQ6+HMvLHS2CxmHOQ2cgFaemaQ5gR0x6fxYfp iNYA== X-Gm-Message-State: AOAM531Mv08wwGWNgLR6nhCXUuOspTkFLSxtKwulafA16B95cqn3NIzY mDsppDaLcGRtA+izTxiAbqc= X-Received: by 2002:a1c:35c5:: with SMTP id c188mr1144613wma.11.1601929914355; Mon, 05 Oct 2020 13:31:54 -0700 (PDT) Received: from kozik-lap ([194.230.155.194]) by smtp.googlemail.com with ESMTPSA id z11sm1294344wru.88.2020.10.05.13.31.50 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Oct 2020 13:31:53 -0700 (PDT) Date: Mon, 5 Oct 2020 22:31:48 +0200 From: Krzysztof Kozlowski To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Albert Ou , Alessandro Zummo , Andrew Lunn , Bjorn Helgaas , Chanwoo Choi , Daniel Lezcano , "David S. Miller" , dmaengine@vger.kernel.org, Dmitry Torokhov , dri-devel@lists.freedesktop.org, Greg Kroah-Hartman , Heiner Kallweit , Jakub Kicinski , Jason Cooper , Jens Axboe , Jonathan Cameron , Lars-Peter Clausen , Laurent Pinchart , Lee Jones , Liam Girdwood , Linus Walleij , Marc Kleine-Budde , Marc Zyngier , Mark Brown , Mathieu Poirier , Mauro Carvalho Chehab , Miquel Raynal , MyungJoo Ham , Palmer Dabbelt , Paul Walmsley , Pavel Machek , Peter Meerwald-Stadler , Richard Weinberger , Sam Ravnborg , Sebastian Reichel , Srinivas Kandagatla , Stephen Boyd , Thierry Reding , Thomas Bogendoerfer , Thomas Gleixner , Ulf Hansson , Vignesh Raghavendra , Vinod Koul , Viresh Kumar , Vivien Didelot , Wim Van Sebroeck , Wolfgang Grandegger , Zhang Rui , linux-arm-kernel@lists.infradead.org, linux-can@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-i2c@vger.kernel.org, linux-ide@vger.kernel.org, linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org, linux-media@vger.kernel.org, linux-mips@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, linux-pwm@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Message-ID: <20201005203148.GA23742@kozik-lap> References: <20201005183830.486085-1-robh@kernel.org> <20201005183830.486085-2-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201005183830.486085-2-robh@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 05, 2020 at 01:38:27PM -0500, Rob Herring wrote: > This doesn't yet do anything in the tools, but make it explicit so we can > check either 'unevaluatedProperties' or 'additionalProperties' is present > in schemas. > > 'unevaluatedProperties' is appropriate when including another schema (via > '$ref') and all possible properties and/or child nodes are not > explicitly listed in the schema with the '$ref'. > > This is in preparation to add a meta-schema to check for missing > 'unevaluatedProperties' or 'additionalProperties'. This has been a > constant source of review issues. > > Signed-off-by: Rob Herring Acked-by: Krzysztof Kozlowski Best regards, Krzysztof