AnsweredAssumed Answered

gpio doesn't work in uboot in kernel 5.4.3

Question asked by Yibeom Han on Jun 7, 2020
Latest reply on Jun 7, 2020 by igorpadykov

Hi guy,


I am having a problem to bring up my custom board which I am trying to upgrade kernel version from 4.1.15 to 5.4.3.

I was porting my uboot lvds driver to enable lvd pwer enable and reset pin, but in kernel 5.4.3, I think uboot uses device tree(CONFIG_OF_SEPARATE), so I think my driver codes in board/mycustom.c doesn't work.

in uboot of Kernel 5.4.3, Where should i check in uboot coces, It actually hard to find where exact code locates in.

And, how to modify uboot gpio setting in kernel 5.4.3?


: error codes

gpio@209c000: dir_output: error: gpio GPIO1_30 not reserved

gpio@20a4000: dir_output: error: gpio GPIO3_30 not reserved