zork/gumboz: Add cras config

Add the cras config to make CRAS be able to use correct audio
devices. The dsp.ini is copied from dirinboz.

This should be updated for platform specific values.

BUG=b:174971588
TEST=emerge-zork chromeos-config-bsp-zork-private chromeos-config-bsp chromeos-bsp-zork chromeos-config

Change-Id: I8f4db2c4e8b09a47414efde489c3acff5f09ba0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/board-overlays/+/2578804
Tested-by: Isaac Lee <isaaclee@google.com>
Commit-Queue: Isaac Lee <isaaclee@google.com>
Auto-Submit: Kevin Chiu <kevin.chiu@quanta.corp-partner.google.com>
Reviewed-by: Bhanu Prakash Maiya <bhanumaiya@google.com>
diff --git a/overlay-zork/chromeos-base/chromeos-bsp-zork/chromeos-bsp-zork-0.0.1-r44.ebuild b/overlay-zork/chromeos-base/chromeos-bsp-zork/chromeos-bsp-zork-0.0.1-r45.ebuild
similarity index 100%
rename from overlay-zork/chromeos-base/chromeos-bsp-zork/chromeos-bsp-zork-0.0.1-r44.ebuild
rename to overlay-zork/chromeos-base/chromeos-bsp-zork/chromeos-bsp-zork-0.0.1-r45.ebuild
diff --git a/overlay-zork/chromeos-base/chromeos-bsp-zork/files/cras-config/gumboz/acp3xalc5682m98357 b/overlay-zork/chromeos-base/chromeos-bsp-zork/files/cras-config/gumboz/acp3xalc5682m98357
new file mode 100644
index 0000000..587cb31
--- /dev/null
+++ b/overlay-zork/chromeos-base/chromeos-bsp-zork/files/cras-config/gumboz/acp3xalc5682m98357
@@ -0,0 +1,8 @@
+[Default]
+  volume_curve = simple_step
+  volume_step = 50
+  max_volume = -600
+[Headphone Jack]
+  volume_curve = simple_step
+  volume_step = 75
+  max_volume = -900
diff --git a/overlay-zork/chromeos-base/chromeos-bsp-zork/files/cras-config/gumboz/board.ini b/overlay-zork/chromeos-base/chromeos-bsp-zork/files/cras-config/gumboz/board.ini
new file mode 100644
index 0000000..7144273
--- /dev/null
+++ b/overlay-zork/chromeos-base/chromeos-bsp-zork/files/cras-config/gumboz/board.ini
@@ -0,0 +1,2 @@
+[ucm]
+  ignore_suffix="HD-Audio Generic"
diff --git a/overlay-zork/chromeos-base/chromeos-bsp-zork/files/cras-config/gumboz/dsp.ini b/overlay-zork/chromeos-base/chromeos-bsp-zork/files/cras-config/gumboz/dsp.ini
new file mode 100644
index 0000000..0e70a4d
--- /dev/null
+++ b/overlay-zork/chromeos-base/chromeos-bsp-zork/files/cras-config/gumboz/dsp.ini
@@ -0,0 +1,143 @@
+[output_source]
+library=builtin
+label=source
+purpose=playback
+disable=(not (equal? dsp_name "speaker_eq"))
+output_0={src:0}
+output_1={src:1}
+
+[output_sink]
+library=builtin
+label=sink
+purpose=playback
+input_0={dst:0}
+input_1={dst:1}
+
+[drc]
+library=builtin
+label=drc
+input_0={src:0}
+input_1={src:1}
+output_2={intermediate:0}
+output_3={intermediate:1}
+input_4=1         ; emphasis_disabled
+input_5=0         ; f
+input_6=1         ; enable
+input_7=-24       ; threshold
+input_8=25        ; knee
+input_9=12        ; ratio
+input_10=0.003     ; attack
+input_11=0.25      ; release
+input_12=1         ; boost
+input_13=450       ; f
+input_14=1         ; enable
+input_15=-23       ; threshold
+input_16=23        ; knee
+input_17=14.323    ; ratio
+input_18=0.003     ; attack
+input_19=0.25      ; release
+input_20=2         ; boost
+input_21=2000      ; f
+input_22=1         ; enable
+input_23=-30       ; threshold
+input_24=30        ; knee
+input_25=12        ; ratio
+input_26=0.003     ; attack
+input_27=0.25      ; release
+input_28=2         ; boost
+
+[eq2]
+library=builtin
+label=eq2
+input_0={intermediate:0}
+input_1={intermediate:1}
+output_2={dst:0}
+output_3={dst:1}
+input_4=2       ; highpass
+input_5=150     ; freq
+input_6=0       ; Q
+input_7=0       ; gain
+input_8=2       ; highpass
+input_9=150     ; freq
+input_10=0       ; Q
+input_11=0       ; gain
+input_12=6       ; peaking
+input_13=670     ; freq
+input_14=2       ; Q
+input_15=-6      ; gain
+input_16=6       ; peaking
+input_17=670     ; freq
+input_18=2       ; Q
+input_19=-6      ; gain
+input_20=6       ; peaking
+input_21=3000    ; freq
+input_22=3       ; Q
+input_23=-3      ; gain
+input_24=6       ; peaking
+input_25=3000    ; freq
+input_26=3       ; Q
+input_27=-3      ; gain
+input_28=6       ; peaking
+input_29=1800    ; freq
+input_30=2       ; Q
+input_31=2       ; gain
+input_32=6       ; peaking
+input_33=1800    ; freq
+input_34=2       ; Q
+input_35=2       ; gain
+input_36=5       ; highshelf
+input_37=1000    ; freq
+input_38=1       ; Q
+input_39=4       ; gain
+input_40=5       ; highshelf
+input_41=1000    ; freq
+input_42=1       ; Q
+input_43=4       ; gain
+input_44=6       ; peaking
+input_45=380     ; freq
+input_46=2       ; Q
+input_47=2       ; gain
+input_48=6       ; peaking
+input_49=380     ; freq
+input_50=2       ; Q
+input_51=2       ; gain
+input_52=6       ; peaking
+input_53=7000    ; freq
+input_54=2       ; Q
+input_55=2       ; gain
+input_56=6       ; peaking
+input_57=7000    ; freq
+input_58=2       ; Q
+input_59=2       ; gain
+input_60=6       ; peaking
+input_61=9000    ; freq
+input_62=2       ; Q
+input_63=2       ; gain
+input_64=6       ; peaking
+input_65=9000    ; freq
+input_66=2       ; Q
+input_67=2       ; gain
+
+[input_source]
+library=builtin
+label=source
+purpose=capture
+disable=(not (equal? dsp_name "dmic_eq"))
+output_0={in_src:0}
+output_1={in_src:1}
+
+[input_sink]
+library=builtin
+label=sink
+purpose=capture
+input_0={in_dst:0}
+input_1={in_dst:1}
+
+[in_dcblock]
+library=builtin
+label=dcblock
+input_0={in_src:0}
+input_1={in_src:1}
+output_2={in_dst:0}
+output_3={in_dst:1}
+input_4=0.995       ; R - lone filter parameter