Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2155229ybb; Mon, 30 Mar 2020 00:11:12 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuaETcKPtdLnu7dP79MDztW3985J/pd64AQ7Sep6h6bVTGHKIf4l/4M+kOfBOjQNaofKVwl X-Received: by 2002:a9d:bf7:: with SMTP id 110mr8527974oth.259.1585552272745; Mon, 30 Mar 2020 00:11:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585552272; cv=none; d=google.com; s=arc-20160816; b=uOQfNNBkWqb23g7ArQ/kk8wGo/3KMdsBxtGeCTQ5p4yrRT6IeOGypVBVzBRh7FKqEQ zO1NP/FjJ5i/7jxlMOk4jziCM1IifKxDG3ijqKK8X9ZA+rxCuxbb08W2AtFRPTKT5BOx HP5VgKghsW+5Nf34LZhmp08mhIwTOZY3v1BTuen5n9CX+ZJ3uFeykAdYZPVFXYj0+ubO 93rraVMaytbIYl7FpS/iyfduN+S3zVWqHuKgEgHu5Bm22Uzmcg5ietOIZsUuECgzFLtA QQC0sB3pl/THS45eZxwuIWog59vb0yPsBpWWRrAsYmESGwZTQ7Rm/LZ2VO15oXlP3z0I ExDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=ln1CQt+YaUVnJf/8SbMK3iPTVvG1KE5EE/FUul8MWQc=; b=omjTmUtupmVopjwSN1XkaJRsVLWqhG1XiiQOzb7w5S0kW8NpOOUKA5/DMmBm7qCSHl tETbsFHG5z3E8HD6X1TiISn4M0fWsQmaaKjPSURrB0UmRpibYc0616q454bRZewGzIq5 cDGKmDwncjdKXPGoMUDp2VySI4KByQnIsqYg/ruEeIp63MhGej8p62KfEqiYOX9KJkLw 25jC0PeFovATKHdcmoTIqiVn7YWJ2dRV5wV+N+VY3k4RG8aF/4Er2wUcduUuQsekj0zT PD3MND6i7V/+rZ/HZGUZv6qULqkPxgT5UF3Va6EPxbMgxoLaFnEg9RvfJUt4f5kb7dUT ThHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=1sthGaoH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c20si5257515otf.37.2020.03.30.00.10.59; Mon, 30 Mar 2020 00:11:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=1sthGaoH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729413AbgC3HKM (ORCPT + 99 others); Mon, 30 Mar 2020 03:10:12 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:31904 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728685AbgC3HKL (ORCPT ); Mon, 30 Mar 2020 03:10:11 -0400 Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com [209.85.217.45]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 02U79xvR024938; Mon, 30 Mar 2020 16:10:00 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 02U79xvR024938 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1585552200; bh=ln1CQt+YaUVnJf/8SbMK3iPTVvG1KE5EE/FUul8MWQc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=1sthGaoHw8qoSp3F/D3eH8NqZjk++zLNoSrFExAge5M5k4o6izC7znUZmDsjrR95d 3LRi45OyZDxUKTfu4A/3P4aV5+yY39DtCxwP5T2nox/GAPp7PJ3ZaF7u226D4E6kMs pxp3tchjSZY1dsGYXfpp7Fyf63ssOrWN+V8tr3iI8kkkZhdSc6hQrcCJehpowCH1tV t5Ybjs0wWAwMh0SzhZruoB9o66WBYJD1t+qP7ZqRNrr7efxFSXjCoLMubpsREjCj3w uh2OG10xugvGzdVuKY1o+FeM5bjbz3bVeCv27FcaCEJ6WsaSLhERu5H58t5BiMZ2Xi G3vbpTZyiHDew== X-Nifty-SrcIP: [209.85.217.45] Received: by mail-vs1-f45.google.com with SMTP id z125so10303326vsb.13; Mon, 30 Mar 2020 00:09:59 -0700 (PDT) X-Gm-Message-State: AGi0PuaxIQ01k2OIzzRmX0pmP4+GKnL2dKkEkaAhViRjVhNEthRWBKXc iLGdsfopkiPxzS20T9vORC2VKBgWqZ276l6JheA= X-Received: by 2002:a67:2d55:: with SMTP id t82mr7452280vst.215.1585552198446; Mon, 30 Mar 2020 00:09:58 -0700 (PDT) MIME-Version: 1.0 References: <20200325220542.19189-1-robh@kernel.org> <20200325220542.19189-5-robh@kernel.org> In-Reply-To: <20200325220542.19189-5-robh@kernel.org> From: Masahiro Yamada Date: Mon, 30 Mar 2020 16:09:22 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/4] dt-bindings: Add missing 'additionalProperties: false' To: Rob Herring Cc: DTML , Linux Kernel Mailing List , Bartosz Golaszewski , Bjorn Andersson , Brian Masney , Daniel Lezcano , "David S. Miller" , Guillaume La Roque , Hartmut Knaack , Jonathan Cameron , Kevin Hilman , Lars-Peter Clausen , Lee Jones , Liam Girdwood , Linus Walleij , Mark Brown , Mauro Carvalho Chehab , Michael Hennerich , Neil Armstrong , Peter Meerwald-Stadler , Stephen Boyd , Thomas Gleixner , Zhang Rui , dri-devel , linux-amlogic@lists.infradead.org, linux-arm-kernel , linux-arm-msm , linux-clk , "open list:GPIO SUBSYSTEM" , linux-iio@vger.kernel.org, Linux Media Mailing List , Linux PM mailing list , Networking Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 26, 2020 at 7:06 AM Rob Herring wrote: > > Setting 'additionalProperties: false' is frequently omitted, but is > important in order to check that there aren't extra undocumented > properties in a binding. > > Ideally, we'd just add this automatically and make this the default, but > there's some cases where it doesn't work. For example, if a common > schema is referenced, then properties in the common schema aren't part > of what's considered for 'additionalProperties'. Also, sometimes there > are bus specific properties such as 'spi-max-frequency' that go into > bus child nodes, but aren't defined in the child node's schema. > > So let's stick with the json-schema defined default and add > 'additionalProperties: false' where needed. This will be a continual > review comment and game of wack-a-mole. > > Signed-off-by: Rob Herring > --- > .../devicetree/bindings/gpio/socionext,uniphier-gpio.yaml | 2 ++ You may have already queue this up, but just in case. Acked-by: Masahiro Yamada -- Best Regards Masahiro Yamada