Commit Graph

321 Commits

Author SHA1 Message Date
4dd5aecd42 Fix address of SCLKTSA 2019-11-12 08:38:20 -07:00
73cd5f1cdf Add i2c slave support to arduino firmware 2019-11-11 09:35:56 -07:00
badc84d99b Use Werror for avr architecture 2019-11-11 09:35:11 -07:00
285e9bc437 Reduce smbus speed to 50 KHz 2019-11-10 20:25:15 -07:00
7b30477009 Do not exit on error when dumping battery information 2019-11-10 20:19:54 -07:00
a1de5983df Improvements for ps2 support 2019-11-10 20:19:23 -07:00
d7c15e02ab Set second buffer full bit 2019-11-10 20:18:48 -07:00
8f69ece191 Fix errors and deny errors 2019-11-10 18:49:21 -07:00
0f6df188a0 Map super and apps keys 2019-11-08 15:47:14 -07:00
c522f44422 Actually return controller config 2019-11-08 15:40:46 -07:00
60bcd23e27 Fix 5 and 6 mapping 2019-11-08 15:19:06 -07:00
1f87adb1fc Add timeout for kbc and pmc writes 2019-11-08 13:40:10 -07:00
4269b25ecf Allow writing to controller output port 2019-11-08 13:27:59 -07:00
81d396c77e Add ps2 controller system bit 2019-11-08 13:27:48 -07:00
342e1018cc Add PMC burst command 2019-11-08 12:43:36 -07:00
05a505ad83 Add key translation 2019-11-08 12:43:28 -07:00
6e9f52efab Enable interrupts on request 2019-11-08 11:28:40 -07:00
97bbdf4a0b Fix debug of kbc byte 2019-11-08 11:21:18 -07:00
bc0233b6ac Enable ps2 interrupts 2019-11-08 10:57:22 -07:00
ff5a21931d Debug ps2 keyboard data 2019-11-08 10:57:15 -07:00
2c18b3cb54 Send keypresses over ps2 2019-11-08 10:29:29 -07:00
1b0f79c818 Add delay_ticks function 2019-11-08 10:29:04 -07:00
7ce8a8b114 Add keymap 2019-11-08 09:31:06 -07:00
03b435fee8 Hook keymap function 2019-11-07 20:00:41 -07:00
0c60ede118 Add keymap stub 2019-11-07 19:58:28 -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
89fb9dca12 Add scancode command 2019-11-07 14:26:04 -07:00
387811a882 Set other important GPIOs in order to get CPU booting 2019-11-07 13:59:55 -07:00
1c82fe11cd Fix GPIO dump 2019-11-07 13:59:35 -07:00
b876b5e39c Fix reset command 2019-11-07 13:59:30 -07:00
053a689276 Move kbc_event to board code 2019-11-07 13:57:33 -07:00
3d1e1aaae5 Fix PWM for fan 2019-11-06 15:34:03 -07:00
330ccb5c47 Fix ZTIER register 2019-11-06 14:07:59 -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
aee44bbce0 Increase smbus frequency to 400KHz 2019-11-05 14:32:06 -07:00
0dbb2ee8d5 add SMBUS write support 2019-10-02 09:59:06 -06:00
044584e96e Add i2c capability for AVR 2019-10-01 14:20:35 -06:00
f50b8feb83 Hook up battery debugging to power switch 2019-10-01 13:40:54 -06:00
1cefcbbfcb Battery debugging 2019-10-01 13:40:40 -06:00
b4eeae3bda Fixes for smbus 2019-10-01 13:40:29 -06:00
a300a5681a Attempt to initialize PWM for CPU fan 2019-10-01 12:01:46 -06:00
2fc173faa3 Add more GPIO pin definitions 2019-10-01 12:01:28 -06:00
24e407551e Improve GPIO debug 2019-10-01 12:01:14 -06:00
a4c4c34ff9 Use SMBus for console output 2019-10-01 12:00:33 -06:00
281ffd6d05 Use Ps2 objects to initialize PS/2 2019-10-01 11:59:53 -06:00
9deb7b11ad Reorder memory segment specifier, add Ps2 struct 2019-10-01 11:59:07 -06:00