Commit Graph

36 Commits

Author SHA1 Message Date
84941a85d2 Add lid switch SCI 2019-12-12 10:56:19 -07:00
def0e0150e Enable more power lines 2019-12-10 11:27:52 -07:00
1c73751ef6 Support for SCI hotkeys 2019-12-02 14:56:11 -07:00
bcd480ec85 Allow system to power off, enable logging, change kbc logging from debug to trace 2019-11-23 20:02:52 -07:00
38321e068b Move power handling to new power functions 2019-11-22 14:30:50 -07:00
56c210082f Fix some signal names 2019-11-21 09:16:39 -07:00
27f1dccc9e Run peci and battery events every 256 cycles 2019-11-19 14:25:32 -07:00
055cb92844 Allow compilation with lower log level, change level to warn 2019-11-19 12:31:30 -07:00
5f49f49140 Revert continuous battery charging, it doesn't quite work 2019-11-19 11:51:15 -07:00
9f356f88cc Send battery charger config repeatedly 2019-11-19 11:38:59 -07:00
d928ef8a9a Provide battery and peci info through acpi pmc interface 2019-11-18 20:34:02 -07:00
1f81503c55 Enable kbscan 2019-11-18 14:47:19 -07:00
93e35d2cc5 Add debug levels 2019-11-18 09:22:21 -07:00
e0e17258a3 Set WLAN_PWR_EN 2019-11-17 19:53:41 -07:00
56ae9f788c Disable debugging by default, enable wireless 2019-11-17 19:45:45 -07:00
08717157db Do not debug touchpad values 2019-11-17 18:39:03 -07:00
271b612c57 Ensure ps2 interface is always in correct state 2019-11-17 18:37:25 -07:00
49e958fc7d Implement temperature control using peci 2019-11-17 15:52:44 -07:00
3fd37bd16a Enable touchpad pins 2019-11-15 19:19:14 -07:00
7614873b19 Enable PNP devices by default, attempt to send/receive data from touchpad 2019-11-15 16:47:56 -07:00
285e9bc437 Reduce smbus speed to 50 KHz 2019-11-10 20:25:15 -07:00
8f69ece191 Fix errors and deny errors 2019-11-10 18:49:21 -07:00
5b7266b5f9 Add kbscan_event 2019-11-07 15:54:13 -07:00
c4047eabdb Ensure that spurious presses are ignored 2019-11-07 15:53:48 -07:00
387811a882 Set other important GPIOs in order to get CPU booting 2019-11-07 13:59:55 -07:00
01ef00a777 Get system to PLT_RST# assertion 2019-11-06 11:34:32 -07:00
037f0d54d7 Begin work on power sequence 2019-11-06 09:11:19 -07:00
0d74fe65e0 Add battery charging hook, disabled by default 2019-11-05 14:44:18 -07:00
976874f525 Do less re-initialization of smbus, add battery charger enabling 2019-11-05 14:42:15 -07:00
f50b8feb83 Hook up battery debugging to power switch 2019-10-01 13:40:54 -06:00
b4eeae3bda Fixes for smbus 2019-10-01 13:40:29 -06:00
2fc173faa3 Add more GPIO pin definitions 2019-10-01 12:01:28 -06:00
3fb1ecd84b Add PWM control 2019-09-30 09:02:53 -06:00
aa25bf1cea debug GPIO before hello message 2019-09-29 20:14:43 -06:00
ded5181926 Organize into arch, board, and ec modules 2019-09-29 20:13:03 -06:00
b04352cb63 Reorganize to allow compiling and running AVR firmware 2019-09-29 17:13:31 -06:00