Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74258177 authored by Meng Wang's avatar Meng Wang Committed by Gerrit - the friendly Code Review server
Browse files

hal: configs: add handset and speaker for HDK670

HDK670 has different design with MTP670. Add different handset
and speaker device for it.

Change-Id: I5d4e872dde87392e133d4db7ce5878dcb15748eb
parent 6225a270
Loading
Loading
Loading
Loading
+30 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.    -->
<!-- Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.    -->
<!--                                                                        -->
<!-- Redistribution and use in source and binary forms, with or without     -->
<!-- modification, are permitted provided that the following conditions are -->
@@ -1888,6 +1888,10 @@
        <path name="speaker-mono-2" />
    </path>

    <path name="speaker-hdk">
        <path name="speaker-mono" />
    </path>

    <path name="speaker-fluid">
        <path name="speaker-mono" />
    </path>
@@ -1979,6 +1983,14 @@
        <ctl name="EAR SPKR PA Gain" value="G_6_DB" />
    </path>

    <path name="handset-hdk">
        <ctl name="SLIM RX0 MUX" value="AIF1_PB" />
        <ctl name="CDC_IF RX0 MUX" value="SLIM RX0" />
        <ctl name="SLIM_0_RX Channels" value="One" />
        <ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
        <ctl name="EAR PA Gain" value="G_6_DB" />
    </path>

    <path name="handset-mic">
        <path name="dmic3" />
    </path>
@@ -2094,10 +2106,22 @@
        <path name="handset" />
    </path>

    <path name="voice-handset-hdk">
        <path name="handset-hdk" />
    </path>

    <path name="voice-handset-tmus-hdk">
        <path name="handset-hdk" />
    </path>

    <path name="voice-speaker">
        <path name="speaker-mono" />
    </path>

    <path name="voice-speaker-hdk">
        <path name="speaker-mono" />
    </path>

    <path name="voice-speaker-2">
        <path name="speaker-mono-2" />
    </path>
@@ -2437,6 +2461,11 @@
        <path name="handset" />
    </path>

    <path name="voice-tty-hco-handset-hdk">
        <ctl name="TTY Mode" value="HCO" />
        <path name="handset-hdk" />
    </path>

    <path name="voice-tty-full-headset-mic">
        <path name="amic2" />
        <ctl name="ADC2 Volume" value="0" />