-
Notifications
You must be signed in to change notification settings - Fork 8.2k
soc: xlnx: zynq7000: add I2C Controllers #98503
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?
Conversation
|
forgot to enable the CONFIG_I2C_CADENCE_BROKEN_HOLD_BIT first |
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.
Thanks, please find some minor comments regarding the change
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.
In this file there's a lot of formatting-only changes. Could you please either include them as a separate commit or not include them? This would ensure clarity of the commit history and blame. Thanks
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.
Same for the other file
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 would highly prefer that instead of adding static MMU mappings, you switched the driver over to using the DEVICE_MMIO facilities, so that the driver maps itself in the MMU at init-time (also using a virtual address that's not identity mapped).
You can take this PR as a reference on how DEVICE_MMIO integration works:
#78255
The GEMs are going to need a static mapping in the foreseeable future because of having more than one register space definition, but other than that, several devices that used to define static mappings have already been removed in the past in favor of having them map themselves using DEVICE_MMIO.
Add device tree nodes for the Cadence I2C controllers. Signed-off-by: Simon Maurer <[email protected]>
|
This PR depends on #98599 |
|



Add device tree nodes for the Cadence I2C controllers and corresponding MMU entries.