Hello all.

I have simple kernel driver that measures the pulse width of the pwm 
signal. Driver works, but I'd like to link it with the device tree, so that 
it can be configured (gpio's etc).


static int __init rcpwm_init(void)
{
 ...
}
static void __exit rcpwm_cleanup(void)
{
 ...
}
module_init(rcpwm_init);
module_exit(rcpwm_cleanup);

I'd like to link it with the device tree entry

        rcpwm:rcpwm_0@0 {
            compatible = "my,driver";
        };

Is this doable with the driver that's initialized this way, or do I have to 
use probe?

Thanks,

Miro


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to