Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e8fd696 authored by Sascha Hauer's avatar Sascha Hauer
Browse files

ARM i.MX23/28: Add framebuffer device support



Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Cc: Shawn Guo <shawn.guo@freescale.com>
parent f0a523b5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -452,6 +452,7 @@ static struct clk_lookup lookups[] = {
	_REGISTER_CLOCK("mxs-pwm.2", NULL, pwm_clk)
	_REGISTER_CLOCK("mxs-pwm.3", NULL, pwm_clk)
	_REGISTER_CLOCK("mxs-pwm.4", NULL, pwm_clk)
	_REGISTER_CLOCK("imx23-fb", NULL, lcdif_clk)
};

static int clk_misc_init(void)
+1 −0
Original line number Diff line number Diff line
@@ -632,6 +632,7 @@ static struct clk_lookup lookups[] = {
	_REGISTER_CLOCK("mxs-pwm.7", NULL, pwm_clk)
	_REGISTER_CLOCK(NULL, "lradc", lradc_clk)
	_REGISTER_CLOCK(NULL, "spdif", spdif_clk)
	_REGISTER_CLOCK("imx28-fb", NULL, lcdif_clk)
};

static int clk_misc_init(void)
+4 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
 */
#include <mach/mx23.h>
#include <mach/devices-common.h>
#include <mach/mxsfb.h>

extern const struct amba_device mx23_duart_device __initconst;
#define mx23_add_duart() \
@@ -21,3 +22,6 @@ extern const struct mxs_auart_data mx23_auart_data[] __initconst;
#define mx23_add_auart1()		mx23_add_auart(1)

#define mx23_add_mxs_pwm(id)		mxs_add_mxs_pwm(MX23_PWM_BASE_ADDR, id)

struct platform_device *__init mx23_add_mxsfb(
		const struct mxsfb_platform_data *pdata);
+4 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
 */
#include <mach/mx28.h>
#include <mach/devices-common.h>
#include <mach/mxsfb.h>

extern const struct amba_device mx28_duart_device __initconst;
#define mx28_add_duart() \
@@ -37,3 +38,6 @@ extern const struct mxs_i2c_data mx28_mxs_i2c_data[] __initconst;
#define mx28_add_mxs_i2c(id)		mxs_add_mxs_i2c(&mx28_mxs_i2c_data[id])

#define mx28_add_mxs_pwm(id)		mxs_add_mxs_pwm(MX28_PWM_BASE_ADDR, id)

struct platform_device *__init mx28_add_mxsfb(
		const struct mxsfb_platform_data *pdata);
+3 −0
Original line number Diff line number Diff line
@@ -17,3 +17,6 @@ config MXS_HAVE_PLATFORM_MXS_I2C

config MXS_HAVE_PLATFORM_MXS_PWM
	bool

config MXS_HAVE_PLATFORM_MXSFB
	bool
Loading