Commit graph

303627 commits

Author SHA1 Message Date
choongryeol.lee
01fc0013e4 mako: display: enable CABC function
CABC(Content Adaptive Backlight Control) is supported by
mako lcd panel. So this patch enables it to reduce power
consumption.

Change-Id: I433281bc5fe4e638cfeba1beb9cb61e1775f3896
2013-03-04 12:43:27 -08:00
Devin Kim
ab29637d1f Revert "ASoC: msm: Add back-end enablement for CPU DAIs."
fixed mute issue on voice call

This reverts commit d1582ffc6c7e95ace9d2d4e75e99a4d30142295c.
2013-03-04 12:43:26 -08:00
Ajay Dudani
90aa1a8adf Revert "msm: camera: Initialize the vfe stats structures."
This reverts commit c13372eaf3ef8446216c2420a65683a49b02f712.
2013-03-04 12:43:26 -08:00
Ajay Dudani
48e1d0af7d Revert "msm: camera: Fix crash in camera on 8660"
This reverts commit becf41c5f741586eb5446879100f063549786ce0.
2013-03-04 12:43:25 -08:00
choongryeol.lee
1d1b3c3cb8 mako: hdmi: fix hdmi_pll_enable failure
Since the waiting time for pll lock is not enough,
hdmi_pll_enable() have never succeeded. So this patch is increase
waiting time for hdmi_pll_enable().

Change-Id: I9a6b6358b430027c74992f662f8565c32202befc
2013-03-04 12:43:25 -08:00
Devin Kim
c4fefe6d0a msm: set the packed write feature in platform data for eMMC
Some device has problems in packed write for eMMC.
So we can set packed write feature in platform data.

Change-Id: I7e76c78fd076fa5cb0d540c1312fd6ae69aae1b4
2013-03-04 12:43:24 -08:00
Devin Kim
e6a8505f82 mako: defconfig: auto-updates
sync up defconfig with new kernel

Change-Id: I0d33d8febaf47a9955ec50028f553e3e99a80ab0
2013-03-04 12:43:23 -08:00
Devin Kim
05199ccf7f mmc: check the emmc version for the write packing
Support for the writing packing on eMMC 4.5 or later.

Change-Id: I916c79ab95f8d5ca72a9fbfb212bbcf07b69a99f
2013-03-04 12:43:23 -08:00
Devin Kim
a840978cf4 mako: tethering gadget(CDC-ECM) is replaced with RNDIS
Change-Id: I6e67ac13011a1cb4c2607e6a6b7a96e1a385939e
2013-03-04 12:43:22 -08:00
Devin Kim
bfb71a4cca mako: msm: iommu: Split rotator/mdp iommu domains
msm: iommu: Split rotator/mdp iommu domains
commit	ef95ae33a328426b45f502eeb86f2edc120faf30

Finer granularity is needed when mapping into the IOMMU's for
rotator and mdp for secure playback. During secure playback
HLOS will only have access to map into one context bank. The
other context bank is secured and programmed by TrustZone.

Divide DISPLAY_DOMAIN into DISPLAY_WRITE_DOMAIN and
DISPLAY_READ_DOMAIN. Divide ROTATOR_DOMAIN into ROTATOR_SRC_DOMAIN
and ROTATOR_DST_DOMAIN

Change-Id: Iab8f72705b2fd9f3f01b3f42a9fc0193be8ce69a
2013-03-04 12:43:22 -08:00
Jongrak Kwon
3a2532eeba mako: touch: support new touch panel (PLG137/0.9T)
Use ARRAYED_TOUCH_FW_BIN feature to support both new(PLG137/0.9T)
and old(TM2000/0.55T) panels with one binary.

Firmware Verison: New - E003, Old - E059 (no change)

Change-Id: Ia96eba137f8a02054eb8067d47dc887edffb9970
2013-03-04 12:43:21 -08:00
choongryeol.lee
58aa102331 Revert "mako: temoprarily blocked mdp error message"
This reverts commit 0fca8a4db86917c28b9c8161b1ae5ee73743605d.
2013-03-04 12:43:20 -08:00
choongryeol.lee
b4826d07a0 mako: slimport: enable slimport for mako
apply slimport driver to mako

Change-Id: I411d89784ab2796db61cb9f3202952e0e5744107
2013-03-04 12:43:20 -08:00
choongryeol.lee
69c553ed59 slimport: add slimport anx7808 driver
add slimport anx7808 driver

Change-Id: I133d5272172532a52e27e08779b97789c104173a
2013-03-04 12:43:19 -08:00
Devin Kim
69b3d8c89d prima: HACK: compilation fixes for gcc 4.6
These changes are reguired to compile sucessfully with gcc 4.6
It's temporary solutions and better to remove the warning from codes.

Change-Id: I7fb7456134bc44bf5ce49edf5f00dae10ae5e778
2013-03-04 12:43:19 -08:00
Devin Kim
cf5ebd11dd power: compilation fixes for gcc 4.6
These changes are reguired to compile sucessfully with gcc 4.6

Change-Id: I683d0edeee5167c715f773f55ec32da0d78f702c
2013-03-04 12:43:18 -08:00
Devin Kim
af011c100a mako: update defconfig
+CONFIG_MSM_CAMERA_FLASH_LM3559=y

Change-Id: I8ad9e3036e1dc0a9382c6702d1c21b8482cb6e24
2013-03-04 12:43:17 -08:00
Devin Kim
126c660047 camera: don't enable lm3559 as default
should be selectable for other flash drivers

Change-Id: Iefd32d611c116dbd84f275a053b0d77a934b434d
2013-03-04 12:43:17 -08:00
Devin Kim
20a38f1054 mako: camera: add header for lm3559 platform data
Change-Id: I5619edd401c586afc2fbbb8690f646b01cf3872e
2013-03-04 12:43:16 -08:00
Devin Kim
969adb1605 camera: add header file for lm3559 platform data
- add new header file for lm3559 platform data
- unregister device when removing device

Change-Id: I6eb32097c61347df800be86cf4fbc84d27e6cc50
2013-03-04 12:43:16 -08:00
Devin Kim
cc9c72ebc0 mako: vibrator: use ns_to_ktime
use ns_to_ktime instead of ktime_set

Change-Id: I29c2e99a4a655ca4ed26aca1acc270d3bcdb9700
2013-03-04 12:43:15 -08:00
Jaeseong GIM
5483ca8f54 mako: add earsense gpio to MPM irq wakeup source
earsense gpio is set to wake irq.
if it is not added to MPM irq wakeup source,
it blocks to enter the XO shutdown state.

Change-Id: I46a406c1a2a38668ed952ef368bbbb1066975577
2013-03-04 12:43:15 -08:00
choongryeol.lee
fe01ac999e mako: display: update lcd initial code
update lcd initial code and change power on sequence for
new initial code.

Change-Id: Ic876d5dbef3528591ca374ba0f67f073f4584534
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:43:14 -08:00
choongryeol.lee
c56669fd51 mako: display: clean up the mako display code
remove unused features and clean up the mako
display related code

Change-Id: I1a6fa783a83eef747a98a3e70341c50de2cfd74f
2013-03-04 12:43:13 -08:00
choongryeol.lee
572895635a mako: display: remove unused config from Kconfig
Change-Id: I8ea6a5600869d41480eb8fbcfe54ea1bea03802a
2013-03-04 12:43:13 -08:00
insup.choi
0f1ec9f26a camera: add flash driver(lm3559)
Change-Id: I373d3a585dd0059c1102b13cd3c330c5651d0a68
2013-03-04 12:43:12 -08:00
insup.choi
90c3ddb30e camera: fix to detect csid in sensor driver
- add function to get csid version
 - fix bad parameter value

Change-Id: I14b3e28a7dbb313feb97f9f53a5cc3200e68f902
2013-03-04 12:43:12 -08:00
Devin Kim
6734301a1e mako: keys: changes keymap.
The volume keymap is changed.

Rev.A and RevB:
 (0,0) VOLUMEUP
 (0,1) VOLUMEDOWN

Rev.C and later:
 (0,0) VOLUMEDOWN
 (0,1) VOLUMEUP

Change-Id: I95857d0388d49d066fc3857bc9fa85bde063c21f
2013-03-04 12:43:11 -08:00
Iliyan Malchev
6b8d44cd96 Revert "mako: msm: board: enable HS200 bus speed mode support"
This reverts commit e9966f64cb24e476f029145f47419dbba3a01402.
2013-03-04 12:43:10 -08:00
Ajay Dudani
7d3390e641 prima: WLAN Driver Release 3.1.7.11
git clone git://codeaurora.org/external/wlan/prima.git
SHA: 04dd8a8d8eb61b4e09387f952c241560a361935f

Incorporate Driver Releases 3.1.7.10 and 3.1.7.11

Release 3.1.7.10

Integrate the following CLs from Perforce:

633566: Do not drop beacons or probe response ever when in scan mode
If beacons or probe response is dropped for an AP, it can take upto 10
seconds to connect to an AP as the AP will not be discovered until
next scan cycle.  There was logic to throttle/drop incomming frames
even during scan and not overhwhelm PE and VOSS Message wrappers which
was done in Gen6 days. With the new MSMs, faster processing power and
and removal of SDIO, host should be able to handle and process all
frames fast enough.  Therefore do not ever drop beacons or probe
response frames when we are in scan mode.  (CR 368500)

633567: Fix BMPS issues which prevent disconnect after missed beacon
1. In missed beacon scenario, BMPS request from PMC must not be
allowed by PE. This is because DUT has exited BMPS to probe the AP and
if probe has not completed, BMPS must not be allowed.
2. When ENTER BMPS is rejected or ENTER BMPS fails, make sure
heartbeat timer is always running. This is just a fail safe check to
ensure we do not ever land in a situation where DUT is out of BMPS and
also out of AP's range but heartbeat timer is deactivated for some
reason. If that happens, link will never be torn down and device will
always keep trying to enter BMPS unsuccessfully.
3. Introduce a new eSIR_SME_BMPS_REQ_REJECT which implies that request
is rejected by PE.  eSIR_SME_BMPS_REQ_FAILED now implies that request
was denied by Riva. This will help us in debugging.  (CR 367659)

633809: Change value of MAX_SCAN_SSID
While doing cfg80211 interface registeration with kernel, we are
filling wiphy->max_scan_ssids parameter with MAX_SCAN_SSID value
(MAX_SCAN_SSID =2). So During combo scan wpa_supplicant is not able to
send more then 2 profile to host driver. As host driver supporting 9
max ssid. MAX_SCAN_SSID has value set to 9 while registering the
cfg80211 interface.  (CR 365219)

634012, 634018, 634021, 634163: Legacy Fast Roaming Feature (CR 362782)

634148: Fix SSR race condition in cfg80211 APIs and BTAMP
cfg80211 APIs are blocked when SSR is going on; there could be various
race conditions in WLAN driver if these APIs are not blocked during
SSR. Some of them are already SSR protected, adding protection to the
missing ones. Also fixing a BTAMP race condition during SSR in softap
mode.  (CR 370064)

634185: Fuzzing Fix - Vos Packet is Freed Twice
Fix issue seen in fuzzing test case #48518 for malformed data packet -
There is a bug where if WLANTL_GetEtherType fails, the vos packet is
returned twice.  (CR 369987)

634238: Fix for Timer Leak
While unloading host driver it is showing timer leak. In rrmClose
function, it is not destroying neighborRspWaitTimer. Same way it is
not destroying txSleepTimer in hddDevTmUnregisterNotifyCallback
function. this change is going to fix both timer leak issue.  (CR
369951)

634272: Fix of kernel Panic in P2P mode after including DXE TX ring empty fi
DXE TX ring is taking more than 3 seconds in some secarios to get
cleared and becasue of this after getting DEL BSS response sessionId
is getting changed and as a side effect of this dev is comign as Null
and any access to it is leading to Kernel Panic.  (CR 370441)

634397: SME Close Session wait timeout should be more than WDI timeout
SME Close Session is timing out before getting the call back from
WDI. Increased the WLAN_WAIT_TIME_SESSIONOPENCLOSE to 15 seconds which
is more than WDI timeout (10 seconds).  (CR 368821)

634422: Port config80211 softap interfaces to Kernel 3.4
The softap config80211 interfaces are changed in Kernel 3.4, some of
the interfaces are renamed; and also a new data structures is
introduced for softap interface. So the existing WLAN driver APIs are
modified to accomadate these changes.  (CR 371516)

634858: Fix typo in sirWrapper.h Copyright
Fix typo that was uncovered during Open Source legal scan

Release 3.1.7.11

Integrate the following CLs from Perforce:

634522: Make changeCountryCode ioctl completly synchronous
Implemented completion routine and callback function to make
changeCountryCode Ioctl completely Synchronous (CR 365094)

634543: Fix typo in WCNSS version log message

634791: Do not allow the second interface for the same type.
Currently two concurrent sessions of same type are not supported. The
new additional session is causing problems to existing session. Seeing
errors like sme_OpenSession() failure, disconnecting and reconnect the
existing session, but data transfer failure etc., As two P2P sessions
are currently not supported, restrict this, at HDD level. This can be
removed once concurrent P2P CLI sessions have to be supported.

634824: Set ERP protection bit when SoftAP overlaps with 11b AP.
SoftAP is not setting ERP protection bit when 11b AP operates in same
channel as that of SoftAP. Added this 11b OBSS overlap support. After
turning off 11b AP, ERP protection bit is cleared but not "OBSS non-HT
STA" persent bit. HT protection also remained "01". We need to disable
this HT protection also while disabling ERP protection.  (CR 368189)

634825: Fix for Memory Leak
While sending scan response from LIM to SME, it allocate memory of
8000 byte length for pSirSmeScanRsp. In case where scan results are
empty (bssCount=0) LIM send eWNI_SME_SCAN_RSP message with
statusCode. After posting message it is not freeing memroy which is
allocated previously which result into memory leak for 8000 byte when
we unload driver. Now After posting message we will check if
pSirSmeScanRsp is not NULL then free allocate memory.  (CR 371901)

634850: Fix for setband and country commands which occasionally enable dualb
Added a fix to check the INI settings for band (CR 368987)

634876: Max tx power value from ini is not reflected during initial assoc
check is added to pick up the lowest of regmax, ap and ini value  (CR 367780

635070: Fix issue with iwconfig for p2p session when concurrency is enabled

635072: Fix for leting device go to IMPS when p2p_client is disconnected
In case where p2p_client is the last session to be
deleted/disconnected, what happens is that csrScanTriggerIdleScan()
fails at vos_concurrent_sessions_running(). We add further check to
see if any session is in connect state. In case there are no sessions
in connect state, it is okie to go into IMPS.

635216: Fix SoftP and P2P porting issues on Kernel 3.4
When registering with config80211 interface, Kernel 3.4 expects to
announce the capability for "remain on channel" interface. So add this
flag when WLAN driver register with cfg80211. For SoftAP when cfg80211
new station interface is invoked, Kernel 3.4 expects an additional
flag in station info, to indicate that it has filled association
request IES.
2013-03-04 12:43:10 -08:00
Jongrak Kwon
147bdffbae mako: touch: firmware upgrade and resolution change
- Firmware: E052 -> E059 (noise tunning & resolution change)
- Resolution: 1100x1900 -> 1536x2560

Need to reboot the system when abnormal touch work after upgrade

Change-Id: I476180c2a1fa5528fc90d2933072ac01a7e1fd31
2013-03-04 12:43:09 -08:00
Devin Kim
67aaf769ee mako: display: remove lm3533 device
- remove the unused lm3533 device
- use platform_data header for lm3530

Change-Id: Id314d413febc31d0cf66db45a45478e656a51bfc
2013-03-04 12:43:08 -08:00
Devin Kim
3b795c2300 backlight: lm3530: cleanup codes
- add include/linux/platform_data/lm35xx_bl.h
- remove redundant variables and codes
- handle the erorrs in probe
- fix the memory leak

Change-Id: I279ebc9098f70e78d618abdcc75df23bbf8e604a
2013-03-04 12:43:08 -08:00
Jongrak Kwon
f9201bc3c2 mako: input: excluding unused drivers
Excluded mouse, joystick and serio config

Change-Id: I07e95a24470f322fd24b2a762dca650b36bbd2b3
2013-03-04 12:43:07 -08:00
Devin Kim
cdd941aedc mako: defconfig: disable hw crypto drivers
Mako doesn't use HW crypto drivers (QCOM crypto drivers).

Change-Id: Ie8730370bab3df9ffa6c1b13d224b5ecf7f76cf5
2013-03-04 12:43:07 -08:00
Devin Kim
2ff6681517 mako: defconfig: disable unnecessary features
disable unnecessary feature to reduce the kernel image size.
- support only GZIP for initrd
- disable unused modules
- disable unused ethernet drivers
- disable remote control from media
- disable printk dynamic debug ( < +2KB)

Change-Id: I5443b7c90191a60aa19cb6c7ba1948f0858a8253
2013-03-04 12:43:06 -08:00
Devin Kim
d8dc1785af mako: remove board-8960 codes from mako
- mako doesn't need the board-8960 codes

Change-Id: Id04e0e3b9afb3b2e064cb19797588c0da378e705
2013-03-04 12:43:05 -08:00
Devin Kim
b1bb0571b5 mako: msm: board: enable HS200 bus speed mode support
msm: board: enable HS200 bus speed mode support
commit	cb6f9ce6659e52b5adcdbac834e632286671f32f

eMMC4.5 specification supports HS200 bus speed mode which allows the
card interface clock to run at more than 52MHz and maximum up to 200MHz.
On most of our existing chipsets we interface eMMC cards on SDC1 slot
as it give 8-bit data interface but timing closure for this slot is not
done for >100MHz clock on any of the existing chipsets (MSM8960, MSM8930
		& APQ8064).

Since the timing closure is done till 100 MHz, we can enable HS200 mode
that runs at max. 100MHz. Recent performance measurements also indicate
that HS200 @96MHz (Clock plan supports max. 96MHz) gives better
performance than DDR@48MHz. So enable HS200 @96 MHz. On future targets
which get timing closed at ~200MHz, HS200 at that frequency will be
enabled.

Change-Id: I581c64ad4a4dcff43f8cbbc14255a6f156f2c15e
2013-03-04 12:43:05 -08:00
Devin Kim
0c588c3dac ARM: 7363/1: DEBUG_LL: limit early mapping to the minimum
cherry-picking from kernel v3.5

There is just no point mapping up to 512MB for a serial port.
Using a single 1MB entry is way sufficient for all users.
This will create less interference for the following debugging patch.

Change-Id: Ifc06ec5dbf1c1f25053adb08b9d0a3dccfe46f3e
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2013-03-04 12:43:04 -08:00
Iliyan Malchev
c9fad92475 [ARM] msm: iommu_domains: replace vmalloc with kmalloc
There is no point using vmalloc for small temporary allocations.  kmalloc will
allocate more quickly and will not fragment the vmalloc space.

Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:43:04 -08:00
Iliyan Malchev
30a5199be3 [ARM] msm: kgsl: replace vmalloc with kmalloc
There is no point using vmalloc for small temporary allocations.  kmalloc will
allocate more quickly and will not fragment the vmalloc space.

Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:43:03 -08:00
Iliyan Malchev
1e94697b29 mako: update clock-8960.c definitions
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 12:42:27 -08:00
insup.choi
954b92b26c camera: add mako camera driver imx111, imx119
Change-Id: I5451ba05023fe7cbe3442512924062e7dc63f3f4
2013-03-04 09:12:35 -08:00
Iliyan Malchev
47ab5a8dc4 msm: camera: fix build breakage
Signed-off-by: Iliyan Malchev <malchev@google.com>
2013-03-04 09:12:34 -08:00
Devin Kim
578dee3739 msm_fb: clean fb to prevent displaying old fb
clean fb to prevent displaying old fb on resume.

Change-Id: Iab169e7a36b6bd168631bbf9763319ba4388f82d
2013-03-04 09:12:34 -08:00
Devin Kim
765c50170e mako: defconfig: enable camera
Change-Id: I95f5f2023e8da74f89b4430707dc675ab5fe61fd
2013-03-04 09:12:33 -08:00
Devin Kim
fdefcfa0c0 msm: camera: fix build breakage about CONFIG_MSM_CAMERA_DEBUG
- remove redefined CONFIG_MSM_CAMERA_DEBUG
- fix mismatched variables

Change-Id: I9471fb076a994b669cae4f8b87e7730d0bcdb5ca
2013-03-04 09:12:33 -08:00
Devin Kim
be4d9df9bb msm: board-8960: fix the build breakage
if not defined CONFIG_GPIO_SX150X, build breakage.

Change-Id: I4a5cd4097f8c5023bc058486f7733311f108d6e5
2013-03-04 09:12:32 -08:00
Devin Kim
9bd79c1f12 mako: remove sx150x gpio expender and epm sensor
mako doesn't use gpio expender and epm sensor.
- remove sx150x gpio expender
- remove epm sensor

Change-Id: I84568c560c7c52ac2b68ef72791cf9114e1e7455
2013-03-04 09:12:31 -08:00
Devin Kim
55b4dc023a msm: camera: fix the build breakage
if not defined MSM_CAMERA_SENSOR or MSM_ACTUATOR, couldn't build kernel.
add inline functions to fix it.

Change-Id: I24b3c8bb87110e04b4bd06e85e72b5143282b2d3
2013-03-04 09:12:31 -08:00