From patchwork Fri Dec 4 09:38:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen (ThunderTown)" X-Patchwork-Id: 11951241 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=-13.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 A629AC0018C for ; Fri, 4 Dec 2020 09:41:23 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 459C2227BF for ; Fri, 4 Dec 2020 09:41:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 459C2227BF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ojDeayDmwxCVBFif0XMZzJD1wIkB+5wMyBM/0A3cfPY=; b=icAAJfdZFwlh++U0PN+1iK0c7O JQgOGZd5Vy0nnvg3GRjX9F9AVYY0ajbX8pD7ueqz65B19ryfHZucrqG15Wu3eQVzFTLZCq2usmBD1 4EGz/C5P9wT2q6kSEwX19EYQeGvzxtUpngrJcMVp2nGkYd6RHwceF1Xzk+7MyCbM9gZiAUq/yszL8 j2M09bHJqjmuiGCcpjKQ+310dVAw1SaYYR8P5DXliBGyKfOaZVQyOCtnD9XTclE7SuGpDEubEavSp z8JmvkdmF+iYU16QhswevoEOPiJOApYZhYYkXw48/MrvwrJKUVqxHJDULnP/SKn24W/dhf29ZBJwO Fj6SV3BQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kl7ZZ-0007tf-Cd; Fri, 04 Dec 2020 09:40:17 +0000 Received: from szxga04-in.huawei.com ([45.249.212.190]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kl7ZG-0007mB-1b; Fri, 04 Dec 2020 09:40:00 +0000 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CnSMx3j5Lz15XWR; 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:43 +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 Subject: [PATCH 0/5] fix dt_binding_check warnings Date: Fri, 4 Dec 2020 17:38:08 +0800 Message-ID: <20201204093813.1275-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.177.9] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201204_043958_720019_5712F2C8 X-CRM114-Status: UNSURE ( 8.61 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zhen Lei Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org These patches is based on the latest linux-next code. When I do dt_binding_check for any YAML file, below wanrings is always reported: /root/linux-next/Documentation/devicetree/bindings/serial/litex,liteuart.yaml: 'additionalProperties' is a required property /root/linux-next/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml: 'additionalProperties' is a required property /root/linux-next/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml: 'additionalProperties' is a required property /root/linux-next/Documentation/devicetree/bindings/media/coda.yaml: 'additionalProperties' is a required property /root/linux-next/Documentation/devicetree/bindings/media/coda.yaml: ignoring, error in schema: warning: no schema found in file: ./Documentation/devicetree/bindings/media/coda.yaml /root/linux-next/Documentation/devicetree/bindings/serial/litex,liteuart.yaml: ignoring, error in schema: warning: no schema found in file: ./Documentation/devicetree/bindings/serial/litex,liteuart.yaml /root/linux-next/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml: ignoring, error in schema: warning: no schema found in file: ./Documentation/devicetree/bindings/soc/mediatek/devapc.yaml /root/linux-next/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml: ignoring, error in schema: warning: no schema found in file: ./Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml /root/linux-next/Documentation/devicetree/bindings/mfd/iqs62x.example.dt.yaml: pwmleds: 'panel' does not match any of the regexes: '^led(-[0-9a-f]+)?$', 'pinctrl-[0-9]+' From schema: /root/linux-next/Documentation/devicetree/bindings/leds/leds-pwm.yaml I have done the dtbs_check for all 5 yaml files on both arm32 and arm64. Zhen Lei (5): media: dt-bindings: add the required property 'additionalProperties' dt-bindings: serial: add the required property 'additionalProperties' dt-bindings: soc: add the required property 'additionalProperties' dt-bindings: devapc: add the required property 'additionalProperties' dt-bindings: mfd: correct the node name of the panel led Documentation/devicetree/bindings/media/coda.yaml | 6 ++++++ Documentation/devicetree/bindings/mfd/iqs62x.yaml | 2 +- Documentation/devicetree/bindings/serial/litex,liteuart.yaml | 2 ++ .../devicetree/bindings/soc/litex/litex,soc-controller.yaml | 2 ++ Documentation/devicetree/bindings/soc/mediatek/devapc.yaml | 2 ++ 5 files changed, 13 insertions(+), 1 deletion(-)