Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1612226pxb; Mon, 11 Oct 2021 09:28:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXH2YaIp7GMzLB+pCUyyYEEzB59RCnkMjanl7qi0EQK0gjTs1MrWszeIP8hFwgeT+zU/yE X-Received: by 2002:a50:cd02:: with SMTP id z2mr42682810edi.241.1633969708207; Mon, 11 Oct 2021 09:28:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633969708; cv=none; d=google.com; s=arc-20160816; b=SMvQMtwvcmsz810vNWG841yUHN9NKYPcSA1/EmEFS2vyOubg3228tbY3MQZi9dZBEm 73MM+dpGgM0FVBGSChx7Y1hhbLCwrfgqloObMSPPgPTKnPX2MhBQksjAU+tTwx/xRavC lMvqFZE+GGaxA4bGZCgnSaMBgQRAOjY8uktDdr8LWH6R+RzO6QySJf/x62X0MX10ufSh PiwKxK4OvXvAHSYd6q9YCOHADUumSzUyJ1yXM8vZAYc6MWTnqdHKs+uHIb4fzjyefsBf QDox3aK9zf1LSw5kAkj6cUdsHSz88ALSX37aMyNmG/jUzAhCox31hUh38MuO0weg1aCP HBlA== 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=FwobwD3dd/WQMo67DlN9a1cS0XJZiy4pf9ac1aljPJ4=; b=hfnRoIQLo4+zQEP2mtSelrswj0qZhWEVdclIQp9ADKO2ff+MTwCcLoYP84Cpme1Uia DwuA5dYFhI03gMJhorQxqHnotmgf1XVq2qHdS1zmQLzQB3rkOxRlXRGXrBkm8dTOKvO9 9N59iPoOOxnxjOAcjjzTZCNMpRxW+8+OBnN6vYnImm+0npLR3jdKU//TZhoM3zAiSZnN Jjd4cY4VDtrJ5HsTgGRTGGgm246wIzdQ8O4+LUZZ6daG5JdH+cRXVukz0DzjHAr9M5BH DGpcc3S5XQq/l1MqCN3SD9zhyQLiLl0T16So5E7oo/InBmesBtoSEYU/T6Z9IPpyDnsG 279A== 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 p9si12193598ejg.760.2021.10.11.09.28.03; Mon, 11 Oct 2021 09:28:28 -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 S236936AbhJKNiV (ORCPT + 99 others); Mon, 11 Oct 2021 09:38:21 -0400 Received: from mail-oi1-f180.google.com ([209.85.167.180]:33782 "EHLO mail-oi1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235759AbhJKNiU (ORCPT ); Mon, 11 Oct 2021 09:38:20 -0400 Received: by mail-oi1-f180.google.com with SMTP id q129so3938646oib.0; Mon, 11 Oct 2021 06:36:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject:date :message-id; bh=FwobwD3dd/WQMo67DlN9a1cS0XJZiy4pf9ac1aljPJ4=; b=F7liqH4PNPhADiDhSHJvMDhrP5cF3OV/4l0ZKvZKtIr0lcmYKk5G5sUFVIg8JPbBqu cKurPa2Kv5AzQWQRlgw4liaF7PfQAFFQik3SAfn/QqmMV6qNA0aipF7vYkwMtQv8IcoW LiVgruoYmAbeAEO3IyVp6uJ3X6n5c2iwT2RAFtWKO7R3oShpPerkUrKdfidXBeSIoO2m 3jflmOyZSh4k7eaZU+NRzi3FXgB8Ip+pUA0nAf2fJ5nMa+vrpumGFlJnVPAhLbHHu1Fu PUmuzgTW3GRYDqaoWrh+8xAoBOWvq/HdyWCmfsJHWGZJMf4eMJg0kuTutCSmZ5SVQ9XN xjaQ== X-Gm-Message-State: AOAM5339WXFGfafcgXr7FIWzLIE3J31xb005gVvDgQtE8j0AP5Wtdlq5 lhBoI9hY5HkISxXs7goJOg== X-Received: by 2002:aca:d741:: with SMTP id o62mr6830038oig.62.1633959380237; Mon, 11 Oct 2021 06:36:20 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id y5sm661869otg.52.2021.10.11.06.36.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Oct 2021 06:36:19 -0700 (PDT) Received: (nullmailer pid 504939 invoked by uid 1000); Mon, 11 Oct 2021 13:36:18 -0000 From: Rob Herring To: Yunfei Dong Cc: dri-devel , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com, Benjamin Gaignard , Rob Herring , Matthias Brugger , Hsin-Yi Wang , Alexandre Courbot , Hans Verkuil , Tomasz Figa , Daniel Vetter , Andrew-CT Chen , Irui Wang , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tzung-Bi Shih , srv_heupstream@mediatek.com, Dafna Hirschfeld , Tiffany Lin , Fritz Koenig , Mauro Carvalho Chehab In-Reply-To: <20211011070247.792-14-yunfei.dong@mediatek.com> References: <20211011070247.792-1-yunfei.dong@mediatek.com> <20211011070247.792-14-yunfei.dong@mediatek.com> Subject: Re: [PATCH v7, 13/15] dt-bindings: media: mtk-vcodec: Adds decoder dt-bindings for mt8192 Date: Mon, 11 Oct 2021 08:36:18 -0500 Message-Id: <1633959378.213918.504938.nullmailer@robh.at.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 Oct 2021 15:02:45 +0800, Yunfei Dong wrote: > Adds decoder dt-bindings for mt8192. > > Signed-off-by: Yunfei Dong > --- > v7: Re-write dtsi for hardware architecture changed > --- > .../media/mediatek,vcodec-comp-decoder.yaml | 193 ++++++++++++++++++ > 1 file changed, 193 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: ./Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.yaml:44:7: [warning] wrong indentation: expected 4 but found 6 (indentation) ./Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.yaml:88:7: [warning] wrong indentation: expected 2 but found 6 (indentation) ./Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.yaml:193:7: [error] no new line character at the end of file (new-line-at-end-of-file) dtschema/dtc warnings/errors: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.yaml: properties:compatible: [{'enum': ['mediatek,mt8192-vcodec-dec', 'mediatek,mtk-vcodec-lat', 'mediatek,mtk-vcodec-core']}] is not of type 'object', 'boolean' from schema $id: http://json-schema.org/draft-07/schema# ./Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.yaml: $id: relative path/filename doesn't match actual path or filename expected: http://devicetree.org/schemas/media/mediatek,vcodec-comp-decoder.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.yaml: ignoring, error in schema: properties: compatible warning: no schema found in file: ./Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.yaml Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.example.dts:29.13-20: Warning (ranges_format): /example-0/vcodec_dec@16000000:ranges: empty "ranges" property but its #address-cells (2) differs from /example-0 (1) Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.example.dts:29.13-20: Warning (ranges_format): /example-0/vcodec_dec@16000000:ranges: empty "ranges" property but its #size-cells (2) differs from /example-0 (1) Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.example.dts:33.13-66: Warning (dma_ranges_format): /example-0/vcodec_dec@16000000:dma-ranges: "dma-ranges" property has invalid length (24 bytes) (parent #address-cells == 1, child #address-cells == 2, #size-cells == 2) Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.example.dts:34.24-57.15: Warning (unit_address_vs_reg): /example-0/vcodec_dec@16000000/vcodec_lat: node has a reg or ranges property, but no unit name Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.example.dts:59.25-85.15: Warning (unit_address_vs_reg): /example-0/vcodec_dec@16000000/vcodec_core: node has a reg or ranges property, but no unit name /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.example.dt.yaml: example-0: vcodec_dec@16000000:reg:0: [0, 369098752, 0, 4096] is too long From schema: /usr/local/lib/python3.8/dist-packages/dtschema/schemas/reg.yaml Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.example.dt.yaml:0:0: /example-0/vcodec_dec@16000000: failed to match any schema with compatible: ['mediatek,mt8192-vcodec-dec'] Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.example.dt.yaml:0:0: /example-0/vcodec_dec@16000000/vcodec_lat: failed to match any schema with compatible: ['mediatek,mtk-vcodec-lat'] Documentation/devicetree/bindings/media/mediatek,vcodec-comp-decoder.example.dt.yaml:0:0: /example-0/vcodec_dec@16000000/vcodec_core: failed to match any schema with compatible: ['mediatek,mtk-vcodec-core'] doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/patch/1539139 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.