Commit Graph

340 Commits

Author SHA1 Message Date
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
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
e8f8169822 Allow user keymaps 2019-11-19 12:04:29 -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
93220ab072 Fix detection of CPU temp 2019-11-19 10:48:04 -07:00
c1fe4eeb43 Simplify scancode set 1 transformation 2019-11-18 20:34:19 -07:00
d928ef8a9a Provide battery and peci info through acpi pmc interface 2019-11-18 20:34:02 -07:00
788fa5ee52 Improve keyboard scanning and add function key 2019-11-18 19:19:55 -07:00
1f81503c55 Enable kbscan 2019-11-18 14:47:19 -07:00
cc355b5962 Disable I2C debugger 2019-11-18 10:41:31 -07:00
98dc75e37f Move HOSTA defines to public header 2019-11-18 10:08:45 -07:00
47359230fa Enable i2c debugger on address 0x76 2019-11-18 09:26:38 -07:00
6f6336c2dd Fix app key 2019-11-18 09:22:31 -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