Hello All -
I've had a surprising amount of difficulty trying to figure out how to use dts to configure the hardware to heartbeat-blink the debug led on the i.MX6SL EVK. I'm running kernel 3.10.17, building core-image-minimal, and tried adding the following code in the appropriate places in imx6sl-evk.dts (as well as enabling the appropriate items in the kernel menuconfig):
leds {
compatible = "gpio-leds";
debug-led {
label = "Heartbeat";
gpios = <&gpio3 20 0>; //HSIC_STROBE -> GPIO3_20
linux,default-trigger = "heartbeat";
};
};
and
MX6SL_PAD_HSIC_STROBE__GPIO3_IO20 0x110b0
After much trial and error, I was able to get this to work after modifying the init function register_init_complete (in .../git/drivers/regulator/core.c) to return early without doing anything.
I'm looking into this further, but in the meantime, does anyone have any ideas about what is going on here?
Thanks! -Ben