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: Zhen Lei X-Patchwork-Id: 337743 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp98478ilb; Fri, 4 Dec 2020 01:41:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGlnBJ3iNu5D/Pn9qfgubrhVHd50E1VNoetp0MUzcGwRgSjSp0SgjiBAXKUYl0bzzPytLI X-Received: by 2002:a17:906:81ca:: with SMTP id e10mr6156041ejx.449.1607074876528; Fri, 04 Dec 2020 01:41:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607074876; cv=none; d=google.com; s=arc-20160816; b=aYzGDOfY7AL4t7jN3dxaRumpEkrnm0dEvLvjFU5M1d9a7RbwJybLRxFXyQmbK6kJmP Y3f5KHsi3m2jOGHLbbOKZIFhN1IiVD13MGkRsBN+7zpPAbNL1hpSFzN4QVMKZ0lGEh6O 5T2Yk/PWDXg9WinLZoM00ybBh6GvVv9UaLBAtbJeRQjO0D4qIGZIUkNPZdLDVHF7afUP HqyaZ0wCth9U/GGn+scjBTJfYsEOoAvVsi7QyIVd7Nzj8FrGkY626/CYzUxxhh1zmFDJ igqvJazLirPGPUHPlpXXqqvU0T8bNayzz1SkDJTzeqdZyVZBckKfZYK98JEh8vjFpD+8 DShw== 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 :message-id:date:subject:cc:to:from; bh=0r7cdz3nrqKgj1RGl14TE2gW7FlL1W5jvSL1OfCRdpo=; b=Qt52aDx+sUsrJXKO/vacICKpM8io0vnbYZ6H3HC/yXuYIcf+rIsI7PimJrmxCexAUj BWjZisDDvh7j0bVBfmMVM3W5YtX//knv4RyyX3vbPesrVHOk0UnQ63prM+Ou5otgOGM/ V5xKbs6C1zP+E0vUoOsffN/QBzcV/1cw82NhXOCVNUgy14fbZ8ZuWRxj+4aXw2bAqnpo O1NFSICBU5hV9KGqLShAQ5UD7Rm7DQwIFjuOtUjs7KkgChiaYxWeAorR0PQ8vf8naRRb jPWi1Zclr5nqILJ/NYR1hE3f+D/J+y8PXIcXxtGa4JQjaM6CemjUAscYR8ksiFhggXqf an0Q== 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.16; Fri, 04 Dec 2020 01:41:16 -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 S1729720AbgLDJkp (ORCPT + 4 others); Fri, 4 Dec 2020 04:40:45 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:8649 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbgLDJko (ORCPT ); Fri, 4 Dec 2020 04:40:44 -0500 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 CC: Zhen Lei 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 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.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(-) -- 1.8.3