Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752165AbdFUXOD (ORCPT ); Wed, 21 Jun 2017 19:14:03 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:35013 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750981AbdFUXOB (ORCPT ); Wed, 21 Jun 2017 19:14:01 -0400 From: Cosar Dindar To: herbert@gondor.apana.org.au Cc: davem@davemloft.net, robh+dt@kernel.org, mark.rutland@arm.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Cosar Dindar Subject: [RESEND,PATCH v4 0/5] Add support for the STM32F4 CRC32 Date: Thu, 22 Jun 2017 02:13:07 +0300 Message-Id: <1498086787-104647-1-git-send-email-cosardindar@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1092 Lines: 28 This patch series add hardware CRC32 ("Ethernet") calculation support for STMicroelectronics STM32F429. Polynomial and key setting are not supported, key is fixed as 0x4C11DB7 and poly is 0xFFFFFFFF. Module is tested on STM32F429-disco board with crypto testmgr using cases within the key 0xFFFFFFFF. Changes in v4: - Edited patch summary. Cosar Dindar (5): dt-bindings : Document the STM32F4 CRC32 binding crypto : stm32 - Add STM32F4 CRC32 support ARM: dts: stm32: Add CRC support to stm32f429 (Merged-by Alexander TORGUE) ARM: dts: stm32: enable CRC32 on stm32429-disco board (Merged-by Alexander TORGUE) ARM: dts: stm32: enable CRC32 on stm32429i-eval board (Merged-by Alexander TORGUE) .../devicetree/bindings/crypto/st,stm32-crc.txt | 4 +- arch/arm/boot/dts/stm32429i-eval.dts | 4 ++ arch/arm/boot/dts/stm32f429-disco.dts | 4 ++ arch/arm/boot/dts/stm32f429.dtsi | 7 +++ drivers/crypto/stm32/stm32_crc32.c | 68 ++++++++++++++++++---- 5 files changed, 75 insertions(+), 12 deletions(-) -- 2.7.4