diff options
author | Yuqing Zhu <carol.zhu@nxp.com> | 2016-05-09 16:53:00 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-05-16 17:06:51 -0300 |
commit | 1d625c03f00f2ea59e1dc5e178ad9cf510e5d75f (patch) | |
tree | 19cb191b9d60010c915678e2253838064373f0c4 | |
parent | edac813f7bad367f3c763d9077333dadd98e13fc (diff) | |
download | meta-freescale-1d625c03f00f2ea59e1dc5e178ad9cf510e5d75f.tar.gz |
asound.state: Update to 4.1.15-1.1.0
--Update wm8960audio configuration for mx6ul/mx7
1."Capture Switch" has been enabled, and 'Capture Volume' will make sense.
The current 'Capture Volume' value is the max value 63. So need to modify
the capture volume.
2.Add ADC data output select.
3.Remove amixer control 'Headset Jack' as mx7d-sdb doesn't have it.
--Adding sii902xaudio configuration for mx7
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rwxr-xr-x | recipes-bsp/alsa-state/alsa-state/imx/asound.state | 106 |
1 files changed, 62 insertions, 44 deletions
diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.state b/recipes-bsp/alsa-state/alsa-state/imx/asound.state index 326a57b9..4984a56c 100755 --- a/recipes-bsp/alsa-state/alsa-state/imx/asound.state +++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.state | |||
@@ -1457,8 +1457,8 @@ state.wm8960audio { | |||
1457 | control.1 { | 1457 | control.1 { |
1458 | iface MIXER | 1458 | iface MIXER |
1459 | name 'Capture Volume' | 1459 | name 'Capture Volume' |
1460 | value.0 63 | 1460 | value.0 35 |
1461 | value.1 63 | 1461 | value.1 35 |
1462 | comment { | 1462 | comment { |
1463 | access 'read write' | 1463 | access 'read write' |
1464 | type INTEGER | 1464 | type INTEGER |
@@ -1466,8 +1466,8 @@ state.wm8960audio { | |||
1466 | range '0 - 63' | 1466 | range '0 - 63' |
1467 | dbmin -1725 | 1467 | dbmin -1725 |
1468 | dbmax 3000 | 1468 | dbmax 3000 |
1469 | dbvalue.0 3000 | 1469 | dbvalue.0 900 |
1470 | dbvalue.1 3000 | 1470 | dbvalue.1 900 |
1471 | } | 1471 | } |
1472 | } | 1472 | } |
1473 | control.2 { | 1473 | control.2 { |
@@ -1496,7 +1496,7 @@ state.wm8960audio { | |||
1496 | control.4 { | 1496 | control.4 { |
1497 | iface MIXER | 1497 | iface MIXER |
1498 | name 'Right Input Boost Mixer RINPUT3 Volume' | 1498 | name 'Right Input Boost Mixer RINPUT3 Volume' |
1499 | value 7 | 1499 | value 0 |
1500 | comment { | 1500 | comment { |
1501 | access 'read write' | 1501 | access 'read write' |
1502 | type INTEGER | 1502 | type INTEGER |
@@ -1504,13 +1504,13 @@ state.wm8960audio { | |||
1504 | range '0 - 7' | 1504 | range '0 - 7' |
1505 | dbmin -9999999 | 1505 | dbmin -9999999 |
1506 | dbmax 600 | 1506 | dbmax 600 |
1507 | dbvalue.0 600 | 1507 | dbvalue.0 -9999999 |
1508 | } | 1508 | } |
1509 | } | 1509 | } |
1510 | control.5 { | 1510 | control.5 { |
1511 | iface MIXER | 1511 | iface MIXER |
1512 | name 'Right Input Boost Mixer RINPUT2 Volume' | 1512 | name 'Right Input Boost Mixer RINPUT2 Volume' |
1513 | value 7 | 1513 | value 0 |
1514 | comment { | 1514 | comment { |
1515 | access 'read write' | 1515 | access 'read write' |
1516 | type INTEGER | 1516 | type INTEGER |
@@ -1518,13 +1518,13 @@ state.wm8960audio { | |||
1518 | range '0 - 7' | 1518 | range '0 - 7' |
1519 | dbmin -9999999 | 1519 | dbmin -9999999 |
1520 | dbmax 600 | 1520 | dbmax 600 |
1521 | dbvalue.0 600 | 1521 | dbvalue.0 -9999999 |
1522 | } | 1522 | } |
1523 | } | 1523 | } |
1524 | control.6 { | 1524 | control.6 { |
1525 | iface MIXER | 1525 | iface MIXER |
1526 | name 'Left Input Boost Mixer LINPUT3 Volume' | 1526 | name 'Left Input Boost Mixer LINPUT3 Volume' |
1527 | value 7 | 1527 | value 0 |
1528 | comment { | 1528 | comment { |
1529 | access 'read write' | 1529 | access 'read write' |
1530 | type INTEGER | 1530 | type INTEGER |
@@ -1532,13 +1532,13 @@ state.wm8960audio { | |||
1532 | range '0 - 7' | 1532 | range '0 - 7' |
1533 | dbmin -9999999 | 1533 | dbmin -9999999 |
1534 | dbmax 600 | 1534 | dbmax 600 |
1535 | dbvalue.0 600 | 1535 | dbvalue.0 -9999999 |
1536 | } | 1536 | } |
1537 | } | 1537 | } |
1538 | control.7 { | 1538 | control.7 { |
1539 | iface MIXER | 1539 | iface MIXER |
1540 | name 'Left Input Boost Mixer LINPUT2 Volume' | 1540 | name 'Left Input Boost Mixer LINPUT2 Volume' |
1541 | value 7 | 1541 | value 0 |
1542 | comment { | 1542 | comment { |
1543 | access 'read write' | 1543 | access 'read write' |
1544 | type INTEGER | 1544 | type INTEGER |
@@ -1546,35 +1546,35 @@ state.wm8960audio { | |||
1546 | range '0 - 7' | 1546 | range '0 - 7' |
1547 | dbmin -9999999 | 1547 | dbmin -9999999 |
1548 | dbmax 600 | 1548 | dbmax 600 |
1549 | dbvalue.0 600 | 1549 | dbvalue.0 -9999999 |
1550 | } | 1550 | } |
1551 | } | 1551 | } |
1552 | control.8 { | 1552 | control.8 { |
1553 | iface MIXER | 1553 | iface MIXER |
1554 | name 'Right Input Boost Mixer RINPUT1 Volume' | 1554 | name 'Right Input Boost Mixer RINPUT1 Volume' |
1555 | value 2 | 1555 | value 0 |
1556 | comment { | 1556 | comment { |
1557 | access 'read write' | 1557 | access 'read write' |
1558 | type INTEGER | 1558 | type INTEGER |
1559 | count 1 | 1559 | count 1 |
1560 | range '0 - 4' | 1560 | range '0 - 3' |
1561 | dbmin 0 | 1561 | dbmin 0 |
1562 | dbmax 2900 | 1562 | dbmax 2900 |
1563 | dbvalue.0 2000 | 1563 | dbvalue.0 0 |
1564 | } | 1564 | } |
1565 | } | 1565 | } |
1566 | control.9 { | 1566 | control.9 { |
1567 | iface MIXER | 1567 | iface MIXER |
1568 | name 'Left Input Boost Mixer LINPUT1 Volume' | 1568 | name 'Left Input Boost Mixer LINPUT1 Volume' |
1569 | value 2 | 1569 | value 0 |
1570 | comment { | 1570 | comment { |
1571 | access 'read write' | 1571 | access 'read write' |
1572 | type INTEGER | 1572 | type INTEGER |
1573 | count 1 | 1573 | count 1 |
1574 | range '0 - 4' | 1574 | range '0 - 3' |
1575 | dbmin 0 | 1575 | dbmin 0 |
1576 | dbmax 2900 | 1576 | dbmax 2900 |
1577 | dbvalue.0 2000 | 1577 | dbvalue.0 0 |
1578 | } | 1578 | } |
1579 | } | 1579 | } |
1580 | control.10 { | 1580 | control.10 { |
@@ -1888,8 +1888,8 @@ state.wm8960audio { | |||
1888 | control.36 { | 1888 | control.36 { |
1889 | iface MIXER | 1889 | iface MIXER |
1890 | name 'ADC PCM Capture Volume' | 1890 | name 'ADC PCM Capture Volume' |
1891 | value.0 235 | 1891 | value.0 195 |
1892 | value.1 235 | 1892 | value.1 195 |
1893 | comment { | 1893 | comment { |
1894 | access 'read write' | 1894 | access 'read write' |
1895 | type INTEGER | 1895 | type INTEGER |
@@ -1897,8 +1897,8 @@ state.wm8960audio { | |||
1897 | range '0 - 255' | 1897 | range '0 - 255' |
1898 | dbmin -9999999 | 1898 | dbmin -9999999 |
1899 | dbmax 3000 | 1899 | dbmax 3000 |
1900 | dbvalue.0 2000 | 1900 | dbvalue.0 0 |
1901 | dbvalue.1 2000 | 1901 | dbvalue.1 0 |
1902 | } | 1902 | } |
1903 | } | 1903 | } |
1904 | control.37 { | 1904 | control.37 { |
@@ -1959,6 +1959,20 @@ state.wm8960audio { | |||
1959 | } | 1959 | } |
1960 | control.41 { | 1960 | control.41 { |
1961 | iface MIXER | 1961 | iface MIXER |
1962 | name 'ADC Data Output Select' | ||
1963 | value 'Left Data = Left ADC; Right Data = Left ADC' | ||
1964 | comment { | ||
1965 | access 'read write' | ||
1966 | type ENUMERATED | ||
1967 | count 1 | ||
1968 | item.0 'Left Data = Left ADC; Right Data = Right ADC' | ||
1969 | item.1 'Left Data = Left ADC; Right Data = Left ADC' | ||
1970 | item.2 'Left Data = Right ADC; Right Data = Right ADC' | ||
1971 | item.3 'Left Data = Right ADC; Right Data = Left ADC' | ||
1972 | } | ||
1973 | } | ||
1974 | control.42 { | ||
1975 | iface MIXER | ||
1962 | name 'Mono Output Mixer Left Switch' | 1976 | name 'Mono Output Mixer Left Switch' |
1963 | value false | 1977 | value false |
1964 | comment { | 1978 | comment { |
@@ -1967,7 +1981,7 @@ state.wm8960audio { | |||
1967 | count 1 | 1981 | count 1 |
1968 | } | 1982 | } |
1969 | } | 1983 | } |
1970 | control.42 { | 1984 | control.43 { |
1971 | iface MIXER | 1985 | iface MIXER |
1972 | name 'Mono Output Mixer Right Switch' | 1986 | name 'Mono Output Mixer Right Switch' |
1973 | value false | 1987 | value false |
@@ -1977,7 +1991,7 @@ state.wm8960audio { | |||
1977 | count 1 | 1991 | count 1 |
1978 | } | 1992 | } |
1979 | } | 1993 | } |
1980 | control.43 { | 1994 | control.44 { |
1981 | iface MIXER | 1995 | iface MIXER |
1982 | name 'Right Output Mixer PCM Playback Switch' | 1996 | name 'Right Output Mixer PCM Playback Switch' |
1983 | value true | 1997 | value true |
@@ -1987,7 +2001,7 @@ state.wm8960audio { | |||
1987 | count 1 | 2001 | count 1 |
1988 | } | 2002 | } |
1989 | } | 2003 | } |
1990 | control.44 { | 2004 | control.45 { |
1991 | iface MIXER | 2005 | iface MIXER |
1992 | name 'Right Output Mixer RINPUT3 Switch' | 2006 | name 'Right Output Mixer RINPUT3 Switch' |
1993 | value false | 2007 | value false |
@@ -1997,7 +2011,7 @@ state.wm8960audio { | |||
1997 | count 1 | 2011 | count 1 |
1998 | } | 2012 | } |
1999 | } | 2013 | } |
2000 | control.45 { | 2014 | control.46 { |
2001 | iface MIXER | 2015 | iface MIXER |
2002 | name 'Right Output Mixer Boost Bypass Switch' | 2016 | name 'Right Output Mixer Boost Bypass Switch' |
2003 | value false | 2017 | value false |
@@ -2007,7 +2021,7 @@ state.wm8960audio { | |||
2007 | count 1 | 2021 | count 1 |
2008 | } | 2022 | } |
2009 | } | 2023 | } |
2010 | control.46 { | 2024 | control.47 { |
2011 | iface MIXER | 2025 | iface MIXER |
2012 | name 'Left Output Mixer PCM Playback Switch' | 2026 | name 'Left Output Mixer PCM Playback Switch' |
2013 | value true | 2027 | value true |
@@ -2017,7 +2031,7 @@ state.wm8960audio { | |||
2017 | count 1 | 2031 | count 1 |
2018 | } | 2032 | } |
2019 | } | 2033 | } |
2020 | control.47 { | 2034 | control.48 { |
2021 | iface MIXER | 2035 | iface MIXER |
2022 | name 'Left Output Mixer LINPUT3 Switch' | 2036 | name 'Left Output Mixer LINPUT3 Switch' |
2023 | value false | 2037 | value false |
@@ -2027,7 +2041,7 @@ state.wm8960audio { | |||
2027 | count 1 | 2041 | count 1 |
2028 | } | 2042 | } |
2029 | } | 2043 | } |
2030 | control.48 { | 2044 | control.49 { |
2031 | iface MIXER | 2045 | iface MIXER |
2032 | name 'Left Output Mixer Boost Bypass Switch' | 2046 | name 'Left Output Mixer Boost Bypass Switch' |
2033 | value false | 2047 | value false |
@@ -2037,17 +2051,17 @@ state.wm8960audio { | |||
2037 | count 1 | 2051 | count 1 |
2038 | } | 2052 | } |
2039 | } | 2053 | } |
2040 | control.49 { | 2054 | control.50 { |
2041 | iface MIXER | 2055 | iface MIXER |
2042 | name 'Right Input Mixer Boost Switch' | 2056 | name 'Right Input Mixer Boost Switch' |
2043 | value true | 2057 | value false |
2044 | comment { | 2058 | comment { |
2045 | access 'read write' | 2059 | access 'read write' |
2046 | type BOOLEAN | 2060 | type BOOLEAN |
2047 | count 1 | 2061 | count 1 |
2048 | } | 2062 | } |
2049 | } | 2063 | } |
2050 | control.50 { | 2064 | control.51 { |
2051 | iface MIXER | 2065 | iface MIXER |
2052 | name 'Left Input Mixer Boost Switch' | 2066 | name 'Left Input Mixer Boost Switch' |
2053 | value true | 2067 | value true |
@@ -2057,17 +2071,17 @@ state.wm8960audio { | |||
2057 | count 1 | 2071 | count 1 |
2058 | } | 2072 | } |
2059 | } | 2073 | } |
2060 | control.51 { | 2074 | control.52 { |
2061 | iface MIXER | 2075 | iface MIXER |
2062 | name 'Right Boost Mixer RINPUT2 Switch' | 2076 | name 'Right Boost Mixer RINPUT2 Switch' |
2063 | value true | 2077 | value false |
2064 | comment { | 2078 | comment { |
2065 | access 'read write' | 2079 | access 'read write' |
2066 | type BOOLEAN | 2080 | type BOOLEAN |
2067 | count 1 | 2081 | count 1 |
2068 | } | 2082 | } |
2069 | } | 2083 | } |
2070 | control.52 { | 2084 | control.53 { |
2071 | iface MIXER | 2085 | iface MIXER |
2072 | name 'Right Boost Mixer RINPUT3 Switch' | 2086 | name 'Right Boost Mixer RINPUT3 Switch' |
2073 | value false | 2087 | value false |
@@ -2077,37 +2091,37 @@ state.wm8960audio { | |||
2077 | count 1 | 2091 | count 1 |
2078 | } | 2092 | } |
2079 | } | 2093 | } |
2080 | control.53 { | 2094 | control.54 { |
2081 | iface MIXER | 2095 | iface MIXER |
2082 | name 'Right Boost Mixer RINPUT1 Switch' | 2096 | name 'Right Boost Mixer RINPUT1 Switch' |
2083 | value true | 2097 | value false |
2084 | comment { | 2098 | comment { |
2085 | access 'read write' | 2099 | access 'read write' |
2086 | type BOOLEAN | 2100 | type BOOLEAN |
2087 | count 1 | 2101 | count 1 |
2088 | } | 2102 | } |
2089 | } | 2103 | } |
2090 | control.54 { | 2104 | control.55 { |
2091 | iface MIXER | 2105 | iface MIXER |
2092 | name 'Left Boost Mixer LINPUT2 Switch' | 2106 | name 'Left Boost Mixer LINPUT2 Switch' |
2093 | value true | 2107 | value false |
2094 | comment { | 2108 | comment { |
2095 | access 'read write' | 2109 | access 'read write' |
2096 | type BOOLEAN | 2110 | type BOOLEAN |
2097 | count 1 | 2111 | count 1 |
2098 | } | 2112 | } |
2099 | } | 2113 | } |
2100 | control.55 { | 2114 | control.56 { |
2101 | iface MIXER | 2115 | iface MIXER |
2102 | name 'Left Boost Mixer LINPUT3 Switch' | 2116 | name 'Left Boost Mixer LINPUT3 Switch' |
2103 | value true | 2117 | value false |
2104 | comment { | 2118 | comment { |
2105 | access 'read write' | 2119 | access 'read write' |
2106 | type BOOLEAN | 2120 | type BOOLEAN |
2107 | count 1 | 2121 | count 1 |
2108 | } | 2122 | } |
2109 | } | 2123 | } |
2110 | control.56 { | 2124 | control.57 { |
2111 | iface MIXER | 2125 | iface MIXER |
2112 | name 'Left Boost Mixer LINPUT1 Switch' | 2126 | name 'Left Boost Mixer LINPUT1 Switch' |
2113 | value true | 2127 | value true |
@@ -2117,9 +2131,9 @@ state.wm8960audio { | |||
2117 | count 1 | 2131 | count 1 |
2118 | } | 2132 | } |
2119 | } | 2133 | } |
2120 | control.57 { | 2134 | control.58 { |
2121 | iface CARD | 2135 | iface CARD |
2122 | name 'Headset Jack' | 2136 | name 'Headphone Jack' |
2123 | value true | 2137 | value true |
2124 | comment { | 2138 | comment { |
2125 | access read | 2139 | access read |
@@ -5526,3 +5540,7 @@ state.imxhdmisoc { | |||
5526 | } | 5540 | } |
5527 | } | 5541 | } |
5528 | } | 5542 | } |
5543 | state.sii902xaudio { | ||
5544 | control { | ||
5545 | } | ||
5546 | } | ||