From patchwork Wed Jul 21 10:13:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 113327 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6LAD0Sc024320 for ; Wed, 21 Jul 2010 10:13:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751378Ab0GUKNP (ORCPT ); Wed, 21 Jul 2010 06:13:15 -0400 Received: from mail.gmx.net ([213.165.64.20]:46845 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751320Ab0GUKNM (ORCPT ); Wed, 21 Jul 2010 06:13:12 -0400 Received: (qmail invoked by alias); 21 Jul 2010 10:13:08 -0000 Received: from p57BD031A.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.3.26] by mail.gmx.net (mp043) with SMTP; 21 Jul 2010 12:13:08 +0200 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1957bh1o+R5UTrDLkduoCTmXtKj37L4c9peEPvKMC COtW/HG4jnlnxG Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1ObWIj-00008e-39; Wed, 21 Jul 2010 12:13:21 +0200 Date: Wed, 21 Jul 2010 12:13:21 +0200 (CEST) From: Guennadi Liakhovetski To: "linux-sh@vger.kernel.org" cc: Magnus Damm , linux-fbdev@vger.kernel.org, Paul Mundt Subject: [PATCH 5/6 v3] fbdev: sh-mobile: HDMI support for SH-Mobile SoCs In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 21 Jul 2010 10:13:16 +0000 (UTC) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 3dc1038..c96864a 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -1914,6 +1914,13 @@ config FB_SH_MOBILE_LCDC ---help--- Frame buffer driver for the on-chip SH-Mobile LCD controller. +config FB_SH_MOBILE_HDMI + tristate "SuperH Mobile HDMI controller support" + depends on FB_SH_MOBILE_LCDC + select FB_MODE_HELPERS + ---help--- + Driver for the on-chip SH-Mobile HDMI controller. + config FB_TMIO tristate "Toshiba Mobile IO FrameBuffer support" depends on FB && MFD_CORE diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 3c3bf86..e525827 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -124,6 +124,7 @@ obj-$(CONFIG_FB_PS3) += ps3fb.o obj-$(CONFIG_FB_SM501) += sm501fb.o obj-$(CONFIG_FB_XILINX) += xilinxfb.o obj-$(CONFIG_SH_MIPI_DSI) += sh_mipi_dsi.o +obj-$(CONFIG_FB_SH_MOBILE_HDMI) += sh_mobile_hdmi.o obj-$(CONFIG_FB_SH_MOBILE_LCDC) += sh_mobile_lcdcfb.o obj-$(CONFIG_FB_OMAP) += omap/ obj-y += omap2/ diff --git a/drivers/video/sh_mobile_hdmi.c b/drivers/video/sh_mobile_hdmi.c new file mode 100644 index 0000000..2fde08c --- /dev/null +++ b/drivers/video/sh_mobile_hdmi.c @@ -0,0 +1,1028 @@ +/* + * SH-Mobile High-Definition Multimedia Interface (HDMI) driver + * for SLISHDMI13T and SLIPHDMIT IP cores + * + * Copyright (C) 2010, Guennadi Liakhovetski + * + * 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. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include