Michał Kopeć
53da873ed7
Restore PROCHOT# assertion
2026-03-07 23:05:05 +01:00
Michał Kopeć
69edd626f3
DBGR mailbox
2026-03-07 22:36:41 +01:00
Michał Kopeć
2adc981e31
main.c: Don't power on when lid is closed
2026-03-07 20:04:33 +01:00
Michał Kopeć
f392d693b7
power.c: Restore usbpd_reset
2026-03-07 20:00:42 +01:00
Michał Kopeć
9c14ccdeb0
main.c: Restore interrupt-based kbc_event
2026-03-07 19:59:44 +01:00
Michał Kopeć
baaa50cf7b
Fix battery charging
2026-03-07 17:43:37 +01:00
Michał Kopeć
f3e1c8d6df
power.c: remove redundant state changed checks
2026-03-07 17:19:52 +01:00
Michał Kopeć
00df5b485a
Move non-init stuff to main()
2026-03-07 16:55:28 +01:00
Michał Kopeć
3bf91a209e
Power-on fixes
2026-03-07 05:29:46 +01:00
Michał Kopeć
8159ee1428
power: dispatch event handlers by IRQ
2026-03-07 04:22:25 +01:00
Michał Kopeć
f288c67996
src/board/system76/common/power.c: per signal functions
2026-03-07 03:39:09 +01:00
Michał Kopeć
a5b1c5dc34
Increase SRAM size to 3.5K
2026-03-07 03:30:01 +01:00
Michał Kopeć
a6ea838eb5
Make more functions reentrant
2026-03-07 03:29:48 +01:00
Michał Kopeć
8d6a22b853
Use interrupts instead of polling for common events
...
Add interrupt and wakeup support. This improves performance and responsiveness
and reduces the power usage by sleeping in the main loop.
2026-03-07 00:24:58 +01:00
Michał Kopeć
6b0c55fa17
Make more functions reentrant
...
Reduces compile time DSEG usage.
2026-03-05 22:14:00 +01:00
Michał Iwanicki
6d9d6cf632
scripts/deps.sh: Add hidapi-devel required by hidapi crate
...
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com >
2026-01-12 14:37:01 +01:00
iwanicki92
362d0d4f60
tool: firmware.rs: return slice directly instead of Option
...
Signed-off-by: iwanicki92 <iwanicki92@gmail.com >
2026-01-12 14:37:01 +01:00
Michał Iwanicki
a30c39b2db
tool: main.rs: allow flashing firmware bigger than 128 kB with --force
...
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com >
2026-01-12 14:37:01 +01:00
iwanicki92
4fb0488044
tool: firmware.rs: return empty slice instead of None
...
That way Firmware can be unwrapped and still used in the rest of code
without any modifications.
Board and version will contain empty slices:
```
file board: Ok("")
file version: Ok("")
```
Signed-off-by: iwanicki92 <iwanicki92@gmail.com >
2026-01-12 14:37:01 +01:00
iwanicki92
386f77b854
tool: firmware.rs: deal with edge key detection case
...
Before, key detection would fail if the byte preceding searched for
key had the same value as the first byte of the searched key.
Signed-off-by: iwanicki92 <iwanicki92@gmail.com >
2026-01-12 14:37:01 +01:00
Michał Kopeć
af6bd04d68
common/power.c: Reset USB-PD on host reset
...
This improves device detection after a reboot with the Wavlink UMD05 Pro
USB-C docking station (Rev. E).
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
novacustom_v54x_mtl_igpu_v1.0.1-rc3
novacustom_v56x_mtl_dgpu_v1.0.0-rc10
novacustom_v54x_mtl_dgpu_v1.0.0-rc10
novacustom_v56x_mtl_igpu_v1.0.1-rc3
novacustom_ns5x_adl_v1.8.0-rc4
novacustom_nv4x_adl_v1.8.0-rc4
novacustom_v56x_mtl_dgpu_v1.0.0-rc9
novacustom_v54x_mtl_dgpu_v1.0.0-rc9
novacustom_v56x_mtl_igpu_v1.0.1-rc2
novacustom_v54x_mtl_igpu_v1.0.1-rc2
novacustom_v54x_mtl_dgpu_v1.0.0
novacustom_v54x_mtl_igpu_v1.0.1
novacustom_v56x_mtl_dgpu_v1.0.0
novacustom_v56x_mtl_igpu_v1.0.1
2025-10-31 12:48:19 +01:00
Michał Kopeć
48858004a5
usbpd/tps65987.c: fall back to default charger current
...
Fall back to the default CHARGER_INPUT_CURRENT in case usbpd
communication failed and we could not determine the actual charger
power.
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2025-10-28 13:45:49 +01:00
Michał Kopeć
7986b037f9
common/usbpd/tps65987.c: downgrade USB-PD power efficiency coefficient
...
V540TU is hitting overcurrent protection with Wavlink UMD05 Pro 60W
dock / power supply while booted into Windows. Reduce the input power
again to make sure we don't cross over the OCP threshold.
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2025-10-20 13:14:21 +02:00
Michał Kopeć
7e1b941d35
common/{dgpu,peci}.c: increase board heatup size
...
This restores results in similar behabior to v0.9.0 where it takes a
much longer time for the fans to spin up, resulting in a quieter laptop
during bursty CPU loads.
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
novacustom_v54x_mtl_dgpu_v1.0.0-rc8
novacustom_v54x_mtl_igpu_v1.0.1-rc1
novacustom_v56x_mtl_dgpu_v1.0.0-rc8
novacustom_v56x_mtl_igpu_v1.0.1-rc1
2025-10-03 15:48:03 +02:00
Michał Kopeć
b2e45e936e
common/usbpd/tps65987.c: fix typo - Occured -> Occurred
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
novacustom_v56x_mtl_igpu_v1.0.0
novacustom_v54x_mtl_igpu_v1.0.0
novacustom_v56x_mtl_dgpu_v1.0.0-rc7
novacustom_v54x_mtl_dgpu_v1.0.0-rc6
novacustom_v54x_mtl_dgpu_v1.0.0-rc7
novacustom_v54x_mtl_igpu_v1.0.0-rc6
novacustom_v56x_mtl_igpu_v1.0.0-rc6
novacustom_v54x_mtl_igpu_v1.0.0-rc7
novacustom_v56x_mtl_dgpu_v1.0.0-rc6
novacustom_v56x_mtl_igpu_v1.0.0-rc7
2025-08-29 11:55:58 +02:00