TWSD-1516 : AVX 2.7.5 Caswell : LED control functionality gpio_nuvoton driver import
Review Request #1363 — Created Feb. 4, 2026 and submitted
| Information | |
|---|---|
| stevenku | |
| AVX2 | |
| rel_avx_2_7_5_caswell_5070 | |
| TWSD-1516 | |
|
|
|
| Reviewers | |
| ngurunathan, weikai, wli | |
The Caswell motherboard CAR-5070 offers customizable LED control, but the GPIO function library provided by older systems cannot be loaded on this motherboard. A new driver is required to control the LEDs.
Update
1. load gpio_nuvoton in the build environment and compile gpio-nuvoton.ko
2. In array_OS.patch addEXPORT_SYMBOL(nct6796d_set_gp_io_sel)and copy Module.symvers to kern/monitor path for avx.ko compiling.
3. Startup monitor script start_avxmonitor.sh, execute theinsmod gpio-nuvoton.komodule loading.
4. AddingCAPB_5070NR_led_init(),CAPB_5070NR_led_uninit()andCAPB_5070NR_led_set()
- Check the gpio-nuvoton.ko and avx.ko modules
- Reading the /proc/avx/led file will execute a test LED mode
