X8h7 GPIO stop working

I was using my Portenta-x8 with mid carrier board to drive display for a long time without problem. The image I build last year was 846 and able driver varies display.
However, I add a new display driver and bitbake again, the x8h7 GPIO was dead after that. I use GPIO0 as reset pin for display, it should be "out hi" but it became "out ?" and not able to output 3.3V, all the display was not able to turn on in this case. When I pull reset pin to 3.3V directly the display was okay, means the display driver did not have problem.

Did anyone know why x8h7 GPIO was broken? and how to solve this problem?
Here is how I set reset GPIO in device tree and driver.

device tree:
reset-gpios = <&x8h7_gpio 0 GPIO_ACTIVE_HIGH>;

in display driver:
gpiod_set_value_cansleep(ctx->reset_gpio, 1);

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.