From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 786AEC433EF for ; Wed, 13 Jul 2022 13:25:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230450AbiGMNY7 (ORCPT ); Wed, 13 Jul 2022 09:24:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230206AbiGMNY4 (ORCPT ); Wed, 13 Jul 2022 09:24:56 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6929D2E8 for ; Wed, 13 Jul 2022 06:24:55 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id f2so15487383wrr.6 for ; Wed, 13 Jul 2022 06:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=yLLf2RupUAGZKj8nEeG0LSBEp5u3/qfodgo6k8ZYoVQ=; b=IbphrEpSNyolpp1NbysNG4wrCuerEaN0u+GrfUaqkpgfE2iwK3cWmYy5Ry5eOZHA/F LpuuNbiojQmj2LcHHHU3aN+H/UBSjVSM6jFoPjBfVaRodQkzp6RC86qbAhYJSkclrcgq ktdFqKZGBsC0k5DM8MkPias9TS5byU5qDy1TU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=yLLf2RupUAGZKj8nEeG0LSBEp5u3/qfodgo6k8ZYoVQ=; b=T1EsuBbfxKNdmXXsMsJ/djVKwe0FeyW90dLZt2fkwI8+oXH9V8NRJICWxmAMgvzxBv PUCXHrQkWhIJ8KkZah/FYzUPr0W2htuLd+F5x1X4uWiSa+JQxfil0z9ydhGB0oef6tLB cxsreTosZjd6zYrqvsVRGGrnFhRfeOI4eD5vkeB12P4MBm9aiEV6Kki15x7F47cdDzPH pVpaR7XA5CG7RhBMLzDGfJIyXhl+lMnWAF4CQT2Z6Qlg5nvSoCIvVD/7gkzTRT/0WsfE joUiDCDdpzKFvc+Sc1okiCN8OZdPe3U+M+xAmJWsbdu1z7owmO2fj4/Uu6IHcEOFgL4o kl4g== X-Gm-Message-State: AJIora9J8ogJiOScxQk6RKapOB1c1o1GBz98eXyA+aN7qbfI/rysdsQO 5dOqubVyhn6yh2PpfM8VaiNjrg== X-Google-Smtp-Source: AGRyM1sJgKfY+g8GvrSMzl/KBZW/B0KYhfoYIllSy9Fh3tv9EC2rCfNnX5e5CdMZTgruAmdrENUrQQ== X-Received: by 2002:a5d:4145:0:b0:21d:68ab:3bf with SMTP id c5-20020a5d4145000000b0021d68ab03bfmr3241320wrq.641.1657718693965; Wed, 13 Jul 2022 06:24:53 -0700 (PDT) Received: from tom-ThinkPad-T14s-Gen-2i (net-188-217-51-7.cust.vodafonedsl.it. [188.217.51.7]) by smtp.gmail.com with ESMTPSA id ay15-20020a05600c1e0f00b003a2fb1224d9sm1886641wmb.19.2022.07.13.06.24.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 06:24:53 -0700 (PDT) Date: Wed, 13 Jul 2022 15:24:51 +0200 From: Tommaso Merciai To: Krzysztof Kozlowski Cc: Rob Herring , linux-media@vger.kernel.org, quentin.schulz@theobroma-systems.com, Daniel Scally , linuxfancy@googlegroups.com, linux-amarula@amarulasolutions.com, Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 5/6] media: dt-bindings: ov5693: document YAML binding Message-ID: <20220713132451.GA1725944@tom-ThinkPad-T14s-Gen-2i> References: <20220712163349.1308540-1-tommaso.merciai@amarulasolutions.com> <20220712163349.1308540-6-tommaso.merciai@amarulasolutions.com> <1657664975.862137.2476655.nullmailer@robh.at.kernel.org> <20220713064845.GA1386778@tom-ThinkPad-T14s-Gen-2i> <87086513-787c-3b0d-80df-b90ebdc3a28c@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87086513-787c-3b0d-80df-b90ebdc3a28c@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 13, 2022 at 08:52:34AM +0200, Krzysztof Kozlowski wrote: > On 13/07/2022 08:48, Tommaso Merciai wrote: > > Hi Rob, > > > > On Tue, Jul 12, 2022 at 04:29:35PM -0600, Rob Herring wrote: > >> On Tue, 12 Jul 2022 18:33:48 +0200, Tommaso Merciai wrote: > >>> Add documentation of device tree in YAML schema for the OV5693 > >>> CMOS image sensor from Omnivision > >>> > >>> Signed-off-by: Tommaso Merciai > >>> Reviewed-by: Krzysztof Kozlowski > >>> --- > >>> Changes since v1: > >>> - Fix allOf position as suggested by Krzysztof > >>> - Remove port description as suggested by Krzysztof > >>> - Fix EOF as suggested by Krzysztof > >>> > >>> Changes since v2: > >>> - Fix commit body as suggested by Krzysztof > >>> > >>> Changes since v3: > >>> - Add reviewed-by tags, suggested by Jacopo, Krzysztof > >>> > >>> Changes since v4: > >>> - Remove wrong Sakari reviewed-by tag, suggested by Krzysztof, Sakari > >>> > >>> Changes since v5: > >>> - Remove dovdd-supply, avdd-supply, dvdd-supply from required properties > >>> as suggested by Jacopo > >>> > >>> .../bindings/media/i2c/ovti,ov5693.yaml | 103 ++++++++++++++++++ > >>> MAINTAINERS | 1 + > >>> 2 files changed, 104 insertions(+) > >>> create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov5693.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: > >> /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/media/i2c/ovti,ov5693.example.dtb: camera@36: Unevaluated properties are not allowed ('port' was unexpected) > >> From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/media/i2c/ovti,ov5693.yaml > >> > >> doc reference errors (make refcheckdocs): > >> > >> See https://patchwork.ozlabs.org/patch/ > >> > >> 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. > >> > > > > I run: > > > > pip3 install dtschema --upgrade > > > > Then I check .yaml using: > > > > make DT_CHECKER_FLAGS=-m dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/i2c/ovti,ov5693.yaml > > DTEX Documentation/devicetree/bindings/media/i2c/ovti,ov5693.example.dts > > LINT Documentation/devicetree/bindings > > CHKDT Documentation/devicetree/bindings/processed-schema.json > > SCHEMA Documentation/devicetree/bindings/processed-schema.json > > DTC Documentation/devicetree/bindings/media/i2c/ovti,ov5693.example.dtb > > CHECK Documentation/devicetree/bindings/media/i2c/ovti,ov5693.example.dtb > > > > No error on my side. I'm missing something? > > Rob's check are running newer dtschema, from master branch. The error he > reports is about missing port, although I thought it is coming from > video-interface-devices. Hi Krzysztof, Thanks for the info! :) Regards, Tommaso > > Best regards, > Krzysztof -- Tommaso Merciai Embedded Linux Engineer tommaso.merciai@amarulasolutions.com __________________________________ Amarula Solutions SRL Via Le Canevare 30, 31100 Treviso, Veneto, IT T. +39 042 243 5310 info@amarulasolutions.com www.amarulasolutions.com