Commit Graph

52 Commits

Author SHA1 Message Date
5fd9df0ed0 Add SPDX license identifiers
Add license information to files. Mostly automated with:

    find src/ -name '*.[c,h]' | xargs sed -i '1s,^,// SPDX-License-Identifier: GPL-3.0-only\n\n,'
    find src/ -name '*.mk' | xargs sed -i '1s,^,# SPDX-License-Identifier: GPL-3.0-only\n\n,'
2020-09-17 09:17:08 -06:00
834aaf97e4 Hot-pluggable parallel port debugging 2020-07-02 12:53:36 -07:00
39cd014f7b Addw2 support (#67)
* Add addw2 board

* Set charge params and update gpio.h

* Set VGA fan to 100% when entering scratch rom

* Implement keyboard LEDs

* Turn off keyboard LEDs in gpio defaults

* Default airplane mode LED to off

* Enable GPU power and fan control

* Add NVIDIA GPU power and temp to power.csv

* Add NVIDIA GPU fan value to power.sh

* Move GPU init back to coreboot

* Do not turn on GPU fan if GPU is off

* Show POST codes

* Add timestamps to console_external

* Accept port 81 cycles

* Move setting RSTS into ec_init

* Move post code debugging to system76/common

* Move some GPIO init from system76/common to boards

* Make some power signals optional

* Remove POST code support - it only works on IT5570
2020-06-04 13:22:59 -06:00
357fae86fc System76 common board directory (#53)
* Move configuration for battery into board.mk

* lemp9: remove tcpm code

* Move touchpad to its own module

* Add kbled_reset to all platforms, move items to run on CPU reset to a function

* Add defines for battery and charger address

* Add I2C_0 export to it5570e

* Move common system76 board functions into src/board/system76/common
2020-04-14 17:23:29 -06:00
1194472b8f Add power on after reset flag 2020-04-07 21:11:49 -06:00
dc246237c6 Add a watchdog timer of 10 seconds when using scratch ROM 2020-04-06 14:11:57 -06:00
6cbc7b3ea1 Remove delays from parport_write 2020-03-14 20:39:47 -06:00
72b453ebd3 it8587e, it5570e: Implement logging to parport
Implement configuring the keyboard controller as a parallel host device
and writing to the parallel port. This allows the EC to send log
messages over the port.
2020-03-06 11:15:51 -07:00
a90b2a8c67 WIP: kbled control for darp5 2020-02-21 15:38:44 -07:00
ac4d15b395 Use state machine instead of timeout in PMC code 2020-02-17 14:19:05 -07:00
17cce5687f Add TCPM I2C bus and initialize it 2020-02-13 10:34:28 -07:00
c58c5f06d4 Add ECPM definitions 2020-02-04 12:44:29 -07:00
d52683fcb4 Add DAC registers 2020-01-28 14:59:35 -07:00
fca09adf56 Add additional PMCs 2020-01-16 14:38:21 -07:00
93545fb83c Add support for multiple I2C buses 2020-01-15 16:25:30 -07:00
efa9fb7fb4 Refactor to minimize differences between galp3-c and lemp9 code 2020-01-15 15:54:43 -07:00
e9c308b789 Add PECI init 2020-01-12 20:18:57 -07:00
fad6c6cbb3 Add more GCR registers 2020-01-10 14:33:39 -07:00
5914b174a2 Fix usage of SMBus channel E 2020-01-10 12:35:28 -07:00
991da81117 Update lemp9 GPIO defaults 2020-01-10 08:54:51 -07:00
89e3f3894f Add IT5570E support with correct I2C channel 2020-01-10 08:07:18 -07:00
0e59958dc0 Increase timeouts 2019-12-30 11:46:21 -07:00
390d6516be Remove unnecessary includes 2019-12-30 10:25:48 -07:00
dc19bf1248 Add SCI event queue 2019-12-02 13:20:56 -07:00
68ed5913dd Move PMC logic to board 2019-11-20 13:05:14 -07:00
d928ef8a9a Provide battery and peci info through acpi pmc interface 2019-11-18 20:34:02 -07:00
98dc75e37f Move HOSTA defines to public header 2019-11-18 10:08:45 -07:00
93e35d2cc5 Add debug levels 2019-11-18 09:22:21 -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
7614873b19 Enable PNP devices by default, attempt to send/receive data from touchpad 2019-11-15 16:47:56 -07:00
7401a540e8 Modify i2c timing 2019-11-13 15:50:26 -07:00
77aa419318 Better error information 2019-11-13 15:40:53 -07:00
b1d0aaf180 Fix test for direction switch 2019-11-13 14:36:20 -07:00
890d8e9968 Move i2c support to common 2019-11-13 14:33:04 -07:00
1e6c741d82 Add i2c definitions for it8587e 2019-11-13 10:51:57 -07:00
4dd5aecd42 Fix address of SCLKTSA 2019-11-12 08:38:20 -07:00
d7c15e02ab Set second buffer full bit 2019-11-10 20:18:48 -07:00
1f87adb1fc Add timeout for kbc and pmc writes 2019-11-08 13:40:10 -07:00
342e1018cc Add PMC burst command 2019-11-08 12:43:36 -07:00
2c18b3cb54 Send keypresses over ps2 2019-11-08 10:29:29 -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
b4eeae3bda Fixes for smbus 2019-10-01 13:40:29 -06:00
a4c4c34ff9 Use SMBus for console output 2019-10-01 12:00:33 -06:00
9deb7b11ad Reorder memory segment specifier, add Ps2 struct 2019-10-01 11:59:07 -06:00
3fb1ecd84b Add PWM control 2019-09-30 09:02:53 -06:00
e3aa21cae4 Add Arduino Micro and Arduino Uno 2019-09-29 21:20:03 -06:00
ded5181926 Organize into arch, board, and ec modules 2019-09-29 20:13:03 -06:00