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=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 6D830C19425 for ; Sun, 6 Dec 2020 05:33:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 380D522D07 for ; Sun, 6 Dec 2020 05:33:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725774AbgLFFdG (ORCPT ); Sun, 6 Dec 2020 00:33:06 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:9120 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725355AbgLFFdF (ORCPT ); Sun, 6 Dec 2020 00:33:05 -0500 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CpZnN2gFCz15XHT; Sun, 6 Dec 2020 13:31:52 +0800 (CST) Received: from [127.0.0.1] (10.174.177.9) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Sun, 6 Dec 2020 13:32:17 +0800 Subject: Re: [PATCH 1/5] media: dt-bindings: add the required property 'additionalProperties' 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 References: <20201204093813.1275-1-thunder.leizhen@huawei.com> <20201204093813.1275-2-thunder.leizhen@huawei.com> <2c36ef4c2d022f6f83ec5c78a951d5e76f95378e.camel@pengutronix.de> From: "Leizhen (ThunderTown)" Message-ID: Date: Sun, 6 Dec 2020 13:32:16 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <2c36ef4c2d022f6f83ec5c78a951d5e76f95378e.camel@pengutronix.de> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.177.9] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On 2020/12/4 18:56, Philipp Zabel wrote: > On Fri, 2020-12-04 at 17:38 +0800, Zhen Lei wrote: >> When I do dt_binding_check for any YAML file, below wanring is always >> reported: >> >> xxx/media/coda.yaml: 'additionalProperties' is a required property >> xxx/media/coda.yaml: ignoring, error in schema: >> warning: no schema found in file: xxx/media/coda.yaml >> >> There are three properties defined in allOf, they should be explicitly >> declared. Otherwise, "additionalProperties: false" will prohibit them. >> >> Signed-off-by: Zhen Lei > > Thank you, there already is a patch to fix this: > > https://lore.kernel.org/linux-media/20201117200752.4004368-1-robh@kernel.org/ OK. I found it temporarily during do a JSON conversion,I have not subscribed the dt-binding maillist. > > regards > Philipp > > . >