summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-02-25ENGR00139755 mxc edid: work around no support interlaced modeJason Chen
Remove interlaced mode from fb modelist before it can be supported. Should revert this patch after interlaced mode support on normal display port. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-25fbdev: Fix fb_find_nearest_mode refresh comparisonAndrew Kephart
Refresh rate nearness is not calculated or reset when nearest resolution changes. This patch resets the refresh rate differential measurement whenever a new nearest resolution is discovered. This fixes two error cases; first, wherein the first mode's refresh rate differential is never calculated and second, when the closest refresh rate from a previous nearest resolution is erroneously preserved. Signed-off-by: Andrew Kephart <andrew.kephart@alereon.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org> (cherry picked from commit e504b84805c574cf18d705c610c9e4a8f6e61017)
2011-02-23ENGR00139635 mxc edid: add edid name sysnodeJason Chen
Add name sysnode to mxc_ddc and sii902x, which can be check under: /sys/devices/platform/mxc_ddc.0/fb_name or /sys/devices/platform/sii902x.0/fb_name It's the name of fb fix id which it associated. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-23ENGR00139643-3 mxc edid: can not read edid at probe for first power onJason Chen
Need enable analog regulator. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-22ENGR00139505 battery charger: add battery charger change event for max17085Jason Chen
add battery charger change event. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-22ENGR00139119: mxc_iim: add console output for iim valueTerry Lv
Add console output for iim value. Signed-off-by: Terry Lv <r65388@freescale.com>
2011-02-21ENGR00139380-2 battery charger: add max17085 battery charger supportJason Chen
Add max17085 battery charger support Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-21ENGR00139192 - EPDC fb: Refine merging and workaround missed collisionDanny Nold
Added code to detect the potential for a "missed collision", where an update would cause a collision with an update sitting on the collision list, but does not do so with currently active updates. For this case, we conservatively treat the update as if it has generated a collision. Refined merging algorithm by blocking the merge process upon detecting certain conditions where no further merges should be done. Also added check for a special case where update regions are identical. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-18ENGR00139423 mxc edid: add edid attr sysnodeJason Chen
After this patch, you can check edid info under /sys/devices/platform/sii902x.0/edid for sii902x HDMI. And under /sys/devices/platform/mxc_ddc.0/edid for common DDC. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-18ENGR00139422 mxc edid: fix build break for imx25Jason Chen
fix build break for imx25 Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-17ENGR00139321 ipuv3: add YV12 format supportJason Chen
Add YV12 format support. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-17ENGR00139354-3 mxc edid: add common ddc driver supportJason Chen
Add common ddc driver support. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-16ENGR00137879-1 input: add HannStar p1003 touch screen driverZhang Jiejing
This is HannStar p1003 touch screen driver with Ilitek firmware multitouch(two point at max) touch screen driver. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com> Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2011-02-15ENGR00139191 [MMC]vendor spec register will be overwritternTony Lin
during multi-block transfer and MX50 TO1.1/MX53 TO2 SDHCI_VERDOR_SPEC register will be overwritten Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-02-14ENGR00139110-2 LDB:Chang video mode setting methodLiu Ying
This patch changes video mode setting method for LDB related video modes. Users need to add 'ldb=dix' for default video mode support, otherwise, need to specify the ldb mode in Kernel bootup command line. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-02-12ENGR00139111: USB GADGET: Fix endpoint disable problemsZhang Yan
fsl_ep_disable may be called while unregister gadget driver. Gedget speed was set to UNKNOWN. So we should disable endpoint whatever link speed. Correct uninitialized variables in spin lock. Signed-off-by: Zhang Yan <b34916@freescale.com>
2011-02-12ENGR00138644-5 HDMI: change the video mode setting methodJason Chen
HDMI Sii902x support for changing the video mode setting method. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-12ENGR00138644-4 TVE: change the video mode setting methodJason Chen
TVE & related ipu driver support for changing the video mode setting method. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-12ENGR00138644-3 ipuv3 fb: change the video mode setting methodJason Chen
FB driver support for the video mode setting method. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-12ENGR00138642-2 usb-device: fix spin lock recursion problemPeter Chen
Some functions at setup_received_irq will cause spin lock recursion problem, unlock spin locks before calling these functions, and re-lock spin locks after executing them. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-02-11ENGR00139076 - EPDC fb: Pan display may drop key updatesDanny Nold
Instead of dropping updates with a different panning offset than the current framebuffer panning offset, we just process those updates using the current framebuffer panning offset. This ensures that all requested update regions are processed from the latest buffer. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-08ENGR00138820 - EPDC fb: PxP mutex handling may cause race conditionDanny Nold
PxP mutex was being released and retaken while EPDC power turned on. This provides opportunity for a race condition where another thread attempts to being a PxP operation and corrupts the PxP data structures of the EPDC. PxP mutex now held through the EPDC powerup sequence. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-08ENGR00138821 - EPDC fb: Panning may cause missed collisionDanny Nold
- When update is processed, we check against latest panning offset and drop the update if they don't match. This ensures that we always update using the most current buffer location. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-03ENGR00138652 - EPDC fb: Out-of-memory due to alloc/free temp buffersDanny Nold
Statically allocate buffers for each update object, rather than dynamically allocating/freeing buffers per use. These buffers are used when PxP limitations require update content first be copied into a temporary buffer. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-03ENGR00138742 - EPDC fb: Driver may run out of markers after a whileDanny Nold
Markers now cleared once the associated LUT completes. This ensures that markers will always be cleared. The marker does not have to be waited on to be cleared. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-03ENGR00138651 - EPDC fb: Rotation updates clipped incorrectlyDanny Nold
- Corrected the computation of PxP input/output buffer address offsets - Corrected the computation of EPDC input buffer address offset - Expanded cases requiring SW of update contents pre-PxP processing, now covering: - Case where input address offset is not 32-bit aligned and auto-waveform mode selected - Case where input address is not 32-bit aligned and total pixels added per-line to PxP processing task is 8 or more. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-03ENGR00138513 - EPDC fb: Auto-waveform selecting wrong waveform modeDanny Nold
- Software workaround for PxP alignment/histogram limitation implemented For updates using auto-waveform selection and using update region dimensions that are not 8x8 multiples, the update region is copied into a temporary buffer and the margins filled with 0s. This buffer becomes the input to the PxP. - PxP/EPDC buffer offsets adjusted to properly handle all rotation cases. Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-03ENGR00138520 IPUv3:Correct IPU spinlock logicLiu Ying
1) Fix the double locking IPU spinlock issue. 2) Protect g_channel_enable_mask with IPU spinlock. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-02-03ENGR00138560 USB: Disable usb interrupt before host resumeZhang Yan
Disable usb interrupt in host wakeup to avoid bad irq. USB host irq was re-enabled in resume. BTW, set host-to-gadget discharge 20ms. Signed-off-by: Zhang Yan <b34916@freescale.com>
2011-02-03ENGR00138165 - EPDC fb: Updates not protected against changes to FB dataDanny Nold
- Ensure that no updates are active when changing the FB info - Fix criteria for evaluating whether any updates are active Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-02-03ENGR00138535 USB: Discharge VBUS after set VBUS lower or unplug from HOSTZhang Yan
1. Add discharge vbus when set vbus lower; 2. Due to unplug from HOST bring up suspend irq. add discharge in suspend irq. 3. Update port speed when port connect changed. 4. Add port speed verify in ep operation code. Signed-off-by: Zhang Yan <b34916@freescale.com>
2011-02-03ENGR00138547: mxc_iim: can't release twice in mxc_iimTerry Lv
When open mxc_iim twice, mxc_iim can't be close twice. Signed-off-by: Terry Lv <r65388@freescale.com>
2011-02-03ENGR00138532: mxc_iim: let mxc_iim work with dd and echoTerry Lv
mxc_iim: let mxc_iim work with dd and echo. Signed-off-by: Terry Lv <r65388@freescale.com>
2011-02-03ENGR00138333 MX5x In security drivers use IS_ERR to check for clk pointer errorAnish Trivedi
Error check of clk pointer should use IS_ERR instead of ERR_PTR(ENOENT). Updated SCC2 and SAHARA drivers to use this method for error checks as well as to propagate the error code where applicable. Signed-off-by: Anish Trivedi <anish@freescale.com>
2011-02-03ENGR00138480: mxc_iim can't be open twiceTerry Lv
mxc_iim can't be open twice. The reason is that request_irq failed when open mxc_iim again. So put request_irq function to probe function. Signed-off-by: Terry Lv <r65388@freescale.com>
2011-02-03ENGR00138477 USB: perfect usb debug fileZhang Yan
Open usb clock before view usb debug file. avoid system hang when view usb debug information in suspend state. Signed-off-by: Zhang Yan <b34916@freescale.com>
2011-02-03ENGR00119661 MXC IPUv3 FB:Fix arbitary bpp issueLiu Ying
We used to force the framebuffer bpp to be default bpp set by the user in the kernel boot up command line. This patch fixes this issue. This patch also gets TVE framebuffer bpp value from IPUv3 framebuffer. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-02-03ENGR00138065 linux: System hang when running tiger and then moving usb mouseDennis Wenzel
Problem fixed so remove warning message not to run OpenVG apps with X accel. Signed-off-by: Dennis Wenzel <b21659@freescale.com>
2011-02-03ENGR00138371 usb-otg: some variables should be updated at otg irqPeter Chen
otg->host->is_b_host and otg->gadget->is_a_peripheral should be updated at otg irq, as the host and device driver may use these two variables. enable clk before request_irq Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-02-03ENGR00137224 L2Switch: Fix L2Switch port learn not take effect issue.Fan Zhicheng
Fix Mx28 L2Switch port learning not works issue. Signed-off-by: Fan Zhicheng <r32736@freescale.com>
2011-02-03ENGR00138270-3 ipuv3 fb: refine pan display methodJason Chen
Refine pan display method. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-03ENGR00138270-2 ipuv3: change ipu_check_buffer_busy to ipu_check_buffer_readyJason Chen
Change ipu_check_buffer_busy to ipu_check_buffer_ready. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-03ENGR00138268 hdmi: change device create methodJason Chen
Change to platform_device_register_simple(). Change check sysfs node to /sys/devices/platform/sii9022.0/cable_state. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-02-03ENGR00138222 MX5x SAHARA Do not call clk_disable in IRQ contextAnish Trivedi
Removed clk_disable call from ISR, and moved it to postprocess function that is queued up for exection later. Also fixed debug print that was referring to a non-existent struct member. Signed-off-by: Anish Trivedi <anish@freescale.com>
2011-02-03ENGR00138141 GPU: add a wait loop to check timestamp for yamatoRichard Zhao
When bus is busy, for example vpu is working too, the timestamp is possiblly not yet refreshed to memory by yamato when we get GSL_INTR_YDX_CP_RING_BUFFER. For most cases, it will hit on first loop cycle. So it don't effect performance. Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2011-02-03ENGR00138213-1 Add da9053 power key to mx53 smd &locoZhou Jingyu
Add da9053 power key config, add key up event Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
2011-02-03ENGR00138130-1 input: Maxi max11801 resistance touchscreen controllerZhang Jiejing
Add MAXI max11801 resistance touch screen controller driver, add a compile config of ts_lib calibration in driver, it is default disable. This driver use Auto Mode and Aperture Mode. Other max1180x driver could support in this driver further. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2011-02-03ENGR00138119 MXC V4L2 capture:Check slave device attachedLiu Ying
This patch checks slave device is attached before calling any internal ioctrl to avoid NULL pointer de-referencing. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-02-03ENGR00138115-1 TVE:Correct TVDAC regulator voltage valueLiu Ying
This patch correct TVDAC regulator voltage value to be 2.75V. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2011-02-03ENGR00137979-3 add performance monitor driverTony Lin
add performance monitor driver. sample: cd /sys/devices/platform/mxs-perfmon.0/ 'echo 1 > MIDn-xxx' to enable monitor this channel n: channel number; xxx: name of channel (PXP, LCD...) you can enable the multiple channels you want to monitor respectively using this command. use following command to check the channel is enabled 'cat MIDn-xxx' 1: enable; 0: disable 'echo read > Monitor' to monitor all read activities 'echo start > Monitor' to start monitoring 'echo fetch > Monitor' to get a snapshot of monitor statistics. 'cat xxx_Count' to show the statistics. xxx: name of statistics, (Data, Transfer, Latency...) 'echo clear > Monitor' to clear snapshot of monitor statistics. 'echo stop > Monitor' to stop monitoring Signed-off-by: Tony Lin <tony.lin@freescale.com>