system76 / ec

System76 Open Source Embedded Controller
GNU General Public License v3.0
318 stars 72 forks source link

Enable power switch WDT on IT8587E boards #473

Closed crawfxrd closed 1 month ago

crawfxrd commented 2 months ago

Enable PWRSW WDT 2 and use the default timeout of 10 seconds.

Allows forcing an EC reset in case it gets into an invalid state.

Models with IT8587E:

Ref: #315 Ref: #472

crawfxrd commented 1 month ago

It is impossible to use the PWRSW WDT on IT8587E boards. Clevo connected PWR_SW# to GPD0/RI# and not GPE4/PWRSW on all of them; GPE4/PWRSW is connected to DD_ON instead.