summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-16ENGR00292033 wireless: ath6kl: fix potiential firmware dump issueDong Aisheng
When run iperf we could see the following error: root@freescale ~$ iperf -c 192.168.0.102 -i 5 -t 60 ------------------------------------------------------------ Client connecting to 192.168.0.100, TCP port 5001 TCP window size: 20.7 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.0.102 port 38093 connected with 192.168.0.100 port 5001 ath6kl: firmware crashed ath6kl: crash dump: ath6kl: hw 0x30000582 fw 3.2.0.144^A ath6kl: 0: 0x30000582 0x000015b3 0x008ee731 0x004f5b31 ath6kl: 4: 0x008ee731 0x00060730 0x0000001e 0x00544248 ath6kl: 8: 0x0056526c 0x005652ac 0x00568fa8 0x00568fa8 ath6kl: 12: 0x00000009 0xffffffff 0x00917d19 0x00917d3b ath6kl: 16: 0x00917ca7 0x008e1038 0x00000000 0x00000000 ath6kl: 20: 0x408ee731 0x005441b8 0x00000001 0x004f5a00 ath6kl: 24: 0x808ee8c6 0x00544218 0x00571880 0xc08ee731 ath6kl: 28: 0x808efa6a 0x00544248 0x0056526c 0x00000004 ath6kl: 32: 0x808e2756 0x00544278 0x00565780 0x00000000 ath6kl: 36: 0x808e166c 0x005442a8 0x00000004 0x00542810 ath6kl: 40: 0x808e1640 0x005442d8 0x00540000 0x00000000 ath6kl: 44: 0x808e16bd 0x005442f8 0x00540d14 0x00000000 ath6kl: 48: 0x408e0c24 0x00544318 0x00519291 0x000017a8 ath6kl: 52: 0x00000000 0x00544338 0x00559301 0x00040020 ath6kl: 56: 0x00565780 0x0f000000 0xf0000000 0x00000001 There's actually a major bug right there, scat_list can corrupt scat_q_depth. Move scat_list down after scat_q_depth and change to scat_q_depth[0] to avoid the possible corruption of scat_q_depth. Signed-off-by: Dong Aisheng <b29396@freescale.com>
2013-12-13ENGR00292021-2 ARM: imx6q: correct pll4_audio_div name in cko1_selsNicolin Chen
There's a typo in cko1_sels[], thus fix it. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com> (cherry picked from commit b1db0df686a4d9a7d90fe5a329ad41a18990eda5)
2013-12-13ENGR00292021-1 arm: dts: imx6sl-evk: Specify the IOMUX value of GPIO4_IO19Nicolin Chen
We are missing one pull-up resistor attached to GPIO4_IO19 on EVK board, thus use specific IOMUX value to pull up the GPIO4_IO19 by SoC itself. Otherwise, system like Android might not have the ability to determine whether the headphone is currently plugged into the jack. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com> (cherry picked from commit f06f5d9d35d85765108317229dfe60762f0e6441)
2013-12-13ENGR00291876 usb: phy-mxs: add delay before set phyctrl.clkgatePeter Chen
There is a request from IC engineer that if we doesn't set phypwd as 0xffffffff, we need to delay about five 32Khz cycles before set phypwd, otherwise, the wakeup signal may can't wake up controller. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-12-12ENGR00290679 mxc: mlb Fix the MLB150 not stable issue in ISOC mode.Luwei Zhou
The MLB test bench has bug when testing the ISOC mode.When we press stop test button when completing test, MITB will cause MLB150 on ARD error.The mlbintr ISR handler is used to handle the error interrupt. In the ISR handler, the MLB150_MS0,MLB150MS1 should be cleared. The spec doesn't give detailed description. The spec only says that the registers need to be cleared before enabling interrupt. Signed-off-by: Luwei Zhou <b45643@freescale.com> (cherry picked from commit 567ec335491372932e13c848eb460e75eec403cb)
2013-12-11ENGR00291111 mxc vout:Restore when new config failsLiu Ying
Users may call VIDIOC_S_CTRL and VIDIOC_S_CROP ioctrls to change rotation and cropping settings when streaming. The driver should restore the original settings if new configuration fails, otherwise, it might break the present pipeline. This patch fixes the issue which can be reproduced by this test case with a 1080P HDMI primary display: gplay Mpeg4_SP1_480x260_24_1200_aac_48_128_2_terminator3.mp4 Type 't' to set rotation to 90. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 9407867d7f05e4246aab5a9e383c01099a464958)
2013-12-11mmc: sd: fix the maximum au_size for SD3.0Jaehoon Chung
Since SD Physical Layer specification V3.0, AU_SIZE is supported up to 0xf. So If SD-card is supported v3.0, then max_au should be 0xf. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
2013-12-11mmc: core: Only execute tuning for SDR50 and SDR104Fredrik Soderstedt
Only execute tuning for sd and sdio devices that are using SDR50 or SDR104. Make sure clock is hold during tuning for sdio devices. Signed-off-by: Fredrik Soderstedt <fredrik.soderstedt@stericsson.com> Acked-by: Johan Rudholm <jrudholm@gmail.com> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
2013-12-11ENGR00289999 gpu: fixed gc880 invalid command state messageXianzhong
gpu kernel dump the error message when enable DEBUG mode: gckCONTEXT_Update(1493): State 0x0518 is not mapped. gckCONTEXT_Update(1493): State 0x0520 is not mapped. gckCONTEXT_Update(1493): State 0x0518 is not mapped. gckCONTEXT_Update(1493): State 0x0520 is not mapped. align gpu kernel driver to fix the error message Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu
2013-12-05ENGR00290601 [iMX6x] Ensure PLL is powered down when bypass rate is requested.Ranjani Vaidyanathan
Ensure that PLL is powered down when bypass rate is requested and power it up when some other rate is requested. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2013-12-05ENGR00290654 IPUv3 dev:Workaround split mode downsize overflowLiu Ying
The downsizing ratio overflow check should cover every stripe in the split mode. We need to do the overflow check correctly by taking the width/height 8-pixel alignment requirement into consideration since the alignment would be done when every stripe is checked in it's own ipu task. This patch takes a workaround for the issue which can be reproduced by this unit test case: ================================================================== mxc_v4l2_output.out -iw 1920 -ih 1080 -ow 200 -oh 200 -v 1 mxc_ipu mxc_ipu: ERR:create_split_child_task() ret:-22 mxc_ipu mxc_ipu: sp_task[0],no-0x12 fail state:-22, queue err:-22. mxc_ipu mxc_ipu: ERR: [0xac73ea00] no-0x10,state 3: error mxc_ipu mxc_ipu: ERR: no-0x10,ipu_queue_task err:-125 mxc_v4l2_output v4l2_out.35: display work fail ret = -125 mxc_ipu mxc_ipu: ERR:create_split_child_task() ret:-22 mxc_ipu mxc_ipu: sp_task[0],no-0x22 fail state:-22, queue err:-22. mxc_ipu mxc_ipu: ERR: [0xac73ea00] no-0x20,state 3: error mxc_ipu mxc_ipu: ERR: no-0x20,ipu_queue_task err:-125 mxc_v4l2_output v4l2_out.35: display work fail ret = -125 mxc_ipu mxc_ipu: ERR:create_split_child_task() ret:-22 mxc_ipu mxc_ipu: sp_task[0],no-0x32 fail state:-22, queue err:-22. mxc_ipu mxc_ipu: ERR: [0xac63c400] no-0x30,state 3: error mxc_ipu mxc_ipu: ERR: no-0x30,ipu_queue_task err:-125 mxc_v4l2_output v4l2_out.35: display work fail ret = -125 VIDIOC_QBUF failed -1 ================================================================== Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 9aec719436856ddcce32cdd1a7de776c822b8563)
2013-12-05ENGR00290635-2 IPUv3 stripe:Fix a build warningLiu Ying
This patch fixes the following build warning by initializing some local variables: drivers/mxc/ipu3/ipu_calc_stripes_sizes.c: In function ‘ipu_calc_stripes_sizes’: drivers/mxc/ipu3/ipu_calc_stripes_sizes.c:393:3: warning: ‘difwr’ may be used uninitialized in this function [-Wuninitialized] drivers/mxc/ipu3/ipu_calc_stripes_sizes.c:393:3: warning: ‘onw’ may be used uninitialized in this function [-Wuninitialized] drivers/mxc/ipu3/ipu_calc_stripes_sizes.c:393:3: warning: ‘inw’ may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit f3062175336e217dc6651761682344af88a6039c)
2013-12-05ENGR00290635-1 mxc vout:Fix a build warningLiu Ying
This patch fixes the following build warning by allocating a block of virtual memory to cache an instance of the structure mxc_vout_output instead of using the stack frame. drivers/media/platform/mxc/output/mxc_vout.c: In function ‘mxc_vidioc_s_crop’: drivers/media/platform/mxc/output/mxc_vout.c:1529:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 2f545daca1b178e72b335545a2997512871b355b)
2013-12-05ENGR00290361-2 MXC IPUv3 fb:Add check for a IDMAC errataLiu Ying
The IPUv3 IDMAC has a bug to read 32bpp pixels from a graphics plane whose alpha component is at the most significant 8 bits. The bug only impacts on cases in which the relevant separate alpha channel is enabled. This patch adds check for the errata so that the bad cases won't be triggered. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 005224b96ce3d4bd20d27faa4f2b055bc763daea)
2013-12-05ENGR00290361-1 IPUv3 IC:Add check for a IDMAC errataLiu Ying
The IPUv3 IDMAC has a bug to read 32bpp pixels from a graphics plane whose alpha component is at the most significant 8 bits. The bug only impacts on cases in which the relevant separate alpha channel is enabled. This patch adds check for the errata so that the bad cases won't be triggered. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 4f972f7f972e88802c848b930e83824360801484)
2013-12-03mtd: add MTD_MLCNANDFLASH case for mtd_type_show()Huang Shijie
The current mtd_type_show() misses the MTD_MLCNANDFLASH case. This patch adds the case for it, and also updates the ABI. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com> (cherry picked from commit 7b692bf73a0069dec356a148ef5d0133790f6f84)
2013-11-29ENGR00290021 [iMX6QDL] Skip RNG instantiation unless needed.Dan Douglass
Adding check to skip RNG instantiation if previously performed. This will prevent CAAM from crashing when HAB instantiates the RNG at boot on a closed device. Also removed an extra printk that isn't needed in secvio initialization. Signed-off-by: Dan Douglass <b41520@freescale.com>
2013-11-29ENGR00290236 PXP: Correct PXP settings when s0 format is PXP_PIX_FMT_YUV422PFancy Fang
When the s0 format is PXP_PIX_FMT_YUV422P, the s0 pitch and U/V buffer address cannot be set correctly. Signed-off-by: Fancy Fang <B47543@freescale.com> (cherry picked from commit eb887a646c992ee455edfc1fe482cfbced95b187)
2013-11-29ENGR00290229 ASoC: fsl: Drop snd_soc_dapm_sync() in imx-wm8962Nicolin Chen
As DAPM would do the sync() for us, we don't need to handle it by ourselves. And leaving snd_soc_dapm_sync() here is dangerous because it would disable the clock from WM8962 during the short period of the output route changing since we don't leave the alternative route's enanbling to this machine driver but to DAPM core. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com> (cherry picked from commit 2495284a7f44478031816482e3e58a7ce109dc8c)
2013-11-29ENGR00290176 mxc: mlb: Fix MLB suspend/resume issueLuwei Zhou
There is risk that mlb register will be access when clock is closed. This patch fix it. Signed-off-by: Luwei Zhou <b45643@freescale.com> (cherry picked from commit c2cd7fb85116694372ee3228c939fb958c261835)
2013-11-28ENGR00290034 usb: imx6-usb-charger: disable charger if it is not configuratedPeter Chen
If the user set imx6-usb-charger-detection at dts, but not enable CONFIG_IMX6_USB_CHARGER, the imx6_usb_create_charger will return -ENODEV, and the controlller probe will fail, it is not we want, what we expect is the charger detection has disabled, but controller function should not be affected. We are not sure if power supply core will return -ENODEV at some fail cases, so we use IS_ENABLED(CONFIG_IMX6_USB_CHARGER) to enable charger function for satety. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-11-28ENGR00211653 [MX6Q ARD] IMX UART add support for loopback mode.Israel Perez
ttymxc serial uart driver add support loopback mode. returns TIOCM_LOOP set when reading the status. [original hash:42d5723 fix a litte for 3.10.17] Signed-off-by: Israel Perez <B37753@freescale.com> Signed-off-by: Huang Shijie <b32955@freescale.com>
2013-11-28ENGR00289889 pcie: make all pcie gpio be optionalRichard Zhu
make all pcie gpio be optional, since ard board doesn't have pcie reset gpio pin Signed-off-by: Richard Zhu <r65037@freescale.com>
2013-11-27ENGR00289885 [iMX6Q] Add Secure Memory and SECVIO support.Dan Douglass
1. Pull in secure memory support from 3.0.35 kernel. 2. Pull in SECVIO support from 3.0.35 kernel. 3. Make changes to support device tree. 4. Add device tree setting for SECVIO sources. Signed-off-by: Dan Douglass <b41520@freescale.com>
2013-11-27ENGR00289643-2 ASoC: fsl: Add missing spba clock for esai and spdifNicolin Chen
Both esai and spdif are using SDMA script to transmit and receive data while the essential spba clock is missed in the current two drivers. Thus add them. Acked-by: Wang Shengjiu <b02247@freescale.com> Signed-off-by: Nicolin Chen <b42378@freescale.com> (cherry picked from commit a1238fa0fe2de5ccfa0b271537bb14dfd07815b1)
2013-11-27ENGR00289643-1 arm: imx6sl: add missing spba clock to clock treeNicolin Chen
We are missing spba clock in imx6sl's clock tree, thus add it. Acked-by: Wang Shengjiu <b02247@freescale.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Nicolin Chen <b42378@freescale.com> (cherry picked from commit e0790fbed4bc0e8897ebdacaad62e39e6855506e)
2013-11-27ENGR00289859 PXP: fix that multi users may access PXP hardware simultaneouslyFancy Fang
After the patch 6320ada11093ef0a4ded9065d6ae284a9129f7d6, there still exists some cases that more than one user would set PXP hardware registers before the previous task done. Now use another mutex lock to make sure that registers settings can only happen when PXP hardware is idle. Signed-off-by: Fancy Fang <B47543@freescale.com> (cherry picked from commit cf077ab7cdd678db44a4ce43fdd4bd4497d7388d)
2013-11-27ENGR00289855 usb: chipidea: udc: pull down dp before the charger detectionPeter Chen
If rom code or bootloader has used usb before loading kernel, the dp may still be pulled up, it will cause USB charger detection fail. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-11-27ENGR00289857 mxsfb: add suspend/resume functionSandor Yu
Add suspend/resume function to mxsfb driver. Signed-off-by: Sandor Yu <R01008@freescale.com>
2013-11-27ENGR00289645 usb: chipidea: udc: don't do hardware access if gadget has stoppedPeter Chen
After _gadget_stop_activity is executed, we can consider the hardware operation for gadget has finished, and the udc can be stopped and enter low power mode. So, any later hardware operations (from usb_ep_ops APIs or usb_gadget_ops APIs) should be considered invalid, any deinitializatons has been covered at _gadget_stop_activity. I meet this problem when I plug out usb cable from PC (using g_mass_storage), my callstack like: vbus interrupt->.vbus_session->composite_disconnect ->pm_runtime_put_sync(&_gadget->dev), the composite_disconnect will call fsg_disable, but fsg_disable calls usb_ep_disable using async way, there are register accesses for usb_ep_disable. So sometimes, I get system hang due to visit register without clock, sometimes not. The Linux Kernel USB maintainer Alan Stern suggests this kinds of solution. See: http://marc.info/?l=linux-usb&m=138541769810983&w=2. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2013-11-26ENGR00289648 mx6sl: v4l2 output: Add UYVY format as input format for v4l2Robby Cai
This feature is easy for gstreamer to pipeline v4lsrc and v4lsink, since camera output format can be set as UYVY in v4l2 capture driver, and PxP will do the CSC from UYVY to RGB565 in v4l2 output driver for LCD display. Signed-off-by: Robby Cai <R63905@freescale.com>
2013-11-25ENGR00289553 IPU dev:correct downsize overflow check in rot caseLiu Ying
In rotation cases, the width and height of IPUv3 IC scaling block's output should align with the width and height of IPUv3 IC rotation block. And, users only tell the IPUv3 device driver about the parameters of scaling block's input and rotation block's output. So, we need to swap the width and height of rotation block in cache before we do downsize(a functionality of the scaling block) overflow check. This patch fixes the issue which can be reproduced by this unit test case: /unit_tests/mxc_v4l2_output.out -iw 128 -ih 128 -ow 176 -oh 10 -r 90 Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 1321a57a653a5cd5f5f0e7d517e0c179f9ea4986)
2013-11-22ENGR00289436 - [V4L2 Capture] Build warning on mxc_v4l2_capture.cOliver Brown
Need to remove the following warning: warning: array subscript is above array bounds Summary of changes: Moved MXC_SENSOR_NUM definition to mxc_v4l2_capture.h. all_sensors[] now uses MXC_SENSOR_NUM in definition. MXC_SENSOR_NUM is now used for bounds checking the array. Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
2013-11-22ENGR00289268 [iMX6x] Ensure there is no TLB miss when DDR is in self-refreshRanjani Vaidyanathan
During DDR frequency change code or in low power IDLE code (in iMX6SL), we need to ensure that all register addresses accessed in the IRAM code are in the TLB. There should be no TLB walks when DDR is in self-refresh. To ensure this flush the TLB before DDR frequency change and before low power IDLE (only iMX6SL) procedures. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2013-11-22ENGR00274166 - Split mode has artifactsOliver Brown
- Need to use different multiple and index parameters for vertical and horizontal stripes - Use correct multiple and index based upon pixel format - Allow input crop and size to be larger than width by upto 16 pixels Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
2013-11-22ENGR00272541 IPUv3 IC: Split Downsizing overflow for size greater than 1024Oliver Brown
For downscaling, it is possible that downscaler output is greater than 1024. Added a function, calc_split_resize_coeffs, based upon _calc_resize_coeffs to calculate resizing and downscaling coefficients. In ipu_ic.c, checks for the range of *_resize_ratio are no longer needed. Non split cases will always have *_resize_ratio of zero. In ipu_device, additional checks are needed to check for an error from ipu_calc_stripes_sizes if calc_split_resize_coeffs fails. Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
2013-11-22ENGR00289381 mxc: asrc: Fix RCU stall in output_task_workerNicolin Chen
In kernel 3.10.17, RCU has its threshold to detect RCU stall. So it might be risky for us to use a whole second to wait for the completion, which would be surely returned within 100ms. Thus, we shrink the wait period so as to circumvent some potential RCU stall issue. This patch also moved pair_hold into spin_lock protection due to a race with pair_hold in close() and release(). Signed-off-by: Nicolin Chen <b42378@freescale.com>
2013-11-22ENGR00289406-2 mmc: sdhci-esdhc-imx: add SDHCI_QUIRK2_NOSTD_TIMEOUT_COUNTERDong Aisheng
The max timeout counter for uSDHC is SDCLK x (1 << 28), not as standard controller defined as TMCLK x (1 <<27). Add SDHCI_QUIRK2_NOSTD_TIMEOUT_COUNTER quirk to handle it. Signed-off-by: Dong Aisheng <b29396@freescale.com> (cherry picked from commit 5b9d1ad3f9e64617f4d9acee7620f6bf892b9662)
2013-11-22ENGR00289406-1 mmc: sdhci: add quirk for get max timeout counterDong Aisheng
The max timeout counter of some SoCs like i.MX6 uSDHC may not be standard, add SDHCI_QUIRK2_NOSTD_TIMEOUT_COUNTER quirk to get the correct max timeout counter from platform specific code. Then we can calculate the correct max_discard_to value. Signed-off-by: Dong Aisheng <b29396@freescale.com> (cherry picked from commit 8712548b26f9f447131ce081daa6e4e418e8e27c)
2013-11-22ENGR00258885 flexcan: fix errata ERR005829 that MB may fail to be sentDong Aisheng
This is an issue from IC errata ERR005829 which is described as follows: ---------------------------------------------------------- FlexCAN does not transmit a message that is enabled to be transmitted in a specific moment during the arbitration process. The following conditions are necessary to have the issue. - Only one MB is configured to be transmitted - The write which enables the MB to be transmitted (write on Control status word) happens during a specific clock during the arbitration process. After this arbitration process occurs, the bus goes to Idle state and no new message is received on bus. For example: 1) MB13 is deactivated on RxIntermission (write 0x0 on CODE field from Control Status word) - First write on CODE 2) Reconfigure the ID and data fields 3) Enable the MB13 to be transmitted on BusIdle (write 0xC on Code field) - Second write on code 4) CAN bus keeps in Idle state 5) No write on Control status from any MB happens. During the second write on code (step 3), the write must happen one clock before the current MB13 is to be scanned by arbitration process. In this case, it does not detect the new code (0xC) and no new arbitration is scheduled. The suggested workaround which is implemented in this patch is: The workaround consists of executing two extra steps: 6. Reserve the first valid mailbox as an inactive mailbox (CODE=0b1000). If RX FIFO is disabled, this mailbox must be MB0. Otherwise, the first valid mailbox can be found by using table "RX FIFO filters" on FlexCAN3 chapter. 7. Write twice INACTIVE code (0b1000) into the first valid mailbox. Note: The first mailbox cannot be used for reception or transmission process. ------------------------------------------------------------- Note: Although the currently flexcan driver does not have the step 1 to run, it's also possible to meet this issue in theory because we can not predict when the arbitration is scheduled. With a modified can-utils/canfdttest tool simulating Pingpong test, we were able to reproduce this issue after running a about one day. After applying this patch, we ran six days and did not see the issue happen again on two mx6q sabrelite boards. Note: with a few minors change for new kernel and change errata id from ERR005641 to ERR005829 which is the open one in freescale website. Signed-off-by: Dong Aisheng <b29396@freescale.com> (cherry picked from commit 872eb1691afb83a2760052c615ed410a7cfe71e0) (cherry picked from commit e15728d9b51ea5d1b2914c0b6af058cc33d59af6)
2013-11-22ENGR00289237 PXP: fix a multiple instances hang issueFancy Fang
In pxp_issue_pending(), the wait for pxp done processes will be woken up together in PXP ISR. So there will be some situations that one process will set PXP hardware registers after another process's setting but before the first PXP task done. So the PXP hardware may be corrupted and hang maybe happen. Signed-off-by: Fancy Fang <B47543@freescale.com> (cherry picked from commit 6320ada11093ef0a4ded9065d6ae284a9129f7d6)
2013-11-22ENGR00285283 PXP: make pxp driver compatible for G2DFancy Fang
Use stride to set AS and PS pitch by default, if stride is 0, then use width to set AS and PS pitch instead. This will make PXP driver both work for PXP kernel users and G2D applications. Signed-off-by: Fancy Fang <B47543@freescale.com> (cherry picked from commit 559d74c6478818ce8913604f156d8dbdc30d032f)
2013-11-22ENGR00284411-1 PXP: Enhance YUV, alpha blend and rotationFancy Fang
Support YUV formats like: I420, NV12, NV21, UYVY, YUYV, VYUY, YVYU, NV16, NV61 and YV12. Support rotation in both stages before and after alpha blending. Signed-off-by: Fancy Fang <B47543@freescale.com> (cherry picked from commit 748ed59cc1c448ecea61173503b7f42c58166542)
2013-11-22ENGR00288569: net:fec_ptp: fix the potential issue for storing timestampFugang Duan
The timestamps generated in the i.MX drivers are generated by the nanoseconds part coming from the 1588 clock. But the number of seconds are maintained in a private structure of the interface. Those are updated in a 1588 clock rollover interrupt. The timestamp is generated right before a rollover of a second and the timestamp value is constructed afterwards. Therefore the bigger part of the timestamp is wrong (the second). commit:54181c1d83e04b18e63c7723ac80f974b760e019 Suggested solution (pseudo-code): If( actual-time.nsec < timestamp.nsec ) Timestamp.sec = fpp->prtc -1; Else Timestamp.sec = fpp->prtc; But it is not perfect and there still exist potenitial second sync issue. So, the patch Suggested solution (pseudo-code): If( actual-time.nsec < timestamp.nsec && !FEC_IEVENT[TS_TIMER] ) Timestamp.sec = fpp->prtc -1; Else Timestamp.sec = fpp->prtc; Signed-off-by: Fugang Duan <B38611@freescale.com> (cherry picked from commit 430dc3830e80a749666f9eb2aa9feba55823c6eb)
2013-11-22ENGR00289050 mxsfb: remove dev_err in pan_dispaly functionSandor Yu
Xserver will call pan display after fb blanked when device bootup. mxsfb have prevent such operate. Replace dev_err with dev_dbg to avoid message print. Signed-off-by: Sandor Yu <R01008@freescale.com>
2013-11-22ENGR00289037 dts: Remove hdcp ddc pin property in imx6qdl-sabresd.dtsiSandor Yu
HDCP ddc pin property define in imx6q-sabresd-hdcp.dts, so remove the ddc pin preperty from imx6qdl-sabresd.dtsi. Signed-off-by: Sandor Yu <R01008@freescale.com>
2013-11-22ENGR00289278 dts: imx6qdl-sabreauto: fix usdhc1 pin conflict with gpmiDong Aisheng
The SD1 on sabreauto baseboard is conflict with gpmi nand. The conflict pins are DAT4~DAT7. Since the SD3 on cpu board already supports 8 bit bus width, we do not want add an extra dts file for it, so we disable 8 bit and use 4 bit width for this issue. Signed-off-by: Dong Aisheng <b29396@freescale.com> (cherry picked from commit 92a24bffe9b79787e9881ffc6ede7e5e3df308f7)
2013-11-22ENGR00289279 mmc: sdhci: get runtime pm when sdio irq is enabledDong Aisheng
SDIO cards may need clock to send the card interrupt to host. Thus, we get runtime pm when sdio irq is enabled to prevent the clock resource is released and put it when sdio irq is disabled. Signed-off-by: Dong Aisheng <b29396@freescale.com> (cherry picked from commit 2ced65a11885ea84c6d3cd2ec8832d489bb0c3f7)
2013-11-22ENGR00288578-8 usb: phy-mxs: do not set PWD.RXPWD1PT1 for low speed connectionPeter Chen
At very rare cases, the SoF will not send out after resume with low speed connection. The workaround is do not power down PWD.RXPWD1PT1 bit during the suspend. Signed-off-by: Peter Chen <peter.chen@freescale.com> (cherry picked from commit cec6ed97f09ee97efb32f395e5546b3b39822892)
2013-11-22ENGR00288578-7 usb: phy-mxs: add controller idPeter Chen
Meanwhile, we fix the problem that we only use controller-1's related registers at mxs_phy_disconnect_line. Signed-off-by: Peter Chen <peter.chen@freescale.com> (cherry picked from commit 36d81e91fb7cd7fca74daf41ca70e4826e2ae8a1)