siemens / meta-iot2050

SIMATIC IOT2050 Isar/Debian Board Support Package
MIT License
129 stars 76 forks source link

u-boot-iot2050: Make m.2 power control also avaiable to minipcie #430

Closed BaochengSu closed 1 year ago

BaochengSu commented 1 year ago

Issue is that sometimes, some miniPCIE card hangs, due to firmware/software issue. Such hang could not be recovered by software reset, since it is not power on reset.

However, the power supply design on M.2 variant, that control the 3.3V power pin through a GPIO is proven to work against such scenario. With this GPIO, during boot, a POR will be triggered to fully recover the miniPCIE or M.2 module.

So port this design also to the miniPCIE variants.

The target branch is stable/V01.03

BaochengSu commented 1 year ago

This MR is targeting only stable V1.3 branch, hence the kernel side change is not included. Instead, it is included into #431

BaochengSu commented 1 year ago

Test passed on the new hardware sample.

huaqianli commented 1 year ago

Looks good to me.