Bug 1146026 - Coral board is lacking PMIC regulators
Coral board is lacking PMIC regulators
Status: IN_PROGRESS
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel
Current
aarch64 openSUSE Factory
: P5 - None : Normal (vote)
: ---
Assigned To: Andreas Färber
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-08-18 22:07 UTC by Andreas Färber
Modified: 2022-12-23 11:32 UTC (History)
5 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Färber 2019-08-18 22:07:00 UTC
The Google Coral arm64 board uses a Rohm BD71837 PMIC.

While writing a mainline-compatible Device Tree relying on the PMIC's regulators, I have noticed that the underlying i2c bus is missing. This is caused by lack of CONFIG_I2C_IMX.

With the i2c-imx driver module in place, the rohm-bd718x7 mfd driver gets loaded but not its mfd cell drivers bd718x7_regulator and clk-bd718x7. The mfd driver appears to reference them by name, not by DT compatible string.

Workaround: /etc/dracut.conf.d/coral_modules.conf:

add_drivers+=" fixed bd718x7-regulator clk-bd718x7 rohm-bd718x7 i2c-imx "
force_drivers+=" bd718x7-regulator clk-bd718x7 "
Comment 1 Andreas Färber 2019-08-18 22:15:24 UTC
Config patch to enable I2C_IMX tested and queued for master branch.