summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2024-11-04 01:07:57 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-11-19 13:32:27 +0000
commit1498e447e3d89a19cca863d32ef82b188d4e6718 (patch)
tree4f831fafdafcd116c6400679acbe672bd3d108dd
parentbc090d5bf8d094cb474ede25e770b5506ff7b699 (diff)
Enable NanoPC T6 LTS support
NanoPC T6 board is updated revision to NanoPC T6 LTS. This patch add NanoPC T6 LTS board support. Change asound.state Uprev meta-rockchip-extra. Bug-AGL: SPEC-5276 Change-Id: I0d886122b6ad242afa3cc31ed30a2831d8fe42ea Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30507 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rw-r--r--meta-agl-bsp/meta-rockchip/recipes-bsp/alsa-state/alsa-state/asound.state238
1 files changed, 186 insertions, 52 deletions
diff --git a/meta-agl-bsp/meta-rockchip/recipes-bsp/alsa-state/alsa-state/asound.state b/meta-agl-bsp/meta-rockchip/recipes-bsp/alsa-state/alsa-state/asound.state
index c4039455a..8f20169ba 100644
--- a/meta-agl-bsp/meta-rockchip/recipes-bsp/alsa-state/alsa-state/asound.state
+++ b/meta-agl-bsp/meta-rockchip/recipes-bsp/alsa-state/alsa-state/asound.state
@@ -11,6 +11,118 @@ state.realtekrt5616co {
}
control.2 {
iface MIXER
+ name 'Receive PATH3 Source Select'
+ value 'From SDI3'
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 'From SDI0'
+ item.1 'From SDI1'
+ item.2 'From SDI2'
+ item.3 'From SDI3'
+ }
+ }
+ control.3 {
+ iface MIXER
+ name 'Receive PATH2 Source Select'
+ value 'From SDI2'
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 'From SDI0'
+ item.1 'From SDI1'
+ item.2 'From SDI2'
+ item.3 'From SDI3'
+ }
+ }
+ control.4 {
+ iface MIXER
+ name 'Receive PATH1 Source Select'
+ value 'From SDI1'
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 'From SDI0'
+ item.1 'From SDI1'
+ item.2 'From SDI2'
+ item.3 'From SDI3'
+ }
+ }
+ control.5 {
+ iface MIXER
+ name 'Receive PATH0 Source Select'
+ value 'From SDI0'
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 'From SDI0'
+ item.1 'From SDI1'
+ item.2 'From SDI2'
+ item.3 'From SDI3'
+ }
+ }
+ control.6 {
+ iface MIXER
+ name 'Transmit SDO3 Source Select'
+ value 'From PATH3'
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 'From PATH0'
+ item.1 'From PATH1'
+ item.2 'From PATH2'
+ item.3 'From PATH3'
+ }
+ }
+ control.7 {
+ iface MIXER
+ name 'Transmit SDO2 Source Select'
+ value 'From PATH2'
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 'From PATH0'
+ item.1 'From PATH1'
+ item.2 'From PATH2'
+ item.3 'From PATH3'
+ }
+ }
+ control.8 {
+ iface MIXER
+ name 'Transmit SDO1 Source Select'
+ value 'From PATH1'
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 'From PATH0'
+ item.1 'From PATH1'
+ item.2 'From PATH2'
+ item.3 'From PATH3'
+ }
+ }
+ control.9 {
+ iface MIXER
+ name 'Transmit SDO0 Source Select'
+ value 'From PATH0'
+ comment {
+ access 'read write'
+ type ENUMERATED
+ count 1
+ item.0 'From PATH0'
+ item.1 'From PATH1'
+ item.2 'From PATH2'
+ item.3 'From PATH3'
+ }
+ }
+ control.10 {
+ iface MIXER
name 'I2STDM Digital Loopback Mode'
value Disabled
comment {
@@ -23,7 +135,29 @@ state.realtekrt5616co {
item.3 'Mode2 Swap'
}
}
- control.3 {
+ control.11 {
+ iface PCM
+ name 'PCM Read Wait Time MS'
+ value 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 10000 (step 1)'
+ }
+ }
+ control.12 {
+ iface PCM
+ name 'PCM Write Wait Time MS'
+ value 0
+ comment {
+ access 'read write'
+ type INTEGER
+ count 1
+ range '0 - 10000 (step 1)'
+ }
+ }
+ control.13 {
iface MIXER
name 'HP Playback Switch'
value.0 true
@@ -34,7 +168,7 @@ state.realtekrt5616co {
count 2
}
}
- control.4 {
+ control.14 {
iface MIXER
name 'HPVOL Playback Switch'
value.0 false
@@ -45,11 +179,11 @@ state.realtekrt5616co {
count 2
}
}
- control.5 {
+ control.15 {
iface MIXER
name 'HP Playback Volume'
- value.0 0
- value.1 0
+ value.0 31
+ value.1 31
comment {
access 'read write'
type INTEGER
@@ -57,11 +191,11 @@ state.realtekrt5616co {
range '0 - 39'
dbmin -4650
dbmax 1200
- dbvalue.0 -4650
- dbvalue.1 -4650
+ dbvalue.0 0
+ dbvalue.1 0
}
}
- control.6 {
+ control.16 {
iface MIXER
name 'OUT Playback Switch'
value.0 false
@@ -72,7 +206,7 @@ state.realtekrt5616co {
count 2
}
}
- control.7 {
+ control.17 {
iface MIXER
name 'OUT Channel Switch'
value.0 false
@@ -83,7 +217,7 @@ state.realtekrt5616co {
count 2
}
}
- control.8 {
+ control.18 {
iface MIXER
name 'OUT Playback Volume'
value.0 31
@@ -99,7 +233,7 @@ state.realtekrt5616co {
dbvalue.1 0
}
}
- control.9 {
+ control.19 {
iface MIXER
name 'DAC1 Playback Volume'
value.0 175
@@ -115,7 +249,7 @@ state.realtekrt5616co {
dbvalue.1 0
}
}
- control.10 {
+ control.20 {
iface MIXER
name 'IN1 Boost Volume'
value 0
@@ -129,7 +263,7 @@ state.realtekrt5616co {
dbvalue.0 0
}
}
- control.11 {
+ control.21 {
iface MIXER
name 'IN2 Boost Volume'
value 0
@@ -143,7 +277,7 @@ state.realtekrt5616co {
dbvalue.0 0
}
}
- control.12 {
+ control.22 {
iface MIXER
name 'IN Capture Volume'
value.0 23
@@ -159,18 +293,18 @@ state.realtekrt5616co {
dbvalue.1 0
}
}
- control.13 {
+ control.23 {
iface MIXER
name 'ADC Capture Switch'
- value.0 false
- value.1 false
+ value.0 true
+ value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
- control.14 {
+ control.24 {
iface MIXER
name 'ADC Capture Volume'
value.0 47
@@ -186,7 +320,7 @@ state.realtekrt5616co {
dbvalue.1 0
}
}
- control.15 {
+ control.25 {
iface MIXER
name 'ADC Boost Volume'
value.0 0
@@ -202,7 +336,7 @@ state.realtekrt5616co {
dbvalue.1 0
}
}
- control.16 {
+ control.26 {
iface MIXER
name 'RECMIXL INL1 Switch'
value false
@@ -212,7 +346,7 @@ state.realtekrt5616co {
count 1
}
}
- control.17 {
+ control.27 {
iface MIXER
name 'RECMIXL BST2 Switch'
value false
@@ -222,7 +356,7 @@ state.realtekrt5616co {
count 1
}
}
- control.18 {
+ control.28 {
iface MIXER
name 'RECMIXL BST1 Switch'
value false
@@ -232,7 +366,7 @@ state.realtekrt5616co {
count 1
}
}
- control.19 {
+ control.29 {
iface MIXER
name 'RECMIXR INR1 Switch'
value false
@@ -242,7 +376,7 @@ state.realtekrt5616co {
count 1
}
}
- control.20 {
+ control.30 {
iface MIXER
name 'RECMIXR BST2 Switch'
value false
@@ -252,7 +386,7 @@ state.realtekrt5616co {
count 1
}
}
- control.21 {
+ control.31 {
iface MIXER
name 'RECMIXR BST1 Switch'
value false
@@ -262,7 +396,7 @@ state.realtekrt5616co {
count 1
}
}
- control.22 {
+ control.32 {
iface MIXER
name 'Stereo1 ADC MIXL ADC1 Switch'
value false
@@ -272,7 +406,7 @@ state.realtekrt5616co {
count 1
}
}
- control.23 {
+ control.33 {
iface MIXER
name 'Stereo1 ADC MIXR ADC1 Switch'
value false
@@ -282,7 +416,7 @@ state.realtekrt5616co {
count 1
}
}
- control.24 {
+ control.34 {
iface MIXER
name 'DAC MIXL Stereo ADC Switch'
value false
@@ -292,7 +426,7 @@ state.realtekrt5616co {
count 1
}
}
- control.25 {
+ control.35 {
iface MIXER
name 'DAC MIXL INF1 Switch'
value true
@@ -302,7 +436,7 @@ state.realtekrt5616co {
count 1
}
}
- control.26 {
+ control.36 {
iface MIXER
name 'DAC MIXR Stereo ADC Switch'
value false
@@ -312,17 +446,17 @@ state.realtekrt5616co {
count 1
}
}
- control.27 {
+ control.37 {
iface MIXER
name 'DAC MIXR INF1 Switch'
- value false
+ value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
- control.28 {
+ control.38 {
iface MIXER
name 'Stereo DAC MIXL DAC L1 Switch'
value true
@@ -332,7 +466,7 @@ state.realtekrt5616co {
count 1
}
}
- control.29 {
+ control.39 {
iface MIXER
name 'Stereo DAC MIXL DAC R1 Switch'
value true
@@ -342,7 +476,7 @@ state.realtekrt5616co {
count 1
}
}
- control.30 {
+ control.40 {
iface MIXER
name 'Stereo DAC MIXR DAC R1 Switch'
value true
@@ -352,7 +486,7 @@ state.realtekrt5616co {
count 1
}
}
- control.31 {
+ control.41 {
iface MIXER
name 'Stereo DAC MIXR DAC L1 Switch'
value true
@@ -362,7 +496,7 @@ state.realtekrt5616co {
count 1
}
}
- control.32 {
+ control.42 {
iface MIXER
name 'OUT MIXL BST1 Switch'
value false
@@ -372,7 +506,7 @@ state.realtekrt5616co {
count 1
}
}
- control.33 {
+ control.43 {
iface MIXER
name 'OUT MIXL BST2 Switch'
value false
@@ -382,7 +516,7 @@ state.realtekrt5616co {
count 1
}
}
- control.34 {
+ control.44 {
iface MIXER
name 'OUT MIXL INL1 Switch'
value false
@@ -392,7 +526,7 @@ state.realtekrt5616co {
count 1
}
}
- control.35 {
+ control.45 {
iface MIXER
name 'OUT MIXL REC MIXL Switch'
value false
@@ -402,7 +536,7 @@ state.realtekrt5616co {
count 1
}
}
- control.36 {
+ control.46 {
iface MIXER
name 'OUT MIXL DAC L1 Switch'
value false
@@ -412,7 +546,7 @@ state.realtekrt5616co {
count 1
}
}
- control.37 {
+ control.47 {
iface MIXER
name 'OUT MIXR BST2 Switch'
value false
@@ -422,7 +556,7 @@ state.realtekrt5616co {
count 1
}
}
- control.38 {
+ control.48 {
iface MIXER
name 'OUT MIXR BST1 Switch'
value false
@@ -432,7 +566,7 @@ state.realtekrt5616co {
count 1
}
}
- control.39 {
+ control.49 {
iface MIXER
name 'OUT MIXR INR1 Switch'
value false
@@ -442,7 +576,7 @@ state.realtekrt5616co {
count 1
}
}
- control.40 {
+ control.50 {
iface MIXER
name 'OUT MIXR REC MIXR Switch'
value false
@@ -452,7 +586,7 @@ state.realtekrt5616co {
count 1
}
}
- control.41 {
+ control.51 {
iface MIXER
name 'OUT MIXR DAC R1 Switch'
value false
@@ -462,7 +596,7 @@ state.realtekrt5616co {
count 1
}
}
- control.42 {
+ control.52 {
iface MIXER
name 'HPO MIX DAC1 Switch'
value true
@@ -472,7 +606,7 @@ state.realtekrt5616co {
count 1
}
}
- control.43 {
+ control.53 {
iface MIXER
name 'HPO MIX HPVOL Switch'
value false
@@ -482,7 +616,7 @@ state.realtekrt5616co {
count 1
}
}
- control.44 {
+ control.54 {
iface MIXER
name 'LOUT MIX DAC L1 Switch'
value false
@@ -492,7 +626,7 @@ state.realtekrt5616co {
count 1
}
}
- control.45 {
+ control.55 {
iface MIXER
name 'LOUT MIX DAC R1 Switch'
value false
@@ -502,7 +636,7 @@ state.realtekrt5616co {
count 1
}
}
- control.46 {
+ control.56 {
iface MIXER
name 'LOUT MIX OUTVOL L Switch'
value false
@@ -512,7 +646,7 @@ state.realtekrt5616co {
count 1
}
}
- control.47 {
+ control.57 {
iface MIXER
name 'LOUT MIX OUTVOL R Switch'
value false