Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp231817pxu; Fri, 4 Dec 2020 01:43:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzrer9OKf3EqDlKCXf1o6W3hJKNh7U5tQqZguDeipekMlu/t+yKeODV8yB3fmCe1H++M0pJ X-Received: by 2002:a05:6402:13d1:: with SMTP id a17mr3419732edx.202.1607075035340; Fri, 04 Dec 2020 01:43:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607075035; cv=none; d=google.com; s=arc-20160816; b=VCsiK4AbeAGLofPl4TBbBpjoKD0tkHLkPmkNobjeOzc0xegQeCOEvgt9WwIQodO8ts eOyFMJAzWszpQnELnDwqRZWFtiTDgq6KZ+KujFGU4WWnyl7W0F71TqJcMS3uA01PKESy aVWg1LnvrEwdIdSVPi10cqI8Q3yOAgvD7m5lLYLTIcW2GObA2QIjn+A7Gsh2WLk/T6zJ /w/LB165w9Dxgy/XFj2qTa9mHX7Uy+yEf8i8mI562FtxxAEuVbCl6F043A4Lw4gLKyaN khIbxhHMTo5WGAByPbPMXuWi804dwUKdLPO4zVqBb/wf0OADQWQl6fwzSerdvJ1itu+x QtPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=XflOL0ws42nhiDAfDVttt2TpVjfiq/5yMeCI0BW5bbc=; b=zS7Yy06slT5CJiC2WRVambr8chHFv0nq0qzuDgRuPgIV+trTev6rgYVEmsauhnhsre OpqVbEWxM9ZJ16XhKDrCEb1xxSWCz86womyhucsANnSQlxKFGdtWDdfIMfjJCQ8rUeNU pJgJW6sdPCGMo1GlxIOunyI2mNv2PlNNgadvpa3myR04f96sQ/dp9+AAK2NiDN0jRkac 77ogqQ3PfEOQdlVjkDG1Ldpme3xMOBlj3/tNz5t3yxneavBWH/rQBtQNVRQWFwLrmJ4+ SOCVdOqkGjKlAJKaEd01am5xgHmUFJCBfItpUkbt0nmvsrp/5FV7a8moYL68eAwCtuqp EO9g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u23si1014287ejj.163.2020.12.04.01.43.32; Fri, 04 Dec 2020 01:43:55 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729749AbgLDJlg (ORCPT + 99 others); Fri, 4 Dec 2020 04:41:36 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:8650 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729673AbgLDJlf (ORCPT ); Fri, 4 Dec 2020 04:41:35 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CnSMx30ybz15XVR; Fri, 4 Dec 2020 17:39:25 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.9) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Fri, 4 Dec 2020 17:39:45 +0800 From: Zhen Lei To: Philipp Zabel , Mauro Carvalho Chehab , Rob Herring , Karol Gugala , Mateusz Holenko , "Greg Kroah-Hartman" , Pawel Czarnecki , Stafford Horne , Matthias Brugger , Lee Jones , linux-media , linux-serial , linux-arm-kernel , linux-mediatek , devicetree , linux-kernel CC: Zhen Lei Subject: [PATCH 3/5] dt-bindings: soc: add the required property 'additionalProperties' Date: Fri, 4 Dec 2020 17:38:11 +0800 Message-ID: <20201204093813.1275-4-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20201204093813.1275-1-thunder.leizhen@huawei.com> References: <20201204093813.1275-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.174.177.9] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When I do dt_binding_check for any YAML file, below wanring is always reported: xxx/soc/litex/litex,soc-controller.yaml: 'additionalProperties' is a required property xxx/soc/litex/litex,soc-controller.yaml: ignoring, error in schema: warning: no schema found in file: xxx/soc/litex/litex,soc-controller.yaml Signed-off-by: Zhen Lei --- Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml b/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml index e2b788796e791ab..c8b57c7fd08c23d 100644 --- a/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml +++ b/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml @@ -28,6 +28,8 @@ required: - compatible - reg +additionalProperties: false + examples: - | soc_ctrl0: soc-controller@f0000000 { -- 1.8.3