Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4607049pxv; Tue, 27 Jul 2021 11:27:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr2nUFxeAVISRIV5GucDo6+HnDnJ7aNZ2kPdx0Pbd3C50lPC+9XICVoFRKE4P8Nk7TJjC0 X-Received: by 2002:a05:6e02:2162:: with SMTP id s2mr17878316ilv.99.1627410467057; Tue, 27 Jul 2021 11:27:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627410467; cv=none; d=google.com; s=arc-20160816; b=wuW5Hdc7HXEwr7dNSKAcEbNUyzQYxPIjx9iWE8xmUtjMhsdovt99RN23OuI747j23U IuIqVGXbgJKlFdWL0R365xbwFvPMwVnMgJr1yTac+nLB6Z0yIAYL1ZGu4sPd36UXiYJg vKhGWF/tocmshhUBX0eCOk8JAGBDeH3IVNi4kNeE6dpaEZ8ynzQvOwy4MyYnxJR9eg8z WjEaTMVQjkpTVsUHmvDca5kdUsxtH6+r696fRT28Vv7+qofnn5eVr6fMIvzJS3G4npcL iFYxjXhetyPD1adrNaLTxNpot1p6HYW0jczZ1MwzXC54wO8uETrX4hmoRi0l3lM3/QU2 rb6Q== 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=3DEZXygmMlbze51t61j0f6IluPe9JhL1JPPs4o0+k/c=; b=KvZ/oVWINoAF98cZebSZeEK4k3ndqwQjKTML9lpoeMUBleooI3W4NuzyNlGjLSyNf7 Wy/pwK3xxUvtCE6TS++MoDzxC1HILO9uqUwG8n4erhMhtyCLx/CGtXFBAB/zad2XLWi3 RUDwsPUU5+mH1tEI0/X08/DAdOuhDK6UEL4xJzUMJw9hM9BZ+x4RixyK5uih8jWN+7gP iQixR/8jy/vh0N5vewGWFoqsh/7esUBJSo06dgDHpP/2DwwvS6G7qRKIaPUn1WZJ2HcX +IqT41EUmNbVMD5zQBRRPILfl08CZIInU7e4L27+ws5M/yXuRxfxjCifenWI0lrg9tlZ XD+A== 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 s12si3791585iog.99.2021.07.27.11.27.33; Tue, 27 Jul 2021 11:27:47 -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 S229879AbhG0S0l (ORCPT + 99 others); Tue, 27 Jul 2021 14:26:41 -0400 Received: from mail-il1-f182.google.com ([209.85.166.182]:44756 "EHLO mail-il1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbhG0S0k (ORCPT ); Tue, 27 Jul 2021 14:26:40 -0400 Received: by mail-il1-f182.google.com with SMTP id o7so162911ilh.11; Tue, 27 Jul 2021 11:26:40 -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=3DEZXygmMlbze51t61j0f6IluPe9JhL1JPPs4o0+k/c=; b=JUhzvjk4VfvedQWDbz86cKmdII61TH7wO6Qy/WMmvd6haqYLlzhpeaXbLiCika6MhH WdvvalGiFp7Y7gKKMygJ9qTasdtPmYCzna66aBvOL3ZmjDGJ9ssgtTgnx3l8Wtm8NyWN k+5wVcvWj/6FXK0Cu9UWoq1hVUogeOwNzhAkXQE84MBUJTvTiaNdcGAyCbKzvcYxbexj hesIJ+7kce+rpCnk7i1q2UzeDbk8diPMeB0VDirQBUr0QqFTMs3ybGzlpKq5c0jG7p/E 5+X7eeLwJ3YFww0cCcoadiMLegVEouDFX1tafgnZlPkOOKL+ePY5T6+28ko8/uDMkpNc fOGw== X-Gm-Message-State: AOAM533/iVgLDzhrHbhgUQ9Fs+MOJUEkdpdotMGnIF3NJg4o4fj4Ly46 cVNraidb5M3UbwiAA0XD6A== X-Received: by 2002:a92:7d08:: with SMTP id y8mr17500252ilc.111.1627410399986; Tue, 27 Jul 2021 11:26:39 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id i11sm2301722ilb.15.2021.07.27.11.26.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jul 2021 11:26:39 -0700 (PDT) Received: (nullmailer pid 3210651 invoked by uid 1000); Tue, 27 Jul 2021 18:26:35 -0000 From: Rob Herring To: Yunfei Dong Cc: linux-kernel@vger.kernel.org, Hsin-Yi Wang , Rob Herring , Tiffany Lin , linux-media@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com, Mauro Carvalho Chehab , Tomasz Figa , Irui Wang , Andrew-CT Chen , Matthias Brugger , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, Tzung-Bi Shih , Fritz Koenig , Hans Verkuil , Alexandre Courbot , linux-arm-kernel@lists.infradead.org, srv_heupstream@mediatek.com In-Reply-To: <20210727101051.24418-14-yunfei.dong@mediatek.com> References: <20210727101051.24418-1-yunfei.dong@mediatek.com> <20210727101051.24418-14-yunfei.dong@mediatek.com> Subject: Re: [PATCH v3, 13/15] dt-bindings: media: mtk-vcodec: Adds decoder dt-bindings for mt8192 Date: Tue, 27 Jul 2021 12:26:35 -0600 Message-Id: <1627410395.860934.3210650.nullmailer@robh.at.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 27 Jul 2021 18:10:49 +0800, Yunfei Dong wrote: > Adds decoder dt-bindings for mt8192. > > Signed-off-by: Yunfei Dong > --- > v3: Fix yaml check fail. > --- > .../media/mediatek,vcodec-comp-decoder.yaml | 154 ++++++++++++++++++ > 1 file changed, 154 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.yaml > 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: dtschema/dtc warnings/errors: make[1]: *** Deleting file 'Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.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 434, in load return constructor.get_single_data() File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 122, in get_single_data return self.construct_document(node) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 132, in construct_document for _dummy in generator: File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 722, in construct_yaml_map value = self.construct_mapping(node) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 446, in construct_mapping return BaseConstructor.construct_mapping(self, node, deep=deep) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 264, in construct_mapping if self.check_mapping_key(node, key_node, mapping, key, value): File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 295, in check_mapping_key raise DuplicateKeyError(*args) ruamel.yaml.constructor.DuplicateKeyError: while constructing a mapping in "", line 19, column 5 found duplicate key "items" with value "[]" (original value: "[]") in "", line 21, column 5 To suppress this check see: http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys Duplicate keys will become an error in future releases, and are errors by default when using the new API. make[1]: *** [Documentation/devicetree/bindings/Makefile:20: Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.example.dts] Error 1 make[1]: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "/usr/local/bin/dt-doc-validate", line 67, in ret = check_doc(f) File "/usr/local/bin/dt-doc-validate", line 25, in check_doc testtree = dtschema.load(filename, line_number=line_number) File "/usr/local/lib/python3.8/dist-packages/dtschema/lib.py", line 623, in load return yaml.load(f.read()) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/main.py", line 434, in load return constructor.get_single_data() File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 122, in get_single_data return self.construct_document(node) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 132, in construct_document for _dummy in generator: File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 722, in construct_yaml_map value = self.construct_mapping(node) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 446, in construct_mapping return BaseConstructor.construct_mapping(self, node, deep=deep) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 264, in construct_mapping if self.check_mapping_key(node, key_node, mapping, key, value): File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 295, in check_mapping_key raise DuplicateKeyError(*args) ruamel.yaml.constructor.DuplicateKeyError: while constructing a mapping in "", line 19, column 5 found duplicate key "items" with value "[]" (original value: "[]") in "", line 21, column 5 To suppress this check see: http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys Duplicate keys will become an error in future releases, and are errors by default when using the new API. make[1]: *** Deleting file 'Documentation/devicetree/bindings/processed-schema-examples.json' Traceback (most recent call last): File "/usr/local/bin/dt-mk-schema", line 38, in schemas = dtschema.process_schemas(args.schemas, core_schema=(not args.useronly)) File "/usr/local/lib/python3.8/dist-packages/dtschema/lib.py", line 585, in process_schemas sch = process_schema(os.path.abspath(filename)) File "/usr/local/lib/python3.8/dist-packages/dtschema/lib.py", line 558, in process_schema schema = load_schema(filename) File "/usr/local/lib/python3.8/dist-packages/dtschema/lib.py", line 125, in load_schema return do_load(os.path.join(schema_basedir, schema)) File "/usr/local/lib/python3.8/dist-packages/dtschema/lib.py", line 111, in do_load return yaml.load(f.read()) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/main.py", line 434, in load return constructor.get_single_data() File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 122, in get_single_data return self.construct_document(node) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 132, in construct_document for _dummy in generator: File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 722, in construct_yaml_map value = self.construct_mapping(node) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 446, in construct_mapping return BaseConstructor.construct_mapping(self, node, deep=deep) File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 264, in construct_mapping if self.check_mapping_key(node, key_node, mapping, key, value): File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 295, in check_mapping_key raise DuplicateKeyError(*args) ruamel.yaml.constructor.DuplicateKeyError: while constructing a mapping in "", line 19, column 5 found duplicate key "items" with value "[]" (original value: "[]") in "", line 21, column 5 To suppress this check see: http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys Duplicate keys will become an error in future releases, and are errors by default when using the new API. make[1]: *** [Documentation/devicetree/bindings/Makefile:62: Documentation/devicetree/bindings/processed-schema-examples.json] Error 1 make: *** [Makefile:1418: dt_binding_check] Error 2 \ndoc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/patch/1510417 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.