-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Add Microchip XEC BBLED PWM driver #52807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Microchip XEC BBLED PWM driver #52807
Conversation
d986cca to
40e5efa
Compare
|
@albertofloyd can you help to review |
|
@galak can you help to review? |
henrikbrixandersen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The driver and bindings look good, but perhaps a dedicated sample for a simple PWM LED driver is too much?
The dedicated sample is part of samples/boards/mec172xevb_assy6906 |
|
@henrikbrixandersen can you help to approve? |
henrikbrixandersen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The driver and bindings look good, but perhaps a dedicated sample for a simple PWM LED driver is too much?
The dedicated sample is part of samples/boards/mec172xevb_assy6906
I can see that. I still see no value added by a board specific PWM LED sample. We have a couple of PWM LED samples under samples/basic/ already. Any reason why this particular PWM LED cannot work with those samples?
okay, will remove the board specific PWM LED sample. |
40e5efa to
155ba14
Compare
155ba14 to
70b9b13
Compare
The Microchip XEC (MEC172x and MEC152x) have a breathing-blinking LED (BBLED) block which implements a simple PWM mode. The BBLED PWM frequencies are 32KHz and 48MHz selectable in device tree. Frequency divider is 12-bit resolution from 256 to (256 * 4096). Signed-off-by: Jay Vasanth <[email protected]>
|
@henrikbrixandersen can you help to approve? |
|
@albertofloyd can you help to re-approve? |
The Microchip XEC (MEC172x and MEC152x) have a breathing-blinking LED (BBLED) block which implements a simple PWM mode. This PR adds pwm_mchp_xec_bbled driver to operate the bbled as pwms.