From mboxrd@z Thu Jan 1 00:00:00 1970 From: 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> References: <463F3388.7020102@rfo.atmel.com> Return-path: In-Reply-To: <463F3388.7020102@rfo.atmel.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: , Nicolas Ferre , Andrew Victor , Patrice Vilchez , Haavard Skinnemoen 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