From patchwork Fri Mar 9 04:35:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v4] ARM : mx35: 3ds-board: add framebuffer device Date: Thu, 08 Mar 2012 18:35:24 -0000 From: wu guoxing X-Patchwork-Id: 146300 Message-Id: <1331267724-16432-1-git-send-email-b39297@freescale.com> To: Cc: shawn.guo@linaro.org, wu guoxing , 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 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 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..d1fb466 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