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

imx8mp-pinctrl handles drive-strength and slew-rate incorrectly #83333

Open
voltamund opened this issue Dec 23, 2024 · 0 comments
Open

imx8mp-pinctrl handles drive-strength and slew-rate incorrectly #83333

voltamund opened this issue Dec 23, 2024 · 0 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: NXP Drivers NXP Semiconductors, drivers

Comments

@voltamund
Copy link

Describe the bug

Target platform: MIMX8MM6 Cortex M4
I think with the changes in #75083 drive-strength and slew-rate are not correctly handled anymore.

drive-strength = "x6" should result in 11x but it actually results in 011. Something similar also happens for slew-rate. Before this change the enum values were also incorrect (not according to the nxp reference manual) but somehow resulted in the correct register values, i.e. 40-ohm resulted in 11x.

Expected behavior

Device tree values for drive-strength and slew-rate result in correct register values.

Environment (please complete the following information):

  • OS: Linux
  • Toolchain: zephyr-sdk-0.16.8
  • Zephyr Version 3.7.0
@voltamund voltamund added the bug The issue is a bug, or the PR is fixing a bug label Dec 23, 2024
@nordicjm nordicjm added the platform: NXP Drivers NXP Semiconductors, drivers label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: NXP Drivers NXP Semiconductors, drivers
Projects
None yet
Development

No branches or pull requests

6 participants