Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2933767pxy; Mon, 3 May 2021 11:11:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+kEah5MApzQJZGVJ05/DtwBq0QpPrSP/Gz9ufGSogduX3rNo9lmvzdox4jI1ewkYpZ25K X-Received: by 2002:a17:90a:aa11:: with SMTP id k17mr32840865pjq.211.1620065486162; Mon, 03 May 2021 11:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620065486; cv=none; d=google.com; s=arc-20160816; b=l83NtShsYR/zWJN8LXJ/XeknRsKNPFopRDMdCA5EZsK/2PrXvk3frCI81u+Rx322Fa Qa9R+Q10A+g9XbS63INFb3cdR7SfgSoq1FUtOHXY2hgyMaNTww26PDeCMJ4Q1+Al94bo B5OzwtW3zARHEzWe2bdBcQq8zIxcrrAsDbqPpzpviHPjLm7zGSQ+yGwj6JgtxnfXbLNc wldvQ7CphDrQPOSPJnsaU4ApJ7FtSp4wdFM3CAS0HdmWPyp521nZkuvrVMusAbXi9wE1 iqTCGRwzWKZ/sfYM9QWmju5wf8o24VWOfQFQSAKnRkGECBc4rjuVVPNK6RVfuJJm+I94 FibA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:references:in-reply-to :cc:to:from; bh=GdRfS0NHErZVUqqjMY2tvcA6NmXLytui8eUHJOfx6FM=; b=0GF7TwuJV8tQKkWAHfWi3Wk8qgknz40+UbqtdYfW4rqMVlNEWa4pWRsxojZ907jJDi Xpa5GvgwfkhYPQQW6At+qMMgcAOpD0KgQQ8L/cSkTlMnpuP7eDjwxiSmL1SsSZtk9gI2 iX+JG4YGZaQi5rhVeImNhe6UGaKM0sauT+IQtKSERO0e0Y92IbNhLKRLXy1i7V5rUfK3 SzfyMYJeanjlIclzsMTIS+m5YfzxUx/pQvGxIpTNzF6Rvd5EzFhGlVQdDUwnqMuY/fcI l4B9ZO9sn1LCIkU332T7ATNTO9MrfCPmXeYxgEvXZQcRvZrhAS8oJEjf6X1kxHXnyoF3 /mvg== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si413986pgu.582.2021.05.03.11.11.13; Mon, 03 May 2021 11:11:26 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230306AbhECPVs (ORCPT + 99 others); Mon, 3 May 2021 11:21:48 -0400 Received: from mail-ot1-f52.google.com ([209.85.210.52]:39885 "EHLO mail-ot1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230122AbhECPVl (ORCPT ); Mon, 3 May 2021 11:21:41 -0400 Received: by mail-ot1-f52.google.com with SMTP id 65-20020a9d03470000b02902808b4aec6dso5376957otv.6; Mon, 03 May 2021 08:20:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject:date :message-id; bh=GdRfS0NHErZVUqqjMY2tvcA6NmXLytui8eUHJOfx6FM=; b=PiFNPOjwt7FumqSiTYHzGh3JpR+Pmu+X7o/5oRdOhDfydSruReApvh0RSUKSuaInZN fyaUkU3b0QM34W1z4bWnhBbISD0ZmLAZQWCGPTtUFvbFYTKMRAUb3WFXUVLeYuJmVXay Ku65gpGa+mxJqmNrYtnC3fiqGVKNDa5NsCifRRWbmDNMME7q5YBbHuGjb/mg6orXjdfQ wgPF7Oh4zEzyFPBIQ6x49GNsbwJjnuh6+CuEAYZLqd521T1H3gpdD4YalNA7annbWSo/ vWVOVSRnQEG3qcghb+V1x3RW5bRH2mj/SprcWlQ9JJlgkDuE+IxMWoR1ljQVIc7Fymxh FSwQ== X-Gm-Message-State: AOAM531hIH9Q2oHF33zD2bxxAnAwpKSSkQ8JzSPDqe6PIUHNkIR7KP88 66LE+CMokHBmoQiY6Ko6nw== X-Received: by 2002:a05:6830:205a:: with SMTP id f26mr15125496otp.118.1620055247487; Mon, 03 May 2021 08:20:47 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id a19sm24101otk.31.2021.05.03.08.20.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 08:20:46 -0700 (PDT) Received: (nullmailer pid 1846828 invoked by uid 1000); Mon, 03 May 2021 15:20:45 -0000 From: Rob Herring To: Steven Lee Cc: "moderated list:ASPEED SD/MMC DRIVER" , Ryan Chen , open list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , ryan_chen@aspeedtech.com, "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@aspeedtech.com, Ulf Hansson , Joel Stanley , Hongweiz@ami.com In-Reply-To: <20210503014336.20256-2-steven_lee@aspeedtech.com> References: <20210503014336.20256-1-steven_lee@aspeedtech.com> <20210503014336.20256-2-steven_lee@aspeedtech.com> Subject: Re: [PATCH v2 1/3] dt-bindings: mmc: sdhci-of-aspeed: Add description for AST2600 EVB. Date: Mon, 03 May 2021 10:20:45 -0500 Message-Id: <1620055245.319540.1846827.nullmailer@robh.at.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.