summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Clear OWNERS for factory/firmware branchfirmware-auron-6301.BBrian Norris2021-09-102-10/+1
| | | | | | | | | | | | BUG=none TEST=none Change-Id: I0f03f432ada1064ffba9595be78ca7ab4d25ecd1 Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3155137 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Owners-Override: Jora Jacobi <jora@google.com> Tested-by: Jack Rosenthal <jrosenth@chromium.org>
* buddy: Update convert setting.Grover Yen2015-12-301-1/+1
| | | | | | | | | | | | | | Update convert setting for LGC_SLK panel. BUG=chrome-os-partner:48540 BRANCH=none TEST=Update EC FW and check panel status. Change-Id: I227f6698e2dcb745f11708f91aa943767f81ab39 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/320050 Reviewed-by: Mohammed Habibulla <moch@google.com> Reviewed-by: Shawn N <shawnn@chromium.org>
* buddy: Update thermal table.Grover Yen2015-12-111-1/+1
| | | | | | | | | | | | | | Update thermal setting according to "Sally_Fan Table_v4_20151208.xlsx" BUG=chrome-os-partner:46503 BRANCH=none TEST=Flash EC firmware and apply thermalget command in console to confirm thermal setting. Change-Id: I72b7e8beb8bd6b94cc77a98138714af22c098813 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/317510 Reviewed-by: Shawn N <shawnn@chromium.org>
* buddy: Reset touch screen when system resume.Grover Yen2015-11-301-0/+14
| | | | | | | | | | | | | | Delay 150ms and then toggle GPIO_TOUCHSCREEN_RESET_L after system resume to avoid touch screen no function in S0. BUG=chrome-os-partner:46980 BRANCH=none TEST=Tocuh screen can work normally after reset. Change-Id: I17aabb288a1836ba5060a6768a36f8c288cd85b0 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/313285 Reviewed-by: Shawn N <shawnn@chromium.org>
* buddy: Update thermal table.Grover Yen2015-11-241-1/+1
| | | | | | | | | | | | | | Update thermal setting according to "Sally_Fan Table_v3_20151119.xlsx" BUG=chrome-os-partner:47418 BRANCH=none TEST=Flash EC firmware and apply thermalget command in consoleto confirm tehrmal setting. Change-Id: I7f3d1960af4929a80a45a18d3c06b1d85a02ba83 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/313970 Reviewed-by: Mohammed Habibulla <moch@google.com>
* buddy: EC support hibernation with extpowerGrover Yen2015-11-191-1/+4
| | | | | | | | | | | | | | Support hibernation with extpower when board is charger-less. BUG=chrome-os-partner:47272 BRANCH=none TEST=EC entering hibernation after system shutdown 1 hour with extpower. Change-Id: Icdec9164a20068d341988d2d17bbf562eaca8e11 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/312672 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
* buddy: Remove battery and charge functionsGrover Yen2015-11-196-87/+4
| | | | | | | | | | | | | | Remove battery and charge functions. BUG=chrome-os-partner:47272 BRANCH=none TEST=Apply servod board EC command to confirm function has been removed Change-Id: I5a4085a66c1ff7e6b0ed953b603de55ebeac37eb Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/312817 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
* buddy: Enable RTCRST pulse if SLP_S5 does not deassertDuncan Laurie2015-11-053-3/+31
| | | | | | | | | | | | | | | Enable the workaround for power sequencing failures by pulsing RTCRST to the PCH if it fails to sequence out of S5 state. BUG=chrome-os-partner:47175 BRANCH=none TEST=Confirm RTCRST asserts if SLP_S5 does not deassert and then system can power on normally. Change-Id: I6be081dfaa1f73ff02feaad595dc285391962221 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/310588 Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
* buddy: EC flash transmitter firmware and EDID.Grover Yen2015-10-313-47/+768
| | | | | | | | | | | | | | EC flash transmitter firmware and EDID into transmitter SRAM when transmitter power ready. BUG=chrome-os-partner:44631 BRANCH=none TEST=Update EC firmware and check panel sequence with LGC_SLE/BOE panel Change-Id: Idaf296db8f1610e5047f5656ce16210b3b15b65b Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/308312 Reviewed-by: Shawn N <shawnn@chromium.org>
* buddy: Update thermal table.Grover Yen2015-10-161-3/+3
| | | | | | | | | | | | | | Update thermal setting accroding to "Sally_Fan Table_v2_20151006.xlsx" BUG=chrome-os-partner:46375 BRANCH=none TEST=Flash EC firmware and apply thermalget, thermalset command in console to confirm thermal/fan setting. Change-Id: I0d8fbb216911f7e2043167640deebfe5045d0242 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/305150 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* buddy: Modify converter setting for new panel solution.Grover Yen2015-10-161-2/+13
| | | | | | | | | | | | | | Modify converter setting for LGC(LM238WF1-SLK1), which is to replace BOE panel. BUG=chrome-os-partner:46476 BRANCH=none TEST=make -j buildall, make -j tests Change-Id: I6a7b2ebeed366f51d29f9bb1f90f075e15efcf47 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/305660 Reviewed-by: Mohammed Habibulla <moch@google.com>
* Initialize the memory-mapped AC_PRESENT flagTed Kuo2015-10-131-0/+8
| | | | | | | | | | | | | | | | | | | | | The memory-mapped AC_PRESENT flag needs to be initialized for the batteryless projects. BUG=chrome-os-partner:40384 TEST=make -j buildall, make -j tests BRANCH=None Signed-off-by: Ted Kuo <tedkuo@ami.com.tw> Change-Id: Ia64ad6564f99b4aae060d29a572b4fe173da62d9 Reviewed-on: https://chromium-review.googlesource.com/273082 Tested-by: Ted Kuo <tedkuo@ami.com.tw> Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: Ted Kuo <tedkuo@ami.com.tw> (cherry picked from commit 6cc0ece36d4190e2461f7e44767e0f77f47401b8) Reviewed-on: https://chromium-review.googlesource.com/273462 Reviewed-by: Randall Spangler <rspangler@chromium.org> (cherry picked from commit e71ce1be8f72d12350df2cfce0a7f3f16912c8d2) Reviewed-on: https://chromium-review.googlesource.com/305160
* buddy: Modify converter control sequence for DVT SMT.Grover Yen2015-09-072-3/+17
| | | | | | | | | | | | | | | | | Modify converter control sequence to meet shematic change. BUG=chrome-os-partner:44124 BRANCH=none TEST=rework LAB MB and check control sequence. Signed-off-by: Grover Yen <Grover_Yen@wistron.com> (cherry picked from commit 790e785bdecbc940fdbb34eafc2cebffc2d6d9c4) Change-Id: I36c079d1441f39c3ff2d5296845b932a187e96f9 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/295804 Reviewed-by: Mohammed Habibulla <moch@google.com>
* buddy: Configure converter for LCD panel.Grover Yen2015-09-064-4/+111
| | | | | | | | | | | | | | EC configure converter settings via SMBus to boost power for LCD panels. BUG=chrome-os-partner:44124 BRANCH=none TEST=make sure all panel SKU are workable. Change-Id: I3f994bb1cc0a2a158ce7cc4e88f06c0f71aba8d9 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/293991 Reviewed-by: Bernie Thompson <bhthompson@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
* buddy: Fix power button malfunction in S0.Grover Yen2015-08-262-0/+3
| | | | | | | | | | | | | | | Take KEYPROTO task back for power button scan code. BUG=none BRANCH=none TEST=Confirm power button workable in S0. Change-Id: Ib742f1f13f921f6637cd10456f565d77a71766f5 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/295500 Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: Angus Ku <angus_ku@wistron.com> Tested-by: Angus Ku <angus_ku@wistron.com>
* buddy: Implement LED control.Grover Yen2015-08-212-76/+7
| | | | | | | | | | | | | Implement LED control for buddy. BUG=none BRANCH=none TEST=check LED behavior is correct. Change-Id: I40a22994fa0aeeae027b200ed162d4c450b2389c Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/294006 Reviewed-by: Mohammed Habibulla <moch@google.com>
* buddy: Initial board.Grover Yen2015-08-212-5/+3
| | | | | | | | | | | | | Modify GPIO setting and task list. BUG=none BRANCH=none TEST=make -j buildall/tests Change-Id: I9a6cd753bcee1a4fc193d1a4b492a3230c9cb47b Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/294014 Reviewed-by: Mohammed Habibulla <moch@google.com>
* Cloned from Auron to Buddy with only string changesTed Kuo2015-07-308-0/+617
| | | | | | | | | | | | | BUG=None TEST=make -j buildall, emerge-buddy chromeos-ec BRANCH=None Signed-off-by: Ted Kuo <tedkuo@ami.com.tw> Change-Id: Ida81dc8c170d9e4315905a21c22252eaba9491b5 Reviewed-on: https://chromium-review.googlesource.com/289094 Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: Ted Kuo <tedkuo@ami.com.tw> Tested-by: Ted Kuo <tedkuo@ami.com.tw>
* Gandof: Add fan start up RPM from thermal table level one.David Huang2015-07-231-2/+10
| | | | | | | | | | | | | | | | | | If enter S3/S4/S5, fan will change to RPM 0. And after resume, EC give a start up RPM(Thermal table level one) to start fan from RPM 0. BRANCH=gandof BUG=chrome-os-partner:41633 TEST=1.Enter OS and run heavy loading. 2.Wait fan in high speed RPM then close LID. 3.When fan stop, open LID immediately. 4.Check can hear fan load noise. Change-Id: I75cba16ddece59c5d2cb5303246b1ea7ab53670b Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/286970 Reviewed-by: Mohammed Habibulla <moch@google.com>
* Gandof: Modify thermal tableDavid Huang2015-07-211-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify thermal table for Gandof on off RPM step0 0 step1 33 29 3800 step2 47 40 4200 step3 52 50 4500 step4 57 55 5100 step5 62 60 5400 step6 68 65 6400 step7 74 71 7100 ec warning point: 76 ec high point: 80 ec shutdown point: 100 BRANCH=gandof BUG=chrome-os-partner:41633 TEST=Use the hacked code to return the fake temperature, check all the steps with Gandof. The fan behavior works properly. Change-Id: Ie5085cf16ef887ce3cb1ed4197a7e1e5d6141553 Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/287040 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* Gandof: Update thermal tableDavid Huang2015-06-231-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update Thermal table for Ganndof. on off RPM step0 0 step1 33 29 3800 step2 37 35 4500 step3 45 41 4900 step4 53 49 5400 step5 60 57 6000 step6 69 62 7100 ec warning point: 76 ec high point: 80 ec shutdown point: 100 BRANCH=gandof BUG=chrome-os-partner:41633 TEST=Use the hacked code to return the fake temperature, check all the steps with Gandof. The fan behavior works properly. Signed-off-by: David Huang <David.Huang@quantatw.com> Change-Id: Ica40b562456c1bfc84792459aaea578dcfe4ba32 Reviewed-on: https://chromium-review.googlesource.com/281122 Reviewed-by: Mohammed Habibulla <moch@chromium.org> Commit-Queue: David Wu <david_wu@quantatw.com> Tested-by: David Wu <david_wu@quantatw.com>
* Gandof: Change charge input currentDavid Huang2015-06-111-1/+1
| | | | | | | | | | | | | Change charge input current limit to 2000mA. BRANCH=gandof BUG=chrome-os-partner:41307 TEST=Use "charger" via servo board to check I_in value is 2000. Change-Id: I8d05508fda1ad485a3fb20028187786cac6df23c Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/276576 Reviewed-by: Mohammed Habibulla <moch@google.com>
* Gandof: Update thermal tableDavid Huang2015-05-281-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update Thermal table v1 for Ganndof. on off RPM step0 0 step1 31 27 4200 step2 39 35 5000 step3 47 43 5700 step4 54 51 6400 step5 61 58 7100 ec warning point: 66 ec high point: 85 ec shutdown point: 100 BRANCH=gandof BUG=chrome-os-partner:40588 TEST=Use the hacked code to return the fake temperature, check all the steps with Gandof. The fan behavior works properly. Change-Id: I6c22b62ac13556a0a36edbe48f31e745bbbcde75 Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/273091 Reviewed-by: David Wu <david_wu@quantatw.com> Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: David Wu <david_wu@quantatw.com>
* lulu: Update thermal table.Grover Yen2015-05-281-6/+6
| | | | | | | | | | | | | | | | Update thermal settings according to "Meridian thermal table x01.xlsx" BUG=chrome-os-partner:40324 BRANCH=none TEST=Flash EC firmware and apply thermalget, thermalset command in console to confirm thermal/fan settings. Change-Id: Id72d035f31cc6043914059128ec67bcf72136a73 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/273107 Reviewed-by: Mohammed Habibulla <moch@google.com> Tested-by: Sean Chiang <sean_fs_chiang@wistron.com> Commit-Queue: Sean Chiang <sean_fs_chiang@wistron.com>
* Modify led battery color for gandofDavid Huang2015-05-263-4/+5
| | | | | | | | | | | | | | | | Modify led battery color green/orange for gandof. BRANCH=gandof BUG=chrome-os-partner:40035 TEST=Use "ectool led battery green/orange" "ectool led power white" to check Change-Id: I5ed43c181065fe89fd4b1e1bba2f880c5c5a224e Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/271723 Tested-by: Grace Kao <grace.kao@intel.com> Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: David Wu <david_wu@quantatw.com>
* Modify battery cutoff commandDavid Huang2015-05-202-17/+2
| | | | | | | | | | | | | | | | | Modify battery cutoff command BRANCH=gandof BUG=chrome-os-partner:40077 TEST=Use "ectool batterycutoff at-shutdown" to check power off DC mode can't be power on. Change-Id: I0d670a4577f499a1a52f2969c625640c5b7c3856 Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/272130 Tested-by: Grace Kao <grace.kao@intel.com> Reviewed-by: David Wu <david_wu@quantatw.com> Commit-Queue: David Wu <david_wu@quantatw.com> Reviewed-by: Mohammed Habibulla <moch@google.com>
* Modify for fix battery.c typoDavid Huang2015-05-131-1/+1
| | | | | | | | | | | | | | | Modify for fix battery.c typo BRANCH=gandof BUG=chrome-os-partner:39858 TEST=Use "make buildall -j" to check build pass. Change-Id: Ib10bde3368c0497cdd8126c4e7207dedc33d342c Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/270602 Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: David Wu <david_wu@quantatw.com> Tested-by: David Wu <david_wu@quantatw.com>
* Modify LED color defineDavid Huang2015-05-131-32/+43
| | | | | | | | | | | | | | | Modify power LED and battery LED color define for fit gandof LED color. BRANCH=gandof BUG=chrome-os-partner:40035 TEST=Use "ectool led battery green/yellow" "ectool led power white" to check LED color. Change-Id: I87d1e61046d771d1cbe4ba26ee99f898eb1a182d Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/270291 Reviewed-by: Mohammed Habibulla <moch@google.com> Reviewed-by: Grace Kao <grace.kao@intel.com> Commit-Queue: Grace Kao <grace.kao@intel.com>
* Modify battery cutoff commandDavid Huang2015-05-122-32/+100
| | | | | | | | | | | | | | | | | Modify battery cutoff command and wake up command for gandof battery. BRANCH=gandof BUG=chrome-os-partner:39858 TEST=1. Insert cutoff battery and adapter. 2. Plug out adapter. 3. Check system shutdown or not. Change-Id: I574291de3558b66ca2bc6bbec264b4b7fea335b2 Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/269610 Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: David Wu <david_wu@quantatw.com> Tested-by: David Wu <david_wu@quantatw.com>
* Modify LED control for Power LEDDavid Huang2015-05-082-19/+32
| | | | | | | | | | | | | | Modify LED control for Power LED control is defferent with Battery LED. BRANCH=gandof BUG=chrome-os-partner:39860 TEST=Power on to check power LED and battery LED status. Change-Id: I71a43b513cdd05da9d8e207286a9b19ea56df931 Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/269868 Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: David Wu <david_wu@quantatw.com>
* Modify PWM_KBLIGHT define for support keyboard backlightDavid Huang2015-05-071-1/+1
| | | | | | | | | | | | | | | | | Modify PWM define for support keyboard backlight control. BRANCH=gandof BUG=chrome-os-partner:39874 TEST=Use "pwmduty" or "ectool pwmsetkblight" to set keyboard backight duty. Signed-off-by: David Huang <David.Huang@quantatw.com> Change-Id: Ie33c23c2a85e8cec65ed6c141396dfe834aa6d5f Reviewed-on: https://chromium-review.googlesource.com/269861 Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: David Wu <david_wu@quantatw.com> Tested-by: David Wu <david_wu@quantatw.com>
* Gandof: Modify LED pin defineDavid Huang2015-05-061-3/+3
| | | | | | | | | | | | | | | Modify LED pin define for gandof. BRANCH=gandof BUG=chrome-os-partner:39860 TEST=Power on to check power LED and battery LED status. Change-Id: Ibb762f8724d0ced3ec3cd3a411c1a3984a096371 Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/269620 Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: David Wu <david_wu@quantatw.com> Tested-by: David Wu <david_wu@quantatw.com>
* Gandof: Fix USB 3.0 port no functionDavid Huang2015-05-052-1/+6
| | | | | | | | | | | | | | | Add USB control pin for Gandof. BRANCH=gandof BUG=chrome-os-partner:39641 TEST=Insert USB device to USB 3.0 port to check device function. Change-Id: I7e73fd5f086442da765a9d77d35717bff3b1b294 Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/267645 Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: David Wu <david_wu@quantatw.com> Tested-by: David Wu <david_wu@quantatw.com>
* Keep Wi-Fi radio during S3Harry Pan2015-04-302-2/+4
| | | | | | | | | | | | | | | | | Follow Chrome-OS lucid-sleep-requirements; as Wi-Fi need to be wake-up source, WLAN_DISABLE#1 (low-active) need to be high in S3. EC PJ4 (WLAN_DISABLE#1) controls 7260 W_DISABLE#1 BUG=chrome-os-partner:39288 BRANCH=none TEST=Check WLAN_DISABLE#1 (EC PJ4) being high when S3 Change-Id: I05638984d3151e53f1d1904f5cc05373776bb5a8 Reviewed-on: https://chromium-review.googlesource.com/267820 Reviewed-by: Mohammed Habibulla <moch@google.com> Reviewed-by: Eric Caruso <ejcaruso@chromium.org> Commit-Queue: Harry Pan <harry.pan@intel.com> Tested-by: Harry Pan <harry.pan@intel.com>
* Cid/Lulu: Keep bluetooth power during S3Harry Pan2015-04-282-0/+2
| | | | | | | | | | | | | | | | Follow Chrome-OS hardware requirement of wake source, BT controller need to remain powering-on. WLAN_EN controls overall BT/WLAN power enabling BUG=chrome-os-partner:39077 BRANCH=none TEST=Check WLAN_EN being high when S3 Change-Id: I96ec6fb5b4c20f45e1ae49d1679a8d447d637d2e Signed-off-by: Harry Pan <harry.pan@intel.com> Reviewed-on: https://chromium-review.googlesource.com/266830 Reviewed-by: Eric Caruso <ejcaruso@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
* Gandof: Init boardDavid Huang2015-04-149-0/+757
| | | | | | | | | | | | | | | | Copy Yuna setting to init board. BUG=none BRANCH=gandof TEST=Run "make BOARD=gandof" and "make buildall -j" to build code and ec.bin can be generated. Change-Id: I5f6332a0af60fddce068fb8d59cd4a3420869da7 Signed-off-by: David Huang <David.Huang@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/264247 Reviewed-by: Mohammed Habibulla <moch@google.com> Commit-Queue: David Wu <david_wu@quantatw.com> Tested-by: David Wu <david_wu@quantatw.com>
* lulu, cid : Change battery error LED behavior.Grover Yen2015-03-032-4/+8
| | | | | | | | | | | | | | | Change battery error LED behavior from "500ms on, 500ms off" to "1 second on, 3 seconds off" BUG=chrome-os-partner:35115 BRANCH=none TEST=Detach battery to simulate battery error and then confirm LED behavior. Change-Id: I16d469ca7ebe27a98a9c446951165827845f02c8 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/253987 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* lulu: Implement battery cut-off function.Grover Yen2015-02-251-3/+7
| | | | | | | | | | | | | Modify cut-off command to meet battery spec. BUG=chrome-os-partner:37028 BRANCH=none TEST=Apply "batterycutoff" command of ectool to confirm. Change-Id: I301555ea6709e3450e79f10e57a0ea4ca8276553 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/250232 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* cid: Implement battery cut-off function.Grover Yen2015-02-251-3/+7
| | | | | | | | | | | | | Modify cut-off command to meet battery spec. BUG=chrome-os-partner:37028 BRANCH=none TEST=Apply "batterycutoff" command of ectool to confirm. Change-Id: I09d60ac26edd52f266c4913dcd76e5dfc7841282 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/250227 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* lulu: Implement keyboard backlight control.Grover Yen2015-01-133-0/+18
| | | | | | | | | | | | | Apply PN6 for keyboard backlight. BUG=chrome-os-partner:35115 BRANCH=none TEST=make -j buildall, make -j tests Change-Id: Ie5b706f782c75854c44e104d88b7b3dd616bd1e0 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/238157 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* lulu: Implement LED control.Grover Yen2015-01-132-74/+29
| | | | | | | | | | | | | Implement LED control for lulu. BUG=chrome-os-partner:35115 BRANCH=none TEST=make -j buildall, make -j tests Change-Id: I792586118e18b74c42643a6dcfb1f66331c225cb Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/238154 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* cid: Implement LED control.Grover Yen2015-01-132-74/+29
| | | | | | | | | | | | | Implement LED control for cid. BUG=chrome-os-partner:35115 BRANCH=none TEST=make -j buildall, make -j tests Change-Id: Ie86b2dd28c9c2d309d65bd09c16104e0d7817b6e Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/238320 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* cid: Initial boardGrover Yen2015-01-078-0/+617
| | | | | | | | | | | | | Copy from auron with string changes. BUG=none BRANCH=none TEST=make -l buildall, make -j tests Change-Id: I1564891ecb8574e41104dced7700091708650d85 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/237979 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* lulu: Initial boardGrover Yen2015-01-078-0/+617
| | | | | | | | | | | | | Copy from auron with string changes. BUG=none BRANCH=none TEST=make -j buildall, make -j tests Change-Id: Ib9c894a7a06cd3840a66c448c49c848a8abc27b2 Signed-off-by: Grover Yen <Grover_Yen@wistron.com> Reviewed-on: https://chromium-review.googlesource.com/237686 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* Auron, Paine, Yuna: Modify the Tj max temperatureHsu Henry2015-01-053-3/+3
| | | | | | | | | | | | | The Tj max of Broadwell should be 105C. BUG=chrome-os-partner:34114 BRANCH=auron, paine, yuna TEST="iotools rdmsr 0 0x1a2" return 0x690000, the Tj max should be 105C. Change-Id: I3fe0a7a219761e259fef3b2571169561e08eb140 Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/238131 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* Paine, Yuna: Upate thermal table v0 12Hsu Henry2015-01-052-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | on off RPM step0 0 step1 38 33 3200 step2 45 40 3700 step3 52 47 4000 step4 56 51 4400 step5 58 53 4900 step6 70 65 5500 step7 95 90 6500 ec shutdown point: 105 Where the temperature scale is celsius degree. BUG=chrome-os-partner:34418 BRANCH=paine, yuna TEST=Use the hacked code to return the fake temperature, check all the steps with yuna. The fan behavior works properly. Change-Id: Ibd2faecd47799bb66d4fafdda76f3db27814062a Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/237641 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* Paine, Yuna: Fan table implement.Hsu Henry2014-12-124-6/+140
| | | | | | | | | | | | | | | | | | | | | | | Yuna, Paine define the thermal table for fan. The table is below: on off RPM step0 0 step1 43 37 3200 step2 48 43 3700 step3 52 47 4000 step4 56 51 4400 step5 60 55 4900 step6 70 65 5500 step7 95 90 6500 Where the temperature scale is celsius degree. BUG=chrome-os-partner:34418 BRANCH=paine, yuna TEST=Use the hacked code to return the fake temperature, check all the steps with yuna. The fan behavior works properly. Change-Id: Id4f5957d63a81046539bc96a95e30b6b022803fe Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/233828 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* Paine, Yuna: Add 10ms delay between SUSP_VR and RSMRST#Hsu Henry2014-12-081-0/+3
| | | | | | | | | | | | | BUG=chrome-os-partner:34411 BRANCH=Paine, Yuna TEST=The offset between the two signals is around 13ms by using oscilloscope to measure it. Change-Id: I69677165e5ddea81d02464f5fcdee343862a733b Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/233860 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* Yuna: Update battery spec for 54Wh battery.Hsu Henry2014-12-051-2/+23
| | | | | | | | | | | | | | Update the parameter from the spec for 54Wh battery. Use bat_id pin separate the two battery. BUG=chrome-os-partner:32709 BRANCH=yuna TEST=none Change-Id: I7bd4c61f1d02652d1010a3efcb3f985fb66adaad Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/233116 Reviewed-by: Mohammed Habibulla <moch@chromium.org>
* Yuna: Update battery spec for 48Wh battery.Hsu Henry2014-12-032-8/+8
| | | | | | | | | | | | | | | Update the parameter from the spec for 48Wh battery. Also add the bat_id pin to identify 48Wh and 54Wh battries if yuna need the 54Wh battery pack. BUG=chrome-os-partner:32709 BRANCH=yuna TEST=none Change-Id: I7a04bf2b8c8b099d5202b6fdf23cd89aae4fd744 Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/232173 Reviewed-by: Mohammed Habibulla <moch@chromium.org>