-
Notifications
You must be signed in to change notification settings - Fork 7.6k
include: dt-bindings: fix and extend the ch32v00x pinctrl definitions #90814
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
Conversation
I'll wait on #90243 which has a similar update for SPI. |
I noticed a few issues with the PR - there were duplicate blocks due to the CH32V007 vs all other CH32V00x, and bugs in the I2C and SPI references. I'll patch in #90690 and manually run Twister. |
|
#define I2C1_SDA_PC1_0 CH32V00X_PINMUX_DEFINE(PC, 1, I2C1, 0) | ||
#define I2C1_SDA_PD0_1 CH32V00X_PINMUX_DEFINE(PD, 0, I2C1, 1) | ||
#define I2C1_SDA_PC6_2 CH32V00X_PINMUX_DEFINE(PC, 6, I2C1, 2) | ||
/* CH32V007 specific remap */ | ||
#define I2C1_SDA_PC4_2 CH32V00X_PINMUX_DEFINE(PC, 4, I2C, 2) |
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.
#define I2C1_SDA_PC4_2 CH32V00X_PINMUX_DEFINE(PC, 4, I2C, 2) | |
#define I2C1_SDA_PC4_2 CH32V00X_PINMUX_DEFINE(PC, 4, I2C1, 2) |
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.
Good catch, done.
342e22f
to
cbef71c
Compare
These were wrong and incomplete. Rebuild based on section 7.2.11 of the CH32V00XRM and added the CH32V007-only remaps. Signed-off-by: Michael Hope <[email protected]>
|
These were wrong and incomplete. Rebuild based on section 7.2.11 of the CH32V00XRM.