From mboxrd@z Thu Jan 1 00:00:00 1970 From: b39297@freescale.com (Wu Guoxing) Date: Fri, 9 Mar 2012 12:47:52 +0800 Subject: [PATCH v5] ARM : mx35: 3ds-board: add framebuffer device Message-ID: <1331268472-18270-1-git-send-email-b39297@freescale.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: wu guoxing This patch adds framebuffer support for freescale mx35 3ds board Signed-off-by: Wu Guoxing --- Changes since v4: 1. fixed a typo error in mx35_3ds_lcd_set_power. Changes since v3: 1. use a static variable to save the gpio value instead of find the gpiochip every time. 2. add gpio_request after found the gpio. Changes since v2: 1. use gpio_set_value_cansleep instead of gpio_set_value Changes since v1: 1. use gpio driver for mc9s08dz60 arch/arm/mach-imx/mach-mx35_3ds.c | 121 +++++++++++++++++++++++++++++++++++++ 1 files changed, 121 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/mach-mx35_3ds.c b/arch/arm/mach-imx/mach-mx35_3ds.c index 0af6c9c..fa7c7f3 100644 --- a/arch/arm/mach-imx/mach-mx35_3ds.c +++ b/arch/arm/mach-imx/mach-mx35_3ds.c @@ -40,9 +40,94 @@ #include #include #include +#include