Re: [RFC PATCH] pwm: add pwm-atmel from Linux kernel 4.14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 01, 2018 at 10:33:32PM +0100, Sam Ravnborg wrote:
> Following patch is more or less untested.
> 
> It is posted to get feedback if this is the right way to
> implement support for pwms in at91sam9263 & friends.
> 
> In the kernel there is also a file named pwm-atmel-tcb.
> I dunno which is the better starting point.

Looks good, but I don't know the hardware and can't say what
pwm-atmel-tcb is for.

> 
> The patch will recognize pwm0 on the at91sam9263ek board
> (if status = "okay") so it has seen minimal testing.
> But I have yet to utilize any of the pwm's.
> 
> While working with this I get the impression that the core
> should know about pwm channels and device_d pointer
> should be part of the core data.

I know it's done like this in Linux. Any good reason to do this in
barebox aswell besides of "do it as in Linux"?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux