From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BD06C41604 for ; Tue, 6 Oct 2020 08:25:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B21F12078E for ; Tue, 6 Oct 2020 08:25:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="p3LFJk9Y"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qHporHfA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B21F12078E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rBBvQM0Jdbe/DzvkHw11pTE4+Vc0P2eFOfHBUuXxL1s=; b=p3LFJk9Y5L+eYOJKaszc66h8a EK/UxYZ9fcSts/gaodZQZdomDejVubR1womgqlW4sRmzx7nabk8+HdaUPldc/aGfz7j0Cp1KBqEru p3SgNQIPCzvA4wgIvu5i0NUXDDx9KTzrdN2krEoqgOvOsgIwzVvCprFxLaNxT78wBYzS0sN5WSImk 7vCcmMzCEtNdWyBAxF13ofw4aQA3AYJszM8RAg2Etn0Z6PCqt8nDuZJv3CroH5yLdv/G5QCf5NTLU VtUbG944c/HTFJWPovt8uwRdAYvqFAEUmm8DbTXobLjHVsIid8p3qAN7Mfm8jm/HjkncYmzQKDt5f 6ygZzTZug==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPiHa-0007dU-J9; Tue, 06 Oct 2020 08:25:14 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPiHX-0007c6-73 for linux-mtd@lists.infradead.org; Tue, 06 Oct 2020 08:25:12 +0000 Received: by mail-wr1-x443.google.com with SMTP id o5so12403750wrn.13 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=Q7J5gxfyKvGHKHLqx3OUx9cv96LH3AyUysc0FHOzlc8oDLwB+Y3wQNqdjKbgzYYOuV 4gLU8oCRFQHgo2Qxk27RSoMjnZXjRM8fdSWm7U7jhhDLEv31Am8bE3pRVwEVeRwxaW6I FuBIJPoQbzXwnCW7Oz2vhWs/NTiFk5fzrSTTUVuFG2vE6p0razb/WZxzvxR6jgiGZOaQ uHZC0MAQAo7Mo2rF9MA2IusQvbD8Qs7ZKssION3/FLQIde9g1+YVjPWr3ncqLaswbXs/ du1Hd4MNp1IrHCZkbUYuP9CNUtyDfPfxkdwrSCAkH2l2C1DAyMp3mS75kMBlUojzNUgY VP8w== X-Gm-Message-State: AOAM531u4B9htuz51UougzcjK+UvLzR/Cd1kORAJnMYzovCMxchmgv5a bBBjgEgCvXqPO9Rj+ULJbBhFsg== X-Google-Smtp-Source: ABdhPJxsjuEumsaEtaU67N9vbg2cBftfsc/wZW21wnFzsv2BjeMFHC1JmQFLaFRJtrvHxARri2Z8Zg== 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 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-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201006_042511_366845_2845E686 X-CRM114-Status: GOOD ( 19.43 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Ulf Hansson , linux-usb@vger.kernel.org, Peter Meerwald-Stadler , Sam Ravnborg , linux-pwm@vger.kernel.org, linux-iio@vger.kernel.org, Viresh Kumar , Linus Walleij , linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org, Sebastian Reichel , linux-ide@vger.kernel.org, Thierry Reding , linux-mtd@lists.infradead.org, Laurent Pinchart , Pavel Machek , Miquel Raynal , linux-riscv@lists.infradead.org, Lee Jones , linux-clk@vger.kernel.org, linux-leds@vger.kernel.org, Vignesh Raghavendra , linux-rtc@vger.kernel.org, Lars-Peter Clausen , Marc Zyngier , Daniel Lezcano , Krzysztof Kozlowski , Chanwoo Choi , MyungJoo Ham , linux-serial@vger.kernel.org, linux-input@vger.kernel.org, Jakub Kicinski , Zhang Rui , linux-mips@vger.kernel.org, Vivien Didelot , Wolfgang Grandegger , linux-media@vger.kernel.org, linux-hwmon@vger.kernel.org, Albert Ou , Jason Cooper , linux-pm@vger.kernel.org, linux-can@vger.kernel.org, linux-gpio@vger.kernel.org, Mark Brown , Marc Kleine-Budde , Paul Walmsley , Bjorn Helgaas , Thomas Gleixner , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, Jens Axboe , Alessandro Zummo , linux-watchdog@vger.kernel.org, Thomas Bogendoerfer , Mathieu Poirier , Stephen Boyd , Greg Kroah-Hartman , Dmitry Torokhov , linux-mmc@vger.kernel.org, Liam Girdwood , linux-spi@vger.kernel.org, linux-i2c@vger.kernel.org, Vinod Koul , Palmer Dabbelt , Wim Van Sebroeck , Richard Weinberger , dmaengine@vger.kernel.org, "David S. Miller" , Jonathan Cameron , Heiner Kallweit Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.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 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/