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

Unable to find detailed documentation on pinmux driver development #34262

Closed
Berte-Yu opened this issue Apr 14, 2021 · 2 comments
Closed

Unable to find detailed documentation on pinmux driver development #34262

Berte-Yu opened this issue Apr 14, 2021 · 2 comments
Assignees

Comments

@Berte-Yu
Copy link

I‘m porting zephyr to a new soc(cortex-m3),

When developing the pinmux driver, the detailed documentation cannot be found..

@mnkp
Copy link
Member

mnkp commented Apr 29, 2021

The existing pinmux driver is going to be deprecated. I think the best option for now when adding a new SoC to Zephyr is to keep pinmux driver private to the soc. I.e. place it in soc/<arch>/<family>/ and do not provide the public pinmux driver. You can take Atmel SAM family as an example. The pinmux driver is located in soc/arm/atmel_sam/common/soc_gpio.c. It's used by all Atmel SAM drivers but there is no Atmel SAM pinmux driver in drirvers/pinmux/.

@Berte-Yu
Copy link
Author

Berte-Yu commented May 6, 2021

Thanks, I have ported the pinmax driver。

@Berte-Yu Berte-Yu closed this as completed May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants