Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3228107pxy; Mon, 3 May 2021 19:12:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZBJElpDF4Ee5qwcmRTIDYMoC1nOdpMaKVTMo4owfBDIPbUE4D5D6jAbMvDDYeo43BJ89l X-Received: by 2002:a17:902:9f88:b029:ee:b4e5:64d4 with SMTP id g8-20020a1709029f88b02900eeb4e564d4mr15364430plq.41.1620094360436; Mon, 03 May 2021 19:12:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620094360; cv=none; d=google.com; s=arc-20160816; b=HgnP0Rrk+BF3HVgc5K7RveOCwTjRn2nuphMDFES65JtarYDHq4NCijjd4k0MLdif/e BsOdkdGa1fKfHZ3i5FhJI1DmdKi/9kAYa0JiMBk9VRiByUsACkr6lYwb9MYF+fUZ/rGr nGFyGVx00STeuvLc+tJCbT0M/7tfmt+zp62IapXLLeLi663c1tf/Ve8PrnRhgHR18tdw P/0jMbNS9febph+19b4G3o3X/nsUeSV5H8J/wwCeu+b0UGvHR0F9wIIplD/Pr9UH9dUK kDyftj22krCgNjaVixEYkm7oORR5NTD3VAY3lLRryC2MjxKajKPrSV0XtiD61nJIAy78 xwxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=3suU2FudCYTuvUd7j1qMNQ6p/SGqDwk0wco+atHO8pg=; b=RUgIVI0mj/2+JuZor3VCbtMCITmZgvJt+nQecv4Q5QBmoXACp5NB4z3hpmO6FdCwDz kadl3yjnkFkummv1jUPtbH5Df4/145yDmsF6Pj0Xp4fCj2jWVJOQEd5wuRK6W9GG3Qyy OJGDAnToqYFhO2vYmVDTh/rS2QBMsxUVtHL5IrurKQ4wTRo+TRgUgv375AJGOaXBZUDS Ozi1YJU9JGAPQcOYqeHc5zx+IYtTwBGbDBIyCW+qAJENU1OQZn1UDb5X20dfw0AgwQ7C RX7c+btTKhLcvQFwdIW4gyEKsHKgFAmcRIeXE8xhvdrhdAK740Uzb0eSFFGK18KafQey UUxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 ns3si1408712pjb.57.2021.05.03.19.12.27; Mon, 03 May 2021 19:12:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229708AbhEDBtE (ORCPT + 99 others); Mon, 3 May 2021 21:49:04 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:11938 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229603AbhEDBtD (ORCPT ); Mon, 3 May 2021 21:49:03 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 1441YjVt019378; Tue, 4 May 2021 09:34:45 +0800 (GMT-8) (envelope-from steven_lee@aspeedtech.com) Received: from aspeedtech.com (192.168.100.253) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 4 May 2021 09:46:26 +0800 Date: Tue, 4 May 2021 09:46:23 +0800 From: Steven Lee To: Rob Herring CC: "moderated list:ASPEED SD/MMC DRIVER" , "Ryan Chen" , open list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Ryan Chen , "moderated list:ASPEED SD/MMC DRIVER" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , "open list:ASPEED SD/MMC DRIVER" , Andrew Jeffery , Rob Herring , Chin-Ting Kuo , "Ulf Hansson" , Joel Stanley , "Hongweiz@ami.com" Subject: Re: [PATCH v2 1/3] dt-bindings: mmc: sdhci-of-aspeed: Add description for AST2600 EVB. Message-ID: <20210504014622.GB20079@aspeedtech.com> References: <20210503014336.20256-1-steven_lee@aspeedtech.com> <20210503014336.20256-2-steven_lee@aspeedtech.com> <1620055245.319540.1846827.nullmailer@robh.at.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <1620055245.319540.1846827.nullmailer@robh.at.kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [192.168.100.253] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 1441YjVt019378 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 05/03/2021 23:20, Rob Herring wrote: > On Mon, 03 May 2021 09:43:34 +0800, Steven Lee wrote: > > Add the description for describing the AST 2600 EVB reference design of > > GPIO regulators and provide the example in the document. > > > > AST2600-A2 EVB has the reference design for enabling SD bus > > power and toggling SD bus signal voltage by GPIO pins. > > > > In the reference design, GPIOV0 of AST2600-A2 EVB is connected to > > power load switch that providing 3.3v to SD1 bus vdd. GPIOV1 is > > connected to a 1.8v and a 3.3v power load switch that providing > > signal voltage to > > SD1 bus. > > > > If GPIOV0 is active high, SD1 bus is enabled. Otherwise, SD1 bus is > > disabled. > > If GPIOV1 is active high, 3.3v power load switch is enabled, SD1 > > signal voltage is 3.3v. Otherwise, 1.8v power load switch will be > > enabled, SD1 signal voltage becomes 1.8v. > > > > AST2600-A2 EVB also support toggling signal voltage for SD2 bus. > > The design is the same as SD1 bus. It uses GPIOV2 as power-gpio and > > GPIOV3 as power-switch-gpio. > > > > Signed-off-by: Steven Lee > > --- > > .../devicetree/bindings/mmc/aspeed,sdhci.yaml | 99 +++++++++++++++++++ > > 1 file changed, 99 insertions(+) > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > yamllint warnings/errors: > ./Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml:97:5: [error] syntax error: expected , but found '' (syntax) > > dtschema/dtc warnings/errors: > make[1]: *** Deleting file 'Documentation/devicetree/bindings/mmc/aspeed,sdhci.example.dts' > Traceback (most recent call last): > File "/usr/local/bin/dt-extract-example", line 45, in > binding = yaml.load(open(args.yamlfile, encoding='utf-8').read()) > File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/main.py", line 421, in load > return constructor.get_single_data() > File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 109, in get_single_data > node = self.composer.get_single_node() > File "_ruamel_yaml.pyx", line 706, in _ruamel_yaml.CParser.get_single_node > File "_ruamel_yaml.pyx", line 724, in _ruamel_yaml.CParser._compose_document > File "_ruamel_yaml.pyx", line 775, in _ruamel_yaml.CParser._compose_node > File "_ruamel_yaml.pyx", line 891, in _ruamel_yaml.CParser._compose_mapping_node > File "_ruamel_yaml.pyx", line 904, in _ruamel_yaml.CParser._parse_next_event > ruamel.yaml.parser.ParserError: while parsing a block mapping > in "", line 5, column 1 > did not find expected key > in "", line 97, column 5 > make[1]: *** [Documentation/devicetree/bindings/Makefile:20: Documentation/devicetree/bindings/mmc/aspeed,sdhci.example.dts] Error 1 > make[1]: *** Waiting for unfinished jobs.... > ./Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml: while parsing a block mapping > in "", line 5, column 1 > did not find expected key > in "", line 97, column 5 > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml: ignoring, error parsing file > warning: no schema found in file: ./Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml > make: *** [Makefile:1414: dt_binding_check] Error 2 > > See https://patchwork.ozlabs.org/patch/1472993 > > This check can fail if there are any dependencies. The base for a patch > series is generally the most recent rc1. > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure 'yamllint' is installed and dt-schema is up to > date: > > pip3 install dtschema --upgrade > > Please check and re-submit. > Thanks for the log and the information, I will install the package and do the check before re-submiting the patch.