Bugzilla – Bug 1218133
enable regulator modules (REGULATOR_MT6323, REGULATOR_MT6380, MFD_MT6397)
Last modified: 2024-05-15 12:03:18 UTC
There are quite a number of regulator modules not being built. Some of these at least depend on the multifunction device drivers. I am looking to get tumbleweed up and running on the BananaPi-R3, and perhaps the new BananaPi-R4 in the future. This needs REGULATOR_MT6323 enabled, at least as a module, and it depend on MFD_MT6397. There seems to be an awful lot of regulators not being build, mainly because the multi function devices have not been selected. As many of these can be built as modules, can these all be enables? As in all the PMICs?
And also REGULATOR_MT6380. I think it would be better to enable them all if they can be build as modules.
It'd be appreciated if you can list up the all missing entries to be set, e.g. give a diff of kconfig.
I'm not completely correct in what may be required. Seems like the following need to be built into the kernel and not as modules. I'm still dissecting. Trying to find the correct order the modules get loaded without generating a kernel oops is proving difficult. Could be anothee couple of weeks before I get what needs to be build & what the load order is of any modules. CONFIG_AQUANTIA_PHY CONFIG_ARM_MEDIATEK_CPUFREQ CONFIG_BRIDGE CONFIG_COMMON_CLK_MT7981_ETHSYS CONFIG_CPU_FREQ_GOV_USERSPACE CONFIG_I2C_MT65XX CONFIG_ICPLUS_PHY CONFIG_LLC CONFIG_MEDIATEK_GE_PHY CONFIG_MEDIATEK_WATCHDOG CONFIG_MTK_HSDMA CONFIG_MTK_MMSYS CONFIG_MTK_PMIC_WRAP CONFIG_NET_DSA CONFIG_NET_DSA_MT7530 CONFIG_NET_DSA_MT7530_MDIO CONFIG_NET_DSA_MT7530_MMIO CONFIG_NET_DSA_TAG_MTK CONFIG_NET_MEDIATEK_SOC CONFIG_PCIE_MEDIATEK_GEN3 CONFIG_PCS_MTK_LYNXI CONFIG_PHYLINK CONFIG_PHY_MTK_TPHY CONFIG_REALTEK_PHY CONFIG_REGULATOR_FIXED_VOLTAGE CONFIG_REGULATOR_MT6380 CONFIG_RFKILL CONFIG_STP
We really want to avoid built-in unless they have to be, especially if those are device-specific drivers, not the core stuff. e.g. why the network drivers have to be built-in at all...?
Bob Goddard, could you check last question from Takashy?