Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp130429lqm; Mon, 10 Jun 2024 15:28:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVs4MAlRGFFYfC0i9tx2rQfqI/ZORNMlnbYfG8KRiT0PF8EEv1cuVeufuN9accWeArFbG0Fe6HuO6gbhgS7KsupXM4a57Xnmp0Fqz71nw== X-Google-Smtp-Source: AGHT+IGKQkOChhWF6ITvg7Gf3E842bcKrswZ7WukYSrAH0T8WG8nKCcJ4JBV5A/N7fd/LXY/ACpd X-Received: by 2002:a50:cd8a:0:b0:57c:5996:cfc7 with SMTP id 4fb4d7f45d1cf-57c5996d14fmr6144911a12.30.1718058539227; Mon, 10 Jun 2024 15:28:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718058539; cv=pass; d=google.com; s=arc-20160816; b=inhrCMPKgFm5JsqfxAO6GMMq3uO/hrRETuC/ZOl0ZGpU7mbqobiOgOdAg1SxaEER8d WQtfNPEbYow763Nk4kbMlansdWNkPqcbJFJmkQIZ1gN755PZ+OWpfzVZMfbDVBQui1XK YDZfKjTnTd0D3NBSCxkGls4RjmA16hAB7f6LbPh9EgYqHvoNnDwuX+kizK+gQ6ypJhvT MuihHoNYgFNlKFDHRLqY63G8SpcnWnZY6Fo2sbxw9Thwr8EpkHAG5Xv0pu6qWv8CABpc H9Aj7KlEEcSbdYMv8vWIcgVdDBU9tFp6BQ+eln/MCC/y/qP91mTnv+Ti6Pw/K9m07+yw OhTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=tJHHBstG7PI1KjnJrfBQKoUIWkRjtDosiCeK6pG6ZPI=; fh=Ek7PdR4vOXQi8FYjhXUzgJguHGoLl9e1nVd3Wvm1EyE=; b=p9We6mqz6N76KXQA4j/rlj9KEImzN47237STyKPJ2mViTzeOjSMnrDtXSbRaWnZIPl cHRsAlIaZocUNM2xGzE0RUPRCMPopLS6sG3xE0X/hHc6J9MS8r9per3CFSNOIr201omU h+iStzFFUU4Ap3kLndD9novfF1lfkMjhGJEgTgC3JS20SqgQQ+/tEMhh5EOHT7e5n8AN 5Z5uBespUp2XqTDmbA8fWoee4n0cAj3zh/YCIZGffZL+Ruc9xxtnX7W5Ac9vzrC319E0 SfBFXb+N69aPQDdOUMHGNJ9vrb3RbV8dHAnShLjpCd0NaFQoVEFrosrGmFd90l2pDBgl acwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f46QHQYa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4866-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4866-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c6d6a6fd6si2977464a12.296.2024.06.10.15.28.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 15:28:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4866-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f46QHQYa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-4866-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4866-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F0DC91F21CEF for ; Mon, 10 Jun 2024 22:28:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 34C7D150991; Mon, 10 Jun 2024 22:28:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="f46QHQYa" X-Original-To: linux-crypto@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9C67745F4; Mon, 10 Jun 2024 22:28:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718058509; cv=none; b=YTaQZAAFbW2TORkCdQz4PyF17WfsKW5ajLdweswMAwEKdSB/MqSKLX4pgELnRYd1Vti92OEFEvHKlezmmAbY/OrcsU8c28oBd5Omym3mttKC7ePKwoR8Nt+nZI7J4NTFm902PRRk2wh26SB/rquEb0e2Os0LAuXjz2iehukD3/Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718058509; c=relaxed/simple; bh=jGyCsYSq/UxDN4mBtbNa7oTMO5CREgU3nQw/d+1YT7s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LBqDfxoipYYx/jI/u5YpbIoG/uCaGY11yVqJJXcN7UMS7zqU2AinICK9cFlYYg2mcpNEqzmvKoRUaANqGCKgOveBS65UCQFIt9VY1aRfau5OyhX61MLO/Czp/6LUKF6ZWtQbcwIJRWpRRxmSP3BOVRGJBuREJzpdj0Xe/aFpYJA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=f46QHQYa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47E78C2BBFC; Mon, 10 Jun 2024 22:28:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718058508; bh=jGyCsYSq/UxDN4mBtbNa7oTMO5CREgU3nQw/d+1YT7s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f46QHQYaT8efpXnW7g3klN5PIH6ovp9Gh+9wrYe1BexiGVnwrIOFdjS3q10YVryGa INfl/LYTVO8mKs1o2AalrkDD0a51pEGI5cQKwT+RfK+mAL1YLG9ajFTFXvqBTmuuAn aAxielqwOTuHkAd9jFowHSpVFTTklmAA1ZR0gXo0iEo7OYAZtF1vIFaRB2Qc0TpcPe IFR09v8sZ7brPKgybBxuFi6Qy1QttxCtUUa95kU1Thw3dw7gz0t1hhBFxJOt/JT3g3 18xYi4QMbladdyrqTi7lKzHiW3cfltIEc6DnT+zC4FZp/8CHdDghQMRr4/aKh4+zNo GWYyS1wiK4pIQ== Date: Mon, 10 Jun 2024 16:28:27 -0600 From: Rob Herring To: Alexey Romanov Cc: neil.armstrong@linaro.org, clabbe@baylibre.com, herbert@gondor.apana.org.au, davem@davemloft.net, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, vadim.fedorenko@linux.dev, linux-crypto@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@salutedevices.com Subject: Re: [PATCH v8 17/23] dt-bindings: crypto: meson: correct clk and remove second interrupt line Message-ID: <20240610222827.GA3166929-robh@kernel.org> References: <20240607141242.2616580-1-avromanov@salutedevices.com> <20240607141242.2616580-18-avromanov@salutedevices.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240607141242.2616580-18-avromanov@salutedevices.com> On Fri, Jun 07, 2024 at 05:12:36PM +0300, Alexey Romanov wrote: > GXL and newer SoC's uses the DMA engine (not blkmv) for crypto HW. > Crypto HW doesn't actually use the blkmv clk. At RTL level, crypto > engine is hard weired to a clk81 (CLKID_CLK81). typo. > > Also, GXL crypto IP isn't to seconnd interrput line. So we must 2 more typos. Spell checkers exist. Use them instead of me please. I think you forgot the word 'connected' too. > remove it from dt-bindings. So did this binding not work at all? Are there any users? You need a bit more justification for an ABI breaking change. > > Fixes: 7f7d115dfb51 ("dt-bindings: crypto: Add DT bindings > documentation for amlogic-crypto") This line should not be wrapped. > Drop the blank line. > Signed-off-by: Alexey Romanov > --- > .../bindings/crypto/amlogic,gxl-crypto.yaml | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > > diff --git a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml > index 948e11ebe4ee..aff6f3234dc9 100644 > --- a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml > +++ b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml > @@ -20,13 +20,15 @@ properties: > interrupts: > items: > - description: Interrupt for flow 0 > - - description: Interrupt for flow 1 > > clocks: > maxItems: 1 > > clock-names: > - const: blkmv > + const: clk81 Clocks are supposed be named local to the block like what function or part of the block they clock. This sounds like something global. With only 1 clock, I'd just drop the name altogether. > + > + power-domains: > + maxItems: 1 > > required: > - compatible > @@ -46,7 +48,7 @@ examples: > crypto: crypto-engine@c883e000 { > compatible = "amlogic,gxl-crypto"; > reg = <0xc883e000 0x36>; > - interrupts = , ; > - clocks = <&clkc CLKID_BLKMV>; > - clock-names = "blkmv"; > + interrupts = ; > + clocks = <&clkc CLKID_CLK81>; > + clock-names = "clk81"; > }; > -- > 2.34.1 >