Skip to content
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

Suniv (F1C100s) pwm fix #6

Closed
deividAlfa opened this issue Jun 26, 2021 · 1 comment
Closed

Suniv (F1C100s) pwm fix #6

deividAlfa opened this issue Jun 26, 2021 · 1 comment

Comments

@deividAlfa
Copy link
Contributor

Great job and patch collection for the suniv platform!
However PWM doesn't work in uboot because the wrong addresses are used, neither is PWM0 pin configured.

I fixed it, but I don't know how to submit a patch, so I attached the modified files.
Search "//PATCH START" and "//PATCH END" to quickly find the changes. They're only a few lines.
Attached files are:

uboot-2020.07/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
uboot-2020.07/arch/arm/include/asm/arch-sunxi/gpio.h
uboot-2020.07/arch/arm/include/asm/arch-sunxi/pwm.h

suniv.zip

Regards!

@deividAlfa
Copy link
Contributor Author

Submitted patch file. Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant