Skip to content

drivers: pwm: sam: update to support Microchip sama7g5 #93296

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

TonyHan11
Copy link
Contributor

The following changes are addressed in this PR:

  • update the pwm driver for supporting Microchip sama7g5
  • enable samples/basic/blinky_pwm for sama7g54_ek board

When the PWM is activated in the DT, configure it's register region
with strong ordered, read and write access.

Signed-off-by: Tony Han <[email protected]>
Copy link

Redefine some macros due to different naming scheme in the header file.
Get the clock rate from the device tree when 'SOC_ATMEL_SAM_MCK_FREQ_HZ'
is not defined.

Signed-off-by: Tony Han <[email protected]>
Add the PWM node to sama7g5.dtsi file.
Add PWM and pwmled nodes to sama7g54_ek.dts file.

Signed-off-by: Tony Han <[email protected]>
The sama7g54-ek has the LEDs those can be driven by GPIO or PWM.

Signed-off-by: Tony Han <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: PWM Pulse Width Modulation area: Samples Samples platform: Microchip MEC Microchip MEC Platform platform: Microchip SAM Microchip SAM Platform (formerly Atmel SAM)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants