Commit Graph

159193 Commits

Author SHA1 Message Date
Matt Sealey
9a19eebf87 sgtl5000: audio clock gating platform support to fit ENGR00132525 2010-12-14 00:18:53 -06:00
Matt Sealey
5e83174b31 sgtl5000: drag to latest BSP
includes patches:
ENGR00132153 sgtl5000: do not enforce symmetry if rate is unknown
ENGR00132525 sgtl5000: audio clock gating
ENGR00132580 allow prediv by 1 for ext1 clk

(audio clock gating on Efika will be patched in later)
2010-12-14 00:09:06 -06:00
Matt Sealey
0d6f4ec27f sdma script code: remove unused file 2010-12-13 15:06:49 -06:00
Zeng Zhaoming
4d8879d67e ENGR00131932 upgrade SDMA scripts to 1.1, dual SSI FIFO support 2010-12-13 15:05:29 -06:00
Sammy He
bbaaecc647 ENGR00132971 Workaround for imx5x M4IF burst len errata for armv7 neon
Workaround for imx5x M4IF burst len errata when armv7 neon enabled, use
pgprot_writecombine instead of pgprot_noncached, to avoid burst len > 8.

Signed-off-by: Sammy He <r62914@freescale.com>
2010-12-13 14:01:20 -06:00
Zhang Jiejing
850d7f76ce ENGR00133590 UART: let user control HW flow control
HW flow control should be enable/disable by userspace.
It can be set by tty option: options.c_cflag of  CRTSCTS
bit.

This bug is found by testing UART BT AR3001 chip,
this chip will wake up the chip by set RTS to high,
it needs frist disable HW flow control, set RTS,
then disable HW flow control.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2010-12-13 13:58:29 -06:00
Matt Sealey
713fef6d75 Match this patch from Freescale:
ENGR00133429 MX51 DVFS_PER: Set LP voltage to 1.25 V

MX51 DVFS_PER: Set high setpoint and low setpoint of LP voltage
from 1.2 V to 1.25 V.

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2010-12-13 12:29:08 -06:00
Matt Sealey
6942fd4666 ENGR00133681 VPU:Fix kernel dump when VPU doesn't use IRAM
If VPU doesn't use IRAM, there will be a kernel dump when
we enter VPU driver probe function.
This issue is caused by allocating IRAM with zero buffer
size.

Signed-off-by: Liu Ying <b17645@freescale.com>
2010-12-13 12:14:16 -06:00
Matt Sealey
4e26dd501f ENGR00133737 MXC SDMA: fix system hangs when play audio with irq threaded
When apply rt patch or turn on hardirq threaded in kernel,
play audio by application with realtime schedule policy hangs the system.

It is caused by:
Requesting SDMA channel, a specific channel is used to load script
and context from memory.

This load phase also uses sdma to transfer, then poll
a complete flag within a while(1) loop.

When application with realtime schedule policy request sdma channel,
it will preempt threaded irqs and prevent complete flag to be set.

So a deadlock appears.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
2010-12-13 12:11:51 -06:00
Matt Sealey
9fb3a4d079 ENGR00132543 v4l2 output: fill black in streamoff
Fill black data in streamoff, otherwise the last frame will keep in fb.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-12-13 09:57:03 -06:00
Matt Sealey
6f660227c7 siihdmi: add hdmi hotplug event handler (only registers the event, doesn't do anything yet) 2010-12-13 09:11:52 -06:00
Matt Sealey
9f8576bec1 experimental: more generic sii hdmi driver 2010-12-11 15:46:40 -06:00
Matt Sealey
2e18703dbc mx: remove mxcfb_dump_modelines as the sii driver includes it. 2010-12-11 15:31:44 -06:00
Matt Sealey
5138388813 Enable section mismatch debug as it's very useful 2010-12-11 15:31:20 -06:00
Matt Sealey
20c4fd7f16 enable unionfs: add Makefile, Kconfig and updated defconfigs to include it 2010-12-11 15:30:44 -06:00
Matt Sealey
2eb3e70d29 Merge branch 'efikasb-10.08.00' of gitorious.org:efikamx/linux-kernel into efikasb-10.08.00 2010-12-11 15:29:30 -06:00
Saleem Abdulrasool
23ef239303 remove unnecessary magic number usage 2010-12-09 22:02:39 -08:00
Matt Sealey
79dbe9115f fs: unionfs 2.5.7 for linux 2.6.31.14 2010-12-07 07:10:30 -06:00
Matt Sealey
3c9222317e bump to .13 finally 2010-12-07 06:34:09 -06:00
Matt Sealey
288a3a32bd sii9022: rename notifier block structure item from "fb" to "nb" 2010-12-07 06:33:41 -06:00
Matt Sealey
0c1bc3ce16 configs: add ecryptfs, configfs, security key retention.
also pulls in requirements for udlfb framebuffer operations
2010-12-07 06:32:36 -06:00
Matt Sealey
b761b6b198 dev_get_platdata is static 2010-12-06 00:32:03 -06:00
Matt Sealey
7d5a6b6789 spi platform data: fix spi platform device to name the mx51 unit and not send the driver into autodetect (which cannot autodetect an mx51!?) 2010-12-06 00:21:00 -06:00
Matt Sealey
c282fb0194 spi_imx: clock hack 2010-12-06 00:20:38 -06:00
Matt Sealey
b3a91a785b spi_imx: add dev_get_platdata from more recent kernels 2010-12-06 00:09:27 -06:00
Matt Sealey
a97241ee34 mc13892: remove "connectivity" option as it only applies to USB chargers etc. 2010-12-06 00:04:36 -06:00
Matt Sealey
9430ce486b framebuffer: Remove pixel clock setting hack 2010-12-05 20:09:24 -06:00
Matt Sealey
27c3096d91 sii9022: Add a tiny delay to the setup and mode change in the hope we avoid IPU_INT_STAT errors 2010-12-05 20:06:52 -06:00
Jason Chen
d74111ac5b ENGR00127358 ipuv3: make display data signal negative during blanking period
make display data signal negative during blanking period.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-12-03 10:42:46 -06:00
Jason Chen
1b4a64e634 ENGR00127332 ipuv3: change the disalbe dp-dc timming
disable dp-dc in the display flow end irq handler, otherwise,
ipu may get NFB4EOF error for next fb enabling under big resolution(like 1080p).

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-12-03 10:42:15 -06:00
Matt Sealey
816d9d06f2 Remove custom clock setting code as FSL fixed that bug in 10.09.00 2010-12-03 10:41:13 -06:00
Matt Sealey
ab43cba331 mxc_spi: remove rather spurious 0 write to control register which gets overwritten in the next line 2010-12-03 09:40:08 -06:00
Matt Sealey
eff536cdc3 section mismatches fixed:
* sanitize modelist used preferred_mode which was __initdata and shouldn't have been
* init_wdog only runs once and accesses __initdata, so it's been made __init
2010-12-03 08:17:17 -06:00
Matt Sealey
335dac8153 shorten structure name, and mark some things as __init so they go away after init 2010-12-03 08:08:35 -06:00
Matt Sealey
ad6e4186a0 register SPI devices before registering SPI master as is traditional 2010-12-03 08:08:03 -06:00
Roel Kluin
4e41073ea1 mtd: mtdpart: prevent a read from regions[-1]
If the erase region was found in the first iteration we read from
regions[-1]

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:52:26 -06:00
David Jander
e90355ef19 mtd: m25p80.c: Add support for S25FL032P spi-nor flash devices.
Signed-off-by: David Jander <david@protonic.nl>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:43:12 -06:00
Thierry Reding
b73e76642f mtd: m25p80: Add support for the Winbond W25Q64
This patch adds support for the Winbond W25Q64 serial flash.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:42:53 -06:00
Gernot Hoyler
84b419195c mtd: m25p80: Add support for two new Spansion SPI devices (S25FL-K)
This patch adds support for Spansion S25FL016K and S25FL064K SPI flash.
It has been tested with physical devices. Note that both parts exhibit
a Winbond manufacturer ID so they might also be added to that section.

Signed-off-by: Gernot Hoyler <Gernot.Hoyler@spansion.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:42:35 -06:00
Dan Carpenter
b3c3af1ac7 mtd/m25p80: fix test for end of loop
"plat_id" is always non-NULL here.  There is a zero element on the end
of the m25p_ids[] array and if we hit the end of the loop then plat_id
points to that.

This would lead to a NULL pointer dereference later on in the function.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:42:24 -06:00
Gabor Juhos
7700a6dda6 mtd: m25p80: add support for the Winbond W25Q32 SPI flash chip
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2010-12-03 07:41:22 -06:00
Gabor Juhos
7feb107bea mtd: m25p80: add support for the Intel/Numonyx {16,32,64}0S33B SPI flash chips
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:40:58 -06:00
Gabor Juhos
576cc79d2c mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:40:40 -06:00
Anton Vorontsov
c65568fb65 mtd: m25p80: Make jedec_probe() return proper errno values
spi_write_then_read() may return its own return codes (e.g. -EIO),
so let's propagate the value down to the probe().

Also, remove jedec == 0 check, it isn't needed as nowadays we use
dedicated SPI device IDs for non-JEDEC flashes.

Suggested-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:40:21 -06:00
Anton Vorontsov
1cbcb746de mtd: m25p80: Fix false-positive probing
Since commit 18c6182bae0acca220ed6611f741034d563cd19f ("Rework
probing/JEDEC code"), m25p80 driver successfully registers chips
even if JEDEC probing fails.

This was needed to support non-JEDEC flashes. Though, it appears
that some platforms (e.g. blackfin bf533 stamp[1]) used the old
behavior to detect if there's any flash connected, so the driver
have to fail on JEDEC probing errors.

This patch restores the old behavior for JEDEC flashes, and adds
"-nonjedec" SPI device IDs for M25Pxx flashes, so that the kernel
still supports non-JEDEC flashes.

[1] http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=5975

Reported-by: Mingquan Pan
Reported-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:40:02 -06:00
Martin Michlmayr
d72cec8ffa mtd: m25p80: Add support for Macronix 25L8005
Add support for Macronix 25L8005.  Tested on a HP t5325 Thin Client.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:39:51 -06:00
Simon Guinot
9a6435701e mtd: m25p80: add support for Macronix MX25L4005A
Signed-off-by: Simon Guinot <sguinot@lacie.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:39:04 -06:00
Anton Vorontsov
9c61c303b4 mtd: m25p80: Add support for CAT25xxx serial EEPROMs
CAT25 chips (as manufactured by On Semiconductor, previously Catalyst
Semiconductor) are similar to the original M25Px0 chips, except:

- Address width can vary (1-2 bytes, in contrast to 3 bytes in M25P
  chips). So, implement convenient m25p_addr2cmd() and m25p_cmdsz()
  calls, and place address width information into flash_info struct;

- Page size can vary, therefore we shouldn't hardcode it, so get rid
  of FLASH_PAGESIZE definition, and place the page size information
  into flash_info struct;

- CAT25 EEPROMs don't need to be erased, so add NO_ERASE flag, and
  propagate it to the mtd subsystem.

[dwmw2: Fix up for conflicts with DMA safety patch]
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:38:33 -06:00
Anton Vorontsov
3fad5c3524 mtd: m25p80: Rework probing/JEDEC code
Previosly the driver always tried JEDEC probing, assuming that non-JEDEC
chips will return '0'. But truly non-JEDEC chips (like CAT25) won't do
that, their behaviour on RDID command is undefined, so the driver should
not call jedec_probe() for these chips.

Also, be less strict on error conditions, don't fail to probe if JEDEC
found a chip that is different from what platform code told, instead
just print some warnings and use an information obtained via JEDEC. In
that case we should not trust partitions any longer, but they might be
still useful (i.e. they could protect some parts of the chip).

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:34:13 -06:00
Anton Vorontsov
98f730476e mtd: m25p80: Convert to device table matching
This patch converts the m25p80 driver so that now it uses .id_table
for device matching, making it properly detect devices on OpenFirmware
platforms (prior to this patch the driver misdetected non-JEDEC chips,
seeing all chips as "m25p80").

Also, now jedec_probe() only does jedec probing, nothing else. If it
is not able to detect a chip, NULL is returned and the driver fall
backs to the information specified by the platform (platform_data, or
exact ID).

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-12-03 07:33:16 -06:00