From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 13/16] omap: mux: Mux Apollon LCD power in board-apollon.c
Date: Wed, 30 Jun 2010 15:07:19 +0300 [thread overview]
Message-ID: <20100630120719.2637.65586.stgit@baageli.muru.com> (raw)
In-Reply-To: <20100630120226.2637.31198.stgit@baageli.muru.com>
Use the new mux function for that.
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
arch/arm/mach-omap2/board-apollon.c | 3 +++
drivers/video/omap/lcd_apollon.c | 3 ---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c
index b86a879..bc67026 100644
--- a/arch/arm/mach-omap2/board-apollon.c
+++ b/arch/arm/mach-omap2/board-apollon.c
@@ -332,6 +332,9 @@ static void __init omap_apollon_init(void)
/* REVISIT: where's the correct place */
omap_cfg_reg(W19_24XX_SYS_NIRQ);
+ /* LCD PWR_EN */
+ omap_mux_init_signal("mcbsp2_dr.gpio_11", OMAP_PULL_ENA | OMAP_PULL_UP);
+
/* Use Interal loop-back in MMC/SDIO Module Input Clock selection */
v = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0);
v |= (1 << 24);
diff --git a/drivers/video/omap/lcd_apollon.c b/drivers/video/omap/lcd_apollon.c
index 2be94eb..10459d8 100644
--- a/drivers/video/omap/lcd_apollon.c
+++ b/drivers/video/omap/lcd_apollon.c
@@ -25,7 +25,6 @@
#include <linux/platform_device.h>
#include <mach/gpio.h>
-#include <plat/mux.h>
#include "omapfb.h"
@@ -34,8 +33,6 @@
static int apollon_panel_init(struct lcd_panel *panel,
struct omapfb_device *fbdev)
{
- /* configure LCD PWR_EN */
- omap_cfg_reg(M21_242X_GPIO11);
return 0;
}
next prev parent reply other threads:[~2010-06-30 12:07 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-30 12:06 [PATCH 00/16] omap mux updates for 2.6.36 merge window Tony Lindgren
2010-06-30 12:06 ` [PATCH 01/16] omap: mux: Fix omap_mux_init_gpio for omap24xx Tony Lindgren
2010-06-30 12:06 ` [PATCH 02/16] omap: mux: Renumber package defines to make room for older 24xx packages Tony Lindgren
2010-06-30 12:06 ` [PATCH 03/16] omap: mux: Allow compiling in new mux code on all mach-omap2 systems Tony Lindgren
2010-06-30 12:06 ` [PATCH 04/16] omap: mux: Remove unncessary parens from mux34xx.c Tony Lindgren
2010-06-30 12:06 ` [PATCH 05/16] omap: mux: Add data for 2420 Tony Lindgren
2010-06-30 12:06 ` [PATCH 06/16] omap: mux: Add data for 2430 Tony Lindgren
2010-06-30 12:06 ` [PATCH 07/16] omap: mux: Select SIP package for H4 Tony Lindgren
2010-06-30 12:06 ` [PATCH 08/16] omap: mux: Select POP package for Apollon Tony Lindgren
2010-06-30 12:07 ` [PATCH 09/16] omap: mux: Select POP package for N8X0 Tony Lindgren
2010-06-30 12:07 ` [PATCH 10/16] omap: mux: Select POP package for 2430SDP Tony Lindgren
2010-06-30 12:07 ` [PATCH 11/16] omap: mux: Make omap2 FS USB code use new mux functions Tony Lindgren
2010-06-30 12:07 ` [PATCH 12/16] omap: mux: Do keypad muxing in board-*.c files Tony Lindgren
2010-06-30 12:07 ` Tony Lindgren [this message]
2010-07-01 7:05 ` [PATCH 13/16] omap: mux: Mux Apollon LCD power in board-apollon.c Tomi Valkeinen
2010-07-01 8:18 ` Kyungmin Park
2010-07-01 10:33 ` Tony Lindgren
2010-07-01 10:41 ` Kyungmin Park
2010-06-30 12:07 ` [PATCH 14/16] omap: mux: Mux 2430 USB0HS_STP in board-2430.c Tony Lindgren
2010-06-30 12:28 ` Felipe Balbi
2010-06-30 12:40 ` Tony Lindgren
2010-06-30 12:07 ` [PATCH 15/16] omap: mux: Convert 2420 platform init code to use new mux code Tony Lindgren
2010-06-30 12:07 ` [PATCH 16/16] omap: mux: Remove old " Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100630120719.2637.65586.stgit@baageli.muru.com \
--to=tony@atomide.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).