-
Notifications
You must be signed in to change notification settings - Fork 157
linux-qcom-next: enable I2C_QCOM_GENI as built-in #1294
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: master
Are you sure you want to change the base?
Conversation
On Lemans and Monaco EVK platforms the boot-from-SD-card feature requires an IO expander to be enabled at an early stage to detect the SD card. This IO expander is connected over I2C. Currently the I2C driver is built as a loadable module which resides on the SD card along with other modules. This creates a circular dependency where to detect the SD card the IO expander must be initialized the IO expander depends on the I2C driver and the I2C driver is on the SD card which cannot be accessed until detection succeeds. To break this dependency enable I2C_QCOM_GENI as built-in so that the driver is available during early boot. Signed-off-by: Viken Dadhaniya <[email protected]>
lumag
left a comment
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.
Why do we need to support boot-from-SD?
Test run workflowTest jobs for commit 61158a3
|
|
It is a product requirement. |
Test run workflowTest jobs for commit 61158a3
|
Test run workflowTest jobs for commit 61158a3
|
|
@vdadhani Having an SD card slot is a board-level design decision, not a distribution choice. The purpose of qcom.cfg is to manage kernel configurations required by the distribution. In my opinion, the right place for this configuration would be: Could you check if this configuration can be accepted there? |
On Lemans and Monaco EVK platforms the boot-from-SD-card feature requires an IO expander to be enabled at an early stage to detect the SD card. This IO expander is connected over I2C.
Currently the I2C driver is built as a loadable module which resides on the SD card along with other modules. This creates a circular dependency where to detect the SD card the IO expander must be initialized the IO expander depends on the I2C driver and the I2C driver is on the SD card which cannot be accessed until detection succeeds.
To break this dependency enable I2C_QCOM_GENI as built-in so that the driver is available during early boot.