summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-11kernel header missing during installation3.0-wandboard-ts1jean charles mammana
Some video application require the "usb/video.h" header. So here the patch to add it during the kernel header installation :
2013-04-03Wandboard : Fix SDHC platform dataJohn Weber
Add 'always_present = 1' setting to the platform data for the ESDHC controller which is dedicated to the Broadcom wifi device (BCM4329). Without this change, the kernel has problems downloading firmware to the chip. Made some other modifications to eliminate annoying boot messages, and the addition of the .cd_type to the data which tells the driver what type of CD signal to expect (i.e. for permanent on-board chips this is different from removable devices). Signed-off-by: John Weber <rjohn...@gmail.com>
2013-04-01fix: a couple uninitialized variablesRobert Nelson
Signed-off-by: Robert Nelson <xx...@gmail.com>
2013-03-29ENGR00241962 Add another hdmi switch for hdmi driverguoyin.chen
android framework need seperated hdmi display and hdmi audio switch Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-03-29ENGR00241777 fix rare kernel panic by gpu lowmem killerXianzhong
task_free notification procedure cannot be registered/unregistered during gpu memory allocation dynamically, when the lowmem killer triggers a kill signal to one app, and then rescan to check if memory is available, if other 3d apps free some memory prior to the killed app in unlikely case, then task_free notification procedure will be unregistered before the notification of the killed app is received, that causes kernel panic in task_free processing. the fix is to move task_free procedures into gpu kernel drv_init and drv_exit. Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Lily Zhang
2013-03-29ENGR00241251 input: egalax_ts: not suspend when not able to wakeup.Zhang Jiejing
This patch check whether can wake up the device, if not able to wake up the device, eg, the irq can not request, it will just not do the suspend & resume. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2013-03-29ENGR00241251 imx6_sabreauto: workaround touch screen can not wake up issue.Zhang Jiejing
Workaround this issue by not suspend, and this will be check by driver, if can not request the wake up gpio, it will not do the suspend & resume. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2013-03-29ENGR00239734 Mx6 HDMI PHY: Add 2 variable to pass board specific configSandor Yu
The PHY register 0x9 and 0xe should setting to different value in different board to pass HCT. Add variable phy_reg_vlev and phy_reg_cksymtx to pass phy config data. Signed-off-by: Sandor Yu <R01008@freescale.com> (cherry picked from commit 844aab72e7edcdced9f8e4e0d8e54eb4b0461cd9)
2013-03-29ENGR00240740-3 IPUv3 fb:Workaround Android bootup ipu errorLiu Ying
Enabling IPU hsp clock in mxcfb_probe() context by calling ipu_init_channel() can avoid the IPU display channel(setup in bootloader) from being damaged by some IPU common driver APIS which enable/disable IPU hsp clock when doing driver probe. However, somehow, after LDO bypass patch set is pushed to kernel, this clock enablement can trigger IPU errors (IPU_INT_STAT_5 - 0x00800000/IPU_INT_STAT_10 - 0x00100000) and a display flash. A workaround is to enable IPU hsp clock when we are at ipu_probe() context, which is earlier than mxcfb_probe() context, and then to disable(cleanup) the clock once more when fb_set_par() is triggered by the user for the first time. This patch updates the comment for ipu_init_channel() and ipu_enable_channel() in mxcfb_probe() context, and disables ipu hsp clock when fb_set_par() is triggered by the user for the first time. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2013-03-29ENGR00240740-2 ARM:IPUv3:Add an interface to disable IPU hsp clkLiu Ying
This patch adds an interface to disable IPU hsp clock so that it can be called out of ipu common driver. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2013-03-29ENGR00240740-1 IPUv3:Workaround Android bootup ipu errorLiu Ying
Enabling IPU hsp clock in mxcfb_probe() context by calling ipu_init_channel() can avoid the IPU display channel(setup in bootloader) from being damaged by some IPU common driver APIS which enable/disable IPU hsp clock when doing driver probe. However, somehow, after LDO bypass patch set is pushed to kernel, this clock enablement can trigger IPU errors (IPU_INT_STAT_5 - 0x00800000/IPU_INT_STAT_10 - 0x00100000) and a display flash. A workaround is to enable IPU hsp clock when we are at ipu_probe() context, which is earlier than mxcfb_probe() context, and then to disable(cleanup) the clock once more when fb_set_par() is triggered by the user for the first time. This patch exports an interface to disable ipu hsp clock so that fb_set_par() may call it, and enables ipu hsp clock in ipu_probe() context. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2013-03-29ENGR00240112-2 crypto: caam: add ecb(aes) crypto algorithm to caam.Zhang Jiejing
add ecb(aes) support for caam algorithm, the caam H/W support both ecb and cbc, add the algorithm into template. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2013-03-29ENGR00240112-1 caam: fix user space crypto API support.Zhang Jiejing
This patch fix the CAAM support for Crypto User Space API support. in the dma_map_sg_chained() function, the chained mode will loop until the scatter list end, but when the scatter list end, it will return null and orignal code will set this to the sg list point used by dma_sync, so it will panic. When do chain dma, use a tmp do going through the list. Signed-off-by Zhang Jiejing <jiejing.zhang@freescale.com>
2013-03-29ENGR00238947 [GPU]Integrate Vivante 4.6.9p10 gpu driver kernel part codeLoren Huang
Integrate both 4.6.9p9.1 and 4.6.9p10. Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang Conflicts: drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c
2013-03-29ENGR00238882 yaffs2: fix yaffs2 build.Zhang Jiejing
fix yaffs2 build failure. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2013-03-29ENGR00239187 input: novatek_ts: fix some point not release issue.Zhang Jiejing
This issue is caused by Touch Screen F/W, and it will report a full package with 0xFF * 6 to notice the point was release. Add this workaround to fix this issue, fixup the wrong finger id. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2013-03-29ENGR00238391 MX6x HDMI: Add default EDID config function when read EDID failedSandor Yu
Add default EDID config function when read EDID failed. Fix HDMI no audio issue when failed read EDID. Signed-off-by: Sandor Yu <R01008@freescale.com>
2013-03-29ENGR00238384 MX6x HDMI: Update HDMI setting when HDMI cable pluginSandor Yu
Update HDMI setting when HDMI cable plugin, HDMI will catch capbility update with EDID data updated. Signed-off-by: Sandor Yu <R01008@freescale.com>
2013-03-29ENGR00238382 MX6 HDMI: Change VGA mode flag, adjust default modelist sequencySandor Yu
- Change VGA mode the flag from unknow to VESA. - Adjust default modelist order, put the VESA to the end of modelist. - Fix a build warning. Signed-off-by: Sandor Yu <R01008@freescale.com>
2013-03-29ENGR00238357 MX6x Change HDMI default output RGBSandor Yu
Change HDMI default output RGB Signed-off-by: Sandor Yu <R01008@freescale.com>
2013-03-29ENGR00180079 rfkill:revert "change rfkill node permission"Jianzheng Zhou
This reverts commit 60daab290bbab00c73cc057ff868f658ec73d304. For it will break android CTS. Change to fix it in upper. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-03-29ENGR00237588: Add PTP ctrl request funcLiGang
PC maybe issue out MTP_REQ_GET_DEVICE_STATUS control request to query the device status when device in PTP mode. So it's necessary to add ctrl request function for PTP. Signed-off-by: LiGang <b41990@freescale.com>
2013-03-29ENGR00235540 Change the menu key to power key for sabreautob02247
Change MENU key to POWER key for sabreauto Signed-off-by: b02247 <b02247@freescale.com>
2013-03-29ENGR00238276: rfkill:change rfkill node permissionJianzheng Zhou
Use CONFIG_ANDROID_PARANOID_NETWORK to change the rfkill's attr permission (state and type) to fix android upper has no right to access and write issue when use dongle devices. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-03-29ENGR00238201-3 V4L2:ADV7180:enable adv7180 in Androidguoyin.chen
Enable CONFIG_MXC_TVIN_ADV7180 for android Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-03-29ENGR00238201-2 V4L2:ADV7180:enable adv7180 in Androidguoyin.chen
Move ADV7180 out of choice to make it be enabled with other camera config simultaneously Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-03-29ENGR00238201-1 V4L2:ADV7180:enable adv7180 in Androidguoyin.chen
Add ioctl_enum_framesizes function to align the requirement of Camera HAL in Android Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-03-29ENGR00238053: Fix the bug in Fuse read for VPU and GPU disablers of iMX53Nitin Garg
Fix the bug in Fuse read for VPU and GPU disablers of iMX53. The disablers are located at Fuase Bank 0. Also need to enable the clks before reading the IIM. Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
2013-03-29ENGR00238052: Add support for Android RAM console for iMX53Nitin Garg
Add Android RAM console cupport for iMX53 SMD and align the imx5_android_defconfig with google's defconfig. Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
2013-03-29ENGR00237678 IPUv3:Clean up sync and error interruptLiu Ying
1) Split sync and error interrupt handler into 2 different handlers, so that we may save several CPU cycles to handler sync interrupt which is triggered in most IPU usecases. 2) So far, every IPUv3 version in different SoCs has sync and error interrupts, so we return -ENODEV if they cannot be gotten from platform resource. Then, we may request them directly but do not check more. 3) Clean up free irq code by removing unnecessary check. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2013-03-29ENGR00237868 input: egalax_ts: remove the while loop for system performance.Zhang Jiejing
Remove the while loop inside of threaded-irq handler. Found this system issue on Sabre-AI board, if touch screen keep comming, the UI is very slow, special on slow SD card. After remove the loop, the UI is much smoother on SD card, and same on eMMC based system. When add this patch, this was caused by the local timer not enable, after local timer enable, the threaded irq is almost real time, so we don't need add this while loop anymore. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2013-03-29ENGR00235370-5 pmic: Fix the bug of wm8326 pmicZhang Xiaodong
Fix the bug of wm8326 pmic dc-dc Signed-off-by: Zhang Xiaodong <B39117@freescale.com> Acked-by: Lily Zhang
2013-03-29ENGR00237520 mx6q_sabresd: Move power control to pcie driverguoyin.chen
Keep power supply of pcie by setting the flag pcie_power_always_on Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-03-29ENGR00237520 MX6 PCIE: add flag to keep power supplyguoyin.chen
Keep power supply based on pcie_power_always_on for 3g modem,which is not function as a pcie device. Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2013-03-29ENGR00235540-1 reserve mem for framebuffer in sabreautob02247
reserve mem according the fbmem value Signed-off-by: b02247 <b02247@freescale.com>
2013-03-29ENGR00235540 add "fbmem" config for sabreautob02247
add "fbmem" config for sabreauto_6q Signed-off-by: Shengjiu Wang <b02247@freescale.com>
2013-03-29ENGR00236169 MX6 USB :kfree udc_controller when remove udc drivermake shi
Kree and reset udc_controller should be done when remove udc driver to avoid kernel dump during modprobe gadget driver after modprobe and rmmod udc driver. Signed-off-by: make shi <b15407@freescale.com>
2013-03-29ENGR00179636-07 - i.MX6 : Enable ethernet NAPI method in default.Nitin Garg
- Enable ethernet NAPI method in default, which can reduce cpu loading and RX FIFO overruns in busy system. Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
2013-03-29ENGR00236512 mmc: esdhc: make sd3 and sd2 have same platform configJianzheng Zhou
Let sd2 and sd3 slot to have the same platform config. It will remove the restriction that wifi dongle must be inserted into the certain slot. Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
2013-03-29ENGR00236052 add keychord driver in android config.Zhang Jiejing
android use keychord to archive start function in init.rc with some key combo press. eg: service bugreport /system/bin/bugmailer.sh class main disabled oneshot keycodes 115 114 This service will start if VOL-UP and VOL-DOWN press same time. it will start collect bug log, and snapshot and start a mail activity to send the bug report to a mail address. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2013-03-29ENGR00236834: RTC fix a crash in mxc_rtc_read_time while registering rtcNitin Garg
Set pdata (before calling rtc_device_register) as its required by rtc_device_register as it checks if alarm is already set, calling mxc_rtc_read_time. Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
2013-03-29gpu: ion: several bugfixes and enhancements of IONKyongHo Cho
1. Verifying if the size of memory allocation in ion_alloc() is aligned by PAGE_SIZE at least. If it is not, this change makes the size to be aligned by PAGE_SIZE. 2. Unmaps all mappings to the kernel and DMA address spaces when destroying ion_buffer in ion_buffer_destroy(). This prevents leaks in those virtual address spaces. 3. Makes the return value of ion_alloc() to be explicit Linux error code when it fails to allocate a buffer. 4. Makes ion_alloc() implementation simpler. Removes 'goto' statement and relavant call to ion_buffer_put(). 5. Checks if the task is valid before calling put_task_struct() due to failure on creating a ion client in ion_client_create(). 6. Returns error when buffer allocation requested by userspace is failed. Change-Id: I4fa9859f4a0b665fcb44e5c0da43c569732e93ae Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>
2013-03-29ENGR00236827-1: Enable MPR121 capacitive button driver in imx5 android configNitin Garg
Enable MPR121 capacitive button driver in imx5 android config. Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
2013-03-29ENGR00236827: Enable MPR121 capacitive button driverNitin Garg
Enable MPR121 capacitive button driver in Linux 3.0.35 kernel as its missing from Makefile/Kconfig. Also enable the calibration lock bit to improve the touch sensitivity issue. Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
2013-03-29ENGR00236020-1 ALSA: add calling of trigger in machine driverGary Zhang
soc_pcm_trigger() calls trigger functions of cpu_dai, codec_dai and platform, but the trigger function of machine is not called. add calling of trigger in machine driver in soc_pcm_trigger() Signed-off-by: Gary Zhang <b13634@freescale.com>
2013-03-29ENGR00235817 mx6: use SNVS LPGPR register to store boot mode value.Zhang Jiejing
After using POR reset, the content in SRC will be reset. See RM: 63.5.1.2.3 IPP_RESET_B(POR) Because POR reset will reset most of register in IC, so use SNVS_LP General Purpose Register (LPGPR) to store the boot mode value. Below copy from SNVS_BlockGuide.pdf: The SNVS_LP General Purpose Register provides a 32 bit read write register, which can be used by any application for retaining 32 bit data during a power-down mode This Patch will use [7,8] bits of this register. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2013-03-29ENGR00236499 ASRC: fix build warningChen Liangjun
Remove unused function "asrc_get_output_buffer_size()" to fix build warning. Signed-off-by: Chen Liangjun <b36089@freescale.com>
2013-03-29ENGR00236196: mxc_vout: add YV12 format support in enum fmt field.Sheng Nan
Since YV12 format is supported in mxc_v4l2_capture, it should be also supported in mxc_vout. Signed-off-by: Sheng Nan <b38800@freescale.com>
2013-03-29ENGR00235665: mxc_v4l2_capture: add YV12 format support in camera driverSheng Nan
Android CTS verifier have a must requirement for YV12 format. Since IPUv3 common driver has supported IPU_PIX_FMT_YVU420P pixel format, add the support of YV12 format in mxc_v4l2_capture. Signed-off-by: Sheng Nan <b38800@freescale.com>
2013-03-29ENGR00235370-4 pmic: Fix the bug of pmic I2CZhang Xiaodong
Fix the bug of wm831x pmic I2C Signed-off-by: Zhang Xiaodong <B39117@freescale.com> Acked-by: Lily Zhang