From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756648Ab2ICUYW (ORCPT ); Mon, 3 Sep 2012 16:24:22 -0400 Received: from filtteri6.pp.htv.fi ([213.243.153.189]:57959 "EHLO filtteri6.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753392Ab2ICUX2 (ORCPT ); Mon, 3 Sep 2012 16:23:28 -0400 From: Aaro Koskinen To: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] cbus/retu drivers to mainline Date: Mon, 3 Sep 2012 23:23:21 +0300 Message-Id: <1346703805-31598-1-git-send-email-aaro.koskinen@iki.fi> X-Mailer: git-send-email 1.7.2.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set introduces drivers for CBUS access and Retu multifunction chip found on Nokia Internet Tablets (770, N800, N810). It would be nice get these patches applied as the functionality of these devices is severely lacking without Retu. E.g. watchdog support is mandatory at least on Nokia N800, you cannot currently run the mainline kernel for longer than ~60 seconds (there is no way to disable the watchdog). Drivers originate from linux-omap cbus branch and have been cleaned up/rewritten around i2c and MFD core. Patches have been tested on top of 3.6-rc4 with Nokia N800 (watchdog feeding works, power off shuts down the device, power button triggers IRQs and input events). Changes since the RFC version (http://marc.info/?l=linux-omap&m=134618967116737&w=2): - added DT support for getting i2c-cbus GPIO pins - merged n8x0 board file changes into i2c-cbus patch - corrected typo in Kconfig for MFD_RETU - added power off functionality to retu-mfd - added IRQ functionality to retu-mfd - added power button key driver - some cleanups Aaro Koskinen (4): i2c: introduce i2c-cbus driver mfd: introduce retu-mfd driver watchdog: introduce retu_wdt driver input: misc: introduce retu-pwrbutton arch/arm/mach-omap2/board-n8x0.c | 42 ++++ drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-cbus.c | 369 +++++++++++++++++++++++++++++++++++ drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/retu-pwrbutton.c | 127 ++++++++++++ drivers/mfd/Kconfig | 8 + drivers/mfd/Makefile | 1 + drivers/mfd/retu-mfd.c | 347 ++++++++++++++++++++++++++++++++ drivers/watchdog/Kconfig | 12 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/retu_wdt.c | 188 ++++++++++++++++++ include/linux/i2c-cbus.h | 27 +++ include/linux/mfd/retu.h | 22 ++ 15 files changed, 1166 insertions(+), 0 deletions(-) create mode 100644 drivers/i2c/busses/i2c-cbus.c create mode 100644 drivers/input/misc/retu-pwrbutton.c create mode 100644 drivers/mfd/retu-mfd.c create mode 100644 drivers/watchdog/retu_wdt.c create mode 100644 include/linux/i2c-cbus.h create mode 100644 include/linux/mfd/retu.h -- 1.7.2.5