Commit graph

305701 commits

Author SHA1 Message Date
hsuan-chih_chen
0bdaabce8e mmc: sd: remove sdc3 card detect gpio for non-support project
Change-Id: I905dddcfdb56aeeefb35c109b90da488aa119b1c
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/69100
Reviewed-by: Hsuan-Chih Chen <hsuan-chih_chen@asus.com>
Tested-by: Hsuan-Chih Chen <hsuan-chih_chen@asus.com>
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
2013-04-18 16:08:04 -07:00
xinchuan_wu
6f87846d01 revert "msm: 8064: Add regulator supply for DDR3 memory"
This reverts commit 994ff121f0c2e3ff00fa38ae2f8dfde4bda1b332.
PM8921 MPP7 no longer must be kept high at all times for targets
using PCDDR3 memory because newer hardware ensures that memory is
always powered when necessary.

picked from fb3d2f519b3dabf307596389365fe04384d0c3eb

Change-Id: If5691877ea5b0e9c268d32fe4b9458652bf77c7f
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/69275
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
Tested-by: Sam hblee <Sam_hblee@asus.com>
2013-04-18 16:08:04 -07:00
paris_yeh
afcc716ffe flo: gfx: footswitch: Turn gfx footswitch on/off only during suspend/resume
This is a workaround, for instability seen with leaving gfx footswitch
go on/off.

Separate board-flo-gpu.c is based on board-8064-gpu.c for flo hardware
so that workaround is also added. This refers to the following change

Change-Ids
bbe03d50952ebac9b6fdef315cf12ae57e7963da

Change-Id: Ia49ccae7d2cfc64cf2f22bf053683dc728cc4f20
Signed-off-by: paris_yeh <paris_yeh@asus.com>
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/69279
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
2013-04-18 16:08:04 -07:00
william_shih
3ed39b377c qseecom:Fix race condition while voting for clocks
Change-Id: Ieda340f91d990a1d79ac9f960280e2b5b516b40d
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/69294
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
Tested-by: Sam hblee <Sam_hblee@asus.com>
2013-04-18 16:08:03 -07:00
yetta_wu
0cdecd09ed msm: display: increase max mdp clock to 266.667MHz
The current 8064 frequency plan supports max mdp clk up to 266.667MHz.

CRs-Fixed: 405103
Author is Huaibin Yang <huaibiny@codeaurora.org>
Reference change-id is I326f5becc642399a4a0e9d97752d893752388066

Change-Id: I873d0058602cba7e2239daecce89ee8f7613faa4
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/69303
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
Tested-by: Sam hblee <Sam_hblee@asus.com>
2013-04-18 16:08:03 -07:00
yetta_wu
0e356b039a msm: board-8064: Increase MFC ION heap size by 256KB
In order to support extra data during secure playback,
video core meta data buffers need to be allocated from
MFC heap. This is required as both HLOS and video core
have read-write access to this heap. As each meta buffer
size is 8KB and there can be 32 meta & output buffers,
increase the MFC ION heap size by  256KB.

Author is Deepak Verma <dverma@codeaurora.org>
Reference change-id is I033d24c9d02a879e38c5f6d86b2b6c0a767ec25c

Change-Id: I60f595c7e2a2a569dcfa320c7c1e3ff5bdd6f064
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/69302
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
Tested-by: Sam hblee <Sam_hblee@asus.com>
2013-04-18 16:08:03 -07:00
yetta_wu
f652e968bd Display: fix build break of AU 013 tag
Change-Id: I0dad33baca873b7a3042b12090a89c38f0e2e58d
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/69300
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
Tested-by: Sam hblee <Sam_hblee@asus.com>
2013-04-18 16:08:03 -07:00
hank_lee
819f8a012a flo: msm: power: update power drivers to msm-3.4 tip
This branch is currently very outdated. Cherry pick the following
changes in order to bring recent fixes to this branch.

Separate board-flo-*.c is based on board-8064-*.c for flo hardware,
it needs following change to fix build break:
Change-Ids
999ee576589682c27492184c22053d19819c0285

Change-Id: Ic51f927c0efc350372ccc98e2805cbde0bb26cb1
Change-Id: I6187110b272c6032d90b1a42e97bbbc25bd9edce
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/69295
Reviewed-by: Nick Cheng <nick_cheng@asus.com>
Tested-by: Nick Cheng <nick_cheng@asus.com>
2013-04-18 16:08:03 -07:00
singhome_lee
a911a1a599 board-8960: Update 8960AB and 8064AB SPM sequences.
8960AB and 8064AB have a new revision of the Krait SPM hardware.
The SPM v1.15x on these targets uses a different bit to control the
apc_pdn signal.
Update the SPM sequences for standalone and power collapse to use the
new sequences.
L2 SPM or Krait WFI/Retention sequences are not affected.

CRs-fixed: 419258
Author is Anji Jonnala <anjir@codeaurora.org>
Reference change-id is I3bcf335ac50cd1181047fe1ee1d56ecd507ae35c.

Change-Id: If532e26601e52a3b304cdc0c1856cf0b234dcee0
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/69287
Reviewed-by: Singhome Lee <singhome_lee@asus.com>
Tested-by: Singhome Lee <singhome_lee@asus.com>
2013-04-18 16:08:02 -07:00
paris_yeh
1ea6866c3d asustek: pcbid: fixed bug to shift 6 bits for sysfs project_id
Re-caculate the index of sysfs project_id because hardware revision
shorten from 3 bits to 2 bits.

Change-Id: I84910ae4d743fc45660f547e2f149c7e75334372
Signed-off-by: paris_yeh <paris_yeh@asus.com>
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/69155
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
2013-04-18 16:08:02 -07:00
yi-hsin_hung
c9650c06d8 drivers: usb: otg: Enable the normal irq and wakeup irq of usb id and vbus pin for the no irq issue after system resume.
Change-Id: Iffa5727df3a48c56d6ac11fc2b7a8ff85a9fb065
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/69144
Reviewed-by: Yi-Hsin Hung <Yi-Hsin_Hung@asus.com>
Tested-by: Yi-Hsin Hung <Yi-Hsin_Hung@asus.com>
Reviewed-by: Leslie Yu <Leslie_Yu@asus.com>
2013-04-18 16:08:02 -07:00
yetta_wu
456b8170a0 Display: fix blue screen issue (underrun)
1. set fps back to 60 for LG panel
for panasonic panel, set to fps 60 still have underrun

2. hard code ab, ib (memory clock) to max for mipi video mode panel
because the priority of display is not high enough, the bandwidth may be robbed by others
for JDI mipi command mode panel, there may not be underrun issue because the panel has framebuffer itself

Change-Id: Id95c56ecf570a7cae8db37eede0b3555b3186bd5
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/69094
Reviewed-by: Yetta Wu <Yetta_Wu@asus.com>
Tested-by: Yetta Wu <Yetta_Wu@asus.com>
Reviewed-by: Warlock Tai <warlock_tai@asus.com>
2013-04-18 16:08:02 -07:00
hank_lee
816adc29f5 power: bq27541: show charging status when USB plugged
Change-Id: I6dd4eb88eef83b6f647b7d2fbbcab3f2bf13c60a
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68990
Reviewed-by: Nick Cheng <nick_cheng@asus.com>
Tested-by: Nick Cheng <nick_cheng@asus.com>
2013-04-18 16:08:02 -07:00
yi-hsin_hung
9fb472c465 drivers: usb: otg: Don't report the same charging type to charger ic again.
Change-Id: If1cb963cd5a363f3513c3c55f8ff13b19ee8275d
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68878
Reviewed-by: Yi-Hsin Hung <Yi-Hsin_Hung@asus.com>
Tested-by: Yi-Hsin Hung <Yi-Hsin_Hung@asus.com>
Reviewed-by: Leslie Yu <Leslie_Yu@asus.com>
2013-04-18 16:08:01 -07:00
paris_yeh
f4b3e8bfb2 footswitch: workaround to disable GFX3D operation
3-4mA power hit is expected. Keep GFX3D footswitch always on to
resovle instability during suspend and resume testing. In RTB log,
system locks up in and between footswitch_enable() operations when
issue is reproduced.

FIXME: Qualcomm will continue to debug this issue and submit a
formal fix to partner gerrit once this problem is identified.

Change-Id: If5753f9f6e7ebac47a6dbca849b16ee7ba68fceb
Signed-off-by: paris_yeh <paris_yeh@asus.com>
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68850
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68854
2013-04-18 16:08:01 -07:00
yetta_wu
6babf27f3d Display: fine tune power on sequence
3V3 is always high in spec, so we need to delay more time after 3V3 on

Change-Id: Iab0ecaecefb98cc6bae441381d233759b235e2ba
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68839
Reviewed-by: Yetta Wu <Yetta_Wu@asus.com>
Tested-by: Yetta Wu <Yetta_Wu@asus.com>
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
2013-04-18 16:08:01 -07:00
hsuan-chih_chen
727f62401f mmc: modify driving strength for sdc1 cmd signaling
per EE request, modify driving strength

Change-Id: Iee389e615b3594fa02586d11eae5b4ee92270db5
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68783
Reviewed-by: Hsuan-Chih Chen <hsuan-chih_chen@asus.com>
Tested-by: Hsuan-Chih Chen <hsuan-chih_chen@asus.com>
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
2013-04-18 16:08:01 -07:00
Joseph Wu
074680df48 Revert "Sensors: (1/5) Enable DSPS and revert native sensors drivers."
- 373e63c Sensors: Fix the riva initial function.
- dddc76d ALS : porting al3320a light sensor on vanilla
- df25950 Sensors: (1/5) Implement sensors' driver for mpu6500 and akm8963.

Change-Id: I349bf9efe25886a6c7513dfad6e6d30487ffd82e
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68305
Tested-by: Issac Wu <issac_wu@asus.com>
Reviewed-by: Joseph Wu <Joseph_Wu@asus.com>
Tested-by: Joseph Wu <Joseph_Wu@asus.com>
Reviewed-by: Jive Hwang <jive_hwang@asus.com>
Tested-by: Jive Hwang <jive_hwang@asus.com>
2013-04-18 16:08:01 -07:00
yetta_wu
af97efc092 Display: slimport: move slimport init before USB and power
to make charging IC function correctly

Change-Id: I619ee5eccb85e586b8a5adbacc40115547e1d168
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68687
Reviewed-by: Yetta Wu <Yetta_Wu@asus.com>
Tested-by: Yetta Wu <Yetta_Wu@asus.com>
Reviewed-by: Warlock Tai <warlock_tai@asus.com>
2013-04-18 16:08:00 -07:00
yetta_wu
756e672f0f Display: slimport: ignore USB_ID request fail
USB side already requested this pin

Change-Id: If74781b13e82ba0ba2d22c227c1ab5322c05d42c
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68609
Reviewed-by: Yetta Wu <Yetta_Wu@asus.com>
Tested-by: Yetta Wu <Yetta_Wu@asus.com>
Reviewed-by: Warlock Tai <warlock_tai@asus.com>
2013-04-18 16:08:00 -07:00
xinchuan_wu
999e4db407 leds: remove unnecessary sysfs function.
Change-Id: I17938040002376b4bf80a4cefdc877cb8aea195f
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68558
Reviewed-by: Xinchuan Wu <Xinchuan_Wu@asus.com>
Tested-by: Xinchuan Wu <Xinchuan_Wu@asus.com>
2013-04-18 16:08:00 -07:00
xinchuan_wu
6a63a545dc leds: initialize leds-pm8xxx driver.
1. init leds-pm8xxxx
2. create three sysfs node to set parameter of led breathing behavior.

Change-Id: I5c2fc62a93889a7ed4197d3dc76fd495691d0175
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68439
Reviewed-by: Xinchuan Wu <Xinchuan_Wu@asus.com>
Tested-by: Xinchuan Wu <Xinchuan_Wu@asus.com>
2013-04-18 16:08:00 -07:00
yetta_wu
f16c78bdcd Display: workaround for blue screen issue
Change-Id: Ib90dbea844125c616d595545f22b8c848b5696be
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68315
Reviewed-by: Yetta Wu <Yetta_Wu@asus.com>
Tested-by: Yetta Wu <Yetta_Wu@asus.com>
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
2013-04-18 16:08:00 -07:00
Joseph Wu
60adb56b67 Sensors: Fix the riva initial function.
- Fix the conditional definition to avoid riva initial fail.

Change-Id: Ia030519610ca964cb93a6ccf344df995e0f1ca85
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68383
Tested-by: Sam Chen <sam_chen@asus.com>
Reviewed-by: Sam Chen <sam_chen@asus.com>
Reviewed-by: Joseph Wu <Joseph_Wu@asus.com>
Tested-by: Joseph Wu <Joseph_Wu@asus.com>
Tested-by: Jive Hwang <jive_hwang@asus.com>
Reviewed-by: Jive Hwang <jive_hwang@asus.com>
2013-04-18 16:07:59 -07:00
Tsechih_Lin
8725b8abe1 ALS : porting al3320a light sensor on vanilla
Change-Id: I10e53f7560cee0c4f61bf0fdeec7c12fa6d18439
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/67984
Reviewed-by: Tsechih Lin <Tsechih_Lin@asus.com>
Tested-by: Tsechih Lin <Tsechih_Lin@asus.com>
2013-04-18 16:07:59 -07:00
Joseph Wu
1b4c9084d2 Sensors: (1/5) Implement sensors' driver for mpu6500 and akm8963.
- Revise gpio settings to active gsbi2 bus in board-flo-gpiomux.c.
- Register both mpu6500 and akm8963 to gsbi2 bus.
- Add drivers for mpu6500 and akm8963 with MotionApps v5.1.4.

Change-Id: I2ddfc1bc28153c6396d5fa0534927ede31383e94
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68257
Reviewed-by: Jive Hwang <jive_hwang@asus.com>
Tested-by: Jive Hwang <jive_hwang@asus.com>
2013-04-18 16:07:59 -07:00
sam_chen
435713f729 Audio: add headset detection function.
Change-Id: I9af88313ecdb072b0aa71c3991359becac9cdcf9
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68260
Reviewed-by: Jive Hwang <jive_hwang@asus.com>
Tested-by: Jive Hwang <jive_hwang@asus.com>
2013-04-18 16:07:59 -07:00
tryout_chen
616543bf0c CAP1106: Disable channel 3.
Change-Id: I778cec01ea39cadaf32df368ab9883a7a6221da6
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68263
Tested-by: Chen Tryout <tryout_chen@asus.com>
Tested-by: Ted Lin <Ted_Lin@asus.com>
Reviewed-by: Ho Yihua <yihua_ho@asus.com>
Tested-by: Ho Yihua <yihua_ho@asus.com>
2013-04-18 16:07:59 -07:00
yi-hsin_hung
edd18aa077 arch: arm: mach-msm: Changed to pull up the ap2mdm_status pin 50 ms later than the modem is powered on.
This is to avoid the leakage from the ap2mdm_status pin when the modem is not on yet.

Change-Id: Ic36ca808dd0ace918ea33b0dc6c877b018934aab
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68259
Reviewed-by: Leslie Yu <Leslie_Yu@asus.com>
Tested-by: Leslie Yu <Leslie_Yu@asus.com>
2013-04-18 16:07:58 -07:00
yi-hsin_hung
cf5db71a36 arm: arch: mach-msm: Disable the mdm2ap_pbl_ready pin after mdm is now ready for the tcxo shutdown power state
Disable the mdm2ap_pbl_ready pin after mdm is now ready
and enable the mdm2ap_pbl_ready pin when the soft reset modem.

Change-Id: I6d1b6d549c7baab41fcc20cee573f97bd463c113
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68256
Reviewed-by: Yi-Hsin Hung <Yi-Hsin_Hung@asus.com>
Tested-by: Yi-Hsin Hung <Yi-Hsin_Hung@asus.com>
Reviewed-by: Leslie Yu <Leslie_Yu@asus.com>
2013-04-18 16:07:58 -07:00
yi-hsin_hung
920fbc333a drivers: usb: otg: Report the charger type and enable the USB host mode according to the ID pin status and the SlimPort status.
Change-Id: Iedc793de11c53663c53cc9ad4e5c2d6866aff0fe
Change-Id: Iaf4db6d029a728b2ae6b3fc9afa09c12521deb18
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68181
Reviewed-by: Yi-Hsin Hung <Yi-Hsin_Hung@asus.com>
Tested-by: Yi-Hsin Hung <Yi-Hsin_Hung@asus.com>
Reviewed-by: Leslie Yu <Leslie_Yu@asus.com>
2013-04-18 16:07:58 -07:00
mars_kao
c822119776 TouchScreen: remove debug message for touch irq handler.
Change-Id: I0cda1ac16eaf63da4f9c36f8b9a1a607bc528d05
Change-Id: I825eaeca198a59b36ce3aaa4da03ddae5a503a64
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68222
Reviewed-by: Ho Yihua <yihua_ho@asus.com>
Tested-by: Ho Yihua <yihua_ho@asus.com>
2013-04-18 16:07:58 -07:00
jerryyc_hu
026fab6399 charger: Add smb345 battery charger driver.
Change-Id: Ifec1f2671989258a7dd53afa2e828d90a4e69e3c
Change-Id: Ieeeea299f3302db284c5eadaa06cc66d35495d7a
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68144
Reviewed-by: Nick Cheng <nick_cheng@asus.com>
Tested-by: Nick Cheng <nick_cheng@asus.com>
2013-04-18 16:07:58 -07:00
hank_lee
41083b398f power: bq27541: unmarked i2c device info
Change-Id: I3c9a1e3446e35b68f2bdfe01c6860e8b666ffe53
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68223
Reviewed-by: Nick Cheng <nick_cheng@asus.com>
Tested-by: Nick Cheng <nick_cheng@asus.com>
2013-04-18 16:07:57 -07:00
hank_lee
8540d346be power: bq27541: add support for bq27541 fuel gauge chip
Change-Id: I901dbf45efe2926e999105e64025484bcd2a91f8
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68185
Reviewed-by: Nick Cheng <nick_cheng@asus.com>
Tested-by: Nick Cheng <nick_cheng@asus.com>
2013-04-18 16:07:57 -07:00
jim1_lin
994448bb0d flo: Built in Wi-Fi Driver.
Change-Id: I3076d0fa3579176a6eb8bdedfea406ae1698ba2a
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/67889
Reviewed-by: Jim1 Lin <jim1_lin@asus.com>
Tested-by: Jim1 Lin <jim1_lin@asus.com>
Reviewed-by: Vincent Yue <Vincent_Yue@asus.com>
2013-04-18 16:07:57 -07:00
mars_kao
7df7eba724 TouchScreen: driver porting for elan chip.
Change-Id: I86bb4a6c9a89ef3061fb5b2ba9e0d93a4931841a
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68183
Reviewed-by: Ho Yihua <yihua_ho@asus.com>
Tested-by: Ho Yihua <yihua_ho@asus.com>
2013-04-18 16:07:57 -07:00
yi-hsin_hung
6ed660f3d7 arch: arm: mach-msm: Don't register the mdm driver in flo platform
Change-Id: Id78e934f35e25c8d77f103fd770953091d2ebbec
Change-Id: I505e02527eb22efa6a3f02de9186dd66286a42cb
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68187
Reviewed-by: Yi-Hsin Hung <Yi-Hsin_Hung@asus.com>
Tested-by: Yi-Hsin Hung <Yi-Hsin_Hung@asus.com>
Reviewed-by: Leslie Yu <Leslie_Yu@asus.com>
2013-04-18 16:07:57 -07:00
Joy Huang
98abd5816b Remove a workaround since BCM20793 chip default is 7 bits address.
Change-Id: I7bd48f154b8a14b452adc181bb69fe23bd7749ef
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68171
Tested-by: Joy Huang <Joy_Huang@asus.com>
Reviewed-by: Leslie Yu <Leslie_Yu@asus.com>
2013-04-18 16:07:56 -07:00
yetta_wu
71058c072c Display: distinguish different panel type by pcbid
Change-Id: I418178ab8fcbe72fbcd0815b93272c3fd5944d09
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68118
Reviewed-by: Yetta Wu <Yetta_Wu@asus.com>
Tested-by: Yetta Wu <Yetta_Wu@asus.com>
Reviewed-by: Warlock Tai <warlock_tai@asus.com>
2013-04-18 16:07:56 -07:00
paris_yeh
f355e8b9ef asustek: asustek_pcbid: move to postcore_init
Change-Id: Ia6c3ffc7897009f2c8fa2e1e726524c680ce52ab
Signed-off-by: paris_yeh <paris_yeh@asus.com>
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68126
Reviewed-by: Yetta Wu <Yetta_Wu@asus.com>
Tested-by: Yetta Wu <Yetta_Wu@asus.com>
Reviewed-by: Warlock Tai <warlock_tai@asus.com>
2013-04-18 16:07:56 -07:00
tryout_chen
e5cf56c596 CapSensor: Enable SMSC 1106 cap sensor.
Change-Id: I7dce0f2aa89ac1b2919d1ee18d37789e0ce1c0d9
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68066
Reviewed-by: Eric Liu <eric_liu@asus.com>
Tested-by: Eric Liu <eric_liu@asus.com>
2013-04-18 16:07:56 -07:00
Hou-Hsun_Lee
6e6066cca0 Display: remove the unused regulator "reg_ext_3p3v"
Change-Id: I348126a74c30bebb5f0a8414098f5a19e53ab87b
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68073
Reviewed-by: Hou-Hsun Lee <Hou-Hsun_Lee@asus.com>
Tested-by: Hou-Hsun Lee <Hou-Hsun_Lee@asus.com>
Reviewed-by: Yetta Wu <Yetta_Wu@asus.com>
Reviewed-by: Warlock Tai <warlock_tai@asus.com>
2013-04-18 16:07:56 -07:00
yi-hsin_hung
f18d905b41 arch: arm: mach-msm: Don't register the usb hsic controller in flo platform.
Change-Id: I68131c8f4a9e12540f2a5a2149388559965df08f
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68093
Reviewed-by: Leslie Yu <Leslie_Yu@asus.com>
Tested-by: Leslie Yu <Leslie_Yu@asus.com>
2013-04-18 16:07:55 -07:00
singhome_lee
62d663e208 Dump MIDR id when kernel booting.
Change-Id: Iad8a893e9ba40b31f57be50b5240eb44b1c3bf75
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68077
Reviewed-by: Singhome Lee <singhome_lee@asus.com>
Tested-by: Singhome Lee <singhome_lee@asus.com>
2013-04-18 16:07:55 -07:00
johnny1_lin
3db674a036 ext4: protect group inode free counting with group lock
Patch from Ken that can solve fsstress failing issue
commit b9fa7bb8ff207eeb27d2e0ed45b8c3acf1a7af8c
Author: Tao Ma <boyu.mt@taobao.com>
Date:   Mon May 28 18:20:59 2012 -0400

    ext4: protect group inode free counting with group lock

    Now when we set the group inode free count, we don't have a proper
    group lock so that multiple threads may decrease the inode free
    count at the same time. And e2fsck will complain something like:

    Free inodes count wrong for group #1 (1, counted=0).
    Fix? no

    Free inodes count wrong for group #2 (3, counted=0).
    Fix? no

    Directories count wrong for group #2 (780, counted=779).
    Fix? no

    Free inodes count wrong for group #3 (2272, counted=2273).
    Fix? no

    So this patch try to protect it with the ext4_lock_group.

    btw, it is found by xfstests test case 269 and the volume is
    mkfsed with the parameter
    "-O ^resize_inode,^uninit_bg,extent,meta_bg,flex_bg,ext_attr"
    and I have run it 100 times and the error in e2fsck doesn't
    show up again.

Change-Id: Iba773843728759e1d64d4ff57765288eb5977665
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/67871
Reviewed-by: Lin Johnny1 <Johnny1_Lin@asus.com>
Tested-by: Lin Johnny1 <Johnny1_Lin@asus.com>
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
2013-04-18 16:07:55 -07:00
singhome_lee
e1ef9cc1d9 patch 2/2: More detailed power on reasons to match Nexus4's implementation.
Change-Id: I975cd37e5d9625489eb4ca95260bc7136f1e4f58
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/67980
Reviewed-by: Singhome Lee <singhome_lee@asus.com>
Tested-by: Singhome Lee <singhome_lee@asus.com>
2013-04-18 16:07:55 -07:00
paris_yeh
0ecaeb08f4 gpiomux: asustek: Configure PCBID pins with GPIO for flo/deb
Refer to PCB_ID control table v0.8

Change-Id: I5ca9bada89a86e293d2c35aa1359386ad9767aea
Signed-off-by: paris_yeh <paris_yeh@asus.com>
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68056
Reviewed-by: Jive Hwang <jive_hwang@asus.com>
Tested-by: Jive Hwang <jive_hwang@asus.com>
2013-04-18 16:07:55 -07:00
paris_yeh
248b681df7 asustek: pcbid: Added pcbid kernel module
In kernel space, include <mach/board_asustek.h> to have the following
exported APIs for inquiry
  --asustek_get_tp_type(void);
    *Touch panel vendor

  --asustek_get_lcd_type(void);
    *LCD vendor

  --asustek_get_hw_rev(void);
    *Hardware revision

Below sysfs are created under /sys/devices/platform/asustek_pcbid
  --asustek_pcbid
    *show up pcbid value

  --asustek_chipid
    *show up system UUID as same as ro.serialno

  --asustek_projectid
    *show up project id

Change-Id: Id10c8baf28220fd52754bec069fa1f4e6f456f25
Signed-off-by: paris_yeh <paris_yeh@asus.com>
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/63004
Reviewed-by: Sam hblee <Sam_hblee@asus.com>
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68055
Reviewed-by: Jive Hwang <jive_hwang@asus.com>
Tested-by: Jive Hwang <jive_hwang@asus.com>
2013-04-18 16:07:54 -07:00
paris_yeh
e906f25ba2 config: flo: enabled PM_DEBUG for power-related debugging
Change-Id: I1ed450062b903680e95349443e55def7718577af

Signed-off-by: paris_yeh <paris_yeh@asus.com>
Change-Id: I24c2d9d02f772ec3d9e84a3c7aca75c028d2cee4
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/68034
Reviewed-by: Jive Hwang <jive_hwang@asus.com>
Tested-by: Jive Hwang <jive_hwang@asus.com>
2013-04-18 16:07:54 -07:00