Commit Graph

966 Commits

Author SHA1 Message Date
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
665f64a0a9 Add description of power init 2019-11-05 20:38:27 -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
de1f553e19 Update ecsim 2019-10-10 21:23:47 -06: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
15004f76b3 Set console baud to 1 MHz 2019-09-30 17:36:15 -06:00
2db0b8c36a Move common directory, add defines for BOARD, EC, and ARCH 2019-09-30 17:35:13 -06:00
3fb1ecd84b Add PWM control 2019-09-30 09:02:53 -06:00
35a869bb49 Add README and LED control to all arduino projects 2019-09-29 22:01:16 -06:00
01bae12644 Add AVR GPIO 2019-09-29 21:47:37 -06:00
5c3fb062fd Add arduino uno readme 2019-09-29 21:26:21 -06:00
e3aa21cae4 Add Arduino Micro and Arduino Uno 2019-09-29 21:20:03 -06:00
abd457ba73 Fix building AVR hex files 2019-09-29 21:19:32 -06:00
aa25bf1cea debug GPIO before hello message 2019-09-29 20:14:43 -06:00