Add OEM platform command
MouchenHung-QUANTA opened this issue · 4 comments
MouchenHung-QUANTA commented
rainlin024 commented
We think it a great command and very useful during development.
But there is a concern that Zephyr doesn't support reading GPIO direction and it might be risky to return recorded status in GPIO table.
Thanks,
Rain
MouchenHung-QUANTA commented
Hi @rainlinWW,
Indeed, zephyr-aspeed gpio driver doesn't support direction get/set api, so I used GPIO table's (gpio_cfg) direction instead temporary to get initial sets. Even though, this could be discussed or modified in the future.
Thanks,
Mouchen
MouchenHung-QUANTA commented
Hi @rainlinWW,
According to your doubt, we thought that getting direction from the table may not cause serious problem. If there's any way to get current gpio direction in the future, we will update table synchronously.
Thanks,
Mouchen
rainlin024 commented