From mboxrd@z Thu Jan 1 00:00:00 1970 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 7D8D3C54EBD for ; Fri, 13 Jan 2023 01:30:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240540AbjAMBai (ORCPT ); Thu, 12 Jan 2023 20:30:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240248AbjAMBag (ORCPT ); Thu, 12 Jan 2023 20:30:36 -0500 Received: from mail-oa1-f50.google.com (mail-oa1-f50.google.com [209.85.160.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7EAA5DE58; Thu, 12 Jan 2023 17:30:35 -0800 (PST) Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-15bb8ec196aso9109819fac.3; Thu, 12 Jan 2023 17:30:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to: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=BHEg0Tu4T0FTdfDnr1uHsTuZiO21FEsCK3FYFxVcWdA=; b=wRYxH+oyrHEQ8iJvNvnAxdscEzH5SQBvgEUZ0Kn+Te7FijriZMe8XFsHFsTruBbUx+ DujYXqfWZGgViyoV3+5yDxTiuZW6wBlnxRD5BGmgqJQv/pk0R4TaIEUSk45XCX4xa+T2 z2AHQF/AaLfPsuki0mk3ttGGhbJm/uiwxQfELtfdgTpS8k+BXZBTBKXmCT9XCNAl4XNU tETuB5FKfgP2Lrch3X4RbJA55h5ewBiSJar5eUYYeZarBmUtPVECRyTQU2AL47ZtaGHC nWLMaP3qs4Hw+PvB4OaCksBonYke6aVLY1ZwOET4YMqnNkkAjZYVuUheXFl4Hw2hSKOi abWQ== X-Gm-Message-State: AFqh2ko8xWvYFh0YUDHUYGyXc14BMrOshve8spESH01HCI7bD7jI+mgI EAd8Qyl84mRD6VRMTkNXGA== X-Google-Smtp-Source: AMrXdXu/Y+DQPo4vCrgC2MrR0FQ8VB5gdtOfweqbYceUwefQolDBA2xCqxSt8+XnoA9uaACqeriVOw== X-Received: by 2002:a05:6871:4408:b0:14f:9e41:7dbe with SMTP id nd8-20020a056871440800b0014f9e417dbemr4578946oab.10.1673573435159; Thu, 12 Jan 2023 17:30:35 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id m26-20020a4abc9a000000b004a0aac2d28fsm9025181oop.35.2023.01.12.17.30.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Jan 2023 17:30:34 -0800 (PST) Received: (nullmailer pid 589937 invoked by uid 1000); Fri, 13 Jan 2023 01:30:34 -0000 Date: Thu, 12 Jan 2023 19:30:34 -0600 From: Rob Herring To: Linus Walleij Cc: "David S. Miller" , Lionel Debieve , Herbert Xu , linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-stm32@st-md-mailman.stormreply.com, Rob Herring , linux-kernel@vger.kernel.org, Maxime Coquelin , Alexandre Torgue Subject: Re: [PATCH v2 1/6] dt-bindings: crypto: Let STM32 define Ux500 HASH Message-ID: <167357343355.589882.8533297538415386387.robh@kernel.org> References: <20221227-ux500-stm32-hash-v2-0-bc443bc44ca4@linaro.org> <20221227-ux500-stm32-hash-v2-1-bc443bc44ca4@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221227-ux500-stm32-hash-v2-1-bc443bc44ca4@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, 10 Jan 2023 20:19:12 +0100, Linus Walleij wrote: > This adds device tree bindings for the Ux500 HASH block > as a compatible in the STM32 HASH bindings. > > The Ux500 HASH binding has been used for ages in the kernel > device tree for Ux500 but was never documented, so fill in > the gap by making it a sibling of the STM32 HASH block, > which is what it is. > > The relationship to the existing STM32 HASH block is pretty > obvious when looking at the register map, and I have written > patches to reuse the STM32 HASH driver on the Ux500. > > The main difference from the outside is that the Ux500 HASH > lacks the interrupt line, so some special if-clauses are > needed to accomodate this in the binding. > > Signed-off-by: Linus Walleij > --- > ChangeLog v1->v2: > - Use an else construction instead of if/if not. > --- > .../devicetree/bindings/crypto/st,stm32-hash.yaml | 23 +++++++++++++++++++++- > 1 file changed, 22 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9586EC54EBE for ; Fri, 13 Jan 2023 01:31:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qZC7mPuTZ2lNw1TYzVRdZw8OMzZ4uzeqSf4nWLAKJvA=; b=cQzJTefso9uc8x VTsYUkl6Cp76dAabIg105tlcE3XcS59dpBzpfeuB9+uThlJFSAFYkQxNJ2omZITQx04Qyy/IF0Na8 cas+Sa/uk+dKVrVxCROcPh06nFGTtha02NhyIDJUmzBnzfljoGuJZNqRvb9E9SCQ3PAQlxga0mYAZ JHQoYNmWSpU5bDpOVJKsH3cS3hAoHFj7QbFU/6SVOwaWVuS+pqoGxi4WwGnyDbhWv0pjOb//fLRTO tfDEAbYGDYc0be9853MujKzp/GbQRG2tngI3Ll26zdt2NRqeWz98YnxqjkRXfhOYld48SRIXfMoIG 4/LkZNihgUH5IzRnK7PA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pG8u0-0005py-Q5; Fri, 13 Jan 2023 01:30:40 +0000 Received: from mail-oa1-f47.google.com ([209.85.160.47]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pG8tx-0005pC-Gy for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 01:30:38 +0000 Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-15027746720so20834924fac.13 for ; Thu, 12 Jan 2023 17:30:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to: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=BHEg0Tu4T0FTdfDnr1uHsTuZiO21FEsCK3FYFxVcWdA=; b=ZCVTun/IDMlu3gc6ClPhbaHoyy5TMucvvyzSjPEkGk2V99cnb3EtsDciO3/qEO5WGG Rwg8oYw0oAfPlI6q31miGpTx/3z0zaH15hqquV4uw1VHEICTaOXJW9x9KvLXsH1VhBwn 3j3gQAjk/oBgedis5ZQflZehMlP+pVzqbsp/xA0hOSKqGD07Dwz572q8OE7jytvLEjWp JUaagEn89QGLSdiZm9/l9XG3xhUpNUUEkJDpuT8OTOGFexSR/eqEzN8etaYwynPU07du YHh1qu8uTsq/5rx32j1D3beKNcfGjBOTKET8AwWp5GFk6vKK5l9s5ZaTYyXbJDE2vqB1 ZLHw== X-Gm-Message-State: AFqh2kpthzd3eSUIaHPSmqSQhUtHTjZ31X+3jRCwcZCiY40THbkprlnz vysarHsD8p3MVXLLxBC0hg== X-Google-Smtp-Source: AMrXdXu/Y+DQPo4vCrgC2MrR0FQ8VB5gdtOfweqbYceUwefQolDBA2xCqxSt8+XnoA9uaACqeriVOw== X-Received: by 2002:a05:6871:4408:b0:14f:9e41:7dbe with SMTP id nd8-20020a056871440800b0014f9e417dbemr4578946oab.10.1673573435159; Thu, 12 Jan 2023 17:30:35 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id m26-20020a4abc9a000000b004a0aac2d28fsm9025181oop.35.2023.01.12.17.30.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Jan 2023 17:30:34 -0800 (PST) Received: (nullmailer pid 589937 invoked by uid 1000); Fri, 13 Jan 2023 01:30:34 -0000 Date: Thu, 12 Jan 2023 19:30:34 -0600 From: Rob Herring To: Linus Walleij Cc: "David S. Miller" , Lionel Debieve , Herbert Xu , linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-stm32@st-md-mailman.stormreply.com, Rob Herring , linux-kernel@vger.kernel.org, Maxime Coquelin , Alexandre Torgue Subject: Re: [PATCH v2 1/6] dt-bindings: crypto: Let STM32 define Ux500 HASH Message-ID: <167357343355.589882.8533297538415386387.robh@kernel.org> References: <20221227-ux500-stm32-hash-v2-0-bc443bc44ca4@linaro.org> <20221227-ux500-stm32-hash-v2-1-bc443bc44ca4@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221227-ux500-stm32-hash-v2-1-bc443bc44ca4@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_173037_585440_E529F819 X-CRM114-Status: GOOD ( 20.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 10 Jan 2023 20:19:12 +0100, Linus Walleij wrote: > This adds device tree bindings for the Ux500 HASH block > as a compatible in the STM32 HASH bindings. > > The Ux500 HASH binding has been used for ages in the kernel > device tree for Ux500 but was never documented, so fill in > the gap by making it a sibling of the STM32 HASH block, > which is what it is. > > The relationship to the existing STM32 HASH block is pretty > obvious when looking at the register map, and I have written > patches to reuse the STM32 HASH driver on the Ux500. > > The main difference from the outside is that the Ux500 HASH > lacks the interrupt line, so some special if-clauses are > needed to accomodate this in the binding. > > Signed-off-by: Linus Walleij > --- > ChangeLog v1->v2: > - Use an else construction instead of if/if not. > --- > .../devicetree/bindings/crypto/st,stm32-hash.yaml | 23 +++++++++++++++++++++- > 1 file changed, 22 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel