Age | Commit message (Collapse) | Author |
|
Some video application require the "usb/video.h" header.
So here the patch to add it during the kernel header installation :
|
|
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>
|
|
Signed-off-by: Robert Nelson <xx...@gmail.com>
|
|
android framework need seperated hdmi display and hdmi audio switch
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
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
|
|
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>
|
|
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>
|
|
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)
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
fix yaffs2 build failure.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
|
|
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>
|
|
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>
|
|
Update HDMI setting when HDMI cable plugin,
HDMI will catch capbility update with EDID data updated.
Signed-off-by: Sandor Yu <R01008@freescale.com>
|
|
- 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>
|
|
Change HDMI default output RGB
Signed-off-by: Sandor Yu <R01008@freescale.com>
|
|
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>
|
|
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>
|
|
Change MENU key to POWER key for sabreauto
Signed-off-by: b02247 <b02247@freescale.com>
|
|
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>
|
|
Enable CONFIG_MXC_TVIN_ADV7180 for android
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
Move ADV7180 out of choice to make it be enabled with other
camera config simultaneously
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
Add ioctl_enum_framesizes function to align the requirement
of Camera HAL in Android
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Fix the bug of wm8326 pmic dc-dc
Signed-off-by: Zhang Xiaodong <B39117@freescale.com>
Acked-by: Lily Zhang
|
|
Keep power supply of pcie by setting the flag pcie_power_always_on
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
|
|
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>
|
|
reserve mem according the fbmem value
Signed-off-by: b02247 <b02247@freescale.com>
|
|
add "fbmem" config for sabreauto_6q
Signed-off-by: Shengjiu Wang <b02247@freescale.com>
|
|
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>
|
|
- 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Enable MPR121 capacitive button driver in imx5 android config.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Remove unused function "asrc_get_output_buffer_size()" to fix build
warning.
Signed-off-by: Chen Liangjun <b36089@freescale.com>
|
|
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>
|
|
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>
|
|
Fix the bug of wm831x pmic I2C
Signed-off-by: Zhang Xiaodong <B39117@freescale.com>
Acked-by: Lily Zhang
|