diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 18:38:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-21 18:38:49 -0500 |
commit | a8f3740feb12928be1aad19659bf3527ea8d6d96 (patch) | |
tree | f455479d5b9edd38ed2ca2ab878d2217025960db /arch/arm/mach-mxs | |
parent | 6c5096e5538b455bc3bea2b02588c380f070d8c6 (diff) | |
parent | 89dfe564b5926297ee29b973fe75e25c83c5e615 (diff) |
Merge tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC device tree conversions from Arnd Bergmann:
"These are device tree conversions for a number of platforms, with the
intention of turning code from board files into device tree
descriptions. Notable changes are:
- davinci bindings for pinctrl, MTD, RTC, watchdog and i2c
- nomadik bindings for all devices, removing the board files
- bcm2835 bindings for mmc and i2c
- tegra bindings for hdmi, keyboard, audio, as well as some updates
- at91 bindings for hardware ecc and for devices on RM9200
- mxs bindings for cfa100xx
- sunxi support for Miniand Hackberry board"
* tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (72 commits)
Revert "sunxi: a10-cubieboard: Add user LEDs to the device tree"
Revert "sunxi: a13-olinuxino: Add user LED to the device tree"
clk: tegra: initialise parent of uart clocks
ARM: tegra: remove clock-frequency properties from serial nodes
clk: tegra: fix driver to match DT binding
clk: tegra: local arrays should be static
clk: tegra: Add missing spinlock for hclk and pclk
clk: tegra: Implement locking for super clock
clk: tegra: fix wrong clock index between se to sata_cold
sunxi: a13-olinuxino: Add user LED to the device tree
ARM: davinci: da850 DT: add support for machine reboot
ARM: davinci: da850: add wdt DT node
ARM: davinci: da850: add DT node for I2C0
ARM: at91: at91sam9n12: add DT parameters to enable PMECC
ARM: at91: at91sam9x5: add DT parameters to enable PMECC
ARM: at91: add EMAC bindings to RM9200 DT
ARM: at91: add SSC bindings to RM9200 DT
ARM: at91: add MMC bindings to RM9200 DT
ARM: at91: Animeo IP: enable watchdog support
ARM: nomadik: fix OF compilation regression
...
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r-- | arch/arm/mach-mxs/mach-mxs.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c index 5fad7cefe8aa..052186713347 100644 --- a/arch/arm/mach-mxs/mach-mxs.c +++ b/arch/arm/mach-mxs/mach-mxs.c | |||
@@ -119,6 +119,23 @@ static struct fb_videomode apf28dev_video_modes[] = { | |||
119 | }, | 119 | }, |
120 | }; | 120 | }; |
121 | 121 | ||
122 | static struct fb_videomode cfa10049_video_modes[] = { | ||
123 | { | ||
124 | .name = "Himax HX8357-B", | ||
125 | .refresh = 60, | ||
126 | .xres = 320, | ||
127 | .yres = 480, | ||
128 | .pixclock = 108506, /* picosecond (9.216 MHz) */ | ||
129 | .left_margin = 2, | ||
130 | .right_margin = 2, | ||
131 | .upper_margin = 2, | ||
132 | .lower_margin = 2, | ||
133 | .hsync_len = 15, | ||
134 | .vsync_len = 15, | ||
135 | .sync = FB_SYNC_DATA_ENABLE_HIGH_ACT | ||
136 | }, | ||
137 | }; | ||
138 | |||
122 | static struct mxsfb_platform_data mxsfb_pdata __initdata; | 139 | static struct mxsfb_platform_data mxsfb_pdata __initdata; |
123 | 140 | ||
124 | /* | 141 | /* |
@@ -387,6 +404,17 @@ static void __init cfa10049_init(void) | |||
387 | update_fec_mac_prop(OUI_CRYSTALFONTZ); | 404 | update_fec_mac_prop(OUI_CRYSTALFONTZ); |
388 | } | 405 | } |
389 | 406 | ||
407 | static void __init cfa10037_init(void) | ||
408 | { | ||
409 | enable_clk_enet_out(); | ||
410 | update_fec_mac_prop(OUI_CRYSTALFONTZ); | ||
411 | |||
412 | mxsfb_pdata.mode_list = cfa10049_video_modes; | ||
413 | mxsfb_pdata.mode_count = ARRAY_SIZE(cfa10049_video_modes); | ||
414 | mxsfb_pdata.default_bpp = 32; | ||
415 | mxsfb_pdata.ld_intf_width = STMLCDIF_18BIT; | ||
416 | } | ||
417 | |||
390 | static void __init apf28_init(void) | 418 | static void __init apf28_init(void) |
391 | { | 419 | { |
392 | enable_clk_enet_out(); | 420 | enable_clk_enet_out(); |
@@ -407,6 +435,8 @@ static void __init mxs_machine_init(void) | |||
407 | m28evk_init(); | 435 | m28evk_init(); |
408 | else if (of_machine_is_compatible("bluegiga,apx4devkit")) | 436 | else if (of_machine_is_compatible("bluegiga,apx4devkit")) |
409 | apx4devkit_init(); | 437 | apx4devkit_init(); |
438 | else if (of_machine_is_compatible("crystalfontz,cfa10037")) | ||
439 | cfa10037_init(); | ||
410 | else if (of_machine_is_compatible("crystalfontz,cfa10049")) | 440 | else if (of_machine_is_compatible("crystalfontz,cfa10049")) |
411 | cfa10049_init(); | 441 | cfa10049_init(); |
412 | else if (of_machine_is_compatible("armadeus,imx28-apf28")) | 442 | else if (of_machine_is_compatible("armadeus,imx28-apf28")) |