Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp726006imw; Wed, 13 Jul 2022 07:00:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s1L2utVLQp0SdtP9SGqmouuvCsk900BZT+Qq9mTMRWpjGUo+oCB9bTqdup7sVbQgBQiRcT X-Received: by 2002:a63:e30f:0:b0:412:78f0:96ac with SMTP id f15-20020a63e30f000000b0041278f096acmr2973298pgh.603.1657720849293; Wed, 13 Jul 2022 07:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657720849; cv=none; d=google.com; s=arc-20160816; b=I6KRj+fcQrEOIXxTuP8yNpbipJCZtin6/OJsG1i6Z7eamuXDtfsN9udvUPCw5gCTUG JktFvezXNyykS1E3eDBWWEPBIQUFtpaqXWvBfRwzy9GgxhNU8OBiG5aQuF0VC/ZI/Sps bjQYWPToCBJbbUDQPyUEnW99vzNe+WXnZJIceHfAKePjAPrdZdfWJj0RKZ70IItV02QE 21XqfvtKZJUtTiSF2PaLtCvVIHIURyR2MBfNxahRSkpDF0rVGZl3kH14vwg+wju1G/CY iY4bQDmA+Yp2zv39wStsy6VoqnYxVLxYvVYxQIQSYvnyg6aLXP/+lcFfnnX0/BmG2apa jXsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yLLf2RupUAGZKj8nEeG0LSBEp5u3/qfodgo6k8ZYoVQ=; b=boju9L7eHR7wdnXAFnd9SDCAKja2CuwfQST/Jaairl+CmPQUPTLCZSiZRjIIrC52K0 ajUsatoTj7osl9OHG75Dxa39Feev4Ewz5JqJTvM7MtpM5wBxxIOAMsUPqAleca1cXl07 xmIoD8CuyO6Pt+uk2rqZk4mCyWTGM4MITVLpDSJHDY9kFcDdQv4KB3ZvMommWosTXxmV 8vdqKpi29F6lo2Z3m2dKnOjnwHUwl+kAaVwd6pXJU50HdOdXfHaZCTNrxVC9k7xC1zaF Gu6X+fmAGl6NAIm7OLc+A7nE090qJqFTJk/YosolwlTTK5142eog5HObX5hI66q6UMqd P7Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IbphrEpS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x189-20020a6386c6000000b00415ef8c15f1si12700311pgd.486.2022.07.13.07.00.36; Wed, 13 Jul 2022 07:00:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IbphrEpS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236087AbiGMNY6 (ORCPT + 99 others); Wed, 13 Jul 2022 09:24:58 -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-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> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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