Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2516108imw; Sun, 10 Jul 2022 08:13:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u0ZGU3O6Bu03urJEMY6Y92t4fDytl4uyi0ln/kITU4CUeDZBU4Ml7HeneRWB6yCXj96R54 X-Received: by 2002:a05:6402:51ca:b0:437:79a9:4dd with SMTP id r10-20020a05640251ca00b0043779a904ddmr18646761edd.319.1657466037214; Sun, 10 Jul 2022 08:13:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657466037; cv=none; d=google.com; s=arc-20160816; b=Gel0hX6c00+w7LvG8ru9zFkn6PDB3+Dq6cAAU6n6NSaz4BboJe7tGFfYTT3qRDYU01 iyXdBGQCd3pBNXH7vws21c/26bHVZk4hNtcWIky3L/4IqyIc8Nktnyhtni+pmcRm9FDh 1KRmFgxRM++5R3EnCudTvjVPrskWixJl8jXAMDooZ0NUBkLNqfww/ZUBkoSED49zeiOf 8WguY86VCoIAd+eZ+Yp7fUK4aR8dDb2CA/4Wt9TGCM2HpKoxJ7iGc+Ce25R88fPMypnX YALqMSDARUszZqIDhkGRYNlc2CZJksAku0ZoUXoXjz++CtdYejfH9vTwWzvdyMqruD/T O7+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=NrSFqXui8IuFWW18AV7BX9JJnZg6RCMbeeOF3ySerrE=; b=kP5WLQd48JLJKez16G+YBZMxQhGxhTdz9IzLN+7DxF1db6bsJjdlD2sTzR8Wfw9eIW uQikUs9HH2kJD5RZu85ysSJWhyeWu/wOtfXVOdq2JB1aUSzM0sFLGcHPNKweEuacHg7m UDIXKXjHO3rEZv9sKFt8g8Hvm4j8QR77mFcj+u3d68pvP1QT3A8xthJUb/abfSni6SVq uPzPw10n1crxvZQP1N229UwDWgo/tscyQFoI4g7GIjWX0c63clqSa8+bHLUTZcD+eAh0 3WsPqDI8+JeeODRBdI72i8swOSws5GhrPqWBXt1RaijJJJ//8ms+zKguvUUHB3qWfGOR YDvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QMoJgDgr; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne15-20020a1709077b8f00b006f3a306a1e7si7269995ejc.555.2022.07.10.08.13.19; Sun, 10 Jul 2022 08:13:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@linaro.org header.s=google header.b=QMoJgDgr; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229612AbiGJPMx (ORCPT + 99 others); Sun, 10 Jul 2022 11:12:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbiGJPMw (ORCPT ); Sun, 10 Jul 2022 11:12:52 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C15DBE00 for ; Sun, 10 Jul 2022 08:12:51 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id 19so3632595ljz.4 for ; Sun, 10 Jul 2022 08:12:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=NrSFqXui8IuFWW18AV7BX9JJnZg6RCMbeeOF3ySerrE=; b=QMoJgDgrWpoHgt8V935Yj0tZ7gW3LZdDygouB/iufA4mk/EYDXJyLplXfyn9C8aN3A uIDA0Tu/wnZF2BfBFlpKqh4VyroAYuQZqBcdpiZdNqmtc1Z5K0m7VaZCj9hr+NPEj35l BPUIU1LpogI7MI0Z2g9xvpzLPWDCfvUhqRZswOndvhygeYTuQ8N329fsjMyYoMlPMYqw F5KZ/a6Qya+85rPNA5stUj9xKIurX7xzNqVFP9yMbwrQYxAP3NoSkTUTKHqlfCKkzx6r PnWE30Qp6vO43T+WD+r3zVXt+y24fZZfpGbNtPSRRMTbGF8XcgFbk+cwU5SF+8I8uRG7 8q0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=NrSFqXui8IuFWW18AV7BX9JJnZg6RCMbeeOF3ySerrE=; b=kzYRThUkZGECKZ+Lgvuo2gEYunSPK1wcL+yMmc+a2+zv4hY8GBzattK7ahywlvQahP hNmXlipRQ6H5LGHzyDmV/Yo5JxBQaE3R3cKbWAHilkONqE3NWwk6W1bOs+qQTgiUW9mp heP+H4G0Q/bjCQSsp2VoJdqPlbE6EQfUFUygvVO2+FxEgGVTZGJ4ZYIX5iiLvnI2Kzrg CSZNspczJ8HnD9JtTOYYj662q3aYoGBzDWIck/mdLi6vs26Xqiv5a85AlO4oQwgRTbVf rpFq90K+amGxRJZ1hjzc/4hznSAYPWOIdBZGBcQ386LcBpdirPpdVLllZbnhvrfRMqkO pxtQ== X-Gm-Message-State: AJIora868+Oe58MkBs3HUlq0HMRnHJ+q/TxJfJEuODtVf8ZxetUDN0yk sYRvLROJ8VdxQJm7TR6uQZzdlQ== X-Received: by 2002:a2e:83c7:0:b0:25b:c007:29e0 with SMTP id s7-20020a2e83c7000000b0025bc00729e0mr7525140ljh.378.1657465969512; Sun, 10 Jul 2022 08:12:49 -0700 (PDT) Received: from [10.0.0.8] (fwa5cac-200.bb.online.no. [88.92.172.200]) by smtp.gmail.com with ESMTPSA id y18-20020a199152000000b00486d8a63c07sm976213lfj.121.2022.07.10.08.12.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Jul 2022 08:12:49 -0700 (PDT) Message-ID: Date: Sun, 10 Jul 2022 17:12:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v8 25/33] dt-bindings: crypto: rockchip: convert to new driver bindings Content-Language: en-US To: LABBE Corentin Cc: Rob Herring , john@metanate.com, heiko@sntech.de, p.zabel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, didi.debian@cknow.org, herbert@gondor.apana.org.au, sboyd@kernel.org, mturquette@baylibre.com, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org References: <20220706090412.806101-1-clabbe@baylibre.com> <20220706090412.806101-26-clabbe@baylibre.com> <1657114144.957232.4099933.nullmailer@robh.at.kernel.org> <3e47b853-bb82-8766-8884-3da931c038a2@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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-crypto@vger.kernel.org On 07/07/2022 10:37, LABBE Corentin wrote: > Le Wed, Jul 06, 2022 at 05:25:21PM +0200, Krzysztof Kozlowski a écrit : >> On 06/07/2022 16:28, LABBE Corentin wrote: >>> Le Wed, Jul 06, 2022 at 07:29:04AM -0600, Rob Herring a écrit : >>>> On Wed, 06 Jul 2022 09:04:04 +0000, Corentin Labbe wrote: >>>>> The latest addition to the rockchip crypto driver need to update the >>>>> driver bindings. >>>>> >>>>> Reviewed-by: Krzysztof Kozlowski >>>>> Signed-off-by: Corentin Labbe >>>>> --- >>>>> .../crypto/rockchip,rk3288-crypto.yaml | 85 +++++++++++++++++-- >>>>> 1 file changed, 77 insertions(+), 8 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/linux-dt-review/Documentation/devicetree/bindings/crypto/rockchip,rk3288-crypto.yaml: allOf:0:then:properties:clock-names: 'oneOf' conditional failed, one must be fixed: >>>> [{'const': 'aclk'}, {'const': 'hclk'}, {'const': 'sclk'}, {'const': 'apb_pclk'}] is too long >>>> [{'const': 'aclk'}, {'const': 'hclk'}, {'const': 'sclk'}, {'const': 'apb_pclk'}] is too short >>>> False schema does not allow 4 >>>> 1 was expected >>>> 4 is greater than the maximum of 2 >>>> 4 is greater than the maximum of 3 >>> >>> Hello >>> >>> I upgraded to dt-schema 2022.07 and fail to reproduce all errors. >> >> Visible on older dtschema (2022.6.dev10+gcd64f75fe091), visible on >> newest (2022.7). >> >> Exactly the same error. >> > > Hello > > I am sorry, I finally succesfully reproduced it. > Just doing what the hints gives (removing max/min-items) from "static" list fix the issue. Not sure what do you mean by "static list". I think you should drop min/maxItems from clock-names/reset-names in allOf:if:then sections. > Does I need to remove your Reviewed-by ? Let's drop, so it will be back to my to-review queue. Best regards, Krzysztof