Saleem Abdulrasool
5e80a986dd
siihdmi: remove siihdmi_ps_to_hz in favour of PICOS2KHZ
2011-01-30 13:22:36 -08:00
Saleem Abdulrasool
c5a3079b84
siihdmi: fix interrupt handler
2011-01-30 13:03:58 -08:00
Saleem Abdulrasool
e3219471bd
siihdmi: siihdmi_init_fb -> siihdmi_setup_display
2011-01-30 13:03:26 -08:00
Saleem Abdulrasool
ffb135860c
siihdmi: tx -> D3 if !sink
2011-01-30 13:02:32 -08:00
Saleem Abdulrasool
4278ca1df0
siihdmi: clear AVI InfoFrame for DVI
2011-01-30 11:57:19 -08:00
Saleem Abdulrasool
883606b612
siihdmi: style
2011-01-30 11:57:18 -08:00
Saleem Abdulrasool
7d2a2137f8
siihdmi: fix printf string
2011-01-30 11:57:18 -08:00
Saleem Abdulrasool
82d7751991
siihdmi: the deferred timeout is not a settle period
2011-01-30 11:57:00 -08:00
Saleem Abdulrasool
4dfc578385
siihdmi: cleanup hotplug initialisation codepath
2011-01-30 01:21:06 -08:00
Saleem Abdulrasool
b5c1c5277f
siihdmi: upgrade some debug to warning/error
2011-01-30 01:13:47 -08:00
Saleem Abdulrasool
55034cc99c
siihdmi: style
2011-01-30 00:29:29 -08:00
Saleem Abdulrasool
7947d19306
siihdmi: log error reason when trying to register hotplug IRQ handler
2011-01-30 00:29:28 -08:00
Saleem Abdulrasool
8c048724e7
siihdmi: remove unnecessary passing of struct fb_info *
2011-01-30 00:29:28 -08:00
Saleem Abdulrasool
cdba556632
siihdmi: remove unnecessary log spew
2011-01-30 00:29:27 -08:00
Saleem Abdulrasool
254c0d583d
siihdmi: fix for operator precedence
2011-01-30 00:29:26 -08:00
Saleem Abdulrasool
f1b420c6e5
siihdmi: checksum edid blocks
2011-01-30 00:29:25 -08:00
Saleem Abdulrasool
e662ceb086
siihdmi: prettier output
2011-01-30 00:29:25 -08:00
Saleem Abdulrasool
38a89ac217
cea861: vsdb is entirely opaque
2011-01-30 00:29:24 -08:00
Saleem Abdulrasool
ec9fa83266
siihdmi: rework edid exporting to userspace
2011-01-30 00:29:23 -08:00
Saleem Abdulrasool
464c35b5f6
siihdmi: style
2011-01-30 00:29:23 -08:00
Saleem Abdulrasool
5dd29cec57
siihdmi: use struct resource over int for irq
2011-01-30 00:29:22 -08:00
Saleem Abdulrasool
47f43e08a4
sbs: define additional chemistries
2011-01-29 20:58:09 -08:00
Saleem Abdulrasool
d08f0d6429
edid: a few minor fixes for edid header
2011-01-29 20:58:09 -08:00
Saleem Abdulrasool
663b36a881
platform: fix up warnings due to unused variables
2011-01-29 20:58:08 -08:00
Saleem Abdulrasool
4655f71d0f
sbs: add support for presence/alert IRQs
2011-01-29 20:58:08 -08:00
Saleem Abdulrasool
bbd965e08c
sbs: initialise the returned value for mains
2011-01-29 15:52:26 -08:00
Saleem Abdulrasool
848faa6023
sbs: check function pointer before actually using it
2011-01-29 15:52:26 -08:00
Saleem Abdulrasool
d0e894df9e
sbs: fix off-by-1 in string reading
2011-01-29 15:52:26 -08:00
Matt Sealey
4c07458c43
config,sb: swap battery drivers since Saleem's new one is getting awesome
2011-01-29 09:31:04 -06:00
Will Deacon
797e410a39
ARM: 6387/1: errata: check primary part ID in proc-v7.S
...
Kconfig doesn't have any knowledge of specific v7 cores, so it is possible
to select errata workarounds that may cause inadvertent behaviour when
executed on a core other than those targetted by the fix.
This patch improves the variant and revision checking in proc-v7.S so
that the primary part number is also considered when applying errata
workarounds.
Acked-by: Catalin Marinas <catalin.marinas@arm.com >
Signed-off-by: Will Deacon <will.deacon@arm.com >
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2011-01-29 09:23:15 -06:00
Russell King
48347800be
ARM: udelay: prevent math rounding resulting in short udelays
...
We perform the microseconds to loops calculation using a number of
multiplies and shift rights. Each shift right rounds down the
resulting value, which can result in delays shorter than requested.
Ensure that we always round up.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk >
2011-01-29 09:21:06 -06:00
Matt Sealey
189a808937
siihdmi: binary edid property support (/sys/class/graphics/fb0/EDID)
2011-01-28 11:47:36 -06:00
Matt Sealey
3e0543205a
cea861: fix hdmi version of vsdb (should match cea one, port configuration was not little endian ordered)
2011-01-27 11:02:09 -06:00
Matt Sealey
863319833d
cea861: fix vendor specific data block (not an extension!)
2011-01-27 11:00:04 -06:00
Matt Sealey
6f9776c2ee
siihdmi: fix hotplug, don't printk in an interrupt routine, clear ISR sooner
2011-01-27 10:57:58 -06:00
Matt Sealey
2fee5c50ff
siihdmi: prefer 1280x720 if there is an exact video mode matching it
2011-01-27 10:56:51 -06:00
Matt Sealey
e4ab55fc35
siihdmi: add comment about vsync_len being too short (HDMI spec)
2011-01-27 10:55:26 -06:00
Matt Sealey
633174991e
siihdmi: properly relinquish DDC bus
2011-01-27 10:54:26 -06:00
Matt Sealey
5ee41fa2a1
siihdmi: sink_present is now more chatty
2011-01-27 10:53:01 -06:00
Matt Sealey
e47e394903
siihdmi: remove instrumentation from bus timeouts
2011-01-27 10:52:09 -06:00
Matt Sealey
ef68e1e100
siihdmi: bus timeout back to 50, since jiffies_to_ms has a maximum resolution of 10ms
2011-01-27 10:51:15 -06:00
Matt Sealey
3b15ac9969
siihdmi: fix config for hotplug
2011-01-27 10:50:05 -06:00
Saleem Abdulrasool
59992d3a3d
sbs: handle signed integer values correctly
2011-01-26 21:40:15 -08:00
Saleem Abdulrasool
dd755017f9
sbs: always report a value, 0 if the value is unavailable
2011-01-26 20:46:49 -08:00
Saleem Abdulrasool
5070e11542
sbs: rename platform insertion status functions
2011-01-26 20:42:18 -08:00
Saleem Abdulrasool
2b688d086c
sbs: uniform names
...
current is a macro for the current process. Use _current instead of current_now
as all the other cached fields are named the same as the register they
correspond to. Also, add in a comment about the special relationship between
_serial_number and serial_number.
2011-01-26 19:34:30 -08:00
Saleem Abdulrasool
7dc6e014d1
sbs: reorganise function layout
2011-01-26 19:31:23 -08:00
Saleem Abdulrasool
1c11307698
sbs: clearer names for the battery/mains
2011-01-26 19:28:56 -08:00
Saleem Abdulrasool
7953c7ad6b
sbs: dont leak memory
...
The power supply system does not actually expect allocated strings that it will
manage. We were allocating the strings, expecting the power supply class driver
to clean them up, and as a result had a massive leak. Fix this by storing the
string in the cache and returning a reference to that string.
This effectively overhauls the sbs_battery_field. It is renamed
sbs_battery_register which is more accurate. There is now string handling logic
for the string reading case. The int/uint types are handled the same, so there
is a single read type for those two value types.
2011-01-26 19:08:34 -08:00
Saleem Abdulrasool
d07ef9f5f7
sbs: make mWh reporting correct
2011-01-26 19:08:34 -08:00