9a4cc056530d88b25215da155061e5449a9b8f99 |
|
05-Dec-2013 |
Eric Bénard <eric@eukrea.com> |
ARM: mxs: Add support for the eukrea-cpuimx28. The following devices/functionalities were tested: * Main UART. * Ethernet0. * Ethernet1. * SD. * USB host. * USB otg. * Display(and its backlight). * Touchscreen. * Audio. * nand. * i2c and the pcf8563 device. * The gpio buttons. * The gpio leds. * Watchdog Cc: Rob Herring <rob.herring@calxeda.com> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk> Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Denis Carikli <denis@eukrea.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
9648b2efa8fc620f16febfa282eef9e8620b2d67 |
|
30-Nov-2013 |
Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> |
ARM: imx28: add apf28 specific initialization (macaddr) Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
df0355f2b06caf8e7948534c278114bafc2f72e0 |
|
09-Nov-2013 |
Michael Heimpold <mhei@heimpold.de> |
ARM: mxs: add support for I2SE's duckbill series Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
e0ec2f39ef9905a24d5d88238eda3dabb8d591e0 |
|
30-Sep-2013 |
Marek Vasut <marex@denx.de> |
ARM: dts: mxs: Add MSR M28CU3 board This board is based on the M28 SoM with custom baseboard. Supported are LEDs, ethernet, PWM, LCD, SD slots. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
dd03ee9ae5bc080297175c921b1a693d0de1e8b0 |
|
04-Sep-2013 |
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> |
ARM: mxs: remove custom .init_time hook This patch converts clk-imx2[38] clocksource_of_init compatible init associated with fsl,imx2[38]-clkctrl. With arch/arm calling of_clk_init(NULL) from time_init(), we can now also remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Acked-by: Mike Turquette <mturquette@linaro.org> Acked-by: Shawn Guo <shawn.guo@linaro.org>
|
f71f2e95d0ceb4d713e0161196a7283363f181ff |
|
01-Jul-2013 |
Alexandre Belloni <alexandre.belloni@free-electrons.com> |
ARM: mxs: Simplify detection of CrystalFontz boards As all CrystalFontz boards are compatible with "crystalfontz,cfa10036", make it easier to add future boards. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
e115d63ce8bd740b2bd22edc7de03e7e5ced604c |
|
13-Aug-2013 |
Fabio Estevam <fabio.estevam@freescale.com> |
ARM: mach-mxs: Remove "TO" string from revision field There is no need to print the silicon revision as "TO1.2", just print it as "1.2" instead: $ cat /sys/bus/soc/devices/soc0/revision 1.2 Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
56b7eec01d9aca2f3a4a8697e6f04be67ad1f876 |
|
05-Aug-2013 |
Lothar Waßmann <LW@KARO-electronics.de> |
ARM: mxs: Fix BUG() when invoking mxs_restart() from interrupt context The mxs_restart() function uses of_iomap() which triggers the following BUG_ON(in_interrupt()) when called in interrupt context (e.g. thru SYSRQ-B): SysRq : Resetting ------------[ cut here ]------------ kernel BUG at mm/vmalloc.c:1310! Internal error: Oops - BUG: 0 [#1] PREEMPT ARM Modules linked in: i2c_dev CPU: 0 PID: 0 Comm: swapper Not tainted 3.11.0-rc2-next-20130729-karo+ #196 task: c04e1c38 ti: c04d8000 task.ti: c04d8000 PC is at __get_vm_area_node.clone.25+0x34/0x140 LR is at get_vm_area_caller+0x38/0x44 pc : [<c008a988>] lr : [<c008b434>] psr: 20000013 sp : c04d9db0 ip : 00000001 fp : 00000001 r10: c8800000 r9 : 00000000 r8 : 000000d0 r7 : 00002000 r6 : 00000001 r5 : 00000001 r4 : 00002000 r3 : 00010000 r2 : 00000001 r1 : c04d9db0 r0 : 00002000 Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 0005317f Table: 46920000 DAC: 00000017 Process swapper (pid: 0, stack limit = 0xc04d81b8) Create the mapping upon startup from mxs_machine_init(). Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
5cd86ef5e4db02b791eee7f11fc9fb309194c4db |
|
31-Jul-2013 |
Lothar Waßmann <LW@KARO-electronics.de> |
ARM: mxs: Allow DT clock providers Add a call to of_clk_init() to register clocks defined in DT. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
7b6d864b48d95e6ea1df7df64475b9cb9616dcf9 |
|
09-Jul-2013 |
Robin Holt <holt@sgi.com> |
reboot: arm: change reboot_mode to use enum reboot_mode Preparing to move the parsing of reboot= to generic kernel code forces the change in reboot_mode handling to use the enum. [akpm@linux-foundation.org: fix arch/arm/mach-socfpga/socfpga.c] Signed-off-by: Robin Holt <holt@sgi.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Russ Anderson <rja@sgi.com> Cc: Robin Holt <holt@sgi.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
b7c4114b07bbacfe0aee1d04ad1ade9e42309620 |
|
11-Jun-2013 |
Fabio Estevam <fabio.estevam@freescale.com> |
can: flexcan: Use a regulator to control the CAN transceiver Instead of using a GPIO to turn on/off the CAN transceiver, it is better to use a regulator as some systems may use a PMIC to power the CAN transceiver. Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
d75f3d92e86e65b3cb9725e65f7278cc303511db |
|
13-Jun-2013 |
Brian Lilly <brian@crystalfontz.com> |
ARM: mxs: dt: Add Crystalfontz CFA-10057 device tree The CFA-10057 is a breakout board for the CFA-10036 that has Ethernet, USB and a 4.3" LCD screen on it. Signed-off-by: Brian Lilly <brian@crystalfontz.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
ed138c368d95095de522db98b8b6929874bed403 |
|
13-Jun-2013 |
Brian Lilly <brian@crystalfontz.com> |
ARM: mxs: dt: Add the Crystalfontz CFA-10055 device tree The CFA-10055 is yet another breakout board for the CFA-10036, and is basically a CFA-10037, with the screen and LCD controller found on the CFA-10049. Signed-off-by: Brian Lilly <brian@crystalfontz.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
2046338dcbc60404ede8f034a13f02548ac70054 |
|
04-Jun-2013 |
Fabio Estevam <fabio.estevam@freescale.com> |
ARM: mxs: Use soc bus infrastructure Using the soc bus infrastructure is helpful for reporting several SoC related information such as: family, machine, SoC name and SoC revision. $ cat /sys/bus/soc/devices/soc0/family Freescale MXS Family $ cat /sys/bus/soc/devices/soc0/machine Freescale i.MX28 Evaluation Kit $ cat /sys/bus/soc/devices/soc0/soc_id i.MX28 $ cat /sys/bus/soc/devices/soc0/revision TO1.2 Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
9250b0712325ad24b931c0f9727fad9b2ccce804 |
|
14-May-2013 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
ARM: mxs: Remove init_irq declaration in machine description Commit ebafed7a ("ARM: irq: Call irqchip_init if no init_irq function is specified") removed the need to explictly setup the init_irq field in the machine description when using only irqchip_init. Remove that declaration for mxs as well. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
6aaab172c99bc7b86dc1b44e5be5f40322c2834f |
|
18-Apr-2013 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
ARM: mxs: remove the .map_io declaration Now that the ARM core code calls debug_ll_io_init, we can remove it from the machine_desc declaration. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
|
0d9f8217db159cdef7d90f89c9b101550d0fe3aa |
|
14-Mar-2013 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: move display timing configurations into device tree Move display timing configurations into device tree, so that the auxdata for mxsfb driver can be killed. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
d260a7af0fbd2257b3d88b3e72b8b11a0398f796 |
|
18-Mar-2013 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: remove unneeded enet_out clk initialization With fec driver taking care of enet_out clk, most of board setup do not need to enable enet_out clk. So remove them. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
45680995cd8ccf5eb71a1808eb96408589d37a26 |
|
29-Mar-2013 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: call mxs_pm_init() as a machine_desc hook The device_initcall is not a friend of multiplatform build. Call mxs_pm_init() as a machine_desc hook instead of device_initcall. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
0b48d3a6fbac641d1da12bbe202ec82ff0c89148 |
|
29-Mar-2013 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: remove unused headers Most of the stuff in the headers are used nowhere now. Move a few things that are useful for mach-mxs.c into there and remove the headers. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
39490ab0ff49138c8613d95ea13b79c8159f306f |
|
29-Mar-2013 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: merge imx23 and imx28 into one machine_desc Most of the function hooks are same between imx23 and imx28 machine_desc, so merge them into one. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
3cb7825bdc84d1d6c81ac9a2be201fe5bea5de05 |
|
29-Mar-2013 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: remove common.h All three remaining functions declared in common.h are implemented by clock driver. Create header include/linux/clk/mxs.h to contain them and remove common.h. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
1bff2d76ac88d59e45d2ba0d1103be210a9eca11 |
|
29-Mar-2013 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: move mxs_get_ocotp() into mach-mxs.c All the users of mxs_get_ocotp() are in mach-mxs.c. Move the function into mach-mxs.c, make it a static function, and then remove ocotp.c. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
1f629564d08d44e1960800f96b1c6ad19e44b4ae |
|
29-Mar-2013 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: use debug_ll_io_init for low-level debug The only user of the static mapping done in mx23_map_io and mx28_map_io is low-level debug now. Use debug_ll_io_init() instead, so that the static mapping is used nowhere and can be removed completely later. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
974a9af5320028bad0c4c17a67353edc4e5a1997 |
|
29-Mar-2013 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: remove system.c There is no user of function mxs_reset_block() now. Let's move mxs_restart() into mach-mxs.c as a static function and remove system.c completely. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
6a8e95b071ecf7357d294782b6ef4e707ce0fbbd |
|
25-Mar-2013 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: move icoll driver into drivers/irqchip Move icoll.c into drivers/irqchip as irq-mxs.c, and along with the renaming, change the driver to use IRQCHIP_DECLARE. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
633ef4c7d18982d184242d42056c622a433d93fe |
|
25-Mar-2013 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: use CLKSRC_OF helper to initialize timer Select CLKSRC_OF and use clocksource_of_init() to initialize timer, so that the call to mxs_timer_init() in clock driver can be removed. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
6a15075eced2d780fa6c5d83682410f47f2e800b |
|
18-Mar-2013 |
Marek Vasut <marex@denx.de> |
ARM: video: mxs: Fix mxsfb misconfiguring VDCTRL0 The issue fixed by this patch manifests only then using X11 with mxsfb driver. The X11 will display either shifted image or otherwise distorted image on the LCD. The problem is that the X11 tries to reconfigure the framebuffer and along the way calls fb_ops.fb_set_par() with X11's desired configuration values. The field of particular interest is fb_info->var.sync which contains non-standard values if configured by kernel. These are either FB_SYNC_DATA_ENABLE_HIGH_ACT, FB_SYNC_DOTCLK_FAILING_ACT or both, depending on the platform configuration. Both of these values are defined in the include/linux/mxsfb.h file. The driver interprets these values and configures the LCD controller accordingly. Yet X11 only has access to the standard values for this field defined in include/uapi/linux/fb.h and thus, unlike kernel, omits these special values. This results in distorted image on the LCD. This patch moves these non-standard values into new field of the mxsfb_platform_data structure so the driver can in turn check this field instead of the video mode field for these specific portions. Moreover, this patch prefixes these values with MXSFB_SYNC_ prefix instead of FB_SYNC_ prefix to prevent confusion of subsequent users. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Linux ARM <linux-arm-kernel@lists.infradead.org> Cc: Linux FBDEV <linux-fbdev@vger.kernel.org> Cc: Lothar Waßmann <LW@karo-electronics.de> Cc: Sascha Hauer <kernel@pengutronix.de> Tested-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
4a38a8502b0ea4ecbe86f60e0b2416771c51888d |
|
05-Mar-2013 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
ARM: mxs: cfa10049: Fix fb initialisation function Commit 1fe42740 ("ARM: dts: mxs: Add the LCD to the 10049 board") seem to have been applied with some fuzzyness, and the framebuffer initialisation code for the CFA-10049 ended up in the CFA-10037 initialisation function. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
1fe42740450e0ac5a63125ed1fdb618a422f85f8 |
|
25-Jan-2013 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
ARM: dts: mxs: Add the LCD to the 10049 board Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
e0f7d905242f5eedc4801ce588f7f588f4ec57cb |
|
26-Jan-2013 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
ARM: mxs: dt: Add Crystalfontz CFA-10037 device tree support The CFA-10037 is another expansion board for the CFA-10036 module, with only a USB Host, a Ethernet device and a lot of gpios. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
6bb27d7349db51b50c40534710fe164ca0d58902 |
|
08-Nov-2012 |
Stephen Warren <swarren@nvidia.com> |
ARM: delete struct sys_timer Now that the only field in struct sys_timer is .init, delete the struct, and replace the machine descriptor .timer field with the initialization function itself. This will enable moving timer drivers into drivers/clocksource without having to place a public prototype of each struct sys_timer object into include/linux; the intent is to create a single of_clocksource_init() function that determines which timer driver to initialize by scanning the device dtree, much like the proposed irqchip_init() at: http://www.spinics.net/lists/arm-kernel/msg203686.html Includes mach-omap2 fixes from Igor Grinberg. Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Stephen Warren <swarren@nvidia.com>
|
160d5f27605f5acac8f426d862e8f8a499eef2b5 |
|
18-Nov-2012 |
Marek Vasut <marex@denx.de> |
ARM: mxs: Add SchulerControl SPS1 DTS file Add DTS file for this custom board. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
79d1c712958f94372482ad74578b00f44e744c12 |
|
02-Oct-2012 |
Nathan Fontenot <nfont@linux.vnet.ibm.com> |
powerpc+of: Rename the drivers/of prom_* functions to of_* Rename the prom_*_property routines of the generic OF code to of_*_property. This brings them in line with the naming used by the rest of the OF code. Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Acked-by: Geoff Levand <geoff@infradead.org> Acked-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
a4dabca8b474aa5cf7ec1bec5bc1904a5e18f642 |
|
02-Nov-2012 |
Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> |
ARM: mxs: apf28dev: Add LCD and backlight support Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
16d477018bdddcf87a908310ac9343734e26cde0 |
|
25-Sep-2012 |
Marek Vasut <marex@denx.de> |
ARM: mx28: Skip OCOTP FEC MAC setup if in DT Currently, the kernel unconditionally adds "local-mac-address" and "mac-address" properties under both FEC ethernet DT nodes in case the update_fec_mac_prop() function is called. These properties are loaded with MAC address compiled from vendors OUI and a per-device NIC saved in OCOTP storage. Some more advanced bootloaders do augment the DT passed to the kernel by these properties already. In such case, it is wrong for kernel to override these values. Adjust the FEC MAC address loading so that in case the DT properties are already present in the DT passed from the bootloader, skip the loading from OCOTP altogether. If the DT properties are not present, load them from OCOTP. Note that the later case will lead to zeroed out MAC address if OCOTP is not programmed. This will lead to FEC not working at all. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
a957fdca4feb7fbc51f9c7c6a152a86f35ca7751 |
|
18-Oct-2012 |
Julien Boibessot <julien.boibessot@armadeus.com> |
ARM: mxs: Add support for the Armadeus Systems APF28 module The APF28 is a small SOM built around an i.MX28 processor with 128MBytes DDR2, 256MBytes NAND Flash and an Ethernet PHY. Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
8eec4b3117405e5561d2c65c9222cf3334c0ca3a |
|
07-Oct-2012 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
ARM: dts: cfa10049: Add FEC to the CFA-10049 expansion board Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
510d573fefed904a136b220b259bf48d99d5e381 |
|
23-Sep-2012 |
Marek Vasut <marex@denx.de> |
phy/micrel: Rename KS80xx to KSZ80xx There is no such part as KS8001, KS8041 or KS8051. There are only KSZ8001, KSZ8041 and KSZ8051. Rename these parts as such to match the Micrel naming. Signed-off-by: Marek Vasut <marex@denx.de> Cc: David J. Choi <david.choi@micrel.com> Cc: David S. Miller <davem@davemloft.net> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Cc: Linux ARM kernel <linux-arm-kernel@lists.infradead.org> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
7aff3fba8437438a86e6debe2429cd12a69b05d0 |
|
19-Sep-2012 |
Marek Vasut <marex@denx.de> |
ARM: mxs: m28evk: Disable OCOTP OUI loading Don't load the FEC MAC address from OCOTP, but use the one supplied via device tree by U-Boot. This is the preferred way, every DT-capable bootloader does set up "mac-address" and "local-mac-address" properties into the DT passed to the kernel. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
83a84efcefe8d7935883ab9d8e45c689d5760ddf |
|
20-Aug-2012 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: adopt irq_domain support for icoll driver Remove irq_domain_add_legacy call from mach-mxs.c and have icoll adopt irq_domain support in the driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
4e0a1b8c070fe204a406521496f01cf02c74e933 |
|
20-Aug-2012 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: select MULTI_IRQ_HANDLER As part of multi-platform effort, let's enable MULTI_IRQ_HANDLER for mach-mxs and remove entry-macro.S. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
0b76c5412146c1c9e8aef495d2926f31351bc3c0 |
|
20-Aug-2012 |
Shawn Guo <shawn.guo@linaro.org> |
gpio/mxs: adopt irq_domain support for mxs gpio driver Remove irq_domain_add_legacy call from mach-mxs.c and have the gpio driver adopt irqdomain support, so that we can have the mapping between gpio and irq number available without using virtual_irq_start and MXS_GPIO_IRQ_START. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
|
91ed4938ced262e3356a377b08e1f367da941a85 |
|
26-Aug-2012 |
Marek Vasut <marex@denx.de> |
ARM: mxs: Update DENX M28 machine and dts file Update the mach-mxs machine by removing the enet_clkout(). The new revision of the board doesn't need that. Also, update the DTS file with all the new drivers pulled in the mainline recently, that is, SPI, LRADC, USB. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
44ffb78fe03e1302dacbc681027ca611f7fcf4c2 |
|
06-Aug-2012 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: use auxdata to pass flexcan_switch function hook There are some efforts going on to have flexcan_switch function implemented in flexcan driver, so that this platform function hook can be saved for device tree boot. But due to the mx28evk board design oddness that two flexcan transceivers share one switch gpio, we have to come up a separate and generic gpio-switch driver to handle all these gpio switch use cases. Before that happens, we choose to use auxdata to pass flexcan_switch function hook, so that the DT conversion is not blocked there. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
2c7c2c1d01a2559d452c0f0aa5e6f6ca2643e6b1 |
|
13-Jul-2012 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: tx28: reset fec phy for device tree boot For non-DT boot, function tx28_add_fec0 configures all ENET0 pins into gpio mode for resetting fec phy, and then reconfigures those pins into ENET function after that. For DT boot, all the pin configuration is done by pinctrl subsystem. Ideally, when gpio_request gets called, GPIO subsystem should call pinctrl to configure pins into gpio mode automatically, and have pins freed up from pinctrl subsystem when gpio_free is called. But right now, this cooperation between gpio and pinctrl hasn't been available. As the result, we have to explicitly call pinctrl_get_select and pinctrl_put for device tree boot. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Lothar Waßmann <LW@KARO-electronics.de>
|
58a8c59e1c15eb9901a14c0750a2012b109a5e4f |
|
15-Aug-2012 |
Fabio Estevam <fabio.estevam@freescale.com> |
ARM: mach-mxs: Remove board entries in dt_board_compat There is no need for adding board related entries into dt_board_compat. Leave only the SoC entry. This way we do not need to patch a C file when adding dt support for a new board. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
e317317a7148fce681166a5ab01f36a1844254c7 |
|
01-Aug-2012 |
Dong Aisheng <dong.aisheng@linaro.org> |
ARM: mx28evk: add missed clkmux select for saif Added missed clkmux setting for mx28evk. Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Liam Girdwood <lrg@ti.com> Cc: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
fa7c865ad999d6ca340bca471fab7f3a3e6ae011 |
|
13-Jul-2012 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: fix compile error caused by prom_update_property change The commit 475d009 (of: Improve prom_update_property() function) changed prom_update_property interface, and causes the compile error below. CC arch/arm/mach-mxs/mach-mxs.o arch/arm/mach-mxs/mach-mxs.c: In function ‘update_fec_mac_prop’: arch/arm/mach-mxs/mach-mxs.c:216:4: error: too many arguments to function ‘prom_update_property’ include/linux/of.h:263:12: note: declared here Update the caller update_fec_mac_prop to fix the error. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
|
d8bb823d31a1405e42aa4a2162d3c00e657b6516 |
|
10-Jul-2012 |
Lauri Hintsala <lauri.hintsala@bluegiga.com> |
ARM: apx4devkit: add display support Add HannStar display and device tree configuration. Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
dd852aa5215b9a976b8949378e8f3b6fcb8c5291 |
|
09-Jul-2012 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: convert stmp378x_devb board to device tree The enc28j60 spi device does not get converted to dts file, because there is no mxs spi driver on mainline so far. The enc28j60 spi in mach-stmp378x_devb.c does not work anyway. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
e1a4d18f6c74cf3df59c73f526ede607196f2257 |
|
08-Jul-2012 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: convert tx28 board to device tree FEC support is missing because we need to find a proper way to rewrite tx28_add_fec0 for device tree boot. Cc: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
3143bbb42b3d27a5f799c97c84fb7a4a1de88f91 |
|
07-Jul-2012 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: convert apx4devkit board to device tree Tested-by: Lauri Hintsala <lauri.hintsala@bluegiga.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
8fa62e11283faa203b360c4ebdbd186b2c8dd844 |
|
07-Jul-2012 |
Marek Vasut <marex@denx.de> |
ARM: mxs: convert m28evk board to device tree Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
b9df44919cd0a776abab442b59c8bf9a8b7301fc |
|
04-Jul-2012 |
Fabio Estevam <fabio.estevam@freescale.com> |
ARM: mx23: Add initial support for olinuxino board mx23-olinuxino is a low cost board designed by Olimex. It has the following features: - Freescale iMX233 ARM926J processor at 454MHz -64 MB RAM -SD-card connector -TV PAL/NTSC video output -2 USB High Speed Hosts -Ethernet 100 Mbit -Stereo Audio Input -Stereo Headphones Audio Output More information at: http://www.olimex.com/dev/imx233-olinuxino-maxi.html Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
ab2815c3997b179f043a747264d155ab0bc181ad |
|
25-Jun-2012 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: use auxdata to attach mxsfb_platform_data Use auxdata to attach mxsfb_platform_data for imx23-evk and imx28-evk. We take this as a temporary solution for removing those board files, and it should be updated to use common bindings for struct fb_videomode when it becomes available. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
330eaaf947abe81b020ed23e9b46d1e620e55457 |
|
27-Jun-2012 |
Maxime Ripard <maxime.ripard@free-electrons.com> |
ARM: mxs: Add Crystalfontz CFA-10036 DTS Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Brian Lily <brian@crystalfontz.com> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
5653acc24c13e8b272e16a194b26465330753118 |
|
19-Jun-2012 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: store mac address read from OTP in device tree The non-DT boot reads the mac from OTP and pass it to fec driver via platform data. The patch provides an equivalent support for device tree boot, with reading mac from OTP and store it in device tree, and fec driver can get the mac from device tree at its probe time. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
|
ce4c6f9b5987ac9402788c518bc5bd8b8572aa1e |
|
04-May-2012 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: add gpio support for device tree boot It adds gpio support for device tree boot. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
|
2954ff395bcf69cb31dbe500bec20ce0944ea19e |
|
04-May-2012 |
Shawn Guo <shawn.guo@linaro.org> |
ARM: mxs: add initial device tree support for imx23-evk board It adds initial device tree support for imx23-evk board, and only serial console is enabled. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Marek Vasut <marex@denx.de>
|
bc3a59c1b7b1c367fec615b872bdb89ac232f62e |
|
31-Mar-2012 |
Dong Aisheng <dong.aisheng@linaro.org> |
ARM: mxs: add initial device tree support for imx28-evk board This patch includes basic dt support which can boot via nfs rootfs. Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Marek Vasut <marex@denx.de>
|