Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2182409rdb; Mon, 20 Nov 2023 04:37:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFLGk2yrD3DekpVV9CG+o+kMhkxTkK+c2I9AK/LqLexeVOYAGYVasNypLLj6SK6AIk+3Dcc X-Received: by 2002:a05:6a00:2391:b0:6c3:74d6:595a with SMTP id f17-20020a056a00239100b006c374d6595amr6317707pfc.13.1700483846001; Mon, 20 Nov 2023 04:37:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700483845; cv=none; d=google.com; s=arc-20160816; b=JGaswq6xXywCvyhPpJaCgHzM0PjTHsh0h1PgcLTAdXpzkNuF+sUfDToxMpOGioEm1s tp2pRhEHEPx3vHmS/FCOC/Mpr0QnQ5txlHkYEmvzQxr5FQvRcguu9AOEogQAU/a6OT2/ wsoaJoBKLCuZN5DHZMPrTbwyVLv7Fv2v7uqXz57d5ZxNKfi4bpUKlvcbP3jeDaNyYXEy oyyF1YGDlM17zEDwF5+7j8m9n0X14RPOIzUoADyJDvNkCkaBfbzZk3PzKLT/RSiQgown Wg2EkoRpw5MfM+VRsF3Hcr9afFC1MLYZMWIHIylFwLAkWNR4TYGzEuXrVvkBtZak3FP3 s+4Q== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5xIcaRzTEKrbvWfEvAe9OkNKCvoLd6Y4BAtiZQNEI2A=; fh=jETRwzBt9DXjMyuJvq45lNax60P5huCMskT4dihrhQ8=; b=obIyquTip3piSc55CvwJdMlbF9+xAGT4KbyTu57jgcgYEA6coJaAH5J61lL25bDnCj TI5nElaTRc7mjbyAfe/Jcum9+Q5bMkegk0WLGEFRY/7KPmwBXR3jgQg67fWXS7SxZIT/ lFBcYwQjBrTDsHFEUrd2I1jQWwOsbHrey3tK09w3ieh9FWFkkKHrjmsHeApupo+Wizzo 2SLWQ0pvF+0W+ocmFn2y+YcJoZ3a7BKcBhUym1ndVFeYM+FC0/aVxJgx7fq3JNpj4B3d 14jr0QuQKQrre+tAG4Ec0pBhY3vQFp+ZY+t8v7HTnDM6W0nvKjd0qQ2ubvgiRJ5OmYYW jlVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=PfJ3IBp0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id q16-20020a656850000000b005bd39be60b3si8049625pgt.390.2023.11.20.04.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 04:37:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=PfJ3IBp0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2553F8040C7A; Mon, 20 Nov 2023 04:37:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232778AbjKTMhL (ORCPT + 99 others); Mon, 20 Nov 2023 07:37:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232138AbjKTMhK (ORCPT ); Mon, 20 Nov 2023 07:37:10 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43346112 for ; Mon, 20 Nov 2023 04:37:05 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40859c466efso15497285e9.3 for ; Mon, 20 Nov 2023 04:37:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1700483823; x=1701088623; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=5xIcaRzTEKrbvWfEvAe9OkNKCvoLd6Y4BAtiZQNEI2A=; b=PfJ3IBp0nywXav3uWvb+RBlAvp9vSg8rFLqoUtxi3OSMl3IcTruQHAB+ugIvBFbc1t hvLjkCXwWoYSdDGQgx0unEyJezR3FtvWKqFjRricR0Vp6vMR/UqH6vrIseTak+EjG1bK 8JzWfcIYrvRAGtj7yXgBE0b8X28D3j1Msn11cYrHXg9ler29ZO0P6xfBSbM7Q8PiXy0Y 2MIHs01K+wYhN0x9tsCoiJPtjckRuNEhNwEHKFj1fsJUqjXYmPAp6N1PihLHXkE+ZJ0j f2tJ7KmhdSpYPlBpvg/eNyqt8Dj2qIfKDfC2dq4KG8s4+rSwomo3+r0655OFXkkmMeId BkOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700483823; x=1701088623; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5xIcaRzTEKrbvWfEvAe9OkNKCvoLd6Y4BAtiZQNEI2A=; b=BxNa34K/tyOoOU1MM3kxDeaj5lNduuP7GuuDp+rgVpvk1cmz0tH4j8jw2LVSiSm+Mi MQPh3rv/pbmb2gjImLiHYWA1qs7jDMJpckEMHc9f2qrxMLcE+rNGFUCRD+lrF99TM7vH kFfTtwQTzk5x55b/YEXDaT4T2ZlHUEjf9lYmgNH15RR2SG4dw5tWZ1qOqR2beg7LH3jV xC6HYTYepPgD2G3ucLFnr8PIrbnQjkIRtgb7HE1/c56F/YBxZL1uP5V3qQd/RNDaIhwW bBSyt83kNY0dKA37xFeYc10/ODSJc5apyGhBbhK5sGDF1l5Qk4wDlKpoK9h9N9nWpvb+ QLZg== X-Gm-Message-State: AOJu0YzuTqpNvJRr23x6jOB7uwt5hKTmCWGIIcyNnYymmtfyyFa10yc6 aiilzbfkT+5m//tFdbCRbWrILQ== X-Received: by 2002:a05:600c:4589:b0:409:295:9c6e with SMTP id r9-20020a05600c458900b0040902959c6emr5469924wmo.30.1700483823418; Mon, 20 Nov 2023 04:37:03 -0800 (PST) Received: from Red ([2a01:cb1d:3d5:a100:4a02:2aff:fe07:1efc]) by smtp.googlemail.com with ESMTPSA id n10-20020a05600c4f8a00b004095874f6d3sm13523859wmq.28.2023.11.20.04.37.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 04:37:03 -0800 (PST) Date: Mon, 20 Nov 2023 13:37:01 +0100 From: Corentin LABBE To: Krzysztof Kozlowski Cc: davem@davemloft.net, heiko@sntech.de, herbert@gondor.apana.org.au, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, p.zabel@pengutronix.de, robh+dt@kernel.org, sboyd@kernel.org, ricardo@pardini.net, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH 1/6] dt-bindings: crypto: add support for rockchip,crypto-rk3588 Message-ID: References: <20231107155532.3747113-1-clabbe@baylibre.com> <20231107155532.3747113-2-clabbe@baylibre.com> <97ae9fa0-0a6c-41d2-8a6c-1706b920d7ea@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <97ae9fa0-0a6c-41d2-8a6c-1706b920d7ea@linaro.org> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 20 Nov 2023 04:37:20 -0800 (PST) Le Tue, Nov 07, 2023 at 05:40:24PM +0100, Krzysztof Kozlowski a ?crit : > On 07/11/2023 16:55, Corentin Labbe wrote: > > Add device tree binding documentation for the Rockchip cryptographic > > offloader V2. > > > > Signed-off-by: Corentin Labbe > > --- > > .../crypto/rockchip,rk3588-crypto.yaml | 65 +++++++++++++++++++ > > 1 file changed, 65 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/crypto/rockchip,rk3588-crypto.yaml > > > > diff --git a/Documentation/devicetree/bindings/crypto/rockchip,rk3588-crypto.yaml b/Documentation/devicetree/bindings/crypto/rockchip,rk3588-crypto.yaml > > new file mode 100644 > > index 000000000000..07024cf4fb0e > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/crypto/rockchip,rk3588-crypto.yaml > > @@ -0,0 +1,65 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/crypto/rockchip,rk3588-crypto.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Rockchip cryptographic offloader V2 > > v2? Where is any documentation of this versioning? From where does it > come from? > Hello Datasheet/TRM has no naming or codename. But vendor source call it crypto v2, so I kept the name. > > + > > +maintainers: > > + - Corentin Labbe > > + > > +properties: > > + compatible: > > + enum: > > + - rockchip,rk3568-crypto > > + - rockchip,rk3588-crypto > > + > > + reg: > > + maxItems: 1 > > + > > + interrupts: > > + maxItems: 1 > > + > > + clocks: > > + minItems: 3 > > You also must describe the items instead. > > Where do you see any binding using minItems alone? > > > + > > + clock-names: > > + items: > > + - const: core > > + - const: a > > + - const: h > > + > > + resets: > > + minItems: 1 > > No, maxItems. > > > + > > + reset-names: > > + items: > > + - const: core > > Drop reset-names, not really needed and not useful. > > > + > > +required: > > + - compatible > > + - reg > > + - interrupts > > + - clocks > > + - clock-names > > + - resets > > + - reset-names > > I will fix all thoses problems. Thanks for review. Regards