Bug 1216767 - [MediaTek] mt8395-genio-1200-evk: please help to include spmi-mtk-pmif drivers in initrd.img in CD/DVD release image
Summary: [MediaTek] mt8395-genio-1200-evk: please help to include spmi-mtk-pmif driver...
Status: VERIFIED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: aarch64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on: 1215995
Blocks:
  Show dependency treegraph
 
Reported: 2023-11-01 03:17 UTC by Macpaul Lin
Modified: 2023-11-07 08:05 UTC (History)
12 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 Macpaul Lin 2023-11-01 03:17:48 UTC
[Description]
MediaTek's PCIE (pcie-mediatek-gen3) and the phy driver depends on "spmi-mtk-pmif" which is related to power domain. Power domain relate driver "spmi-mtk-pmif" must be enabled in CD/DVD image for supporting PCIE if user want to attach  peripherals during installation, for example, nvme disks.

[Solution]
Enable "spmi-mtk-pmif" and related drivers (should be automatically detected, spmi and regmap-spmi) 

[Kernel version]
6.1~latest

[Verified result]
1. After using 'mkdud' and 'mksusecd' to build customized image with "openSUSE-Tumbleweed-NET-aarch64-Snapshot20231017-Media.iso", both of PCIE interface and the attached MT7921 WIFI combo card can be recognized.
2. This also solved ethernet's power source on mt8395-genio-1200-evk. (Ethernet on mt8395-demo is working and not be affected.)
Comment 1 Macpaul Lin 2023-11-02 08:11:44 UTC
Hi Steffen,

Could you please help to add 'spmi-mtk-pmif' to installation-images just like previous patch?
https://github.com/openSUSE/installation-images/pull/665

It will help to solve more hardware issue include PCIE and some ports of the ethernet/usb  on genio-1200-evk, which are not happened on mt8395-demo boards.

Thanks
Macpaul Lin
Comment 2 Steffen Winterfeldt 2023-11-02 13:07:32 UTC
done:

https://github.com/openSUSE/installation-images/pull/669