Bug ID 1215335
Summary Enable CONFIG_REGULATOR_MT63XX=y by default on aarch64 (arm64) for MediaTek boards
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware aarch64
OS openSUSE Tumbleweed
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-bugs@opensuse.org
Reporter macpaul.lin@mediatek.com
QA Contact qa-bugs@suse.de
CC 95kreaninw95@gmail.com, dmueller@suse.com, johndoe1991239@gmail.com, m4ng4n@gmx.de, mgorman@suse.com, mhocko@suse.com, qa-bugs@suse.de, tiwai@suse.com, vbabka@suse.com
Depends on 1206937
Target Milestone ---
Found By ---
Blocker ---

Reference:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2035591

Enabling CONFIG_REGULATOR_MT63XX=y (built-in) for mt8195-demo (and other
MediaTek boards).
mt8195-demo: Fix regulator kernel setting are missing: causes peripheral probe
failure for linux (include installer)

1. u-boot: [2023-04-26 14:34:28.294] run distro_bootcmd

2. disable silent mode in grub menu [2023-04-26 14:34:42.196] GNU GRUB version
2.06

3. boot to Linux
[2023-04-26 14:35:09.115] [ 0.000000] Linux version 6.2.0-18-generic
(buildd@bos02-arm64-039) (aarch64-linux-gnu-gcc-12 (Ubuntu 12.2.0-17ubuntu1)
12.2.0, GNU ld (GNU Binutils for Ubuntu) 2.40) #18-Ubuntu SMP PREEMPT_DYNAMIC
Sun Mar 19 19:49:50 UTC 2023 (Ubuntu 6.2.0-18.18-generic 6.2.6)
[2023-04-26 14:35:09.115] [ 0.000000] Machine model: MediaTek MT8195 demo board

4. lots of error and driver probing defered. USB, Ethernet, MMC and multimedia
interfaces.
Ex: [2023-04-26 14:35:22.624] [ 13.808645] platform 1c014000.merge0: deferred
probe pending

5. No ethernet and U-disk could be found
[2023-04-26 14:36:15.548] Unable to find a medium containing a live file system
[2023-04-26 14:36:15.548] Attempt interactive netboot from a URL?
[2023-04-26 14:36:15.548] yes no (default yes): no
[2023-04-26 14:36:21.432]
[2023-04-26 14:36:21.432]
[2023-04-26 14:36:21.432] BusyBox v1.35.0 (Ubuntu 1:1.35.0-4ubuntu1) built-in
shell (ash)
[2023-04-26 14:36:21.432] Enter 'help' for a list of built-in commands.
[2023-04-26 14:36:21.432]
[2023-04-26 14:36:21.432] (initramfs) Unable to find a medium containing a live
file system

6. solution for regulator part:
Compare to generic kernel config for arm64
file: arch/arm64/configs/defconfig
The following settings should be enabled "built-in" in generic kernel settings.

CONFIG_REGULATOR_MT6357=y
CONFIG_REGULATOR_MT6358=y
CONFIG_REGULATOR_MT6359=y
CONFIG_REGULATOR_MT6360=y
CONFIG_REGULATOR_MT6397=y

7. effected kernel (5.19~latest)


You are receiving this mail because: