Hi,
I'm using a custom board loosely based on the am335x evm.
I'm trying to get the backlight to work. First I have to hardcode a few pins to low ( or high) in the u-boot code ( just to test if it works), later we hope to implement a complete pwm driver.
I tried to hardcode these pins to a value in the pinmux ( mux.c and mux.h) but I'm doubting if this is the right place to do this.
I came across this function for u-boot on the internet:
gpio_set_value( <pin> , <value>);
But it doesn't seem to be working.
I tried pin toggling in the u-boot prompt ( with md and wd <adress> <value> ) but I don't know if this was the proper to do it because it didn't work either.
Or do I have to do hardcode pin values in linux?
Thanks in advance