Commit Graph

159244 Commits

Author SHA1 Message Date
Matt Sealey
c8e1a1fd2c config: re-enable DVFS-PER 2011-01-17 14:28:54 -06:00
Matt Sealey
2f3c0a4225 mtl017: fix mode data for AUO panel in SB, upper margin 24 -> 21 2011-01-17 10:36:13 -06:00
Saleem Abdulrasool
25054f8e22 siihdmi: various cleanups
Cleanup the siihdmi header (which really is pointless to split out...), redefine
the fields for the sii info frame packets, and restructure sizes to be in terms
of registers.
2011-01-16 16:41:45 -08:00
Saleem Abdulrasool
0f7c600578 siihdmi: fixup tmds_state handling
tmds_state is really a boolean, so rename it to tmds_enabled.  Furthermore, use
boolean values to interact with the boolean type.
2011-01-16 14:04:25 -08:00
Saleem Abdulrasool
627ffc6e91 siihdmi: simplify resolution setting
The allocations are no longer done in the info frame setting, DVI can transmit
the info frames, and the cost is simply the i2c writes.  This is an infrequent
operation, so just absorb the cost regardless of the connection type.
2011-01-16 14:02:00 -08:00
Saleem Abdulrasool
b9b3689853 cea861: improve CEA EDID extension block definition
Improve the CEA861 EDID block definition so that we can use it ot properly
identify a HDMI sink.
2011-01-16 13:57:57 -08:00
Saleem Abdulrasool
b8276b737b edid: improve edid parsing
Use a proper edid structure definition rather than indexing into a data blob.
This also adds additional helper functions to work with the returned edid data.

There is much room for further improvements still.  We should simply read the
first block, then use that to actually determine the number of blocks we need to
read from the device.  We cant simply read all the potential blocks as that can
be up to 32K of data.

Once we are reading all the EDID extensions, we should iterate over the blocks
to find the CEA block rather than assuming that the device is sending the CEA
block as the first block (especially given that the VESA spec calls for block 1
to be an extension map if there are more than 1 block present).
2011-01-16 13:41:26 -08:00
Saleem Abdulrasool
749bfcef01 make bus_timeout a module parameter
bus_timeout depends somewhat on the output device for certain operations.  As
such, it can be useful to actually change the value at runtime.  To that end,
make the value a module parameter.

Bonus whitespace cleanups and centralises the value to a single location.
2011-01-15 15:22:01 -08:00
Saleem Abdulrasool
6f1fcd9297 refactor info frame management
info frame checksumming is defined by the CEA861-E standard, and is not specific
to SII9xxx, so move that into the CEA861 header.

Don't bother allocating the info frame structures off the heap.  That causes
unnecessary fragmentation and complexity.  Allocate them off the stack as they
are small enough.  This also helps keep everything simple.

As a bonus, fixed up the SII HDMI structures and the CEA861 InfoFrame structures
in the process as well.  Also clean up the magic number in the AVI InfoFrame
assertion.
2011-01-15 14:43:51 -08:00
Saleem Abdulrasool
b1a5944cac cleanup unused variable warning 2011-01-15 09:57:12 -08:00
Saleem Abdulrasool
47d6ea7017 fix irq leak 2011-01-15 09:55:22 -08:00
Saleem Abdulrasool
327f785563 avoid unnecessary string allocation 2011-01-15 09:29:15 -08:00
Saleem Abdulrasool
6c9f4fe62f move edid definitions into an external header 2011-01-15 09:29:14 -08:00
Saleem Abdulrasool
f5fd774dae some whitespace fixes 2011-01-15 09:29:14 -08:00
Matt Sealey
25033f1ff4 siihdmi: instrument the i2c timeouts so that we can reduce the timeout values. We need to pull down some of the 100ms ones more importantly but this is a good start on working out how fast your monitor responds. 2011-01-15 11:09:14 -06:00
Matt Sealey
450483c85e siihdmi: make hotplugging and interrupt usage a configuration option, and turn it off while it's broken 2011-01-14 21:07:12 -06:00
Matt Sealey
40b3a1aa6f siihdmi: embed delayed_work into the structure instead of trying to allocate it
also make kmalloc/memset into kzalloc in probe
2011-01-14 14:18:18 -06:00
Matt Sealey
1daf20abcc siihdmi: improve irq handler, edge trigger it. change the way the workqueue works. retries->timeouts. general cleanliness updates. 2011-01-14 12:16:07 -06:00
Matt Sealey
242f37fea5 siihdmi: disable irq handler as it is blocking boot now that the interrupt is it's own and it does not clear the SII9022 2011-01-13 17:39:19 -06:00
Matt Sealey
40b9ebc8a6 Added missing include mach/irqs.h 2011-01-13 17:15:07 -06:00
Matt Sealey
2b550492ee Correct hdmi irq value (TO_IRQ not TO_GPIO). I owe Michal Schultz a beer. 2011-01-13 16:59:35 -06:00
Matt Sealey
f6b065ff7d ARM: VFP: Fix vfp_put_double() for d16-d31
vfp_put_double() takes the double value in r0,r1 not r1,r2.

Reported-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Cc: <stable@kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-01-12 21:14:14 -06:00
Matt Sealey
40d4738110 ata: cleanup init and exit for Smartbook to unify the code 2011-01-11 20:35:29 -06:00
Matt Sealey
fb6e89f9ac config: move to new hdmi driver 2011-01-10 21:17:37 -06:00
Matt Sealey
b46c2bb023 naive attempt at tuning for cortex-a8 2011-01-10 21:14:50 -06:00
Matt Sealey
1849719eec new year, new configs
put pata_fsl and mx_sdhci back in the kernel because module probing is a bitch
add dual fifo for audio
2011-01-10 20:45:57 -06:00
Matt Sealey
35b23a2011 platforms -> smarttop for this kernel version, it'll merge back later 2011-01-10 20:41:34 -06:00
Matt Sealey
afa07323c3 pata_platform: set up ATA before registering the device 2010-12-30 11:51:30 -06:00
Matt Sealey
db772e6a6d battery: SBS gives times in minutes, power_supply class specifies seconds. Multiple values by 60. 2010-12-23 11:42:34 -06:00
Matt Sealey
e333b4c99b pata_fsl: Don't disable "regulators" that are in fact NULL pointers. 2010-12-22 20:06:15 -06:00
Matt Sealey
0e40d58807 pata_platform: fix platform resource values for ATA SFF standard registers (maybe?) 2010-12-22 02:45:20 -06:00
Matt Sealey
3c0c41c42a spi_imx: free gpio for chipselects before registering platform driver or it will fail
(cherry picked from commit 7909dd00e5ef8f6dd16d736bf43b80ad3a1f5fde)
2010-12-22 02:32:52 -06:00
Matt Sealey
176792006f mx ata: add support for evil pata_platform while pata_fsl is not working. Note: this also does not work yet.
(cherry picked from commit 38b490f7a71d83f63fa7fc43cb16bf0f55a7b48e)
2010-12-22 02:32:44 -06:00
Matt Sealey
1d5faea6a6 siihdmi: Only initialize the DISP3 BG framebuffer to stop it from setting resolution twice on boot.
(cherry picked from commit fd46562598a3355ecbd8f568ad7b2745bfad8bfa)
2010-12-22 02:32:36 -06:00
Matt Sealey
b8d86a8db4 ata: remove redundant active/inactive functions as they do nothing
(cherry picked from commit 365802eb1356f9aa42fd4ae781315fe81247fa7f)
2010-12-22 02:32:28 -06:00
Matt Sealey
51456c12cf pata_fsl: sync changes to 10.10 BSP. Note that the new DMA scripts seem to have broken the driver before and after this change...
(cherry picked from commit f95119c0759e8c682b8277eb03bb7eb0ef67879a)
2010-12-22 02:32:21 -06:00
Matt Sealey
d93edc769d mx audio: restore headphone detect IOMUX setting (accidentally removed by clock pin change)
(cherry picked from commit 5734b93a12058164f8517eba0bc232af265de46b)
2010-12-22 02:32:11 -06:00
Matt Sealey
c883f26bb8 siihdmi: add a 10ms pause before setting resolution 2010-12-22 02:30:18 -06:00
Matt Sealey
231c914c9c audio: request gpio 1_9 before using it since iomux doesn't cover this pin as gpio 2010-12-21 17:51:37 -06:00
Matt Sealey
7c7569e082 ipu: don't look for lvds bridge clocks on systems that aren't using the lvds bridge 2010-12-21 17:47:30 -06:00
Matt Sealey
9a2cb63f4b sb: remove absolutely useless idle timer code 2010-12-21 17:12:45 -06:00
Matt Sealey
b9267874b6 overlay driver: remove unused platform device (it's in mach-mx5/devices.c now) 2010-12-21 17:08:58 -06:00
Matt Sealey
3fbb0547af hid: remove egregious idle timer stuff and clean up some whitespace 2010-12-21 17:03:59 -06:00
Matt Sealey
34626f4751 siihdmi: add CEA Data Block Collection definitions so we can parse them properly and accurately detect an HDMI sink 2010-12-21 12:43:08 -06:00
Robert P. J. Day
954ac1046f Staging: usbip: Fix typo "Contoroller".
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-18 14:17:27 -06:00
Shan Wei
25672dfd6f Staging: usb-ip: vhci_hdc:Fix the returned error value
Compared with other drivers, the "ret" should be nagative and
returned. But in vhci_hdc, it always return 0;

I dont't use the driver, and I'm not familiar with the code.
Hope the patch is helpful.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-18 14:17:12 -06:00
Brian G. Merrell
e2db8f3dcc Staging: USB-IP code cleanup
This includes fixes for all of the legit checkpatch.pl errors and
warnings.  I have also included several of the suggestions from the
linux-kernel mailing list when the USB-IP code was first added.

Signed-off-by: Brian G. Merrell <bgmerrell@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-18 14:14:52 -06:00
Matt Sealey
c17a83f9ae add and register mxc_v4l2out_device 2010-12-18 02:27:11 -06:00
Matt Sealey
f6ecf7665b drag mxc_v4l2_output video overlay code into the modern world (BSP 10.11.01)
drag mxc_ipuv3_fb with it (remove final efikamx specific stuff)
update some IPU stuff and ioctls for it all to interoperate

notes:
	that line_length bug is still there, I really can't find why it's 0...
	doesn't register because the platform_device isn't in a/a/p-mxc/devices.?
2010-12-18 01:09:45 -06:00
Matt Sealey
f63b8eb795 Bring IPU up to latest BSP, including these fixes:
ENGR00133954 ipuv3: remove FB_SYNC_EXT flag
ENGR00133034 ipuv3: fix black flash issue during high resolution video playback
ENGR00134076 ipuv3: should not set burst size again
ENGR00133345 IPUv3 VDI:Support bottom field first setting
ENGR00131660 ipuv3: left stripe output column should be set to zero

This actually fixes the clock sync problem with the AOC HDMI monitor we have (perfectly
working display but "input not support" floating around). Happily, the boot splash
actually works, too (previously it would not work until the second set of the display
when GDM booted). Hopefully IPU support is nice and stable now.
2010-12-14 00:45:28 -06:00