Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754750Ab3IOUtq (ORCPT ); Sun, 15 Sep 2013 16:49:46 -0400 Received: from ring0.de ([91.143.88.219]:38796 "EHLO smtp.ring0.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753567Ab3IOUtT (ORCPT ); Sun, 15 Sep 2013 16:49:19 -0400 X-Spam-Report: * -1.9 BAYES_00 BODY: Spamwahrscheinlichkeit nach Bayes-Test: 0-1% * [score: 0.0000] * 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. * See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block * for more information. * [URIs: lkml.org] From: Sebastian Reichel To: Sebastian Reichel , Linus Walleij , Shubhrajyoti Datta , Carlos Chinea , Paul Walmsley Cc: Kevin Hilman , Tony Lindgren , Russell King , Grant Likely , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Rob Landley , =?UTF-8?q?=27Beno=C3=AEt=20Cousson=27?= , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Sebastian Reichel Subject: [RFCv2 0/3] OMAP SSI driver Date: Sun, 15 Sep 2013 22:44:13 +0200 Message-Id: <1379277856-24571-1-git-send-email-sre@debian.org> X-Mailer: git-send-email 1.8.4.rc3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3295 Lines: 75 Hi, Here is the second round of the OMAP SSI driver patches. In this round I added/fixed: - Usage of runtime PM Previously runtime PM was only used to enable/disable the involved clocks. Now the driver makes use of resume/suspend callbacks, which simplified its code (the driver did its own reference counting). - Removal of deprecated IRQF_DISABLED flag from irq requests - HWMOD: set SSI parent to L4-Core instead of L3 I checked the public OMAP3 TRM, which assigns the address space used by the driver as reserved L4-Core address space. - HWMOD: removed data, which will be specified via Device Tree - Change omap_ssi_port.wktest and omap_ssi_port.wkin_cken from "unsigned int" to "bool" - Change omap_ssi_port.wk_refcount from "int" to "unsigned int" - Convert __raw_read* to read*_relaxed / write*_relaxed - Removal of involved platform and board code - Split driver into omap_ssi.c and omap_ssi_port.c This changes helps in making the DT interface cleaner. - Creation & Documentation of DT bindings TODO: - Central Message Queue I did not yet implement a central message queue in the HSI framework. I would prefer to do this after SSI is working in the mainline kernel, since that makes testing easier. - HSI client registration via DT This needs changes in the HSI framework, which currently assumes, that clients are registered via board support code. This is more or less independent of the controller and should be added in an independent patchset IMHO. Version 1 (*) of the patchset: https://lkml.org/lkml/2013/8/11/67 (*) There have been patchsets send out by Carlos before my RFCv1, see RFCv1 for details. -- Sebastian Sebastian Reichel (3): ARM: OMAP2+: hwmod-data: Add SSI information ARM: OMAP2+: HSI: Introduce OMAP SSI driver ARM: dts: N900: Add SSI information Documentation/devicetree/bindings/hsi/omap_ssi.txt | 73 ++ arch/arm/boot/dts/omap3-n900.dts | 8 + arch/arm/boot/dts/omap34xx.dtsi | 49 + arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 48 + drivers/hsi/Kconfig | 1 + drivers/hsi/Makefile | 1 + drivers/hsi/controllers/Kconfig | 20 + drivers/hsi/controllers/Makefile | 6 + drivers/hsi/controllers/omap_ssi.c | 585 +++++++++ drivers/hsi/controllers/omap_ssi.h | 167 +++ drivers/hsi/controllers/omap_ssi_port.c | 1346 ++++++++++++++++++++ drivers/hsi/controllers/omap_ssi_regs.h | 172 +++ 12 files changed, 2476 insertions(+) create mode 100644 Documentation/devicetree/bindings/hsi/omap_ssi.txt create mode 100644 drivers/hsi/controllers/Kconfig create mode 100644 drivers/hsi/controllers/Makefile create mode 100644 drivers/hsi/controllers/omap_ssi.c create mode 100644 drivers/hsi/controllers/omap_ssi.h create mode 100644 drivers/hsi/controllers/omap_ssi_port.c create mode 100644 drivers/hsi/controllers/omap_ssi_regs.h -- 1.8.4.rc3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/