From: Macpaul Lin <macpaul....@mediatek.com>

redhat/configs: enable MediaTek regulators on aarch64

These regulators support boot related peripherals, include
MMC, USB, XHCI, PCIE and etc. Without these regulators the
system cannot boot properly.
 - 'CONFIG_REGULATOR_MT6357=m'
 - 'CONFIG_REGULATOR_MT6358=y'
 - 'CONFIG_REGULATOR_MT6359=m'
 - 'CONFIG_REGULATOR_MT6360=m'
 - 'CONFIG_REGULATOR_MT6397=m'

The regulator-mt6358 module does not get automatically probed during
boot and it depends on the mt6397 driver, so set CONFIG_MFD_MT6397
as built-in is required.

[1] 
https://lore.kernel.org/linux-mediatek/20210112100659.19350-1-matthias....@kernel.org/T/#u
[2] 
https://lore.kernel.org/linux-mediatek/z2mjbx4rqsiic...@finisterre.sirena.org.uk/
[3] 
https://salsa.debian.org/kernel-team/linux/-/commit/c1c98dcf074e65b1a107f159b645341231e3bf93

Signed-off-by: Macpaul Lin <macpaul....@mediatek.com>

diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6357 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6357
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6357
@@ -0,0 +1 @@
+CONFIG_REGULATOR_MT6357=m
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6358 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6358
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6358
@@ -0,0 +1 @@
+CONFIG_REGULATOR_MT6358=y
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6359 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6359
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6359
@@ -0,0 +1 @@
+CONFIG_REGULATOR_MT6359=m
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6360 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6360
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6360
@@ -0,0 +1 @@
+CONFIG_REGULATOR_MT6360=m
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6397 
b/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6397
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_REGULATOR_MT6397
@@ -0,0 +1 @@
+CONFIG_REGULATOR_MT6397=m

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3975

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to