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: Zhen Lei X-Patchwork-Id: 337740 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp98425ilb; Fri, 4 Dec 2020 01:41:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzUqDbKZwx6LBQmwwT+j7PIRo7Ykbo7MUQC1M4NiFqP5YpQKfdi1oI6wwl/2q1HH5LUon9h X-Received: by 2002:a17:906:a0c3:: with SMTP id bh3mr6333826ejb.497.1607074872577; Fri, 04 Dec 2020 01:41:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607074872; cv=none; d=google.com; s=arc-20160816; b=TRTBaEzrWqBGTlP6P0kR4eW+GVmhulplzA/hPmRxC04SUUPuYab+jqXVCJDejiLT9f bcM98IxY2jtHImH4Eke2vBIDwgc8NrMjoj7YuiEjitpUmMRjnyc0347L/0TTuGw2t/Ea zKHDDEs80AX1EHlveyq969Fq3gMRs5Arl5oIh2rmwXMeAFa+J0mhGdoVL3Iu2KKgUNN0 7dUi/eAiEKZ0460GXySn3YUvV+3cgkNGRAnUKOr2SwvA/9enOTTSdG403c4NZy8EXp2P 2k1EO24wsz083/tT62MrRwOtRgRpbg57IW9ENATpB1RXoBViJnkLG0Qt0cHv0Nld3TEx yFVw== 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=tJwiQoo1knlM12uZ+AW8m0E/3HiBUE6eWvQqOJ1cVYI=; b=wTLis7sKI76aNZ/CZV26keXKtq5taRwCjo3dNbfy0kHQt9ILE4ezbnvexxLAxDTBRJ uav9fhIhlJDT33vTkIJHtXsaLF1HgqfHMMa7sx2xip/+uw5ijv158LhV1LQjb0+2VnKh xfmyapDzeCK4TMYS8mdUAn5es5qC/6JJcbtYGfmFf1W5cpnx/9HT9OeL5vgrgs/sR1Gv 8Em7CRUmqypTrN5By+LNWBjq9BTIAF/31bBFxfM2CQFlSACRv4UxaWcUZgjPmB6dRlqO COUOk5PYFPORC88/bM+k4a2iWBggKr0jWxUhpgcJbHkCF6AJ9Xpnw4LJQ3QVIQf2Ljic NWQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-serial-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-serial-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.12; Fri, 04 Dec 2020 01:41:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-serial-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-serial-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387625AbgLDJki (ORCPT + 2 others); Fri, 4 Dec 2020 04:40:38 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:9381 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbgLDJkh (ORCPT ); Fri, 4 Dec 2020 04:40:37 -0500 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 CC: Zhen Lei 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 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.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(+) -- 1.8.3 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: Zhen Lei X-Patchwork-Id: 338669 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=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,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 87083C4361A for ; Fri, 4 Dec 2020 09:41:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E51A4227BF for ; Fri, 4 Dec 2020 09:41:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387623AbgLDJkg (ORCPT ); Fri, 4 Dec 2020 04:40:36 -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-serial@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 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: Zhen Lei X-Patchwork-Id: 337744 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp99416ilb; Fri, 4 Dec 2020 01:43:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyCCtUpf4VA6KOBzakmSQDinEPi9aMJiO+pWqW+zzV3s3AqSvDVIsSmwttbR1cJ65jvbJsH X-Received: by 2002:a17:906:b2d1:: with SMTP id cf17mr6444572ejb.281.1607074983851; Fri, 04 Dec 2020 01:43:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607074983; cv=none; d=google.com; s=arc-20160816; b=0wiwE70FgSveS8IMY7fqXKaFjtA9rl2tPDeFQeCgmEvPqtoeyLBRkyj48bCFLmKxcO 6YApafV2Lp+zozwhPYLOa1DjTSidDQu/2t5oCg/Vl07ufgbK+ifuYY2yjxkFDXyfiCq3 dDrWR+wTAoIn/Cv8GMUTpiqbbDGU34WbYeMI+no8jO2XVMlILDuiGRGwMHKMAJd0jE+U YUFLrZ3mykoI2hi7wY2au70hv6LYvxwalvbX4e9j6pB1Ey9DNMgs+7gZIHx3JUrZ88gQ 7Q5kGI9S4ICrxKPyCYwPEFHQknQuKmrWt48p8V7Kgyk4pXhfVKAxjsm1GbJV9c4xcelb zKEg== 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=hJYq4JIj+nSR9dbi91nNlxowYc+mIZ0qDKisLBxSUGhK20Av0qMJKrg8KZwTTfix2J HqDHzLYyUikqNmnxLyzUOXbxFr4HhIlmrZS6L2K5U7QZ8ERQiZVOgemMP+T/FNnTTY21 nnpKUSRcnrpwRRTG2t+elmsjoFXdI9xilGQKv9EoUq7Z9N3oVdzeWogqAaDJeE4/6Dcn 7fqaLR6S5nKIB6kEfC+llmnYE+iKXt7Ekts2YBVe7Exs4PSfQXVXQMscxaQzMuzaE3iV EggS3RNrG4m7wF+r7yZn7fRgBM08+Nf+o0WFBkSl+7MIm9tkFyrK3AIHFY/IFt7avihe URTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-serial-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-serial-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 g10si2873121edv.139.2020.12.04.01.43.03; Fri, 04 Dec 2020 01:43:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-serial-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-serial-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729556AbgLDJlg (ORCPT + 2 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 X-Originating-IP: [10.174.177.9] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-serial@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(+) -- 1.8.3 Reviewed-by: Rob Herring 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: Zhen Lei X-Patchwork-Id: 338196 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=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,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 A54EFC4361B for ; Fri, 4 Dec 2020 09:41:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 42393227C3 for ; Fri, 4 Dec 2020 09:41:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387584AbgLDJkg (ORCPT ); Fri, 4 Dec 2020 04:40:36 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:8652 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729671AbgLDJkg (ORCPT ); Fri, 4 Dec 2020 04:40:36 -0500 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 CC: Zhen Lei 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 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.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: Zhen Lei X-Patchwork-Id: 338668 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=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,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 30820C1B0D8 for ; Fri, 4 Dec 2020 09:41:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F1FD322838 for ; Fri, 4 Dec 2020 09:41:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729694AbgLDJkn (ORCPT ); Fri, 4 Dec 2020 04:40:43 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:8651 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729512AbgLDJkg (ORCPT ); Fri, 4 Dec 2020 04:40:36 -0500 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 CC: Zhen Lei 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 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.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>; };