Jeremy Soller
a04d353096
Fix fan_max keeping fan on when in S0iX
2021-04-02 13:38:28 -06:00
Jeremy Soller
2401fcc50d
oryp6, oryp7: Fix buzzing at lowest fan speed
2021-03-16 18:51:55 -06:00
Jeremy Soller
0017450cbb
Add LED_SAVE command
2021-03-16 10:33:46 -06:00
Jeremy Soller
66a970fa51
oryp6, oryp7: Improved fan curve for video chat
2021-03-08 15:54:19 -07:00
Jeremy Soller
2ef4cd7bbd
Add matrix command
2021-03-01 11:50:31 -07:00
Jeremy Soller
c931eb4eef
Do not repeat K_FAN_TOGGLE
2021-02-26 15:51:47 -07:00
Jeremy Soller
67e143178d
Always notify OS of SCI when pmc_sci is called
2021-02-26 15:51:47 -07:00
Ian Douglas Scott
b11bc64bba
tool: API and CLI for LED matrix mode
2021-02-26 12:18:02 -07:00
Tim Crawford
3e154d7f00
Add missing SPDX identifiers
2021-02-22 14:02:18 -07:00
Jeremy Soller
4ba943e3df
oryp7
2021-02-22 10:05:52 -07:00
Jeremy Soller
18ec0eb694
Increase keyboard scanning delay to eliminate darp7 scanning issues
2021-02-05 09:52:24 -07:00
Jeremy Soller
3a9665a753
lemp10: Set DPWROK low on EC reset to ensure PCH reset
2021-02-04 09:14:38 -07:00
Jeremy Soller
304e7534c9
Add led value and color commands
2021-01-15 08:34:31 -07:00
Jeremy Soller
5bab59a526
Do not duplicate kbled support. Add kbled_max and kbled_get_color functions
2021-01-15 08:34:31 -07:00
Jeremy Soller
9309efb3e0
Use BIT macros
2021-01-05 12:17:16 -07:00
Jeremy Soller
47c1062e08
Add SPDX headers
2021-01-05 12:17:16 -07:00
Jeremy Soller
7f4a837bcf
Add system76/darp7
2021-01-05 12:17:16 -07:00
Jeremy Soller
fbaea59b46
Add system76/galp5
2021-01-05 12:17:16 -07:00
Jeremy Soller
8f340d6164
Add system76/lemp10
2021-01-05 12:17:16 -07:00
Jeremy Soller
b156d18bc2
system76/common: Add OZ26786 charger
2021-01-05 12:17:16 -07:00
Jeremy Soller
fb6355f907
system76/common: Move touchpad handling to kbc_event
2021-01-05 12:17:16 -07:00
Jeremy Soller
31a908556b
system76/common/kbc: Refactor to remove delays and improve readability
2021-01-05 12:17:16 -07:00
Jeremy Soller
5559d4e2f6
system76/common: Switch to pmc_swi for wake events
2021-01-05 12:17:16 -07:00
Jeremy Soller
3f41cd6ab3
system76/common/pmc: Refactor to improve readability and support ESPI
2021-01-05 12:17:16 -07:00
Jeremy Soller
99a0d6861f
system76/common/power: Fix spurious power button enable
2021-01-05 12:17:16 -07:00
Jeremy Soller
c7827e4a7c
system76/common/power: Support for ESPI
2021-01-05 12:17:16 -07:00
Jeremy Soller
c3fa2a27a7
system76/common/peci.c: Do not use PECI when in C10 state and using ESPI
2021-01-05 12:17:16 -07:00
Jeremy Soller
0595ba2b16
system76/common: Adjust KBC interrupts when using ESPI
2021-01-05 12:17:16 -07:00
Jeremy Soller
6da7a48e16
system76/common: Make acpi_read and acpi_write TRACE instead of DEBUG
2021-01-05 12:17:16 -07:00
Jeremy Soller
515c7495c1
ec/it5570/gpio.h: Add GCR21 register
2021-01-05 12:17:16 -07:00
Jeremy Soller
e4e7f89a67
system76/common: Add battery abstraction
2021-01-05 12:17:16 -07:00
Jeremy Soller
4de18eba93
common/macro.h: Add BIT macro
2021-01-05 12:17:16 -07:00
Jeremy Soller
b0c196d4b9
ec/it*: Add ESPI definitions
2021-01-05 12:17:16 -07:00
Jeremy Soller
87e16205d6
ec/it*/kbc.c: kbc_wait delay is now in microseconds
2021-01-05 12:17:16 -07:00
Jeremy Soller
932dbe8e71
mega2560/parallel.c: return immediately when perif cycle not ready
2021-01-05 12:17:16 -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
Tim Crawford
5c4f9b6c8b
Sort object files
...
ROMs produced of Pop!_OS 20.10 and Fedora 33 with SDCC 4.0.0 cause
uecflash to crash after verifying the block write, leaving the system
unbootable until all power is removed to force an EC reset.
Sorting object files appears to resolve this issue, creates a smaller
binary (~200 bytes from 20.04), and gives up more reproducible builds.
2020-12-08 13:43:40 -07:00
Tim Crawford
29034569c8
oryp6: Fix smart charger values
2020-10-19 13:02:14 -06:00
Tim Crawford
5200397bba
Fix compilation on AVR
...
The __reentrant keyword introduced in common code is for SDCC.
2020-10-15 19:25:20 -06:00
Tim Crawford
aeaad74dd0
galp4: Add numpad keys to Fn layer
...
Fn must be held to use the numpad, regardless of the state of NumLock.
This differs from the proprietary EC, which swaps the numpad and letters
when NumLock is enabled.
The OS determines if the numpad is used as navigation keys or number
keys, depending on the state of NumLock.
2020-10-08 10:35:48 -06:00
Tim Crawford
9a01388085
oryp5: Fix speaker and headphone amps
2020-10-06 11:08:06 -07:00
Jeremy Soller
0a2af4c692
Add international keys to other compatible layouts
2020-10-06 09:31:34 -07:00
Jeremy Soller
fcfdcb88c3
Support international keys on darp6
2020-10-06 09:31:34 -07:00
Jeremy Soller
3ed8db09c5
addw1: Fix floating KBC_MUTE#
2020-10-05 15:24:36 -06:00
Jeremy Soller
dc81c724ec
addw1
2020-10-05 13:57:08 -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
d35e375277
Add fan abstraction
2020-10-05 10:50:11 -07:00
Jeremy Soller
788fa927ef
Add SPDX license header to fan.c
2020-10-05 10:50:11 -07:00
Jeremy Soller
3b6d262217
Add K_FAN_TOGGLE hotkey
2020-10-05 10:50:11 -07:00
Jeremy Soller
a8f5fc5ec0
Add fan module and implement fan_max switch
2020-10-05 10:50:11 -07:00