Re: [beagleboard] linking device tree and simple driver

2013-12-11 Thread Miro
Thanks, that told me what I suspected. I changed the driver to probe and all is well. 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 recei

Re: [beagleboard] linking device tree and simple driver

2013-12-10 Thread John Syne
From: Miro Reply-To: Date: Tuesday, December 10, 2013 at 8:53 PM To: Subject: [beagleboard] linking device tree and simple driver > 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 wit

[beagleboard] linking device tree and simple driver

2013-12-10 Thread Miro
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