summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2014-01-07Revert "change max swapchain number to 10 and 2 buffer per chain"submit/tizen/20140107.081830accepted/tizen/mobile/20140107.160934Alex Wu1-2/+2
The patch reverted make weston open framebuffer failed. Change-Id: I8fd54077a75097f55c21fb1fc3bbd20f67b71fd4 Signed-off-by: Alex Wu <zhiwen.wu@linux.intel.com>
2014-01-07touch: Don't set BTN_2 bit for keybitAlex Wu1-1/+0
Since Synaptics device is used as a multi-touch device instead of a touchpad, we should not set BTN_2 bit for it. Otherwise, some use space program, e.g. weston, may recoginize this device as a touchpad. Change-Id: I1b1d2d86dd5ed4d8d3573acdc793f5e387d23ace Signed-off-by: Alex Wu <zhiwen.wu@linux.intel.com>
2013-12-26atomisp2: Fix spinlock not be initialized when used bugflyan2-2/+1
When isp->sw_contex.power_lock used in atomisp_ospm_dphy_down at probe, but the lock not be initiallized at the moment, untill the first video device opened, so there will be a spinlock bad magic panic message when CONFIG_DEBUG_SPINLOCK enable. TZSP-8062: spinlock bad magic on CPU#0, udevd/134 Signed-off-by: Yan Feilong <flyanb@isoftstone.com>
2013-12-26atomisp2: Modifed atomisp firmware load asynchronouslyflyan1-3/+34
Drivers could not load firmware with request_firmware in the probe path with new udev verssion, this will deferred probe about 30s. After reboot, atomisp probe have not finished when open camera immediately, so camera application will be crash. we use asynchronously request_firmware_nowait replace request_firmware. TZSP-8015:Camera application crashes often right after launch Signed-off-by: Yan Feilong <feilongx.yan@intel.com>
2013-12-26gfx: enlarge XPROC workaround memory pool sizeLi Peng1-1/+1
200 isn't enough for X/DRI memory allocation, it will cause DRI memory allocation failure in usersapce, increase to 4096 Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26PM: charger: bq24192: Report specific events to userspace for UI usageAustin Zhang1-0/+5
So that the user space app can monitor this uevent for improving the UX Fix jira-8113. Signed-off-by: Austin Zhang <austin.zhang@intel.com>
2013-12-26PM: net: wireless: bcmdhd: Put the WIFI into/out low power while screen off/onAustin Zhang1-2/+28
Using the screen off/on notification, to put the WIFI silicon into the low power mode/high performance mode. Signed-off-by: Austin Zhang <austin.zhang@intel.com>
2013-12-26atomisp2: set initial streaming state to disabledflyan1-1/+1
If user space application fails to explicitly disable streaming before closing the device, the streaming state will be left with an incorrect value. This will possible make it impossible to reopen the device. This fixes an issue where after camera application has crashed, the camera device can not be opened any more. Signed-off-by: Yan Feilong <feilongx.yan@intel.com>
2013-12-26change max swapchain number to 10 and 2 buffer per chainLi Peng1-2/+2
Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26touchscreen: fixed tzsp-7689 (multitouch issue)liuwei1-0/+19
becasue the touch driver no report mt_slot event, cause evdevmultitouch can`t track multitouch so add mt_slot event report for supprot multitouch Signed-off-by: liuwei <weix.a.liu@intel.com>
2013-12-26gfx: When creating a CmdQueue for a swapchain, keep calling OSLockResource() ↵Daniel van der Wath1-2/+23
for a second instead of giving up after the first failure.
2013-12-26Remove HACK: serial: mfd: disable runtime PM temporarilyWu zheng1-2/+0
Change-Id: I9ded1dd299bd498788a8a5478aca2f921c70cfd2
2013-12-26Disable tiling mode for Topaz temporarily;Yan Zhang1-0/+3
2013-12-26gfx: Reset irq sequence number to 1 at te disableLi Peng2-2/+2
It should always one number ahead of screen update count, so when driver come back from DSR and there is UI operation happened, driver can still make the screen update Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26Revert "gfx: enable DSR"Li Peng1-1/+1
This reverts commit 5fd5cd375b764f0a5a592fd76ed0d140d4a29575. We see DSR causes some impact to UI operation, disable it for a while until we know the root cause and have a real fix Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26PM: hwmon: sensor: gyroscope: Added screen off notifier callbackAustin Zhang1-0/+30
Added screen off notifier callback for gyroscope, so that this sensor will be disabled once the screen is off. Otherwise, this sensor will still waste power under screen-off but non-suspend cases. Signed-off-by: Austin Zhang <austin.zhang@intel.com>
2013-12-26PM: hwmon: sensor: accelerator: Added screen off notifier callbackAustin Zhang1-1/+34
Added screen off notifier callback for accelerator, so that this sensor will be disabled once the screen is off; Otherwise, this sensor will still wake up processor frequently and spend a lot of time (so power) to handle its ISR even though the screen is off but the system is not in suspend status. Signed-off-by: Austin Zhang <austin.zhang@intel.com>
2013-12-26gfx: enable DSRLi Peng1-1/+1
It saves power at display on idle per power team test Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26atomisp: Add VIDIOC_ENUM_FRAMESIZES ioctlflyan3-0/+150
Add atomisp enum framesizs ioctl surppot This ioctl allows applications to enumerate all frame sizes that the¬¬ device supports for the given pixel format Signed-off-by: Zhou Tongwei <tong.weix.zhou@intel.com> Signed-off-by: Yan Feilong <feilongx.yan@intel.com> Signed-off-by: Qi Zuyong <zuyongx.qi@intel.com>
2013-12-26OV9740:add flip function for ov9740qizuyong2-76/+53
add horizontal flip & vertical flip function for sensor ov9740 Signed-off-by: Zhou Tongwei <tong.weix.zhou@intel.com> Signed-off-by: Qi Zuyong <zuyongx.qi@intel.com> Signed-off-by: qizuyong <zyqi@isoftstone.com>
2013-12-26Revert "Revert "gfx/fb: another work around to enable X with frame buffer""Chengwei Yang1-0/+3
This reverts commit 702c633a32677d68777dd426da17cc194bf78689.
2013-12-26Revert "Revert "gfx/fb: work around to enable X with frame buffer""Chengwei Yang1-1/+6
This reverts commit afab00354524f8f41b61bb3f9fab39dc0d16b360.
2013-12-26gfx: forbid DSR during pageflipLi Peng1-0/+23
enable DSR again after page flip is done Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26gfx: Disable DSR until it is readyLi Peng1-1/+1
Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26gfx: enable async flipLi Peng2-0/+25
Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26gfx: skip psbfb_mmap interfaceLi Peng1-1/+0
This function cause kernel reboot failure and it is safe to skip driver fb_mmap support. Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26atomisp: modify atomisp parameterstieyang1-2/+4
RESERVED_MEMORY_POOL_SIZE_IN_PAGE is refer to android platform of geek Signed-off-by: Qi Zuyong <zuyongx.qi@intel.com> Signed-off-by: Tie Yang <yangx.tie@intel.com>
2013-12-26HACK: serial: mfd: disable runtime PM temporarilyWu Zheng1-0/+2
We can't wait for BT LPM because broadcom support is slowly. It will block BT LPM enabling and Bluetooth enabling. We need to enable BT, so that it doesn't block project milestone. Then we continue checking and getting broadcom support to enable BT LPM. Signed-off-by: Wu Zheng <wu.zheng@intel.com>
2013-12-26Ported linux_framebuffer_mrst from josephine, this improves flip chain ↵Greg Hunt8-8/+2596
functionality Signed-off-by: Greg Hunt <greg.hunt@mobica.com> Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26Revert "gfx/fb: another work around to enable X with frame buffer"Li Peng1-3/+0
This reverts commit 9e2b4b572f80595edcf7d6ebc6b28459f8c42b64. Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26Revert "gfx/fb: work around to enable X with frame buffer"Li Peng1-6/+1
This reverts commit a5975db250d468ff7400a93fd67a3f118db56957. Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26gfx: PM control through dpms interfaceLi Peng3-1/+118
enable gfx device suspend/resume at dpms off/on to fit with Tizen PM framework Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26gfx: Don't change scale property and swapchain property in mode settingLi Peng1-0/+4
Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26gfx: Fix wrong attribute in device memory mapLi Peng1-3/+0
Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26gfx: Fix DRI2 authenticate failureLi Peng1-0/+2
Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26gfx: Enable build config SUPPORT_PVRSRV_GET_DC_SYSTEM_BUFFERLi Peng1-0/+1
Signed-off-by: Li Peng <peng.li@intel.com>
2013-12-26Battery/charger/bq24192: add charger online sysfs interfaceYin Kangkai1-0/+48
Add sysfs interface "online" to indicate whether charger is online or not. Interface is here: /sys/devices/pci0000:00/0000:00:00.5/i2c-2/2-006b/online Or /sys/class/power_supply/bq24192_charger/device/online Pre-OS needs this flag to update the UI (charger is inserted or not). Change-Id: I5dc683c22461d3b632fd983465b9282fb8b9d3a7 Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
2013-12-26Battery/charger/bq24192: fix charging statusYin Kangkai1-10/+15
Add the charger throttle logic for bq24192, and fix the charging status. Before this fix, battery (max17047) is in state "Discharging" even after you inserted AC charger or USB. e.g.: -sh-4.1# pwd /sys/class/power_supply -sh-4.1# ls ac bq24192_charger max17047_battery usb wireless -sh-4.1# cat ac/online 1 -sh-4.1# cat max17047_battery/status Discharging Change-Id: I94e428cd023eb1d3d1d36471a16bffd7580c644d Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
2013-12-26battery/charger/bq24192: indent onlyYin Kangkai1-621/+608
Indent using the scripts/Lindent Change-Id: I9a73915eb1438458c5312f8e62c5d3cd7da1d1de Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
2013-12-26PM: input: touchscreen: synaptics: Added screen off notifier callbackAustin Zhang1-3/+69
Added screen off notifier callback so that 'touch' will not light on the LCD during one pending suspend process which is being blocked by wakeup count from one wakeup event. Signed-off-by: Austin Zhang <austin.zhang@intel.com>
2013-12-26PM: gfx: Added screen-off notifier.Austin Zhang1-0/+22
Added notifier which would indicate the screen is being turned off, then we should disable some devices from this stage, for example, we should disable touch panel after screen off so that 'touch' will not light on the LCD again when there is being pended suspend process due to wakeup event, like insert USB cable. Signed-off-by: Austin Zhang <austin.zhang@intel.com>
2013-12-26PM: Disable android earlysuspend and wakelock features.Austin Zhang3-17/+24
Signed-off-by: Austin Zhang <austin.zhang@intel.com>
2013-12-26fix kernel compile error with old gcc versionAustin Zhang3-13/+13
Signed-off-by: Peng Li <peng.li@intel.com> Signed-off-by: Austin Zhang <austin.zhang@intel.com>
2013-12-26touch/synaptics_i2c_rmi_ex: separate touchkey into different input deviceYin Kangkai1-7/+40
Separate touch key as different input device, so that is more convenient for user space X input driver(evdev/evdevmultitouch) to handle. Change-Id: Ifba8d2c78f5aea66d11d73f8c6acbb1b8e185aea Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
2013-12-26touch/synaptics_i2c_rmi_ex: indent onlyYin Kangkai1-850/+994
./scripts/Lindent drivers/input/touchscreen/synaptics_i2c_rmi_ex.c Change-Id: I3f2bee6908e2fa31afcc4ac93df6581c41b9dd4f Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
2013-12-26touch/synaptics_i2c_rmi_ex: enable the touch driverYin Kangkai1-34/+39
Give some quick and dirty work arounds to enable the touch driver, so that touch does not block other components' bring up work. FIXME: this driver needs heavily clean up for sure. Change-Id: I8a15167e80e7ab122986cd3b60ef6455c530346b Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
2013-12-26gfx/fb: another work around to enable X with frame bufferYin Kangkai1-0/+3
Turns out we need this work around too to enable X/fb. Change-Id: If624ec0124771959b124679884513a0afed66591 Signed-off-by: Li Peng <peng.li@intel.com> Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
2013-12-26gfx/fb: work around to enable X with frame bufferYin Kangkai1-1/+6
For unknown reason (yet), although X with fb driver launches successfully, but there is nothing show up in the panel/screen, this is a temporary work around to enable that. Signed-off-by: Li Peng <peng.li@intel.com> Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
2013-12-26Export usb connection statusChengwei Yang1-3/+23
There are several components depends on kernel export usb connection status correctly. First, system-server check usb status by calling OEM interface to launch usb-server; second, usb-server does the usb mode setting work and launch syspopup. In addition, setting usb mode from UI depends on usb-server too. This also fix TZSP-3142. Signed-off-by: Chengwei Yang <chengwei.yang@intel.com> [Port from mfld kernel and support CTP] Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
2013-12-26Misc: import Jack Monitoring Interface from samsungvivian, zhang3-0/+216
Jack monitor framework monitors jack events (e.g. earjack, usb) and then export through /sys. Both sound and usb driver has some dependency on this framework. (FIXME: we should isolate this jack monitor framework, independent of sound or usb patches) For the sound driver, it is used to set jack status: earjack_online, earkey_online; these status are required for earjack type detecting in avsystem project. Signed-off-by: Vivian Zhang <vivian.zhang@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> [Port to support CTP platform, and add FIXME] Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>