Jeremy Soller
5bab59a526
Do not duplicate kbled support. Add kbled_max and kbled_get_color functions
2021-01-15 08:34:31 -07:00
Brosseau Valentin
43d31ca0c3
Add Custom Valentin French ISO Layout definition
...
Move some keys, and make the French ISO Layout working with the System76 EC.
This layout is working with the Venus PW55. (Clevo L140CU based model)
2020-12-08 13:44:45 -07:00
Fabian Topfstedt
6a081cc1b8
lemp9: Added ISO keyboard layouts ( #117 )
...
* LAYOUT_ISO: Conversion of physical ISO layout to keyboard matrix
* fixing interchanged backslash and enter
* default_iso layout added for Clevo L141CU
* fabian layout (ISO, colemak, fn<->ctrl, wide left shift)
* Caps is control
* hardware side: qwerty instead of colemak
* lemp9 fabian: FN+PgUp=Home, FN+PgDn=Eend, FN+LeftShift=KBD_BKL
* lemp9 default_iso: FN+PgUp=Home, FN+PgDn=End
* clevo_l141cu_us_iso.c
* merged
* FN+1=K_FAN_TOGGLE
2020-10-05 14:53:15 -06:00
Jeremy Soller
3b6d262217
Add K_FAN_TOGGLE hotkey
2020-10-05 10:50:11 -07:00
Jeremy Soller
916a6f87f3
Add dynamic keymap config
2020-10-05 09:54:28 -07:00
Jeremy Soller
fc2c3511d2
Move KEYMAP definition to common
2020-10-05 09:54:28 -07:00
Tim Crawford
39e2586c50
Use physical position of keys for config reset
2020-10-01 14:50:26 -07:00
Jeremy Soller
d0d9f65b6e
Use K_ defines for SCI keys
2020-09-29 19:42:05 -06:00
Jeremy Soller
432c4f64d2
Remove unnecessary keymap function
2020-09-29 19:42:05 -06:00
Jeremy Soller
f36b38a7b2
Make KEYMAP's __xdata so they can be edited at runtime
2020-09-29 19:42:05 -06:00
Tim Crawford
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
Tim Crawford
297ae4885a
board/system76: Set battery thresholds per board
2020-09-04 10:17:21 -06:00
Jeremy Soller
db6e85eb56
Add ACPI thermal interface
2020-09-03 12:06:09 -06:00
Tim Crawford
70e6476208
power: Enable Wake-on-LAN
2020-08-28 13:23:54 -06:00
leviport
df76060173
Merge pull request #76 from system76/levi-keyboard-layout
...
Create doc explaining keyboard customization
2020-07-06 08:05:22 -06:00
Jeremy Soller
834aaf97e4
Hot-pluggable parallel port debugging
2020-07-02 12:53:36 -07:00
leviport
3c2d1690df
Add my layout, enable media next/prev hotkeys, and start doc
2020-06-24 20:14:29 -06:00
Jeremy Soller
42e88d03b3
Move most code in system76 boards into system76/common
2020-06-24 17:43:39 -06:00
Jeremy Soller
764e3b4c20
lemp9: update jeremy keymap
2020-06-11 12:57:54 -06:00
Jeremy Soller
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
Andrew Rodland
83102f77ba
Add a keymap putting Insert on the PrtSc key
...
The lemp9 doesn't have an Insert key, but PrtSc is right there
next to Delete, and while I like taking screenshots, it really
doesn't deserve to be the primary function of a key.
Add an alternative keymap that makes the PrtSc key act as Insert,
leaving the print screen function on Fn+PrtSc
build with "make BOARD=system76/lemp9 KEYMAP=ins-prtsc"
2020-05-29 18:00:36 -06:00
Jeremy Soller
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
Jeremy Soller
b4e1346edb
Remove power on after flashing support - BRAM is not persisted through AC disconnects
2020-04-09 09:18:25 -06:00
Jeremy Soller
747dc84b5b
Increase heatup time to 10 seconds and disable interpolation
2020-04-08 12:14:01 -06:00
Jeremy Soller
1194472b8f
Add power on after reset flag
2020-04-07 21:11:49 -06:00
Jeremy Soller
ff639a7836
Set fan to 100% when in scratch ROM
2020-04-06 14:19:11 -06:00
Jeremy Soller
dc246237c6
Add a watchdog timer of 10 seconds when using scratch ROM
2020-04-06 14:11:57 -06:00
Jeremy Soller
8af9470c40
lemp9: lower fan curve maximum temperature to 80C
2020-04-05 13:16:05 -06:00
Jeremy Soller
113a4b23ab
Fix lemp9 current draw
2020-04-05 11:54:34 -06:00
Jeremy Soller
e8f8daae1b
Set input current limits
2020-04-05 10:34:25 -06:00
Jeremy Soller
d901907942
Sync changed between system76 boards
2020-04-05 08:47:24 -06:00
Jeremy Soller
825677bfb5
Turn off VDD3 when CPU is off and AC is not connected
2020-04-04 19:36:01 -06:00
Jeremy Soller
ee8e0a2257
Correct GPIO control settings
2020-04-04 19:35:36 -06:00
Jeremy Soller
ed0e662d60
Cut lemp9 charging current in half to lower charging heat
2020-04-04 15:11:59 -06:00
Jeremy Soller
32055d825e
Re-enable interpolation of duty cycle
2020-04-04 13:30:33 -06:00
Jeremy Soller
62a909ee81
Improve fan curve
...
- Implement fan cooldown and heatup periods
- Add fan get/set commands
- Fix compilation with logging level lower than debug
2020-04-04 07:30:05 -06:00
Jeremy Soller
4fdb9ecbdc
Fix fan turning on when powering on or resuming from suspend
2020-04-01 20:03:09 -06:00
Tim Crawford
9bf09e211c
kbscan: Ignore key presses with ghost keys
2020-03-31 13:40:56 -06:00
Tim Crawford
ebcd545746
kbscan: Add function to read row from matrix
2020-03-31 13:40:56 -06:00
Jeremy Soller
d96147688d
Fix calculation of S3 power state, remove S4 power state
2020-03-17 12:49:11 -06:00
Jeremy Soller
7fbad82088
Improve power handling to eliminate lockups
2020-03-17 11:12:59 -06:00
Jeremy Soller
8a8ab165a7
Improve print command
2020-03-14 21:06:18 -06:00
Jeremy Soller
606421abd1
Add console_external target
2020-03-14 20:40:44 -06:00
Tim Crawford
e5afb927b8
system76/*: Add parport logging
...
Add a build-time option to configure the parallel port for logging
instead of using it as a keyboard.
2020-03-06 11:15:58 -07:00
Jeremy Soller
364b7c3af8
Rename flash targets
2020-03-02 14:11:57 -07:00
Jeremy Soller
a24f9ed3ae
Cleanup use of scratch rom for SPI flashing, prepare to implement no-reset flashing process
2020-02-27 13:21:04 -07:00
Jeremy Soller
14bb3af80b
Fix lemp9 menu key #29
2020-02-26 15:14:43 -07:00
Jeremy Soller
68b9acd249
Add ability to flash backup rom
2020-02-26 13:43:31 -07:00
Jeremy Soller
1e1c626d71
Port changes from galp3-c to darp5 and lemp9
2020-02-26 13:11:50 -07:00
Jeremy Soller
657437e1ce
Faster flashing with SMFI ( #32 )
...
* WIP: support for new flashing API
* Add SPI flashing support to tool
* Add timeouts when flashing with ectool
* Test SPI reading
* Use chunks for SPI commands
* Sanity test of flash size
* Read rom in sectors
* Relocate memmap region, remove PMC3
* Use ectool to flash
* Remove debugging of spi command
* Fix flashing over smfi
2020-02-26 09:04:40 -07:00