From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755302AbZBCRBg (ORCPT ); Tue, 3 Feb 2009 12:01:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752400AbZBCRB0 (ORCPT ); Tue, 3 Feb 2009 12:01:26 -0500 Received: from mk-filter-1-a-1.mail.uk.tiscali.com ([212.74.100.52]:8289 "EHLO mk-filter-1-a-1.mail.uk.tiscali.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752256AbZBCRBZ (ORCPT ); Tue, 3 Feb 2009 12:01:25 -0500 X-Trace: 142276064/mk-filter-1.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/80.44.176.198/None/adrian@newgolddream.dyndns.info X-SBRS: None X-RemoteIP: 80.44.176.198 X-IP-MAIL-FROM: adrian@newgolddream.dyndns.info X-MUA: Evolution 2.24.3 X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArEEAFYHiElQLLDG/2dsb2JhbACBbs4LhBQG X-IronPort-AV: E=Sophos;i="4.37,373,1231113600"; d="scan'208";a="142276064" Subject: [PATCH] sh: maple: Add support for VMU devices (v4) [0/3] From: Adrian McMenamin To: greg KH , Paul Mundt , Dmitry Torokhov , dwmw2 Cc: LKML , MTD , linux-sh , linux-input Content-Type: text/plain Date: Tue, 03 Feb 2009 16:59:43 +0000 Message-Id: <1233680383.20790.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series of patches adds support for the Dreamcast Visual Memory Unit, reworking the maple bus code to ensure it supports asynchronous reads and writes. A consequential amendment to the keyboard driver is also included. The VMU is a 'smart' flash chip where access is controlled by a microcontroller so that, for instance, flash erases appear to be transparent to the end user. The VMU does, however, show typical flash-type behaviour (eg phased writes) and the MTD layer and the chip work well together (eg in the way they handle apparent hotplug events during a block write). This version tidies up some style issues raised with version 2. Signed-off-by: Adrian McMenamin --- drivers/input/keyboard/maple_keyb.c | 40 +- drivers/mtd/maps/Kconfig | 12 +- drivers/mtd/maps/Makefile | 1 + drivers/mtd/maps/vmu-flash.c | 825 +++++++++++++++++++++++++++++++++++ drivers/sh/maple/maple.c | 463 ++++++++++---------- include/linux/maple.h | 62 ++- 6 files changed, 1138 insertions(+), 265 deletions(-)