Commit Graph

178 Commits

Author SHA1 Message Date
voidanix eb5efc8ca7 Early mount via DTS because of SAR 2020-06-19 14:50:13 +02:00
voidanix 4476484ae4 Revert "do the vendor/system early stuff"
This is not necessary anymore as Q doesn't need dts tricks for
early mounting (first stage ramdisk)

This reverts commit 0b1bba3c64.
2019-11-17 19:36:44 +01:00
voidanix 0b1bba3c64 do the vendor/system early stuff 2019-09-14 11:34:48 +02:00
Sandeep Patil b75a24e72e Revert "devicetree: add early mount nodes in DT to mount system and vendor early"
This reverts commit f6ac9adb8f.

Bug: 35841663
Test: Boot bullhead, aosp_bullhead

Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-02-28 15:49:09 -08:00
Sandeep Patil f6ac9adb8f devicetree: add early mount nodes in DT to mount system and vendor early
Bug: 27805372
Test: Boot bullhead with early mount and also test sideloaded OTA

Change-Id: Iffd0d22acd18dc100100d300d412e26a2e331de9
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-02-27 17:01:40 -08:00
Siqi Lin c33c20fb8e Revert "arm64/dts: bullhead: enable pstore ecc"
This reverts commit cf2903fd9d.

Bug: 26587668
Change-Id: Ie8b8b0e8bd5b2ff29a81af0703333266ab688df5
2016-03-23 20:37:29 +00:00
Ben Fennema 2eb0448f7a bullhead_defconfig: switch back to nanohub
Power regression resolved.

Bug: 27122067
Bug: 27057077

Change-Id: Ia7f2946eb6bc9041c4492e2be1f8da38b3ad08ef
Signed-off-by: Ben Fennema <fennema@google.com>
2016-02-17 13:44:58 -08:00
Ben Fennema 680d605413 bullhead_defconfig: revert back to chinook contexthub
revert back to chinook while tracking down power regression

Bug: 27122067
Change-Id: I87e77b26869eba7522faa5414f7bbb447297d579
Signed-off-by: Ben Fennema <fennema@google.com>
2016-02-10 14:42:54 -08:00
Ben Fennema dd4b8a08e5 nanohub: add nanohub kernel driver
Adds nanohub kernel driver files as well as device tree configuration to
use nanohub instead of contexthub (spich)

Change-Id: I089dd5c3a08968a002e965e8d1ed260b93e32ce3
Signed-off-by: Ben Fennema <fennema@google.com>
2016-02-05 12:51:01 -08:00
soyoung.min f8ed00e0bf ARM64: dts: bullhead: add bluish lcd gamma table
Bug: 26110238

Change-Id: Ifc1277a55b06f13d7b2474a3eafdcb27a98d87d4
Signed-off-by: soyoung.min <soyoung.min@lge.com>
2016-01-14 11:43:28 -08:00
Thierry Strudel a62a250325 ARM64: dts: bullhead: haptic: slightly increase vmax
Bug: 26299440
Change-Id: Ie4f39423c03c88d7e035895d06f3f7ce7a103c35
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2016-01-12 11:34:55 -08:00
Thierry Strudel b54545429a ARM64: dts: bullhead: haptic: use sine wave shape
Bug: 26299440
Change-Id: I32d978bf9b39a1f628643ad929057d6f194477bb
2016-01-12 11:34:54 -08:00
Jongrak Kwon cf2903fd9d arm64/dts: bullhead: enable pstore ecc
Bug: 25742233

Change-Id: I9a8e1fdbadda358862ceac2cc51cbfb33c3ffbc2
Signed-off-by: Jongrak Kwon <jongrak.kwon@lge.com>
2015-12-14 13:58:56 -08:00
Thierry Strudel 82d382b58d ARM64: dts: enable brake pattern in haptic
Change-Id: I998e63c93341d266c0bd4b8b09d7bcda92a2fd42
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2015-10-08 09:25:43 -07:00
Jongrak Kwon 86f8f5c14a ARM64: dts: bullhead: LCD panel calibration for LOTs Deviation
Updated gamma table to compensate IM LCDs(Black depth level improved LCD)
LOTs deviation.

Bug: 24309116

Change-Id: I780768fb054903c5ec42aab96103c8568c332a45
Signed-off-by: heebae.song <heebae.song@lge.com>
Signed-off-by: Jongrak Kwon <jongrak.kwon@lge.com>
2015-09-24 21:47:28 -07:00
sungmin.kwon 9432097944 ARM64: dts: bullhead: set backlight max current to 15.0mA from PVT
Considered LCD minimum brightness data for the IM LCDs(Black depth level improved LCD).
Minimum brightness of DVT LCD using 17.5 mA is over 400 nits.
Minimum brightness of PVT LCD using 15mA is also over 400 nits.
It improves front thermal performance by 1.0 degree during first 5 min.
It improves DOU.

Change-Id: I9c158e12e6942e544a3db532d6c3368cf955ce05
Signed-off-by: sungmin.kwon <sungmin.kwon@lge.com>
Signed-off-by: soseul.jin <soseul.jin@lge.com>
2015-09-22 19:29:07 +00:00
soyoung.min d60aa9f375 ARM64: dts: bullhead: change panel te delay timing for partial update
Bug: 22297336

Change-Id: I2badfdb97ffa5f50f12a120a6a30ae165056d93d
Signed-off-by: soyoung.min <soyoung.min@lge.com>
2015-09-17 12:40:30 -07:00
soyoung.min e479e903cd Revert "ARM64: dts: bullhead: disable partial update of display"
This reverts commit 0e50efe604.

Signed-off-by: soyoung.min <soyoung.min@lge.com>
2015-09-17 12:39:20 -07:00
soyoung.min f8ac9eeccf Revert "ARM64: dts: bullhead: change te delay according to partial update region"
This reverts commit 82793923a3.

Signed-off-by: soyoung.min <soyoung.min@lge.com>
2015-09-17 12:39:05 -07:00
juya.kim a4b31f4816 Revert "ARM64: dts: bullhead: fix kernel memory corruption in ramdump."
This reverts commit 13cf576c50932fccfcd101b743f27eac66ffb1bf.

Kernel memory will be larger by reclaiming splash_mem

Signed-off-by: juya.kim <juya.kim@lge.com>
2015-09-17 18:52:12 +00:00
Myeonggyu Son 396cf88f08 ARM64: bullhead: change PMI Stage3 Reset timer for stable operations
increase PMI stage 3 reset timer: 24.2sec --> 48.8sec

Bug: 22391518

Change-Id: Ib6fb7f1a52adcdd519e46c9edd5d5603cfa2a573
Signed-off-by: Myeonggyu Son <myeonggyu.son@lge.com>
2015-09-11 21:21:55 +00:00
Patrick Tjin d1d790f544 arm64/dts: bullhead: reduce size of ramoops buffer
Reduce ramoops buffer to 256K from 1M

Bug: 23901280
Signed-off-by: Patrick Tjin <pattjin@google.com>
2015-09-11 04:34:27 +00:00
e2sh83.lee 9ab6362157 ARM64: dts: sharpen brake pattern in haptic
Change-Id: I42b0d5402ac445fbe8662b567520ec4cbe446b97
Signed-off-by: e2sh83.lee <e2sh83.lee@lge.com>
2015-09-10 00:09:44 +00:00
soyoung.min 0e50efe604 ARM64: dts: bullhead: disable partial update of display
Partial update causes an inconsistent vsync

Bug: 23821722

Change-Id: I3cfacb82028cc4c637a676ed81a7fea283dd2a1f
Signed-off-by: soyoung.min <soyoung.min@lge.com>
2015-09-08 12:21:05 -07:00
soyoung.min 5e5d079e2b ARM64: dts: bullhead: changed display init seq to prevent current leakage
LCD init sequence was changed to prevent current leakage.
It reduces max 3mA during lcd init.
This is for the same lcd panel.

Change-Id: I22fb772c149109ec56dfcd6f0af1e039e98ce8f0
Signed-off-by: soyoung.min <soyoung.min@lge.com>
Signed-off-by: heebae.song <heebae.song@lge.com>
2015-09-03 00:13:26 +00:00
soyoung.min 82793923a3 ARM64: dts: bullhead: change te delay according to partial update region
Bug: 23643062

Change-Id: I7401e67fd80632509c839fc5e993733858429219
Signed-off-by: soseul.jin <soseul.jin@lge.com>
Signed-off-by: soyoung.min <soyoung.min@lge.com>
2015-09-03 00:12:16 +00:00
geayoung.baek d19cb70612 ARM64: dts: bullhead: append bypass interrupt for vdd min
<0xff 135>, /* i2c-msm-v2-irq */
<0xff 276>, /* wlan_pci */

Bug: 23383589

Change-Id: Ibd22778bc81a8a6352a5adc7eca0ae990b61843d
Signed-off-by: geayoung.baek <geayoung.baek@lge.com>
2015-09-03 00:09:56 +00:00
sungjoon.sim f4b916efd0 ARM64: dts: bullhead: change rev. value for rev.10 and rev_11
- Since the HW revision table has been changed,
  rev. value in dts should be change.
- rev.10 matched rev.b's dt, so fix the revision value of rev.10's
- And also add rev_1.01 dts for new HW.

Change-Id: I8024e0a04615634a6a7c6556e555467eb4e95026
Signed-off-by: sungjoon.sim <sungjoon.sim@lge.com>
2015-09-02 17:01:32 +00:00
choongryeol.lee a7c976c87e ARM64: dts: bullhead: set pinctrl and gpios for eeprom
Change-Id: I07fd458ae16aa42e436d5e400b3b14199654f7cf
Signed-off-by: choongryeol.lee <choongryeol.lee@lge.com>
2015-08-28 16:35:09 -07:00
choongryeol.lee c6161d66c2 ARM64: dts: bullhead: fix UART console pinctrl
Since UART console gpio is controlled by earjack-debugger,
remove gpio pinctrl in uart console node.

Change-Id: I62d33b63e03ec7bc7ea7b2c7f3498bf37d82af67
Signed-off-by: choongryeol.lee <choongryeol.lee@lge.com>
2015-08-28 16:35:09 -07:00
soyoung.min 736150a8d3 ARM64: dts: bullhead: enabled partial update of display
This patch enables partial update and adjusts timing settings
to prevent glitch.

Change-Id: I5b8c6a8914c2ccb9ee91b4efa620b7a118bc6906
Signed-off-by: heebae.song <heebae.song@lge.com>
Signed-off-by: soyoung.min <soyoung.min@lge.com>
Signed-off-by: soseul.jin <soseul.jin@lge.com>
2015-08-27 19:09:04 +00:00
e2sh83.lee b8b227fcff ARM64: dts: bullhead: set vmax for call/alarm/message indication
Change-Id: I0f81c7e9b020229af31fb920e89cb9926699090e
Signed-off-by: e2sh83.lee <e2sh83.lee@lge.com>
2015-08-26 05:35:55 +00:00
Jongrak Kwon fd2b9149fa ARM64: dts: bullhead: add LED:SWITCH node to flashLED
Change-Id: I2c1ecb150f6146f1de6082654f56ea2302a47a3b
Signed-off-by: Jongrak Kwon <jongrak.kwon@lge.com>
2015-08-25 19:40:17 -07:00
geayoung.baek 14386c46fa ARM64: dts: bullhead: register bypass interrupt for vdd min
register bypass interrupt in idle power collapse for vdd min.

Change-Id: I87f89e49c8fadb0b9821a543d3b8a0d07ea20df8
Signed-off-by: geayoung.baek <geayoung.baek@lge.com>
Signed-off-by: Myeonggyu Son <myeonggyu.son@lge.com>
2015-08-21 23:28:22 -07:00
donghun2.kim 8ea2fb2f33 ARM64: dts: bullhead: change headset button adc range
After hardware revision 1.01, 100 ohm resistor is added
to suppress MIC line noise. So change headset button
adc range accordingly.

Change-Id: Ifedc341cedc9b5af20866ccb1e5ae2461ab44ac5
Signed-off-by: donghun2.kim <donghun2.kim@lge.com>
2015-08-19 17:46:06 -07:00
choongryeol.lee 2c7808b75a ARM64: dts: bullhead: add ibatt mitigation level
Add ibatt mitigation level - PMI 100mA and SMB 600mA

Change-Id: I4c60304f09abb64851f5cf43527369c0df068c58
Signed-off-by: choongryeol.lee <choongryeol.lee@lge.com>
2015-08-19 17:39:37 -07:00
jude84.kim 65d123704f ARM64: dts: bullhead: apply usb phy tuning value
Change-Id: I93c04f56b7987b361122019ff62f1e90b6c1a18d
Signed-off-by: jude84.kim <jude84.kim@lge.com>
2015-08-18 11:57:47 -07:00
heebae.song ec4d9bfdca ARM64: dts: bullhead: change LCD reset and sleep out delay
According to the LCD specification, change reset and
sleep out timing.

Change-Id: Icf2bbcd0474e3ebe9c60c8edee0bde6bec23b4de
Signed-off-by: heebae.song <heebae.song@lge.com>
2015-08-18 11:32:33 -07:00
Trevor Bunker 5be4db6394 ARM64: dts: use DMA for spi_7 (context hub)
Bug: 23228995
Signed-off-by: Trevor Bunker <trevorbunker@google.com>
2015-08-17 22:57:41 -07:00
e2sh83.lee e4355a9b54 ARM64: dts: bullhead: modify VMAX for haptic
Reduce vmax from 17 to 10 for the better usability in haptic.

Change-Id: I934a57a56f82959907a219dd628270e903a45dfc
Signed-off-by: e2sh83.lee <e2sh83.lee@lge.com>
2015-08-17 18:48:51 +00:00
soseul.jin a9e188e9ee ARM64: dts: bullhead: update LCD gamma tuning
Even if same LCDs are produced on the factory line,
each of them could have different hw characteristics.
This patch adjusts gamma regarding LCD samples
to compensate for those difference.
This is 2nd tuning for DVT samples and verified with
Pre-EVT and EVT

Change-Id: I41ecbc971fddf8ba0a122476534e2bea1ba25162
Signed-off-by: soseul.jin <soseul.jin@lge.com>
2015-08-14 06:58:40 +00:00
choongryeol.lee d703654146 ARM64: dts: bullhead: set 4.32V max voltage for TOCAD battery
Previously, we changed max voltage of TOCAD battery for
hardware revision A and B only. But hardware revision 1.0
also needs to change max voltage to 4.32V as workaround.

Change-Id: I3057f0dc622aba048dfa9095b330e102d4659e1f
Signed-off-by: choongryeol.lee <choongryeol.lee@lge.com>
2015-08-13 14:16:14 -07:00
choongryeol.lee d6619dcc6c ARM64: dts: bullhead: export charger phandle to usb phy
Export charger's phandle to the hsusb phy driver to
get hvdcp supporting information.

Change-Id: Ib8f5db92d30cdaf0248bfde60ead6a3deacccc4d
Signed-off-by: jude84.kim <jude84.kim@lge.com>
Signed-off-by: choongryeol.lee <choongryeol.lee@lge.com>
2015-08-12 22:48:07 -07:00
juya.kim 573d811ba5 ARM64: dts: bullhead: fix kernel memory corruption in ramdump.
The splash_mem is used to display crash information. Accordingly,
the memory must be removed from the page allocator completely.

Change-Id: Iedf3b4690dc2daf4249751aa7070ff38cd1ed848
Signed-off-by: juya.kim <juya.kim@lge.com>
2015-08-12 00:35:43 +00:00
e2sh83.lee 48a09a9dd2 ARM64: dts: bullhead: enable auto resonance detection
Correct drift in resonance frequency that may cause drop
in vib strength.

Change-Id: I0879ffd79a0e37405a6019b9102921af8b845143
Signed-off-by: e2sh83.lee <e2sh83.lee@lge.com>
2015-08-11 23:41:51 +00:00
insup.choi 854f70e257 ARM64: dts: bullhead: update rohm_brcb032gwz driver
1. renaming rohm_brcb032gwz-3 to rohm_brcb032gwz.
2. resizing the eeprom size from 0x900 to 0x800
3. deleting useless code such as suspend/resume,
  gpio, vreg and clocks

Change-Id: I15ce0d8cf10037708e5f0c313d146dfcabe88c7c
Signed-off-by: insup.choi <insup.choi@lge.com>
2015-08-10 11:16:10 -07:00
choongryeol.lee fac11733e3 ARM64: dts: bullhead: add rev.10 and rev.11 dts
Change-Id: I7598f4af087949e3f7191934a38bb0879dcfa17e
Signed-off-by: sungjoon.sim <sungjoon.sim@lge.com>
Signed-off-by: choongryeol.lee <choongryeol.lee@lge.com>
2015-08-10 00:19:20 -07:00
choongryeol.lee af8824ce6b ARM64: dts: bullhead: change max voltage of TOCAD battery
Some TOCAD battery pack's overvoltage protection threshold
is lower than 4.35V. Due to this, charging done could happen
early and recharging could not happen.
As a workaround, set the float voltage of TOCAD battery to
4.32V. This change is only needed for Rev.A and Rev.B hardware.

Change-Id: Ia141e14127c59d1cf77994b19e0f725849a99d6a
Signed-off-by: choongryeol.lee <choongryeol.lee@lge.com>
2015-08-10 00:19:20 -07:00
kyungkeun.kim 117b6d4700 ARM64: dts: bullhead: set resume soc from 98.9% to 99.2%
set resume soc from 98.9% to 99.2%

Change-Id: Ica880575e830113dc0ab8613c0854924aa6cc814
Signed-off-by: kyungkeun.kim <kyungkeun.kim@lge.com>
2015-08-10 00:19:19 -07:00
mohamed.khadri c8924a3373 ARM64: bullhead: fix dts warning
Change-Id: Ia7efab1ddd8f647b93da3a200611f9a399b4fd84
Signed-off-by: Mohamed Khadri <mohamed.khadri@lge.com>
2015-07-31 13:41:12 -07:00