Add DMIC support to oem-kernel

Bug #1826181 reported by Chih-Hsyuan Ho on 2019-04-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
OEM Priority Project
linux-oem-osp1 (Ubuntu)
Hui Wang

Bug Description

- Need to port Intel's 5.0 kernel branch to (Disco) oem-kernel for DMIC (digital MIC) support in some OEM platforms

To support digital mic which is directly connected to PCH, Intel recommend Dell
and us to use sound:asoc:sof driver. This driver is under upstreaming, so far,
only part of the driver is merged to ASoC's tree.

Dell already have a couple of laptop models which connect the dmic to PCH, and
Dell pushed Intel to prepare a workable sof driver under v5.0 branch, and
pused us to integrate this driver, then the dmic can work on those laptop
models. (Lenovo also have 2 laptops which has this dmic design)

According to Intel's estimation, the whole sof driver can't be upstreamed in a
short of period. So Intel provided a branch which contains some upstreamed
patches and some not-yet patches.

Intel tested the provided branch, and looks the testing result is good.
PLease access to get the testing

I also made a simple test after oem-d merged those patches, I didn't find
big issues too.

There are some patches which touched the common code or the code of other
subsystems. Intel said it is safe, and I also looked at those patches, I also
think it is safe. But because there are too many changes, let us put this driver
into the OEM-D kernel, this driver will not merge to generic kernel.

Our OEM project need to enable a couple of laptops which connect the dmic
directly to the PCH, there is no driver for this design in the linux kernel,
so we need to integrate Intel's sof driver.

Intel provided a sof driver tree based on v5.0, it is for oem-d kernel

[Test Case]
Intel tested the audio functions, the testing result is good.

I also made a simple test, speaker, headphone, dmic and headset-mic

[Regression Risk]
Low. So far both Intel side and I have not found any regression introduced by this
patchset, and to lower the risk, we only integrate the driver to oem-d kernel,
and after the image is ready, the oem project will perform the full-range test.

Chih-Hsyuan Ho (chih) on 2019-04-24
description: updated
Hui Wang ( on 2019-04-24
Changed in linux-oem (Ubuntu):
assignee: nobody → Hui Wang (
importance: Undecided → Critical
Hui Wang ( on 2019-05-01
description: updated
Hui Wang ( on 2019-05-01
description: updated
tags: added: dell originate-from-1821270
tags: added: somerville
Hui Wang ( on 2019-05-02
description: updated
Timo Aaltonen (tjaalton) on 2019-05-02
summary: - To add DMIC support to oem-kernel
+ Add DMIC support to oem-kernel
Timo Aaltonen (tjaalton) wrote :

note; technically, it's 'OEM-OSP1-B', disco doesn't have an oem kernel of it's own ;)

affects: linux-oem (Ubuntu) → linux-oem-osp1 (Ubuntu)
Changed in linux-oem-osp1 (Ubuntu):
status: New → Invalid
Changed in linux-oem-osp1 (Ubuntu Bionic):
status: New → Confirmed
Hui Wang ( wrote :

Got it, thx.

tags: added: hwe oem-priority
Rex Tsai (chihchun) on 2019-05-09
Changed in oem-priority:
importance: Undecided → Critical
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers