From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damian Date: Wed, 19 May 2010 04:36:57 +0000 Subject: Re: [PATCH 3/4 v2] ARM: add framebuffer support for ap4evb Message-Id: <4BF36AE9.1040009@igel.co.jp> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Guennadi Liakhovetski Cc: "linux-sh@vger.kernel.org" , Magnus Damm , linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org, Tomi Valkeinen (4:59), Guennadi Liakhovetski wrote: > ap4evb uses an LCD, connected to the SoC over the MIPI bus. This patch adds > platform data to configure this display and a static clock activation. > > Signed-off-by: Guennadi Liakhovetski Console framebuffer tested on sh-2.6 tree and sh/dmaengine branch with the necessary clock and intc patches applied. Boot logo and framebuffer console displayed with no problems or unusual effects. Tested-by: Damian Hobson-Garcia > --- > > v1 -> v2: > > Use the correct interrupt number for LCDC, based on INTCS. > > arch/arm/mach-shmobile/Kconfig | 1 + > arch/arm/mach-shmobile/board-ap4evb.c | 121 +++++++++++++++++++++++++++++++++ > 2 files changed, 122 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig > index 9003ea9..e216132 100644 > --- a/arch/arm/mach-shmobile/Kconfig > +++ b/arch/arm/mach-shmobile/Kconfig > @@ -42,6 +42,7 @@ config MACH_AP4EVB > bool "AP4EVB board" > depends on ARCH_SH7372 > select ARCH_REQUIRE_GPIOLIB > + select SH_LCD_MIPI_DSI > > comment "SH-Mobile System Configuration" > > diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c > index d2bb7b0..e3f5375 100644 > --- a/arch/arm/mach-shmobile/board-ap4evb.c > +++ b/arch/arm/mach-shmobile/board-ap4evb.c > @@ -17,6 +17,7 @@ > * along with this program; if not, write to the Free Software > * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA > */ > +#include > #include > #include > #include > @@ -32,8 +33,14 @@ > #include > #include > #include > + > +#include