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 0ED55C7618B for ; Tue, 14 Mar 2023 18:38:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231204AbjCNSil (ORCPT ); Tue, 14 Mar 2023 14:38:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231138AbjCNSie (ORCPT ); Tue, 14 Mar 2023 14:38:34 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FBD510426 for ; Tue, 14 Mar 2023 11:37:58 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id ek18so34747093edb.6 for ; Tue, 14 Mar 2023 11:37:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678819032; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=o4n8ZDqZiPoqxeYd6QYMyRvm/vwvtlHUwxPZLxc39CU=; b=RG3iokM/H+V4dfNtmqXcPt28qd3HMftFF/3gVOGdIc/gd+um1IhakY9MRaracGm80x rZ624QRJMMAAFpraEeRG0tuPVZAI8YUsTsWfGbandw5wfypLdC/vjcWlic/D6ranH1FO JJHsWR2OMzzEqMq3ogIPg4IRbk2t0qVaBrxnYx94jWzt0rkqMibp8Tf10R3Im6FjOQLV Gv/TZDg8XIQdotY86rpRsn2cgAQDbs9nSnbxXis8oiB86ENlNjgFAL5/DqImsuliRXgq 4P7Rtx5gG2NWLJybvNnEEAOSn/W2Qp2GimekfWyMbBhQf4TslM9C/PHAD4gtORkwy+0F hJHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678819032; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=o4n8ZDqZiPoqxeYd6QYMyRvm/vwvtlHUwxPZLxc39CU=; b=WUlxyIDaZO9jDMhyMLQWD7BhzmASFEfablLzs9Lx+xlulcpb+EOUVlh24VLx8oljRR Osy4lEhj6X8VvsJNSLHeP4vxKaD4yikPn9uryB/uzqT1k5CrI/8JJ82RTZnsOYtvVjCy hJgsHzMxyB/KDUS7i45hIjUqzFgpiMGgQ4Ju8Jmt1Vt4EhOveunxbfgRR72ckEwQaEaj TKWIBuZYR2w/hPGPt8OYj5rDs2xk+/o3h2YAK7H+WMu0tJjZHARiC3uwi9Pf67lrIpzv +++8847ns4twws8HouFvoFC9qNJ5AIl2Hb239/HV4CZYCmAZpDNDEhmoyk204La8f+BI g/0w== X-Gm-Message-State: AO0yUKW0gvdSwXgCfegrayszg3UyE/tiIWKKwW1qScqV6Whhel0iSQj+ Pjxu79izC+BfmNW7/N2e3wk+KQ== X-Google-Smtp-Source: AK7set+678Md91PWgDD5ODAtz6aldDFjZ4ZXZIPWxTn/TbLxnYFVm8Ci3CWLdyva+rSKdPmhgJtkJA== X-Received: by 2002:a17:907:a088:b0:927:8285:18a3 with SMTP id hu8-20020a170907a08800b00927828518a3mr3754387ejc.0.1678819030857; Tue, 14 Mar 2023 11:37:10 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:59be:4b3f:994b:e78c? ([2a02:810d:15c0:828:59be:4b3f:994b:e78c]) by smtp.gmail.com with ESMTPSA id c12-20020a170906528c00b0092b7c1352dfsm1466771ejm.68.2023.03.14.11.37.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Mar 2023 11:37:10 -0700 (PDT) Message-ID: Date: Tue, 14 Mar 2023 19:37:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH] media: dt-bindings: ov2685: convert to dtschema Content-Language: en-US To: Rob Herring , Luca Weiss Cc: linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , ~postmarketos/upstreaming@lists.sr.ht, Krzysztof Kozlowski , linux-media@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, Shunqian Zheng , phone-devel@vger.kernel.org References: <20230206-ov2685-dtschema-v1-1-9e4da3474c10@z3ntu.xyz> <167572017056.1564123.13342855865502188090.robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <167572017056.1564123.13342855865502188090.robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/02/2023 22:50, Rob Herring wrote: > > On Mon, 06 Feb 2023 21:23:16 +0100, Luca Weiss wrote: >> Convert the text-based dt-bindings to yaml. >> >> Changes from original txt: >> * Take wording for various properties from other yaml bindings, this >> removes e.g. volt amount from schema since it isn't really relevant >> and the datasheet is a better source. >> * Don't make reset-gpios a required property since it can be tied to >> DOVDD instead. >> >> Signed-off-by: Luca Weiss >> --- >> .../devicetree/bindings/media/i2c/ov2685.txt | 41 --------- >> .../devicetree/bindings/media/i2c/ovti,ov2685.yaml | 101 +++++++++++++++++++++ >> MAINTAINERS | 1 + >> 3 files changed, 102 insertions(+), 41 deletions(-) >> > > 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/dt-review-ci/linux/Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb: camera@3c: 'clocks' is a required property > From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb: camera@3c: 'clock-names' is a required property > From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb: camera@3c: 'dvdd-supply' is a required property > From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb: camera@3c: 'avdd-supply' is a required property > From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb: camera@3c: 'dovdd-supply' is a required property > From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov2685.yaml These are errors from the bindings, so they must be fixed. If you do not want to fix the rockchip bindings, just drop or replace the sensor in them. Best regards, Krzysztof