From patchwork Fri Dec 4 09:38:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen (ThunderTown)" X-Patchwork-Id: 11951243 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=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 3EFA2C433FE for ; Fri, 4 Dec 2020 09:41:33 +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 CDF0B227BF for ; Fri, 4 Dec 2020 09:41:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CDF0B227BF 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:References:In-Reply-To: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:List-Owner; bh=US/Om7gsGUrAFVO58G3cR9k4yfDTK+C9mxNv+5p8x/Y=; b=mgcN6tWrv/zF2AlfBHmxDmJHU hw47AtGqm/73Jpjqbv/e6d58pWafcGMzuFv2QHN8CSrtZT1qiTgPoXCdpFdKv6ppihXTGoqmlH+1j /cetWHczUSCNSthyVcVMSx0a+zYfitOsvsAPpfKWZTi7oL7wZn7+jn5bioKnv8ZnRl1d6YKghC8vd iz523GNF4TuwT3Em1c97d7+U6SF3MdmB2moGQwdBFKAT/ZhGq4TJjR/wpHmeooyWAB6xRsgltcaji bNS6SNLnLv2A9Ns/cDQv59Qb8QqiIQMb4f2ttcD+LAQYwLdhtNhfZt043LulExdD5hkv2wq8/m6vI mTGnpvuIA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kl7Zk-00083D-LZ; Fri, 04 Dec 2020 09:40:28 +0000 Received: from szxga07-in.huawei.com ([45.249.212.35]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kl7ZM-0007mI-7z; Fri, 04 Dec 2020 09:40:06 +0000 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4CnSMy1H6Jz77x8; 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 Subject: [PATCH 1/5] media: dt-bindings: add the required property 'additionalProperties' Date: Fri, 4 Dec 2020 17:38:09 +0800 Message-ID: <20201204093813.1275-2-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201204_044005_712867_D096A9D0 X-CRM114-Status: UNSURE ( 8.53 ) 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 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 --- Documentation/devicetree/bindings/media/coda.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/media/coda.yaml b/Documentation/devicetree/bindings/media/coda.yaml index 7bac0057faf7319..199b0826cd01cb6 100644 --- a/Documentation/devicetree/bindings/media/coda.yaml +++ b/Documentation/devicetree/bindings/media/coda.yaml @@ -52,6 +52,10 @@ properties: description: phandle pointing to the SRAM device node maxItems: 1 + interrupts: true + interrupt-names: true + power-domains: true + required: - compatible - reg @@ -96,6 +100,8 @@ allOf: description: phandle pointing to the PU power domain maxItems: 1 +additionalProperties: false + examples: - | vpu: video-codec@63ff4000 { 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: 11951245 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=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 97721C4361A for ; Fri, 4 Dec 2020 09:41:33 +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 39BC6227C3 for ; Fri, 4 Dec 2020 09:41:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 39BC6227C3 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:References:In-Reply-To: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:List-Owner; bh=fdwUI6YLrbq4SJzXZkS485/ckIDTJZSZwnnUjbBeMxA=; b=HiUpItoI2IfyxmgO9UfCFMFY2 iCkdG7L0laYKDOecU6Zi8c3q8dVYh61ePIgpjZ2WHUuUd4tnx0ivG8SgOk1RTWOx+qaCVIKT7K/Ti B2JC/F6wj5ZZNkZvG4GKgUSNfPH5qSJDoSS8URN/hQTdMf8tF9FrqRG53qGvr87Q5H/iWGHHI20QL /A1fL0aztRW11wVfWHEoUrFjxahGXg67ZjWqoQLBIQ5wL3U9oPR/nt2z/BtBnwXRXuDUt7lwrxdDQ fWEXXShSMZLFLymDmEqcvpIRtP8qXbtu048G7T+YdkKAW4bLQCInxYfsRkHGfK0LZLVsIaS5blxGy 21mP871Mw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kl7Ze-0007z0-TD; Fri, 04 Dec 2020 09:40:22 +0000 Received: from szxga07-in.huawei.com ([45.249.212.35]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kl7ZJ-0007mE-C7; Fri, 04 Dec 2020 09:40:05 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201204_044001_783678_4CB54CBB X-CRM114-Status: UNSURE ( 8.93 ) 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 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 Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/serial/litex,liteuart.yaml | 2 ++ 1 file changed, 2 insertions(+) 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 { From patchwork Fri Dec 4 09:38:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen (ThunderTown)" X-Patchwork-Id: 11951235 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=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 D8761C4361B for ; Fri, 4 Dec 2020 09:41:18 +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 78E42227BF for ; Fri, 4 Dec 2020 09:41:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 78E42227BF 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:References:In-Reply-To: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:List-Owner; bh=J/OQGRwCpbPoT+8nHfHRm4Dkb4G7YCvym5w6tivfNII=; b=SvRKRh+71WjBs1tNhC2jyIRA2 zEVvB3ujEICv/vgyGhybcjk+aIwS4IvnkVrUmIVt8cR11L1oKRxvq2ko31bIJMemTnf4VgUR6Scdn lpbZKXVGGXUcNApG3BUv65p0nm9dwKhdX5y1h5FbcloRGXmU0a640CxnTcGP5Kl3ze9gkmfao0a8y Bi0rSmQoJ2F2UEoMEInbQuS5YX56vUdf6+M53Qg5HaCyiFrUuqqoXYN7PwVyiyUaAKnend7LdjYBQ XR0BZwcGp6Skct1BTOGSjskPqGLjdcMCOYJPcFOU4RxuqVG9vvgpXDxTMGgocxeh8Z4J90h0AAYDM ryDRWJgnA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kl7ZQ-0007rD-F9; Fri, 04 Dec 2020 09:40:08 +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-0007mD-2S; 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 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 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 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_462155_8DB3CB27 X-CRM114-Status: UNSURE ( 8.93 ) 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 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 Reviewed-by: Rob Herring --- 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 { From patchwork Fri Dec 4 09:38:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen (ThunderTown)" X-Patchwork-Id: 11951239 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=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 3EDD2C4167B for ; Fri, 4 Dec 2020 09:41:21 +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 D134B227BF for ; Fri, 4 Dec 2020 09:41:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D134B227BF 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:References:In-Reply-To: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:List-Owner; bh=NkMH3LyTRfTr19Yoc0D82X2fBpNyHJecouNZvOMHNhU=; b=xwDsbUF2V67sca7FPwJu5Mjyx XTLC0cAP9mypOv04jlFXsFEvUD1SR/SD94M29e7yi3m63z8FuryvEj6x5JotBgzGd4E3ehM+dHC// uxPXYm/UWfou1v99zGdL8gp/elztGYtswTpdxs4OAgYX8ZiBGDba8GWG7ntVK4Qu34z3rczX/b8JL xp/KEGvgf3QZi9af0PEBdAy4B78KzVb5v5tdSoLV61TufirSo2s+Zx9gpRmdq3byeZcLE+Wm9VWMG VIfyi/fTEcI9MnLsKP08jLr+iuDKfTngf9qUn6YWV81ZScS26L+zJQTRFUoFlUPiNsO+aiS1FitNm 2C04QkyeQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kl7ZU-0007s6-5O; Fri, 04 Dec 2020 09:40:12 +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-0007m8-1c; 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 4CnSMx44wbz15XWc; 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:46 +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 4/5] dt-bindings: devapc: add the required property 'additionalProperties' Date: Fri, 4 Dec 2020 17:38:12 +0800 Message-ID: <20201204093813.1275-5-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201204_043958_434650_C0E44E54 X-CRM114-Status: UNSURE ( 8.81 ) 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 When I do dt_binding_check for any YAML file, below wanring is always reported: xxx/soc/mediatek/devapc.yaml: 'additionalProperties' is a required property xxx/soc/mediatek/devapc.yaml: ignoring, error in schema: warning: no schema found in file: xxx/soc/mediatek/devapc.yaml Signed-off-by: Zhen Lei Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/soc/mediatek/devapc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml b/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml index 6c763f873a632d2..31e4d3c339bfe72 100644 --- a/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml +++ b/Documentation/devicetree/bindings/soc/mediatek/devapc.yaml @@ -44,6 +44,8 @@ required: - clocks - clock-names +additionalProperties: false + examples: - | #include From patchwork Fri Dec 4 09:38:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen (ThunderTown)" X-Patchwork-Id: 11951237 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=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 2C28CC4361A for ; Fri, 4 Dec 2020 09:41:17 +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 B51CB227BF for ; Fri, 4 Dec 2020 09:41:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B51CB227BF 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:References:In-Reply-To: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:List-Owner; bh=JNXE7UxFez9DcZ5S8xwSSMXwW9Ay9HZNVNkRDgQ6Ih8=; b=Xc81qfXg8JOojPhnAheKLxI1m K6sX3YM8CtwLVtJ08yS0FBy/juDxkrzrxUkZmrv0Kb3JmJH1UHzxUB5X47CVOAYF3wTrv08WZ0SkB tfInx/1AZk6flVxVscU/bdApXNljBzdu6ep2bBQ/irM8kizRb5HrTP79cqtBTbX4f8LHpR8Z76sM/ AIBB8lzPquEhVefQh9lJ423NHpvo49VCJn0Oj4qEsLZnWRuZH3bb3hX6uXk/3nCZ1+QgOiXZycfmd xYyVSKONU7zgVb+o1C7LhXxvcY2yO9AGLJHUS/n9JLYAfHXWE4O/S/DdOA/AvtCeFVCHdCht2nwff cojhJRIgQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kl7ZM-0007pb-8l; Fri, 04 Dec 2020 09:40:04 +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-0007mC-1a; 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 4CnSMx3MYTz15XW8; 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:47 +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 5/5] dt-bindings: mfd: correct the node name of the panel led Date: Fri, 4 Dec 2020 17:38:13 +0800 Message-ID: <20201204093813.1275-6-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201204_043958_391035_ECBA5455 X-CRM114-Status: GOOD ( 11.48 ) 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 According to the definition in leds-pwm.yaml, the node name of each led must match the regular expression "^led(-[0-9a-f]+)?$". "led" or "led-" followed by a decimal or hexadecimal ID number. Signed-off-by: Zhen Lei Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/mfd/iqs62x.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/iqs62x.yaml b/Documentation/devicetree/bindings/mfd/iqs62x.yaml index 541b06d80e7337a..044cd7542c2bcf5 100644 --- a/Documentation/devicetree/bindings/mfd/iqs62x.yaml +++ b/Documentation/devicetree/bindings/mfd/iqs62x.yaml @@ -93,7 +93,7 @@ examples: pwmleds { compatible = "pwm-leds"; - panel { + led-1 { pwms = <&iqs620a_pwm 0 1000000>; max-brightness = <255>; };