Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5552802pxj; Wed, 26 May 2021 13:23:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgJvwt+7t8fiKi35hcztFkxNhoMzqb7cVsxTKH2CR02p3hpDYJ3d43w3pellfQyUuIcyr8 X-Received: by 2002:a17:906:744:: with SMTP id z4mr93699ejb.347.1622060622351; Wed, 26 May 2021 13:23:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622060622; cv=none; d=google.com; s=arc-20160816; b=pDtP2QX6qKv5N06Pz4LuqJ20WjwMX5vVikjEaYY+F8QcZUHJ4/DGysOCPl6GJM5qXX BLNqTv775eC3FYY7u4DQxLd3dVQpjT+QG5g5DduoYwBQ5RIvWoo7Dwg5OaZ5o0TeyK0N h7WxwfUPNAO7o7wY5HdVOJ4De5leIkw9ctRVjS5PX69B/2SRMWazgmKRfYeItb5xDKgq 21XK/k11JX1gfTgSrtyItJPr6A2Rc9oBY/GPAzGxjJHOH13ZUIRXP5lUGeTFUgimDWBB XJ7t1+Rf7nVTpZzqj3EkpEJ6ZCi5LqqD2Jx36pa69CkqEsQurpWLZKaKSZYaFfCXQX5D 7iCg== 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 :dkim-signature; bh=JLcWqo1gmuLZYUBwMCf24rWQmk458CRJORnK4CRGahE=; b=YraUSAjFlAGEir1Im2f5fabUXGg0N18Sw+nb47Zf5SOjdHehawxg+RH5eeKx93xGxs LJ3pb3mpgYTpz9u5cHS+HU/Xo7kthG0MWagD878oYLarEN8mxqwqZdPqisBjG+NipOlo /qMtezpm5ZMnI2G2ZvPfKwOlZacV4eLdmctPK+ePb23ous333A2hfq2nGKVEYoHU1Yel ch9+l8FRY1Iz+8moSaUu9UgxxjZLOw1WWALd7oPYVjHtg+0h99qOeEja+oEFtMIbznjU ZpdgaIW2LGyamj2xTn1MjOb55GxydJfIsVOIRFhiQixJAkc5hBdwDzKTKd2b026HO1pD 70jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ZQAnaxny; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a20si86375eje.479.2021.05.26.13.23.18; Wed, 26 May 2021 13:23:42 -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=@ti.com header.s=ti-com-17Q1 header.b=ZQAnaxny; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235097AbhEZTA7 (ORCPT + 99 others); Wed, 26 May 2021 15:00:59 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:50962 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235002AbhEZTAy (ORCPT ); Wed, 26 May 2021 15:00:54 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14QIxI8L081348; Wed, 26 May 2021 13:59:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1622055558; bh=JLcWqo1gmuLZYUBwMCf24rWQmk458CRJORnK4CRGahE=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=ZQAnaxnyoVwawvoO/mgYv6PGDSOSEGYLVtHvWZIXSKMRzTaQYhGE7FYaRlL+LxCgw 0Svj3UJHKOVBtLka4u4058mFXOKyAFTYaFhB9nPYSfwS38lprEEY4qqdgYx+ckQAyx K1ywcUIsmHZj7bf/CZwM47LZv6a6jGWSNa3VshGY= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14QIxICo097251 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 26 May 2021 13:59:18 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 26 May 2021 13:59:17 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Wed, 26 May 2021 13:59:17 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 14QIxHAM078148; Wed, 26 May 2021 13:59:17 -0500 Date: Wed, 26 May 2021 13:59:17 -0500 From: Nishanth Menon To: Rob Herring CC: Kishon Vijay Abraham I , Bjorn Helgaas , Lorenzo Pieralisi , PCI , , "linux-kernel@vger.kernel.org" , Lokesh Vutla Subject: Re: [PATCH] dt-bindings: PCI: ti,am65: Convert PCIe host/endpoint mode dt-bindings to YAML Message-ID: <20210526185917.23icpjsuc37x3pae@slashing> References: <20210526134708.27887-1-kishon@ti.com> <20210526140902.lnk5du5k3b4sny3m@handheld> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11:04-20210526, Rob Herring wrote: [...] > > > +unevaluatedProperties: false > > > > Is it possible to lock this down further with additionalProperties: false? > > unevaluatedProperties is what we want here. > > > I could add some ridiculous property like system-controller; to the > > example and the checks wont catch it. > > Yes, because unevaluatedProperties is currently unimplemented. Once > the upstream jsonschema tool supports it[1], there will be warnings. > The other way we could address this is there are $ref resolving tools > that flatten schemas. > > [1] https://github.com/Julian/jsonschema/issues/613#issuecomment-636026577 Aha.. Thanks. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D