From patchwork Fri Dec 4 09:38:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 337741 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp98451ilb; Fri, 4 Dec 2020 01:41:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpPw/1lOdRFLaD1QP2OkVH7nqR4wU9ntkPbPBlVvO4SlpBUcoV+DDpDXU+JNoEQRsEmynb X-Received: by 2002:aa7:c3c2:: with SMTP id l2mr6594201edr.15.1607074874074; Fri, 04 Dec 2020 01:41:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607074874; cv=none; d=google.com; s=arc-20160816; b=SWfhBcNZoB+ihJSkrGjd1BhMeTPM4Lpo+pE64bRNFNJBoYfzaDMwVIMElQ1SbXnCyu Q8yEInH9evEwDrQkrJEhhwcsd+9Nv4XgOkkvUQPuvzQQK1tQfb0onojNEzWlhZwaNuRy riZszz5a0G8ZwYXwv0zKUW1EfXYStZDIYVPw8zkZstkU4/SntVorHgAFBRtgfz1wuaO6 KCqKj5OIgURnP28dlb9TU+TuxM7cUcx/phHMS5k9/VmEGeT/qHSmK0CzD5hHP5ncolJG Og5izwB4jbuhq01QLt7nBfWMwsdrhCSnfsCF0v3kqQun0vlbX9OTkEePGLHXmtNFJs0V +8cA== 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=C6GWdho5rGxd3C0mG/a41nN/4RgLefihEFKUkywJF2w=; b=hU0ofgKDv7KAVgviF538af95Y3PND2h352l2BQNJytxwGeLj2Mv5y2QKhcb/LS0WaW wqvJiXIPyQ7Wqv/2D9gv22e4PZbbgWefTzqgVu38lvPJC1wcQ4QrdnrQiizy93bOFu9v du/xAn1CHNXQvpIHjQhSBban8WwyDaxp29rRKFYgMRspwqPPyjPNK0awL4V1jpsGRny5 vvwX4ML3UrYAMr/1JY50w4eQMvzmihxn0NDCVdm3fenM92hA2mk4OW/Q89pC6MDZoDLg YskY+4Y3UHA1R76Nhcv521pAwRQR4Ojx4YSaulF7VCYScs30qNiKqodZu8p9ysa2SCU3 qRBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-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 m27si351962ejb.272.2020.12.04.01.41.13; Fri, 04 Dec 2020 01:41:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-media-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-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387633AbgLDJki (ORCPT + 4 others); Fri, 4 Dec 2020 04:40:38 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:9382 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729672AbgLDJkg (ORCPT ); Fri, 4 Dec 2020 04:40:36 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4CnSMy2GThz78RS; Fri, 4 Dec 2020 17:39:26 +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:44 +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 2/5] dt-bindings: serial: add the required property 'additionalProperties' Date: Fri, 4 Dec 2020 17:38:10 +0800 Message-ID: <20201204093813.1275-3-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 X-Originating-IP: [10.174.177.9] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org When I do dt_binding_check for any YAML file, below wanring is always reported: xxx/serial/litex,liteuart.yaml: 'additionalProperties' is a required property xxx/serial/litex,liteuart.yaml: ignoring, error in schema: warning: no schema found in file: xxx/serial/litex,liteuart.yaml Signed-off-by: Zhen Lei --- Documentation/devicetree/bindings/serial/litex,liteuart.yaml | 2 ++ 1 file changed, 2 insertions(+) -- 1.8.3 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/serial/litex,liteuart.yaml b/Documentation/devicetree/bindings/serial/litex,liteuart.yaml index bc79b3cca542437..c4f1f489dc2d091 100644 --- a/Documentation/devicetree/bindings/serial/litex,liteuart.yaml +++ b/Documentation/devicetree/bindings/serial/litex,liteuart.yaml @@ -29,6 +29,8 @@ required: - compatible - reg +additionalProperties: false + examples: - | uart0: serial@e0001800 {