summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-28ENGR00241003-2 pfuze: using _sel interface to add delay supportjb4.2.1_1.0.0-alphaAnson Huang
use regulator _sel interface set to support auto delay, as when regulator's voltage go up, it will take some time to ramp up to the required voltage, so the delay is necessary. _sel interface set support such function, now we switch to this interface set. Signed-off-by: Anson Huang <b20788@freescale.com>
2013-01-28ENGR00241003-1 mx6: need to add delay in LDO voltage settingAnson Huang
1.LDO ramp up time may be modified by ROM code according to fuse setting, cpu freq driver use fixed delay time which assume the LDO ramp up time is the reset value of ANATOP register, need to set it to reset value in regulator init. 2.The regulator set voltage should take care of the ramp up time, calculate the ramp up time based of register setting and to the delay, make sure that when the set voltage function return, the voltage is stable enough. 3.CPUFreq no need to use delay, it is already taken care by regulator voltage setting. Signed-off-by: Anson Huang <b20788@freescale.com>
2013-01-28ENGR00241962 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-01-27ENGR00241777 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-01-22ENGR00241251 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-01-22ENGR00241251 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-01-21ENGR00240990 MX6 HDMI dongle:Configure HDMI PHY registersLiu Ying
This patch sets HDMI PHY register values in MXC HDMI driver platform data so that MXC HDMI driver can configure the 0x09 CKSYMTXCTRL register(Clock Symbol and Transmitter Control Register) and 0x0E VLEVCTRL register(Voltage Level Control Register), then we may pass HDMI compliance test for MX6 HDMI dongle board. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2013-01-21ENGR00239734 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-01-18ENGR00240740-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-01-18ENGR00240740-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-01-18ENGR00240740-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-01-16ENGR00240112-3 imx6: config: enable user space crypto API in defconfig.Zhang Jiejing
enable user space crypto API in defconfig. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2013-01-16ENGR00240112-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-01-16ENGR00240112-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-01-15ENGR00238947 [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-01-08ENGR00238882 yaffs2: fix yaffs2 build.Zhang Jiejing
fix yaffs2 build failure. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2013-01-08ENGR00239187 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-01-08ENGR00238391 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-01-08ENGR00238384 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-01-08ENGR00238382 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-01-08ENGR00238357 MX6x Change HDMI default output RGBSandor Yu
Change HDMI default output RGB Signed-off-by: Sandor Yu <R01008@freescale.com>
2013-01-06ENGR00180079 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-01-05ENGR00237588: 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-01-04ENGR00235540 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-01-04Merge tag 'rel_imx_3.0.35_1.1.0' into imx_3.0.35_androidXinyu Chen
Conflicts: drivers/mxc/vpu/mxc_vpu.c drivers/usb/gadget/arcotg_udc.c sound/soc/imx/imx-wm8962.c
2012-12-27ENGR00238276: 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>
2012-12-25ENGR00238201-3 V4L2:ADV7180:enable adv7180 in Androidguoyin.chen
Enable CONFIG_MXC_TVIN_ADV7180 for android Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
2012-12-25ENGR00238201-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>
2012-12-25ENGR00238201-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>
2012-12-21ENGR00238053: 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>
2012-12-21ENGR00238052: 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>
2012-12-21ENGR00237678 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>
2012-12-20ENGR00237868 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>
2012-12-19ENGR00235370-6 mx6: hdmidongle: use LDO bypassZhang Xiaodong
Add new feature which supporting LDO bypass Signed-off-by: Zhang Xiaodong <B39117@freescale.com>
2012-12-19Merge branch 'imx_3.0.35_android' of ↵Zhang Xiaodong
ssh://sw-git01-tx30.am.freescale.net/git/sw_git/repos/linux-2.6-imx into imx_3.0.35_android
2012-12-19ENGR00235370-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
2012-12-18ENGR00237520 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>
2012-12-18ENGR00237520 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>
2012-12-18ENGR00235540-1 reserve mem for framebuffer in sabreautob02247
reserve mem according the fbmem value Signed-off-by: b02247 <b02247@freescale.com>
2012-12-18ENGR00235540 add "fbmem" config for sabreautob02247
add "fbmem" config for sabreauto_6q Signed-off-by: Shengjiu Wang <b02247@freescale.com>
2012-12-17ENGR00236169 MX6 USB :kfree udc_controller when remove udc driverrel_imx_3.0.35_1.1.0make 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>
2012-12-17ENGR00237163 android: imx6 android defconfig sync.Zhang Jiejing
sync android defconfig with bsp. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
2012-12-14ENGR00179636-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>
2012-12-14ENGR00236512 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>
2012-12-13ENGR00236052 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>
2012-12-13Merge branch 'imx_3.0.35_android' of ↵Zhang Xiaodong
ssh://sw-git01-tx30.am.freescale.net/git/sw_git/repos/linux-2.6-imx into imx_3.0.35_android
2012-12-12ENGR00236834: 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>
2012-12-12gpu: 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>
2012-12-12ENGR00236827-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>
2012-12-12ENGR00236827: 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>