Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965564AbXEGQCQ (ORCPT ); Mon, 7 May 2007 12:02:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965254AbXEGQCN (ORCPT ); Mon, 7 May 2007 12:02:13 -0400 Received: from nat-132.atmel.no ([80.232.32.132]:51765 "EHLO relay.atmel.no" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965539AbXEGQCL (ORCPT ); Mon, 7 May 2007 12:02:11 -0400 From: Haavard Skinnemoen To: linux-fbdev-devel@lists.sourceforge.net Cc: Linux Kernel list , Nicolas Ferre , Andrew Victor , Patrice Vilchez , Haavard Skinnemoen Subject: [RFC] AVR32: Implement platform hooks for atmel_lcdfb driver Date: Mon, 7 May 2007 18:01:34 +0200 Message-Id: <11785536943473-git-send-email-hskinnemoen@atmel.com> X-Mailer: git-send-email 1.4.4.4 In-Reply-To: <463F3388.7020102@rfo.atmel.com> References: <463F3388.7020102@rfo.atmel.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9903 Lines: 321 This modifies and extends the existing AVR32 lcdc platform code to support the new atmel_lcdfb driver. The ATSTK1000 board code is set up to use the on-board Samsung LTV350QV LCD panel. Signed-off-by: Haavard Skinnemoen --- I'm planning to push this upstream through the AVR32 tree unless someone finds any problems with the platform interface to the atmel_lcdfb driver. Posted as a follow-up to show one user of the driver. arch/avr32/boards/atstk1000/atstk1000.h | 15 ++++++ arch/avr32/boards/atstk1000/atstk1002.c | 10 ++-- arch/avr32/boards/atstk1000/setup.c | 45 +++++++++++++++++- arch/avr32/mach-at32ap/at32ap7000.c | 77 ++++++++++++++++++++++++------- include/asm-avr32/arch-at32ap/board.h | 8 +-- 5 files changed, 127 insertions(+), 28 deletions(-) diff --git a/arch/avr32/boards/atstk1000/atstk1000.h b/arch/avr32/boards/atstk1000/atstk1000.h new file mode 100644 index 0000000..9a49ed0 --- /dev/null +++ b/arch/avr32/boards/atstk1000/atstk1000.h @@ -0,0 +1,15 @@ +/* + * ATSTK1000 setup code: Daughterboard interface + * + * Copyright (C) 2007 Atmel Corporation + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +#ifndef __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H +#define __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H + +extern struct atmel_lcdfb_info atstk1000_lcdc_data; + +#endif /* __ARCH_AVR32_BOARDS_ATSTK1000_ATSTK1000_H */ diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c index abe6ca2..fe1dbe2 100644 --- a/arch/avr32/boards/atstk1000/atstk1002.c +++ b/arch/avr32/boards/atstk1000/atstk1002.c @@ -16,6 +16,8 @@ #include #include +#include