-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Toradex Hardware Configuration Files #448
base: master
Are you sure you want to change the base?
Changes from all commits
5157a00
efdc684
0be8348
2ebd8d2
61f1db5
a2fcf77
1ee89de
aa9ee2d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Use case configuration for Toradex Apalis iMX6 | ||
|
||
SectionDevice."Headphone" { | ||
Comment "Headphone" | ||
|
||
EnableSequence [ | ||
cset "name='Headphone Playback Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Headphone Playback Switch' off" | ||
] | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId}" | ||
PlaybackSwitch "Headphone Playback Switch" | ||
PlaybackVolume "Headphone Playback Volume" | ||
} | ||
} | ||
|
||
SectionDevice."Mic" { | ||
Comment "Microphone" | ||
|
||
EnableSequence [ | ||
cset "name='Capture Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Capture Switch' off" | ||
] | ||
|
||
Value { | ||
CapturePCM "hw:${CardId}" | ||
CaptureVolume "Capture Volume" | ||
CaptureSwitch "Capture Switch" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Use case configuration for Toradex Apalis iMX6 | ||
|
||
Syntax 4 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Toradex/apalis-imx6/HiFi.conf" | ||
Comment "Default" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='Headphone Playback Switch' on" | ||
cset "name='Headphone Playback Volume' 114" | ||
|
||
cset "name='PCM Playback Volume' 144" | ||
|
||
cset "name='Capture Switch' on" | ||
cset "name='Capture Volume' 12" | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Use case configuration for Toradex Apalis iMX8 | ||
|
||
SectionDevice."Headphone" { | ||
Comment "Headphone" | ||
|
||
EnableSequence [ | ||
cset "name='Headphone Playback Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Headphone Playback Switch' off" | ||
] | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId}" | ||
PlaybackVolume "Headphone Volume" | ||
PlaybackSwitch "Headphone Switch" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Use case configuration for Toradex Apalis iMX8 | ||
|
||
Syntax 4 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Toradex/apalis-imx8/HiFi.conf" | ||
Comment "Default" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='Headphone Playback Switch' on" | ||
cset "name='Headphone Playback Volume' 50%" | ||
|
||
cset "name='Lineout Playback Switch' on" | ||
cset "name='Lineout Playback Volume' 50%" | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Use case configuration for Toradex Apalis iMX8, Evaluation Board v1.2 | ||
|
||
SectionDevice."Headphones" { | ||
Comment "Headphones" | ||
|
||
EnableSequence [ | ||
cset "name='Headphone Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Headphone Switch' off" | ||
] | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId}" | ||
PlaybackVolume "Headphone Volume" | ||
PlaybackSwitch "Headphone Switch" | ||
} | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Overall: Missing PCM device specifications (Values) .... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added the |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Use case configuration for Toradex Apalis iMX8, Evaluation Board v1.2 | ||
|
||
Syntax 4 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Toradex/apalis/eval-HiFi.conf" | ||
Comment "Default" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='Headphone Volume' 50%" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Overall: If hardware supports volume control, it should be speciified e.g. using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added this to the |
||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Use case configuration for Toradex Colibri iMX6 | ||
|
||
SectionDevice."Headphone" { | ||
Comment "Headphone" | ||
|
||
EnableSequence [ | ||
cset "name='Headphone Playback Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Headphone Playback Switch' off" | ||
] | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId}" | ||
PlaybackSwitch "Headphone Playback Switch" | ||
PlaybackVolume "Headphone Playback Volume" | ||
} | ||
} | ||
|
||
SectionDevice."Mic" { | ||
Comment "Microphone" | ||
|
||
EnableSequence [ | ||
cset "name='Capture Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Capture Switch' off" | ||
] | ||
|
||
Value { | ||
CapturePCM "hw:${CardId}" | ||
CaptureVolume "Capture Volume" | ||
CaptureSwitch "Capture Switch" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Use case configuration for Toradex Colibri iMX6 | ||
|
||
Syntax 4 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Toradex/colibri-imx6/HiFi.conf" | ||
Comment "Default" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='Headphone Playback Switch' on" | ||
cset "name='Headphone Playback Volume' 114" | ||
|
||
cset "name='PCM Playback Volume' 144" | ||
|
||
cset "name='Capture Switch' on" | ||
cset "name='Capture Volume' 12" | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Use case configuration for Toradex Colibri iMX7 | ||
|
||
SectionDevice."Headphone" { | ||
Comment "Headphone" | ||
|
||
EnableSequence [ | ||
cset "name='Headphone Playback Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Headphone Playback Switch' off" | ||
] | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId}" | ||
PlaybackSwitch "Headphone Playback Switch" | ||
PlaybackVolume "Headphone Playback Volume" | ||
} | ||
} | ||
|
||
SectionDevice."Mic" { | ||
Comment "Microphone" | ||
|
||
EnableSequence [ | ||
cset "name='Capture Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Capture Switch' off" | ||
] | ||
|
||
Value { | ||
CapturePCM "hw:${CardId}" | ||
CaptureVolume "Capture Volume" | ||
CaptureSwitch "Capture Switch" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Use case configuration for Toradex Colibri iMX7 | ||
|
||
Syntax 4 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Toradex/colibri-imx7/HiFi.conf" | ||
Comment "Default" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='Headphone Playback Switch' on" | ||
cset "name='Headphone Playback Volume' 114" | ||
|
||
cset "name='PCM Playback Volume' 144" | ||
|
||
cset "name='Capture Switch' on" | ||
cset "name='Capture Volume' 12" | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Use case configuration for Toradex Colibri iMX8X | ||
|
||
SectionDevice."Headphone" { | ||
Comment "Headphone" | ||
|
||
EnableSequence [ | ||
cset "name='Headphone Playback Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Headphone Playback Switch' off" | ||
] | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId}" | ||
PlaybackSwitch "Headphone Playback Switch" | ||
PlaybackVolume "Headphone Playback Volume" | ||
} | ||
} | ||
|
||
SectionDevice."Mic" { | ||
Comment "Microphone" | ||
|
||
EnableSequence [ | ||
cset "name='Capture Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Capture Switch' off" | ||
] | ||
|
||
Value { | ||
CapturePCM "hw:${CardId}" | ||
CaptureVolume "Capture Volume" | ||
CaptureSwitch "Capture Switch" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Use case configuration for Toradex Apalis iMX8 | ||
|
||
Syntax 4 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Toradex/colibri-imx8x/HiFi.conf" | ||
Comment "Default" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='Headphone Playback Switch' on" | ||
cset "name='Headphone Playback Volume' 114" | ||
|
||
cset "name='PCM Playback Volume' 144" | ||
|
||
cset "name='Capture Switch' on" | ||
cset "name='Capture Volume' 12" | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Use case configuration for Toradex Dahlia Carrier Board | ||
|
||
SectionDevice."Headphone" { | ||
Comment "Headphone" | ||
|
||
EnableSequence [ | ||
cset "name='Headphone Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Headphone Switch' off" | ||
] | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId}" | ||
PlaybackVolume "Headphone Volume" | ||
PlaybackSwitch "Headphone Switch" | ||
} | ||
} | ||
|
||
SectionDevice."Microphone" { | ||
Comment "Microphone" | ||
|
||
EnableSequence [ | ||
cset "name='Capture Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Capture Switch' off" | ||
] | ||
|
||
Value { | ||
CapturePCM "hw:${CardId}" | ||
CaptureVolume "Capture Volume" | ||
CaptureSwitch "Capture Switch" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Use case configuration for Toradex Dahlia Carrier Board | ||
|
||
Syntax 4 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Toradex/verdin/dahlia-HiFi.conf" | ||
Comment "Default" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='Headphone Volume' 50%" | ||
cset "name='Left Capture Inverting Mux' 'IN1L'" | ||
cset "name='Right Capture Inverting Mux' 'IN1R'" | ||
cset "name='Capture Volume' 31" | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Use case configuration for Toradex Verdin Development Carrier Board | ||
|
||
SectionDevice."Headphones" { | ||
Comment "Headphones" | ||
|
||
EnableSequence [ | ||
cset "name='Headphone Switch' on" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Headphone Switch' off" | ||
] | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId}" | ||
PlaybackVolume "Headphone Volume" | ||
PlaybackSwitch "Headphone Switch" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Use case configuration for Toradex Verdin Development Carrier Board | ||
|
||
Syntax 4 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Toradex/verdin/dev-HiFi.conf" | ||
Comment "Default" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='Headphone Volume' 50%" | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../Toradex/apalis-imx6/apalis-imx6.conf |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../Toradex/colibri-imx6/colibri-imx6.conf |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../Toradex/apalis-imx8/apalis-imx8.conf |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../Toradex/apalis/eval.conf |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../Toradex/colibri-imx7/colibri-imx7.conf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use ucm2/NXP paths (like current NXP/iMX8 etc.). We prefer to store configurations for similar hardware in one place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@perexg : can you explain better what would you like? These UCM files are related to Toradex board, the actual sound card on these boards does not have much in common with NXP nor i.MX8 boards..
Or maybe you want the boards that use the
fsl-asoc-card
to be grouped together? How?