Commit Graph

966 Commits

Author SHA1 Message Date
84941a85d2 Add lid switch SCI 2019-12-12 10:56:19 -07:00
9cbf9da0eb Make USB_PWR_EN_N an output 2019-12-11 10:12:23 -07:00
def0e0150e Enable more power lines 2019-12-10 11:27:52 -07:00
e85611736c Debounce key releases (needs testing) 2019-12-07 11:02:02 -07:00
ae52109b13 Change jeremy map 2019-12-03 13:59:30 -07:00
12a359c75e Add lid switch ACPI 2019-12-03 13:59:19 -07:00
1c73751ef6 Support for SCI hotkeys 2019-12-02 14:56:11 -07:00
dc19bf1248 Add SCI event queue 2019-12-02 13:20:56 -07:00
73ab827211 Redo fix for failure to boot in order to allow complete system shut off 2019-11-27 12:21:14 -07:00
fceb98342b Disable watchdog when charging 2019-11-27 12:16:55 -07:00
465e865793 Reduce log level 2019-11-25 21:13:03 -07:00
146595563f Fix failure to boot 2019-11-25 21:05:56 -07:00
561d3bdb7a Enable Arduino Uno i2c debugging 2019-11-25 14:55:31 -07:00
08c800fa6d Implement ACPI parameters from proprietary EC firmware 2019-11-25 09:27:28 -07:00
fe613e093c unpress keys when switching layers 2019-11-24 14:24:23 -07:00
1ecae5e9f9 Rebuild when makefile change 2019-11-24 12:13:43 -07:00
fb69390a9d Do not power off on suspend 2019-11-24 12:12:42 -07:00
65c67574c0 Fix compilation when not debugging 2019-11-23 20:12:05 -07:00
e5d62c952d Disable i2c debug 2019-11-23 20:08:57 -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
0426c066b6 Only watch SUSPWRDNACK for primary plane state 2019-11-22 15:14:52 -07:00
5402fa33df Fix edge detection of ALL_SYS_PWROK 2019-11-22 14:59:46 -07:00
445a01de42 Debug power functions 2019-11-22 14:52:34 -07:00
95f0d47e5a Fix some power timing 2019-11-22 14:42:49 -07:00
c94bd08986 Do not send serial debug if not selected 2019-11-22 14:42:33 -07:00
38321e068b Move power handling to new power functions 2019-11-22 14:30:50 -07:00
c6588d8847 Add separate power functions 2019-11-22 14:30:39 -07:00
75e0a0b3f9 Add PNP functions 2019-11-22 14:30:30 -07:00
da60fc9080 Fix delay_us and delay_ns not showing up 2019-11-22 14:30:21 -07:00
9cfd3a8d5a WIP: redo power sequence 2019-11-22 10:02:24 -07:00
6585f917c2 Remove unused register definition 2019-11-21 11:04:16 -07:00
90f9a9d37d Merge branch 'master' of https://github.com/system76/ec 2019-11-21 09:16:57 -07:00
56c210082f Fix some signal names 2019-11-21 09:16:39 -07:00
403d2e8fe7 Add flash target 2019-11-20 21:22:35 -07:00
620c1c2507 Better documentation for GPIO settings 2019-11-20 21:04:12 -07:00
a4f0839e48 Remove prints from scratch 2019-11-20 15:16:30 -07:00
c9916fe9e5 Update ecsim 2019-11-20 15:09:43 -07:00
97db2bd339 Implement flashing from scratch rom 2019-11-20 15:08:17 -07:00
68ed5913dd Move PMC logic to board 2019-11-20 13:05:14 -07:00
dc9ba7d96a Fix makefile comment 2019-11-20 12:01:13 -07:00
885fb3ed44 Add PMC support to scratch ram, move makefile targets to new makefile 2019-11-20 11:58:36 -07:00
8950a783f4 Support use of all available scratch RAM 2019-11-20 11:28:21 -07:00
3e8cc817b7 Seperate compilation of scratch rom 2019-11-20 11:14:01 -07:00
b6d2c587f6 Only build items in $(OBJ) with standard rules 2019-11-20 10:47:23 -07:00
8c90323b6a Add ARRAY_SIZE 2019-11-20 10:47:10 -07:00
27f1dccc9e Run peci and battery events every 256 cycles 2019-11-19 14:25:32 -07:00
9f02b8d67d Add Jeremy's keymap 2019-11-19 13:23:00 -07:00
055cb92844 Allow compilation with lower log level, change level to warn 2019-11-19 12:31:30 -07:00
eec73b0796 Add comment about default layout 2019-11-19 12:23:06 -07:00
dbbc1b2a03 Cleanup keymap 2019-11-19 12:14:59 -07:00