From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935717AbcHaQLU (ORCPT ); Wed, 31 Aug 2016 12:11:20 -0400 Received: from down.free-electrons.com ([37.187.137.238]:40662 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933887AbcHaQLS (ORCPT ); Wed, 31 Aug 2016 12:11:18 -0400 From: Alexandre Belloni To: Nicolas Ferre Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Boris Brezillon , Alexandre Belloni , Rob Herring , devicetree@vger.kernel.org, Arnd Bergmann , Philipp Zabel , Vladimir Zapolskiy Subject: [PATCH 0/5] Atmel sama5d2 security module support Date: Wed, 31 Aug 2016 18:11:03 +0200 Message-Id: <20160831161108.8780-1-alexandre.belloni@free-electrons.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, There has already been multiple tentatives trying to add support for the Sama5d2 security module and in particular, access to its SRAM. After multiple discussions, I believe adding support in the sram driver/framework is probably the best because it allows exporting the SRAM to the kernel, to userspace and also to run code from it. As the support for the sama5d2 securam is fairly small, I've included it directly in the mmio-sram driver. Regards, Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: Arnd Bergmann Cc: Philipp Zabel Cc: Vladimir Zapolskiy Alexandre Belloni (5): Documentation: dt: atmel-at91: Document secumod bindings ARM: dts: at91: sama5d2: Add secumod node ARM: at91: add secumod register definitions misc: sram: document new compatible misc: sram: add Atmel securam support .../devicetree/bindings/arm/atmel-at91.txt | 17 +++++++ Documentation/devicetree/bindings/sram/sram.txt | 2 +- arch/arm/boot/dts/sama5d2.dtsi | 19 ++++++++ drivers/misc/sram.c | 52 +++++++++++++++++++--- include/soc/at91/atmel-secumod.h | 46 +++++++++++++++++++ 5 files changed, 128 insertions(+), 8 deletions(-) create mode 100644 include/soc/at91/atmel-secumod.h -- 2.9.3