Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp95797pxu; Tue, 6 Oct 2020 01:26:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9cG0ywEt7EAX3tOZzjslPZd9iWmAZbNJ0DlowRbw4nKWCOfpgiquJYb5Nh9XQGvck9QO1 X-Received: by 2002:a50:d987:: with SMTP id w7mr4093391edj.113.1601972800763; Tue, 06 Oct 2020 01:26:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601972800; cv=none; d=google.com; s=arc-20160816; b=Cwlk2F7Sx1bVKMr2vDiGpEp468vfwblohWqR4A362Z46R8AtJEYObQkbjncfRQi4V6 bK5sGJoKBLuhXE5c2u7xPAHnuUYbaAcy6bMLY+i6/o4F2PuAmCs/hmEA/dkqfYC9dReZ Vl12PFBVgOukD2Nnk0oM7GFr2qjIuEU1vDO/vSjQVUUyeIRpm4DFy1WE2NAA2yXt/zzQ nsZUauDeArMrY+RXT6NpZWgb4+lmSa3SGLsrHglB4jEFWKuQGcnwc/YI7zthxz9sv7a1 5kGKY9aIeDeO+nHVnymoMTAum2Z/tmEVR9X0BBdH0b7CzN+cPWC9V96K1BWGS18kP0aH LY9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=YdhpNKlTW8M5AEVFobND3IcWnRcYsnTU1ylxUOoxLOQ=; b=Fe4IOlD94FPeW2GVAlvS5Sd60PymJ1ckydEn8meiM6A3s0h5Ce5zldD/oHI0SNZseH Tyj0tUXSPvuleQn8uTQVYuvD2NzEC6QGan1uuUF9pGFAG2mCrjeIKU5d9nA8iZuwanb+ AB9E96k5NaX1DOA/xRmzbc3FsYEax2s675WfCM6/Aep5LPdM9WeKmVXCW6qboR1lrtIQ LbhFcfcwUfbxmtiwgoDIrilL417NMICHTDPSjczvcQuTiYwqYoQbCqcL/DG/Zhz9++vy ibs7hV48xqK4crB7N9l7FpduqhUFLAq2jjeWfQKAhwZiAU9FJ7V6CMczZ3vTZT7ImxiP +SIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qHporHfA; 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 b22si1639828ejg.656.2020.10.06.01.26.17; Tue, 06 Oct 2020 01:26:40 -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 header.i=@linaro.org header.s=google header.b=qHporHfA; 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 S1726753AbgJFIZP (ORCPT + 99 others); Tue, 6 Oct 2020 04:25:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726683AbgJFIZO (ORCPT ); Tue, 6 Oct 2020 04:25:14 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 109DAC061755 for ; Tue, 6 Oct 2020 01:25:12 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id a3so16324028ejy.11 for ; Tue, 06 Oct 2020 01:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=YdhpNKlTW8M5AEVFobND3IcWnRcYsnTU1ylxUOoxLOQ=; b=qHporHfANLglN4o1QtjGAQRWNnN7asjRL3cjazvXjsHh09RfWeLWPhNLVvwSLhWTRD dq9W25RBebcUYOBXWtFq8Xg4Jpr5iwt1eXNmqsekvon7Xl48K0UpprSPFSz88KD7f3X5 mVcgrKZ1Q+07rFYOZ6TaIw9SiDE9zLlxqZ10OzeIv3M1P2sRohlLAogcHVmvgwhtbxWh aDv0+4vxSuOdMGAP1BZwP0BlcnNmUE37U3q6XBhiOW2IywzQSNU0oPIf35dwBbDiZGem YyfEcoZuw1vq+eSTNb3BPCippk6TyfUXDjeg7Imo0qPxxzlaz4AKfZHvUV+rJldsOuzH 6yMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YdhpNKlTW8M5AEVFobND3IcWnRcYsnTU1ylxUOoxLOQ=; b=QCmyun1AQ/xqBRpUPXvJk8P2hbvOnVkHE14uON8ouKWjX8hSDsqxwOLS2moetXDaXI 54pcct8AYdP9me+A/8VKCENmgzkGfHzsnZgtf7hIgrDA2ngH1x0mHr80Iv927qwBqjWG lGS5hHwLDPrMRJL3C8RFxWtKiE4imZX0W/4oSKvUkPxpPlJPnl+dUZhc8oOx6O+eIkBQ SnPtxmHzH7SqsRfDaF0yKZ12+pmYlFX+cZiyNo1UYx0PzrXevlSsfiY+/hpD00R8p2sW pFmxF4ynxlv2SD9kydRL2X7U5xan/epcv5eKwi5FpK/WtefURxVIXowyjIWhMF5kyJK6 01eg== X-Gm-Message-State: AOAM533W1B9JoDccG0+tihH5FEt8ya6y+34B1JBLR1CWw+kNM9+efXTf 5Tpez+aMd26l9V6ljAUHi8fBAV7WX3LKAfhA X-Received: by 2002:a5d:6409:: with SMTP id z9mr120080wru.391.1601972710164; Tue, 06 Oct 2020 01:25:10 -0700 (PDT) Received: from [192.168.86.34] (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.googlemail.com with ESMTPSA id y11sm3353486wrs.16.2020.10.06.01.25.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Oct 2020 01:25:09 -0700 (PDT) Subject: Re: [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups To: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: 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 , Krzysztof Kozlowski , 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 , 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 References: <20201005183830.486085-1-robh@kernel.org> From: Srinivas Kandagatla Message-ID: Date: Tue, 6 Oct 2020 09:25:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20201005183830.486085-1-robh@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/10/2020 19:38, Rob Herring wrote: > The default behavior for json-schema is any unknown property is allowed. > T > > hat is generally not the behavior we want for DT. In order to disallow > extra properties, schemas need to define 'additionalProperties: false' > typically. Ideally, we'd just add that automatically with the tools, but > there are some exceptions so only making things explicit everywhere > really works. Missing 'additionalProperties' or 'unevaluatedProperties' > has been a constant source of review comments, so a meta-schema check is > really needed here. > > Documentation/devicetree/bindings/nvmem/nvmem.yaml | 2 ++ > .../devicetree/bindings/nvmem/qcom,qfprom.yaml | 2 ++ for nvmem parts, Acked-by: Srinivas Kandagatla thanks, --srini