From patchwork Tue Oct 13 16:08:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 317720 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp5706184ilm; Tue, 13 Oct 2020 09:09:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyM00wAm/rKMS5/DiHBcFEqCOwkR6bTg18fdGUKG6ypea3Wb8oEPCZnArpIhqzKK+Ke7hl6 X-Received: by 2002:a7b:c453:: with SMTP id l19mr601291wmi.50.1602605365094; Tue, 13 Oct 2020 09:09:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602605365; cv=none; d=google.com; s=arc-20160816; b=ruq7ZUNYqhcIppVcYWIoU+KpoMz2FwaPZ6EG7jqNqckAkU4f+Z+YA77DKYq0vzkmib Z04bbyUuUudhHY8zsUmuz//C2nrZwM2/bvTS41KNgfGkrblQ3wsPpEZ0yNc/nEjDKaBa OuEvCs0zd4DUTgRkLKwbht3PJNGmNVtuBeCHF38q4sMUSOHtixQlqz9RPa/LFAn6tmP1 Z7tTtleFPaXupkN8mqrCy1lchsVuqXBmvEhTWr5SJx6dCP3BqYcrJIApW9JghtxIgO0Y GW8Wd1cjbg2+cfEfh3sWMwGJGwFle2hr1rwx3D0KgFTI9HmM7k/q+nENqgMZJFD7R7nb vtfA== 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=rARE618BqDfgJVoxvnNDbng3c7liRg8qz0bTyoI5NFQ=; b=jgOQsQUIose+kK1C6UMODXAacDN7jDC+Ir7aX11adEUafIc0BnDXHWA7EkW4kJ56CZ wk227oNOtJCZnDnSYOUICuqympJ6c+pH+MESq/i1UzYXKSzQL6ecwm22GNnQSuCjJdKY kVYGAkwHOYmLWsbL0Jog4vZo8EWldiIpPb7Ja3P96xCmtfzBMHJGeRnbLd+b2QD6ie7A Gwc3ZdWrdR5TI+kh9n73sAc9hVTn1ex6nmGy5VCHHEGUEl2VKTbUrKWAT+YOxibjnmeS 3jt5hyc8rybQNBFggsQ4htBlR4xxH4cadBiTVesiCYDGq4cOANEolILUatwt217wWg2t 9Ncw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 v30si73780edd.561.2020.10.13.09.09.24; Tue, 13 Oct 2020 09:09:25 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389323AbgJMQJV (ORCPT + 6 others); Tue, 13 Oct 2020 12:09:21 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:55522 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726482AbgJMQJU (ORCPT ); Tue, 13 Oct 2020 12:09:20 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 16ECC400B3AD65B61D69; Wed, 14 Oct 2020 00:09:07 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.134) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Wed, 14 Oct 2020 00:08:59 +0800 From: Zhen Lei To: Rob Herring , Pavel Machek , Dan Murphy , linux-leds , Lee Jones , Benson Leung , "Enric Balletbo i Serra" , Guenter Roeck , Mark Brown , linux-spi , Lubomir Rintel , devicetree , linux-arm-kernel , linux-kernel CC: Zhen Lei Subject: [PATCH 2/6] dt-bindings: mfd: google, cros-ec: explicitly allow additional properties Date: Wed, 14 Oct 2020 00:08:41 +0800 Message-ID: <20201013160845.1772-3-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20201013160845.1772-1-thunder.leizhen@huawei.com> References: <20201013160845.1772-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.177.134] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org There are so many properties have not been described in this yaml file, and a lot of errors will be reported. Especially, some yaml files such as google,cros-ec-typec.yaml, extcon-usbc-cros-ec.yaml can not pass the self-check, because of the examples. So temporarily allow additional properties to keep the comprehensive dt_binding_check result clean. Signed-off-by: Zhen Lei --- Documentation/devicetree/bindings/mfd/google,cros-ec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.8.3 diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml index f49c0d5d31ad20e..e18047583a0c8fa 100644 --- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml +++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml @@ -87,7 +87,7 @@ then: google,cros-ec-spi-msg-delay: false spi-max-frequency: false -additionalProperties: false +additionalProperties: true examples: # Example for I2C From patchwork Tue Oct 13 16:08:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 317724 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp5706480ilm; Tue, 13 Oct 2020 09:09:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0gEclP3P09ivLAQgNvmnG/0WtUL4YhlyjZOF0SX9Msjv3LiJ8HjOOlQZRigzR6T4b1tzJ X-Received: by 2002:a1c:e2d5:: with SMTP id z204mr589077wmg.96.1602605384138; Tue, 13 Oct 2020 09:09:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602605384; cv=none; d=google.com; s=arc-20160816; b=XRzC7x9UuuCLQ3SRnPzj7HsPR7jRH/RqG3c9vlK8mqeGWEOyJqZdNk8kl1BBOVyLEV 6X/kEjAgD6Y4JRg3AGyHBosqmlyDB5snyyivK3hSswqYjStHJ6/fWfG/8czMcg9TOPbu 60DlSqfMeqA+FjdaRkBwReUUNZ1eGV42w9MtcztKXFGOWsi7UxVG0fnaOhVucooJp5Hg xD1HSD6IKWQE2rJ87hAPwIavDKlIELzBE+34uXDlRhpjQY9PdMA83aQMlmuF5552oV97 kjdn2De4r7Pxtt95mIdYVKRahpSIgmOqhcACGwLqp4Rs7nr9cuNzaedRWGGMzwg3HBvw qjhA== 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=N7Ql9JCd9ncNEaUPQd5WuMyQSqISLmdWa8xCPR9LDQ0=; b=i1mkTnlqWHjQh6WN8QbjQpD/RjlXsoj1HQSSXNGSrCYh47SkUO9tXM7Fl2pooN+PII pEwH2xwwZth98YBKudhbTbJXfYKVBleFXRwNa52jwUi5s9mjImskkYJSGbIZhXbp4Eyi n2clsKNxSl1EeqiLzY+XXokmStOEL1eYQNCclXsYJhn2VDPijMiY/+HvEeTf8GnsUCtg wo3yERuigxfWXWB2VIn/W+Rk6A08W0ZVEtmi4bNvYIJkWdObfP0Uul14CZeEf5jjCCc4 FaOOIatnK09zKdSH7zbIlcCL2bIVq2aZQUkGEuSii/u/EfXD5+soGa1Qi+b8W7gEViFd 34gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 m8si125339ejo.140.2020.10.13.09.09.43; Tue, 13 Oct 2020 09:09:44 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389140AbgJMQJV (ORCPT + 6 others); Tue, 13 Oct 2020 12:09:21 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:15282 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731480AbgJMQJR (ORCPT ); Tue, 13 Oct 2020 12:09:17 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id E6A97EBBA2AA58E2D919; Wed, 14 Oct 2020 00:09:11 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.134) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Wed, 14 Oct 2020 00:09:01 +0800 From: Zhen Lei To: Rob Herring , Pavel Machek , Dan Murphy , linux-leds , Lee Jones , Benson Leung , "Enric Balletbo i Serra" , Guenter Roeck , Mark Brown , linux-spi , Lubomir Rintel , devicetree , linux-arm-kernel , linux-kernel CC: Zhen Lei Subject: [PATCH 4/6] dt-bindings: misc: explicitly add #address-cells for slave mode Date: Wed, 14 Oct 2020 00:08:43 +0800 Message-ID: <20201013160845.1772-5-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20201013160845.1772-1-thunder.leizhen@huawei.com> References: <20201013160845.1772-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.177.134] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Explicitly add "#address-cells = <0>" and "#size-cells = <0>" to eliminate below warnings. (spi_bus_bridge): /example-0/spi: incorrect #address-cells for SPI bus (spi_bus_bridge): /example-0/spi: incorrect #size-cells for SPI bus (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' Signed-off-by: Zhen Lei --- Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml | 2 ++ 1 file changed, 2 insertions(+) -- 1.8.3 diff --git a/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml b/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml index ade733cd60f7925..b3c45c046ba5e37 100644 --- a/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml +++ b/Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml @@ -42,6 +42,8 @@ examples: spi { spi-slave; + #address-cells = <0>; + #size-cells = <0>; ready-gpios = <&gpio 125 GPIO_ACTIVE_HIGH>; slave {