aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-03mx5: Fix efikamx buildArnaud Patard (Rtp)2-4/+4
Commit 124bf94a "ARM: imx: fix name for functions adding sdhci-esdhc-imx devices" changed some devices and Kconfig entry and didn't change every places it should have. It's breaking efikamx build. I've fixed 3ds Kconfig entry as I believe it's broken there too. Signed-off-by: Arnaud Patard <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-12-03ARM: mx25: fix offset for usb host controllerUwe Kleine-König1-1/+6
In commit 2c20b9f (ARM: mx25: dynamically allocate mxc-ehci devices) I changed the offset to the value specified in the reference manual intending to test this change on hardware. This slipped through and now prooved to be wrong. So fix it and add a comment about the documentation being wrong. Reported-by: Jaume Ribot <[email protected]> Cc: Michael Trimarchi <[email protected]> Cc: Shawn Guo <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-12-03plat-mxc/ehci.c: fix compile breakageEric Bénard2-8/+8
commits 2eb42d5c287f5e883a4b3ebe668ba880caa351e5 and 9e1dde33876ba83ad586c336647fff133d0f5472 renamed some defines but didn't fix all the places where these defines are used leading to a compile failure for USB on i.MX31, 35 and 27. Signed-off-by: Eric Bénard <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-12-03ARM i.MX SDMA: Add ROM script addresses to platform_dataSascha Hauer1-8/+97
Signed-off-by: Sascha Hauer <[email protected]>
2010-12-03dmaengine i.MX SDMA: Allow to run without firmwareSascha Hauer2-96/+124
The SDMA firmware consists of a ROM part and a RAM part. The ROM part is always present in the SDMA engine and is sufficient for many cases. This patch allows to pass in platform data containing the script addresses in ROM, so loading a firmware is optional now. Signed-off-by: Sascha Hauer <[email protected]> Acked-by: Dan Williams <[email protected]>
2010-11-28ARM: imx: Get the silicon version from the IIM moduleDinh Nguyen13-110/+98
Instead of reading the silicon version from ROM, we should read the SREV register from the IIM. Freescale has dropped all support for MX51 REV1.0, only MX51 REV 2.0 and 3.0 are valid. Signed-off-by: Dinh Nguyen <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24ARM: imx: Add mx53 support to common msl functions.Dinh Nguyen2-2/+36
Add mx53 support to cpu.c and mm.c. Signed-off-by: Dinh Nguyen <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24ARM: imx: Add core definitions for MX53Dinh Nguyen12-26/+797
Add iomux, clocks, and memory map for Freescale's MX53 SoC. Add cpu_is_mx53 function to common.h. Add 3 more banks of gpio's to mxc_gpio_ports. Add MX53 phys offset address. Signed-off-by: Dinh Nguyen <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24mx51_babbage: Add SPI flash supportFabio Estevam2-0/+37
MX51 Babbage has an AT45DB321 SPI Flash connected to eCSPI1. Add support for it. Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Sascha Hauer <[email protected]> Acked-by: Uwe Kleine-König <[email protected]>
2010-11-24ARM i.MX27 pm: return gracefully on different socsSascha Hauer1-0/+3
Code called from an initcall can be maybe called for machines it's not intended for. So check for valid machines and return gracefully if an incompatible machine is found. Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24ARM i.MX51: return gracefully on different socsSascha Hauer1-0/+3
Code called from an initcall can be maybe called for machines it's not intended for. So check for valid machines and return gracefully if an incompatible machine is found. Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24ARM i.MX DMA: return gracefully on different socsSascha Hauer1-1/+1
Code called from an initcall can be maybe called for machines it's not intended for. So check for valid machines and return gracefully if an incompatible machine is found. Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24ARM i.MX51: Make CONFIG_MXC_TZIC an invisible optionSascha Hauer1-6/+1
There's no point showing this option to the user. The correct value will be selected anyway. Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24ARM i.MX irq: Compile avic irq code only on SoCs that need itSascha Hauer5-2/+12
This patch adds a Kconfig option for the avic irq controller and lets the SoCs that need it select this option. Also, as we have two irq controllers for i.MX, irq.c is not appropriate anymore, so rename it to avic.c Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24ARM i.MX51 boards: Do not use PHYS_OFFSETSascha Hauer3-3/+3
PHYS_OFFSET may become a variable once the runtime PHYS_OFFSET patch is merged, so use MX51_PHYS_OFFSET for boot_params. Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24mx51_3ds: Add esdhc supportFabio Estevam2-0/+2
Add support for esdhc on mx51_3ds board. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24imx: fix iomux v3Arnaud Patard (Rtp)1-1/+1
Commit "ARM: i.MX IOMUX-V3 replace struct pad_desc with bitmapped cookie" (b705cb4d42e95a4a43a8945571c8613e71526c3d) introduced a typo which was preventing my efikamx to boot. This patch is fixing that. Signed-off-by: Arnaud Patard <[email protected]> Tested-by: Fabio Estevam <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24efikamx: add resetArnaud Patard (Rtp)3-1/+33
The efikamx board is using a gpio to reset the board so add support for it Signed-off-by: Arnaud Patard <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24efikamx: add spi nor supportArnaud Patard (Rtp)2-0/+59
On efikamx, uboot is stored on a nor spi flash. Add support for it Signed-off-by: Arnaud Patard <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24imx51: fix gpio_4_24 and gpio_4_25 pad configurationArnaud Patard (Rtp)1-2/+2
s/NO_PAD_CTRL/MX51_GPIO_PAD_CTRL/ Signed-off-by: Arnaud Patard <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24efikamx: add support for power keyArnaud Patard (Rtp)1-0/+24
This patch adds support for power key button of the efika mx. It's connected on GPIO 2 31. Signed-off-by: Arnaud Patard <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24efikamx: add leds supportArnaud Patard (Rtp)1-1/+46
The efika mx a 3 leds (1 blue, 1 red, 1 green) connected on GPIOS 3 13/14/15. Also, some special care is done for default trigger of blue led for mmc as the mmc host used is different between hw revisions Signed-off-by: Arnaud Patard <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24imx51: add gpio mode for csi1 {h,v}syncArnaud Patard (Rtp)1-0/+2
Add definitions for configuring CSI1_{H,V}SYNC as GPIO Signed-off-by: Arnaud Patard <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24efikamx: add mmc supportArnaud Patard (Rtp)2-0/+28
The efika mx is using a esdhc host for mmc support. Now that the sdhci has support for it, enable it. Signed-off-by: Arnaud Patard <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24imx51: enhance iomux configuration for esdhc supportArnaud Patard (Rtp)1-0/+6
- add definition to configure pads as ESDHC{1,2} WP and CD Signed-off-by: Arnaud Patard <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24imx51: fix iomux configurationArnaud Patard (Rtp)1-8/+8
- ALT0 is used to set GPIO mode of GPIO_1_{2,3,4,5,6,7,8,9} but it's ALT1 for GPIO_1_{0,1}. Signed-off-by: Arnaud Patard <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24efikamx: read board idArnaud Patard (Rtp)1-0/+65
read board id value from the GPIO3_16/17/11 Signed-off-by: Arnaud Patard <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24mx31_3ds: Add touchscreen supportFabio Estevam1-1/+1
On the mx31_3ds board the touchscreen feature is provided by MC13783 PMIC. Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24ARM: i.MX IOMUX-V3 replace struct pad_desc with bitmapped cookieLothar Waßmann16-40/+70
The following patch is a first step to convert the 'struct pad_desc' to a bitmapped cookie to facilitate adding platform specific pullup or drive strength definitions to existing pad definitions without need to rewrite the complete pad def. The patch wraps 'struct pad_desc' in an opaque data type and introduces macros to access the individual members. This patch does not constitute any functional change! Signed-off-by: Lothar Waßmann <[email protected]> Signed-off-by: Sascha Hauer <[email protected]>
2010-11-24Merge branch 'imx-for-2.6.38' of git://git.pengutronix.de/git/ukl/linux-2.6 ↵Sascha Hauer112-2651/+2101
into imx-for-2.6.38
2010-11-21Linux 2.6.37-rc3Linus Torvalds1-1/+1
2010-11-19Merge branch 'for_linus' of ↵Linus Torvalds6-56/+37
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: ext4: Add EXT4_IOC_TRIM ioctl to handle batched discard fs: Do not dispatch FITRIM through separate super_operation ext4: ext4_fill_super shouldn't return 0 on corruption jbd2: fix /proc/fs/jbd2/<dev> when using an external journal ext4: missing unlock in ext4_clear_request_list() ext4: fix setting random pages PageUptodate
2010-11-19ext4: Add EXT4_IOC_TRIM ioctl to handle batched discardLukas Czerner1-0/+24
Filesystem independent ioctl was rejected as not common enough to be in core vfs ioctl. Since we still need to access to this functionality this commit adds ext4 specific ioctl EXT4_IOC_TRIM to dispatch ext4_trim_fs(). It takes fstrim_range structure as an argument. fstrim_range is definec in the include/linux/fs.h and its definition is as follows. struct fstrim_range { __u64 start; __u64 len; __u64 minlen; } start - first Byte to trim len - number of Bytes to trim from start minlen - minimum extent length to trim, free extents shorter than this number of Bytes will be ignored. This will be rounded up to fs block size. After the FITRIM is done, the number of actually discarded Bytes is stored in fstrim_range.len to give the user better insight on how much storage space has been really released for wear-leveling. Signed-off-by: Lukas Czerner <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
2010-11-19fs: Do not dispatch FITRIM through separate super_operationLukas Czerner3-41/+0
There was concern that FITRIM ioctl is not common enough to be included in core vfs ioctl, as Christoph Hellwig pointed out there's no real point in dispatching this out to a separate vector instead of just through ->ioctl. So this commit removes ioctl_fstrim() from vfs ioctl and trim_fs from super_operation structure. Signed-off-by: Lukas Czerner <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
2010-11-19Merge branch 'for-linus' of ↵Linus Torvalds14-76/+129
git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client: ceph: fix readdir EOVERFLOW on 32-bit archs ceph: fix frag offset for non-leftmost frags ceph: fix dangling pointer ceph: explicitly specify page alignment in network messages ceph: make page alignment explicit in osd interface ceph: fix comment, remove extraneous args ceph: fix update of ctime from MDS ceph: fix version check on racing inode updates ceph: fix uid/gid on resent mds requests ceph: fix rdcache_gen usage and invalidate ceph: re-request max_size if cap auth changes ceph: only let auth caps update max_size ceph: fix open for write on clustered mds ceph: fix bad pointer dereference in ceph_fill_trace ceph: fix small seq message skipping Revert "ceph: update issue_seq on cap grant"
2010-11-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds28-55/+164
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (31 commits) net: fix kernel-doc for sk_filter_rcu_release be2net: Fix to avoid firmware update when interface is not open. netfilter: fix IP_VS dependencies net: irda: irttp: sync error paths of data- and udata-requests ipv6: Expose reachable and retrans timer values as msecs ipv6: Expose IFLA_PROTINFO timer values in msecs instead of jiffies 3c59x: fix build failure on !CONFIG_PCI ipg.c: remove id [SUNDANCE, 0x1021] net: caif: spi: fix potential NULL dereference ath9k_htc: Avoid setting QoS control for non-QoS frames net: zero kobject in rx_queue_release net: Fix duplicate volatile warning. MAINTAINERS: Add stmmac maintainer bonding: fix a race in IGMP handling cfg80211: fix can_beacon_sec_chan, reenable HT40 gianfar: fix signedness issue net: bnx2x: fix error value sign 8139cp: fix checksum broken r8169: fix checksum broken rds: Integer overflow in RDS cmsg handling ...
2010-11-19ARM: imx: fix name for functions adding sdhci-esdhc-imx devicesUwe Kleine-König19-118/+124
and restore alphabetic ordering. Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: mx3/mx35_3ds: Add watchdog supportUwe Kleine-König2-0/+2
This bases on a patch by Fabio Estevam who added the device before it was allocated dynamically. Cc: Fabio Estevam <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: mx3: dynamically allocate imx-keypad devicesUwe Kleine-König7-23/+21
Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: mx3: dynamically allocate imx2-wdt devicesUwe Kleine-König10-42/+26
Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: mx3: dynamically allocate mxc-ehci devicesUwe Kleine-König17-135/+92
Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: mx3: dynamically allocate fsl-usb2-udc devicesUwe Kleine-König16-68/+78
While adapting the #defines for this I noticed that the offset used for USB HS on i.MX35 differs from the documented offset. I kept the working offset and commented that the documentation differs. Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: mx3: dynamically allocate mxc_rnga devicesUwe Kleine-König6-20/+62
Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: mx3: dynamically register mxc-mmc devicesUwe Kleine-König14-73/+48
Compared to the static devices the dynamic have a DMA resource. This should be save as it seems unused in the driver. Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: mx3: introduce SOC_IMX31 and SOC_IMX35Uwe Kleine-König15-58/+70
Additionally convert some known to be good usages to the new names. Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: mx3: use an MX35 constant in imx35 only codeUwe Kleine-König1-1/+1
... instead of MX3x Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: mx3: move registration of gpios to plat-mxc/gpio.cUwe Kleine-König3-39/+34
Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: imx: use SOC_IMX25 instead of ARCH_MX25 for multi-SoCUwe Kleine-König19-39/+39
Some usages of ARCH_MX25 are assuming that if it is defined the other SoCs are undefined. Use SOC_IMX25 for the save places. Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: imx: let the machines select SOC_IMX{21,27}Uwe Kleine-König1-2/+9
This prepares multi-SoC kernel support. Signed-off-by: Uwe Kleine-König <[email protected]>
2010-11-19ARM: imx: let IMX_HAVE_PLATFORM_IMX_FB select HAVE_FB_IMXUwe Kleine-König2-2/+2
This way FB_IMX can just depend on HAVE_FB_IMX and machines just need to select IMX_HAVE_PLATFORM_IMX_FB without bothering about HAVE_FB_IMX. Signed-off-by: Uwe Kleine-König <[email protected]>