-
Notifications
You must be signed in to change notification settings - Fork 8k
Series 2 i2c driver enhancements #96816
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
base: main
Are you sure you want to change the base?
Series 2 i2c driver enhancements #96816
Conversation
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
aae5758
to
9dffddd
Compare
9dffddd
to
2a2c685
Compare
2a2c685
to
b8c8b0c
Compare
This commit updates the hal_silabs revision Signed-off-by: S Mohamed Fiaz <[email protected]>
b8c8b0c
to
1823222
Compare
drivers/i2c/i2c_silabs.c
Outdated
static const struct i2c_silabs_dev_config i2c_silabs_dev_config_##idx = { \ | ||
.pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(idx), \ | ||
.base = (I2C_TypeDef *)DT_INST_REG_ADDR(idx), \ | ||
.peripheral = SL_PERIPHERAL_I2C##idx, \ |
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.
This doesn't work, the devicetree index doesn't need to match the peripheral instance number. You need to construct a sl_peripheral_t
from the reg
and clocks
data from devicetree. We cannot use the predefined ones from SiSDK in Zephyr.
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.
I've addressed the comment
1823222
to
584964c
Compare
Updated the I2C driver for EFR Series 2 devices based on the design improvements in the GSDK I2C implementation Signed-off-by: S Mohamed Fiaz <[email protected]>
584964c
to
d4d90fb
Compare
|
Updated the I2C driver for EFR Series 2 devices based on the design improvements in the GSDK I2C implementation