efikamx:linux-kernel.git
7 years agosiihdmi: prettier output
Saleem Abdulrasool [Sun, 30 Jan 2011 07:34:19 +0000 (23:34 -0800)]
siihdmi: prettier output

7 years agocea861: vsdb is entirely opaque
Saleem Abdulrasool [Sun, 30 Jan 2011 01:03:03 +0000 (17:03 -0800)]
cea861: vsdb is entirely opaque

7 years agosiihdmi: rework edid exporting to userspace
Saleem Abdulrasool [Sun, 30 Jan 2011 00:31:25 +0000 (16:31 -0800)]
siihdmi: rework edid exporting to userspace

7 years agosiihdmi: style
Saleem Abdulrasool [Sun, 30 Jan 2011 00:13:51 +0000 (16:13 -0800)]
siihdmi: style

7 years agosiihdmi: use struct resource over int for irq
Saleem Abdulrasool [Sat, 29 Jan 2011 23:48:48 +0000 (15:48 -0800)]
siihdmi: use struct resource over int for irq

7 years agosbs: define additional chemistries
Saleem Abdulrasool [Sat, 29 Jan 2011 23:20:54 +0000 (15:20 -0800)]
sbs: define additional chemistries

7 years agoedid: a few minor fixes for edid header
Saleem Abdulrasool [Sat, 29 Jan 2011 22:29:45 +0000 (14:29 -0800)]
edid: a few minor fixes for edid header

7 years agoplatform: fix up warnings due to unused variables
Saleem Abdulrasool [Sat, 29 Jan 2011 21:35:03 +0000 (13:35 -0800)]
platform: fix up warnings due to unused variables

7 years agosbs: add support for presence/alert IRQs
Saleem Abdulrasool [Sat, 29 Jan 2011 21:15:37 +0000 (13:15 -0800)]
sbs: add support for presence/alert IRQs

7 years agosbs: initialise the returned value for mains
Saleem Abdulrasool [Fri, 28 Jan 2011 06:33:52 +0000 (22:33 -0800)]
sbs: initialise the returned value for mains

7 years agosbs: check function pointer before actually using it
Saleem Abdulrasool [Fri, 28 Jan 2011 06:33:23 +0000 (22:33 -0800)]
sbs: check function pointer before actually using it

7 years agosbs: fix off-by-1 in string reading
Saleem Abdulrasool [Fri, 28 Jan 2011 06:05:23 +0000 (22:05 -0800)]
sbs: fix off-by-1 in string reading

7 years agoconfig,sb: swap battery drivers since Saleem's new one is getting awesome
Matt Sealey [Sat, 29 Jan 2011 15:31:04 +0000 (09:31 -0600)]
config,sb: swap battery drivers since Saleem's new one is getting awesome

7 years agoARM: 6387/1: errata: check primary part ID in proc-v7.S
Will Deacon [Tue, 14 Sep 2010 08:50:03 +0000 (09:50 +0100)]
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>
7 years agoARM: udelay: prevent math rounding resulting in short udelays
Russell King [Mon, 10 Jan 2011 23:55:59 +0000 (23:55 +0000)]
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>
7 years agosiihdmi: binary edid property support (/sys/class/graphics/fb0/EDID)
Matt Sealey [Fri, 28 Jan 2011 17:47:36 +0000 (11:47 -0600)]
siihdmi: binary edid property support (/sys/class/graphics/fb0/EDID)

7 years agocea861: fix hdmi version of vsdb (should match cea one, port configuration was not...
Matt Sealey [Thu, 27 Jan 2011 17:02:09 +0000 (11:02 -0600)]
cea861: fix hdmi version of vsdb (should match cea one, port configuration was not little endian ordered)

7 years agocea861: fix vendor specific data block (not an extension!)
Matt Sealey [Thu, 27 Jan 2011 17:00:04 +0000 (11:00 -0600)]
cea861: fix vendor specific data block (not an extension!)

7 years agosiihdmi: fix hotplug, don't printk in an interrupt routine, clear ISR sooner
Matt Sealey [Thu, 27 Jan 2011 16:57:58 +0000 (10:57 -0600)]
siihdmi: fix hotplug, don't printk in an interrupt routine, clear ISR sooner

7 years agosiihdmi: prefer 1280x720 if there is an exact video mode matching it
Matt Sealey [Thu, 27 Jan 2011 16:56:51 +0000 (10:56 -0600)]
siihdmi: prefer 1280x720 if there is an exact video mode matching it

7 years agosiihdmi: add comment about vsync_len being too short (HDMI spec)
Matt Sealey [Thu, 27 Jan 2011 16:55:26 +0000 (10:55 -0600)]
siihdmi: add comment about vsync_len being too short (HDMI spec)

7 years agosiihdmi: properly relinquish DDC bus
Matt Sealey [Thu, 27 Jan 2011 16:54:26 +0000 (10:54 -0600)]
siihdmi: properly relinquish DDC bus

7 years agosiihdmi: sink_present is now more chatty
Matt Sealey [Thu, 27 Jan 2011 16:53:01 +0000 (10:53 -0600)]
siihdmi: sink_present is now more chatty

7 years agosiihdmi: remove instrumentation from bus timeouts
Matt Sealey [Thu, 27 Jan 2011 16:52:09 +0000 (10:52 -0600)]
siihdmi: remove instrumentation from bus timeouts

7 years agosiihdmi: bus timeout back to 50, since jiffies_to_ms has a maximum resolution of...
Matt Sealey [Thu, 27 Jan 2011 16:51:15 +0000 (10:51 -0600)]
siihdmi: bus timeout back to 50, since jiffies_to_ms has a maximum resolution of 10ms

7 years agosiihdmi: fix config for hotplug
Matt Sealey [Thu, 27 Jan 2011 16:50:05 +0000 (10:50 -0600)]
siihdmi: fix config for hotplug

7 years agosbs: handle signed integer values correctly
Saleem Abdulrasool [Thu, 27 Jan 2011 05:40:15 +0000 (21:40 -0800)]
sbs: handle signed integer values correctly

7 years agosbs: always report a value, 0 if the value is unavailable
Saleem Abdulrasool [Thu, 27 Jan 2011 04:46:49 +0000 (20:46 -0800)]
sbs: always report a value, 0 if the value is unavailable

7 years agosbs: rename platform insertion status functions
Saleem Abdulrasool [Thu, 27 Jan 2011 04:42:18 +0000 (20:42 -0800)]
sbs: rename platform insertion status functions

7 years agosbs: uniform names
Saleem Abdulrasool [Thu, 27 Jan 2011 03:34:30 +0000 (19:34 -0800)]
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.

7 years agosbs: reorganise function layout
Saleem Abdulrasool [Thu, 27 Jan 2011 03:31:23 +0000 (19:31 -0800)]
sbs: reorganise function layout

7 years agosbs: clearer names for the battery/mains
Saleem Abdulrasool [Thu, 27 Jan 2011 03:28:56 +0000 (19:28 -0800)]
sbs: clearer names for the battery/mains

7 years agosbs: dont leak memory
Saleem Abdulrasool [Wed, 26 Jan 2011 06:50:33 +0000 (22:50 -0800)]
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.

7 years agosbs: make mWh reporting correct
Saleem Abdulrasool [Wed, 26 Jan 2011 05:29:03 +0000 (21:29 -0800)]
sbs: make mWh reporting correct

7 years agomx: fixes for platform display code
Matt Sealey [Wed, 26 Jan 2011 08:29:47 +0000 (02:29 -0600)]
mx: fixes for platform display code

* cleanup (useless definitions)
* fix IOMUX for reset pin definition (make it a straight boring GPIO)
* add IRQ pin IOMUX (can't believe I missed that)
* add DISP_EN lines from schematics (active low), and knock VGA on the head (might save a few uA)

7 years agosbs: x^0 = 1, not 0
Saleem Abdulrasool [Wed, 26 Jan 2011 03:37:20 +0000 (19:37 -0800)]
sbs: x^0 = 1, not 0

7 years agosbs: current_now is a signed value
Saleem Abdulrasool [Wed, 26 Jan 2011 03:37:01 +0000 (19:37 -0800)]
sbs: current_now is a signed value

7 years agosbs: slightly clearer return path
Saleem Abdulrasool [Wed, 26 Jan 2011 03:22:13 +0000 (19:22 -0800)]
sbs: slightly clearer return path

7 years agopower: fix manufacturer and serial number reporting in sysfs
Saleem Abdulrasool [Wed, 26 Jan 2011 03:18:54 +0000 (19:18 -0800)]
power: fix manufacturer and serial number reporting in sysfs

7 years agosbs: support mains/battery availability checks
Saleem Abdulrasool [Tue, 25 Jan 2011 21:50:48 +0000 (13:50 -0800)]
sbs: support mains/battery availability checks

7 years agosiihdmi: cull modes that have too short vsync_len. Not a nice way to specify to cull...
Matt Sealey [Tue, 25 Jan 2011 22:01:29 +0000 (16:01 -0600)]
siihdmi: cull modes that have too short vsync_len. Not a nice way to specify to cull these modes in platform data yet. Yet another reason for a DRM connector and not this driver framework...
ipu: no longer platform-specific hack short vsync_len out, since we cull them in the siihdmi driver. Makes our ipu code == fsl code.

7 years agosbs: handle strings correctly
Saleem Abdulrasool [Tue, 25 Jan 2011 08:04:48 +0000 (00:04 -0800)]
sbs: handle strings correctly

7 years agosynaptics-usb 1.5rc8 for hacking around with the touchpad (no mods made for detection...
Matt Sealey [Mon, 24 Jan 2011 17:56:07 +0000 (11:56 -0600)]
synaptics-usb 1.5rc8 for hacking around with the touchpad (no mods made for detection yet)

7 years agoadd new SBS driver
Saleem Abdulrasool [Mon, 24 Jan 2011 00:26:22 +0000 (16:26 -0800)]
add new SBS driver

7 years agosb: add brightness keys
Matt Sealey [Mon, 24 Jan 2011 15:39:08 +0000 (09:39 -0600)]
sb: add brightness keys

7 years agosiihdmi: clean up siihdmi reset, remove more cs8556 stuff, better description
Matt Sealey [Mon, 24 Jan 2011 13:41:39 +0000 (07:41 -0600)]
siihdmi: clean up siihdmi reset, remove more cs8556 stuff, better description
of IPU errors and film modes.

7 years agoMove devtmpfs configs to main defconfigs
Matt Sealey [Sun, 23 Jan 2011 21:45:44 +0000 (15:45 -0600)]
Move devtmpfs configs to main defconfigs

7 years agoremove useless unupdated default configurations
Matt Sealey [Sun, 23 Jan 2011 21:43:44 +0000 (15:43 -0600)]
remove useless unupdated default configurations

7 years agoKconfig: siihdmi is not useful as a module
Saleem Abdulrasool [Sun, 23 Jan 2011 20:01:06 +0000 (12:01 -0800)]
Kconfig: siihdmi is not useful as a module

7 years agosiihdmi: we no longer need to be tied to the machine details
Saleem Abdulrasool [Sun, 23 Jan 2011 19:59:36 +0000 (11:59 -0800)]
siihdmi: we no longer need to be tied to the machine details

7 years agosiihdmi: rename mxcfb_siihdmi.c to siihdmi.c
Saleem Abdulrasool [Sun, 23 Jan 2011 19:57:07 +0000 (11:57 -0800)]
siihdmi: rename mxcfb_siihdmi.c to siihdmi.c

7 years agosii9022: remove this driver entirely in favour of siihdmi
Saleem Abdulrasool [Sun, 23 Jan 2011 01:47:38 +0000 (17:47 -0800)]
sii9022: remove this driver entirely in favour of siihdmi

7 years agomx51: delete unused display variables
Saleem Abdulrasool [Sun, 23 Jan 2011 01:38:10 +0000 (17:38 -0800)]
mx51: delete unused display variables

7 years ago[arm] platform: remove unused edid code
Saleem Abdulrasool [Sun, 23 Jan 2011 01:26:30 +0000 (17:26 -0800)]
[arm] platform: remove unused edid code

This code is no longer used, just remove it.

7 years agosiihdmi: sii_hdmi.h -> siihdmi.h
Saleem Abdulrasool [Sun, 23 Jan 2011 01:15:07 +0000 (17:15 -0800)]
siihdmi: sii_hdmi.h -> siihdmi.h

7 years agosiihdmi: move video mode selection into its own function
Saleem Abdulrasool [Sun, 23 Jan 2011 01:05:40 +0000 (17:05 -0800)]
siihdmi: move video mode selection into its own function

7 years agosiihdmi: max pixclock is platform specific data
Saleem Abdulrasool [Sat, 22 Jan 2011 22:51:28 +0000 (14:51 -0800)]
siihdmi: max pixclock is platform specific data

7 years agosiihdmi: cleanup siihdmi_santize_modelist
Saleem Abdulrasool [Sat, 22 Jan 2011 22:44:19 +0000 (14:44 -0800)]
siihdmi: cleanup siihdmi_santize_modelist

Use list_for_each_entry_safe to make the code easier to follow, re-order the
checks for removal, and break once the remove flag is set in the list traversal.

7 years agosiihdmi: improve siihdmi_dump_modelines
Saleem Abdulrasool [Sat, 22 Jan 2011 19:27:02 +0000 (11:27 -0800)]
siihdmi: improve siihdmi_dump_modelines

Make dump_modelines dump videomodes rather than monspecs so that we see the
actual supported video modelines.

7 years agosiihdmi: move res_equal into modedb
Saleem Abdulrasool [Sat, 22 Jan 2011 19:12:29 +0000 (11:12 -0800)]
siihdmi: move res_equal into modedb

The comparitor function is not specific to SII9xxx, but a generic modedb
function.  Move it to a more appropriate home.

7 years agosiihdmi: kill dead code
Saleem Abdulrasool [Sat, 22 Jan 2011 19:04:52 +0000 (11:04 -0800)]
siihdmi: kill dead code

7 years agosiihdmi: better driver name for IRQ
Saleem Abdulrasool [Fri, 21 Jan 2011 04:56:58 +0000 (20:56 -0800)]
siihdmi: better driver name for IRQ

7 years agosiihdmi: reset if the reset method is provided
Saleem Abdulrasool [Fri, 21 Jan 2011 04:56:35 +0000 (20:56 -0800)]
siihdmi: reset if the reset method is provided

7 years agosiihdmi: add siihdmi_platform_data
Saleem Abdulrasool [Fri, 21 Jan 2011 04:02:41 +0000 (20:02 -0800)]
siihdmi: add siihdmi_platform_data

SII9022 requires some platform specific data that was previously hardcoded into
the driver.  Create a new siihdmi_platform_data struct to actually get this
information.  This allows a particular vendor to supply the IRQ vector, the
reset method, the framebuffer id, as well as the vendor/description for the SPD
block currently.

7 years agosiihdmi: minor cleanup of siihdmi_fb_event_handler
Saleem Abdulrasool [Fri, 21 Jan 2011 03:00:01 +0000 (19:00 -0800)]
siihdmi: minor cleanup of siihdmi_fb_event_handler

Add more const to the function.  Just always allocate the fb_var_screeninfo.
Inline the event data conversion.

7 years agosiihdmi: cache edid data
Saleem Abdulrasool [Fri, 21 Jan 2011 02:52:18 +0000 (18:52 -0800)]
siihdmi: cache edid data

7 years agosiihdmi: more uniform naming
Saleem Abdulrasool [Fri, 21 Jan 2011 02:47:52 +0000 (18:47 -0800)]
siihdmi: more uniform naming

SIIHDMI_INFO_FRAME_<type> is more fitting with the rest of the code

7 years agosiihdmi: better IPU settling handling
Saleem Abdulrasool [Fri, 21 Jan 2011 02:43:42 +0000 (18:43 -0800)]
siihdmi: better IPU settling handling

For some reason pausing to allow the IPU to catchup allows the driver to
interact with a wider variety of devices.  It is still unknown as to the
concrete reason why it improves compatibility.  Unify the definition for
the timeout and only do it on the Efika MX for the time being.

7 years agosiihdmi: reoder function definitions
Saleem Abdulrasool [Fri, 21 Jan 2011 02:33:09 +0000 (18:33 -0800)]
siihdmi: reoder function definitions

entirely cosmetic change to define the functions nearer to their actual usage in
order of usage.

7 years agoENGR00133318-1 IPUv3 CSI:Support SMFC channel interlaced scan order
Liu Ying [Sat, 22 Jan 2011 06:47:22 +0000 (00:47 -0600)]
ENGR00133318-1 IPUv3 CSI:Support SMFC channel interlaced scan order

This patch supports interlaced scan order for CSI->SMFCx->MEM
channels.

Signed-off-by: Liu Ying <b17645@freescale.com>
7 years agoENGR00126618 V4L2 capture:Stream mode fails with all IPU channels off
Liu Ying [Tue, 24 Aug 2010 07:47:54 +0000 (15:47 +0800)]
ENGR00126618 V4L2 capture:Stream mode fails with all IPU channels off

If IPU clock is disabled, enable it when configuring the CSI module.

Signed-off-by: Liu Ying <b17645@freescale.com>
7 years agoENGR00133726 vpu: make clk_disable() be called only in process context
Sammy He [Tue, 16 Nov 2010 14:12:14 +0000 (22:12 +0800)]
ENGR00133726 vpu: make clk_disable() be called only in process context

Voltage scaling is done using the Regulator API, which talks to PMIC
using SPI. SPI code can sleep and hence clk_[en|dis]able() cannot
be called in an ISR/tasklet etc contexts.

Signed-off-by: Sammy He <r62914@freescale.com>
7 years agobump to .17 for development
Matt Sealey [Sat, 22 Jan 2011 05:42:22 +0000 (23:42 -0600)]
bump to .17 for development

7 years agobump to .16 efikasb-10.08.00-20110122
Matt Sealey [Sat, 22 Jan 2011 05:40:52 +0000 (23:40 -0600)]
bump to .16

7 years agoHID: adding __init/__exit macros to module init/exit functions
Peter Huewe [Thu, 2 Jul 2009 17:08:38 +0000 (19:08 +0200)]
HID: adding __init/__exit macros to module init/exit functions

Trivial patch which adds the __init and __exit macros to the module_init /
module_exit functions of several HID drivers from drivers/hid/

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
7 years agousbnet: Set link down initially for drivers that update link state
Ben Hutchings [Wed, 4 Nov 2009 15:29:52 +0000 (15:29 +0000)]
usbnet: Set link down initially for drivers that update link state

Some usbnet drivers update link state while others do not due to
hardware limitations.  Add a flag to distinguish those that do, and
set the link down initially for their devices.

This is intended to fix this bug: http://bugs.debian.org/444043

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
7 years agoasix: check packet size against mtu+ETH_HLEN instead of ETH_FRAME_LEN
Jussi Kivilinna [Mon, 7 Jun 2010 07:56:27 +0000 (00:56 -0700)]
asix: check packet size against mtu+ETH_HLEN instead of ETH_FRAME_LEN

Driver checks received packet is too large in asix_rx_fixup() and fails if it is. Problem is
that MTU might be set larger than 1500 and asix fails to work correctly with VLAN tagged
packets. The check should be 'dev->net->mtu + ETH_HLEN' instead.

Tested with AX88772.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
7 years agodrivers/net/usb/asix.c: Fix unaligned accesses
Neil Jones [Tue, 18 May 2010 00:18:28 +0000 (17:18 -0700)]
drivers/net/usb/asix.c: Fix unaligned accesses

Using this driver can cause unaligned accesses in the IP layer
This has been fixed by aligning the skb data correctly using the
spare room left over by the 4 byte header inserted between packets
by the device.

Signed-off-by: Neil Jones <NeilJay@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
7 years agoasix: fix setting mac address for AX88772
Jussi Kivilinna [Tue, 9 Mar 2010 12:24:38 +0000 (12:24 +0000)]
asix: fix setting mac address for AX88772

Setting new MAC address only worked when device was set to promiscuous mode.
Fix MAC address by writing new address to device using undocumented command
AX_CMD_READ_NODE_ID+1. Patch is tested with AX88772 device.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: David Hollis <dhollis@davehollis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
7 years agoARM: 6468/1: backtrace: fix calculation of thread stack base
Will Deacon [Thu, 4 Nov 2010 17:22:51 +0000 (18:22 +0100)]
ARM: 6468/1: backtrace: fix calculation of thread stack base

When unwinding stack frames we must take care not to unwind
areas of memory that lie outside of the known extent of the stack.

This patch fixes an incorrect calculation of the stack base where
THREAD_SIZE is added to the stack pointer after it has already
been aligned to this value. Since the ALIGN macro performs this
addition internally, we end up overshooting the base by 8k.

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>
7 years ago[ARM] 5613/1: implement CALLER_ADDRESSx
Uwe Kleine-König [Tue, 21 Jul 2009 08:56:27 +0000 (09:56 +0100)]
[ARM] 5613/1: implement CALLER_ADDRESSx

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

As __builtin_return_address(n) doesn't work for ARM with n > 0, the
kernel needs its own implementation.

This fixes many warnings saying:

warning: unsupported argument to '__builtin_return_address'

The new methods and walk_stackframe must not be instrumented because
CALLER_ADDRESSx is used in the various tracers and tracing the tracer is
a bad idea.

What's currently missing is an implementation using unwind tables.  This
is not fatal though, it's just that the tracers don't get enough
information to be really useful.

Note that if both ARM_UNWIND and FRAME_POINTER are enabled,
walk_stackframe uses unwind information.  So in this case the same
implementation is used as when FRAME_POINTER is disabled.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
7 years agoARM: 6341/1: unwind - optimise linked-list searches for modules
Phil Carmody [Thu, 19 Aug 2010 14:20:37 +0000 (15:20 +0100)]
ARM: 6341/1: unwind - optimise linked-list searches for modules

With several sections per module, and dozens of modules, the
searches down the linked list of sections would dominate the
lookup time, dwarfing any savings from the binary search
within the section.

A simple move-to-front optimisation exploits the commonality
of the code paths taken, and in simple real-world tests reduces
the number of steps in the search to barely more than 1.

Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
7 years agoARM: 6140/1: silence a bogus sparse warning in unwind.c
Alexander Shishkin [Fri, 21 May 2010 11:32:07 +0000 (12:32 +0100)]
ARM: 6140/1: silence a bogus sparse warning in unwind.c

The check for compiler which is supposed to miscompile unwind tables
clearly has nothing to do with sparse (which does not define necessary
macros anyway), so simply silence it.

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
7 years agoARM: 5776/1: Check compiler version and EABI support when adding ARM unwind support.
Claudio Scordino [Fri, 30 Oct 2009 11:06:05 +0000 (12:06 +0100)]
ARM: 5776/1: Check compiler version and EABI support when adding ARM unwind support.

ARM unwind is known to compile only with EABI and not-buggy compilers.
The problem is not the unwinding information but the -fno-frame-pointer
option added as a result of !CONFIG_FRAME_POINTER.  Now we check the
compiler and raise a #warning in case of wrong compiler.

Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
7 years agosched: update load count only once per cpu in 10 tick update window (v2 -> v3)
Matt Sealey [Sat, 22 Jan 2011 04:04:22 +0000 (22:04 -0600)]
sched: update load count only once per cpu in 10 tick update window (v2 -> v3)

7 years agoIPU updates from latest FSL BSP, seemingly all related to burst sizes and so on....
Matt Sealey [Sat, 22 Jan 2011 03:43:30 +0000 (21:43 -0600)]
IPU updates from latest FSL BSP, seemingly all related to burst sizes and so on. New pixel format.

7 years agosiihdmi: remove sii9022 from Kconfig for video for Smartbook too
Matt Sealey [Fri, 21 Jan 2011 21:57:14 +0000 (15:57 -0600)]
siihdmi: remove sii9022 from Kconfig for video for Smartbook too

7 years agoefikamx: remove redundant crap from display platform file
Matt Sealey [Fri, 21 Jan 2011 21:40:57 +0000 (15:40 -0600)]
efikamx: remove redundant crap from display platform file

7 years agobump to .14 for PD release efikasb-10.08.00-20110121
Matt Sealey [Fri, 21 Jan 2011 21:23:06 +0000 (15:23 -0600)]
bump to .14 for PD release

7 years agosiihdmi: native panel resolution and mode culling support
Matt Sealey [Fri, 21 Jan 2011 21:19:15 +0000 (15:19 -0600)]
siihdmi: native panel resolution and mode culling support

* Will now parse the mode list to:
 - Remove pixel clocks above 133MHz which the MX51 IPU DI cannot display (PLL limitation)
 - Remove modes from mode list that are interlaced (cannot display)
 - Find and save the best (native) panel mode and try and match a mode as close as possible instead of
   arbitrarily trying 1280x720 (unless EDID failed for some reason)
* Reduce bus timeout default to 10ms as it always takes less (<4ms or so, but we want to handle slow monitors)
* Comment out instrumentation until it returns reasonable values (jiffies aren't accurate enough)
* Some variable renames for clearer code

7 years agodvfs-per: fix references to pixel clocks
Matt Sealey [Fri, 21 Jan 2011 21:17:55 +0000 (15:17 -0600)]
dvfs-per: fix references to pixel clocks

7 years agosiihdmi: fix edid reference, use usecs for instrumentation
Matt Sealey [Thu, 20 Jan 2011 18:57:01 +0000 (12:57 -0600)]
siihdmi: fix edid reference, use usecs for instrumentation

7 years agosiihdmi: inline siihdmi_detect_sink
Saleem Abdulrasool [Thu, 20 Jan 2011 17:42:41 +0000 (09:42 -0800)]
siihdmi: inline siihdmi_detect_sink

The framebuffer routines also work with the cea861 data.  Move the edid reading
into the function itself, which avoids us having to read the EDID data multiple
times and allows us to pass the full EDID data to the framebuffer routines.

We always have to read the first block to determine the actual length of the
EDID data.  In order to keep the reading logic the same all the time, we simply
re-read the EDID data always (even if there are no extension blocks).  This
hopefully will help keep timing issues similar across all devices.

7 years agoMerge branch 'efikasb-10.08.00' of gitorious.org:efikamx/linux-kernel into efikasb...
Matt Sealey [Thu, 20 Jan 2011 17:04:13 +0000 (11:04 -0600)]
Merge branch 'efikasb-10.08.00' of gitorious.org:efikamx/linux-kernel into efikasb-10.08.00

7 years agoSome backports from FSL tree: lost the ENGR numbers but in summary:
Matt Sealey [Thu, 20 Jan 2011 16:23:28 +0000 (10:23 -0600)]
Some backports from FSL tree: lost the ENGR numbers but in summary:

* fix bus frequency driver check for frequency (> instead of !=)
* fix VPU lockup due to misassigning a clock
* stop dvfs before reboots (otherwise it might not reboot)
* small cleanups in DVFS code for frequency changing and added spinlock

7 years agosiihdmi: fix up cea861 header parsing
Saleem Abdulrasool [Thu, 20 Jan 2011 01:47:49 +0000 (17:47 -0800)]
siihdmi: fix up cea861 header parsing

The data block collection can be arbitrarily ordered.  We need to iterate over
all the blocks and check them.

7 years agoENGR00135971 GPU: move clk_enable/disable out of timer handler
Richard Zhao [Mon, 6 Dec 2010 02:50:52 +0000 (10:50 +0800)]
ENGR00135971 GPU: move clk_enable/disable out of timer handler

For timer based power autogating, we have to move clk_enable/disable out of
timer handler, because they become may sleep.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
7 years agoENGR00134150 GPU: destroy device in workqueue for error interrupts
Jie Zhou [Thu, 25 Nov 2010 07:19:42 +0000 (15:19 +0800)]
ENGR00134150 GPU: destroy device in workqueue for error interrupts

If GPU error interrupt detected, related device will be destroyed.
In the destory function, device_idle and mutex_lock may cause sleep,
which may cause kernel crash, so delay the device destroy to the
workqueue to avoid this.

Signed-off-by: Jie Zhou <b30303@freescale.com>
7 years agoconfig: re-enable DVFS-PER
Matt Sealey [Mon, 17 Jan 2011 20:28:54 +0000 (14:28 -0600)]
config: re-enable DVFS-PER

7 years agomtl017: fix mode data for AUO panel in SB, upper margin 24 -> 21
Matt Sealey [Mon, 17 Jan 2011 16:36:13 +0000 (10:36 -0600)]
mtl017: fix mode data for AUO panel in SB, upper margin 24 -> 21