Page MenuHomeFreeBSD

AM335x: Add PWM(9) api to am335x_ecap driver
Needs ReviewPublic

Authored by oskar.holmlund_ohdata.se on Jan 2 2024, 11:20 PM.
Tags
Referenced Files
F156656501: D43283.id.diff
Fri, May 15, 11:11 AM
Unknown Object (File)
Fri, May 15, 3:48 AM
Unknown Object (File)
Tue, May 12, 12:02 PM
Unknown Object (File)
Tue, May 12, 2:43 AM
Unknown Object (File)
Sun, May 10, 11:57 AM
Unknown Object (File)
Fri, May 8, 11:39 AM
Unknown Object (File)
Thu, May 7, 12:19 AM
Unknown Object (File)
Wed, May 6, 3:07 AM
Subscribers
None

Details

Summary

This is more or less the same as Ian Lepore did in commit ef558a107824372e4bb70ef57cff4406a8f7fedd for am335x_ehrpwm.c ofcourse the ecap/apwm is alot more simple than in the case of ehrpwm.

Added pwmbus_channel_set/get_flags to implement inverted polarity.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sys/arm/ti/am335x/am335x_ecap.c
45

am335x_pwm.h will be removed but its included in alot of files so dont do that in this review for the moment.