| # |
| # Copyright 2018 The Chromium OS Authors. All rights reserved. |
| # |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| audio_common: &audio_common |
| $cras-root: "/etc/cras" |
| $ucm-root: "/usr/share/alsa/ucm" |
| $card: "bxtda7219max" |
| # Both source/target path for cras files. |
| # Generally set to device name or 'common' |
| $cras: "{{$device-name}}" |
| $ucm: "1mic" # Default |
| $ucm-device: "common" |
| $ucm-target-suffix: "" |
| $ucm-suffix-path: "/{{$ucm}}" |
| |
| cras-config-dir: "{{$cras}}" |
| ucm-suffix: "{{$ucm}}{{$ucm-target-suffix}}" |
| |
| $cras-source: "{{cras-config-dir}}/audio/cras-config" |
| $cras-dest: "{{$cras-root}}/{{cras-config-dir}}" |
| $ucm-source: "{{$ucm-device}}/audio/ucm-config{{$ucm-suffix-path}}" |
| $ucm-dest: "{{$ucm-root}}/{{$card}}.{{ucm-suffix}}" |
| |
| files: |
| - source: "{{$cras-source}}/{{$card}}" |
| destination: "{{$cras-dest}}/{{$card}}" |
| - source: "{{$cras-source}}/dsp.ini" |
| destination: "{{$cras-dest}}/dsp.ini" |
| - source: "{{$ucm-source}}/HiFi" |
| destination: "{{$ucm-dest}}/HiFi" |
| - source: "{{$ucm-source}}/{{$card}}.conf" |
| destination: "{{$ucm-dest}}/{{$card}}.{{ucm-suffix}}.conf" |
| |
| base_config: &base_config |
| $bluetooth-device: "common" |
| $dptf-device: "{{$device-name}}" |
| $touchpad-wakeup: "1" |
| $test-label: "{{$device-name}}" |
| name: "{{$device-name}}" |
| audio: |
| main: *audio_common |
| bluetooth: |
| config: |
| build-path: "{{$bluetooth-device}}/bluetooth/main.conf" |
| system-path: "/etc/bluetooth/{{$bluetooth-device}}/main.conf" |
| brand-code: "{{$brand-code}}" |
| firmware: |
| no-firmware: True |
| test-label: "{{$test-label}}" |
| power: |
| charging-ports: | |
| CROS_USB_PD_CHARGER0 LEFT |
| CROS_USB_PD_CHARGER1 RIGHT |
| low-battery-shutdown-percent: "4.0" |
| power-supply-full-factor: "0.94" |
| suspend-to-idle: "1" |
| touchpad-wakeup: "{{$touchpad-wakeup}}" |
| thermal: |
| dptf-dv: "{{$dptf-device}}/dptf.dv" |
| files: |
| - source: "{{$dptf-device}}/thermal/dptf.dv" |
| destination: "/etc/dptf/{{$dptf-device}}/dptf.dv" |
| |
| device_config: &device_config |
| <<: *base_config |
| identity: |
| platform-name: "Coral" |
| smbios-name-match: "Coral" |
| sku-id: "{{$sku-id}}" |
| firmware-signing: |
| key-id: "{{$key-id}}" |
| signature-id: "{{$device-name}}" |
| |
| wl_device_config: &wl_device_config |
| <<: *base_config |
| $signature-id: "{{$device-name}}-{{$whitelabel-tag}}" |
| identity: |
| platform-name: "Coral" |
| smbios-name-match: "Coral" |
| sku-id: "{{$sku-id}}" |
| whitelabel-tag: "{{$whitelabel-tag}}" |
| firmware-signing: |
| key-id: "{{$key-id}}" |
| signature-id: "{{$signature-id}}" |
| sig-id-in-customization-id: true |
| |
| preallocated_wl_product: &preallocated_wl_product |
| $whitelabel-tag: "TBD-{{$brand-code}}" |
| $key-id: "CORALC" |
| |
| astronaut_config: &astronaut_config |
| <<: *device_config |
| modem: |
| firmware-variant: "{{$device-name}}" |
| |
| chromeos: |
| devices: |
| - $device-name: "astronaut" |
| products: |
| - $brand-code: "CTIE" |
| $key-id: "CORALA" |
| skus: |
| - $sku-id: 0 |
| config: *astronaut_config |
| - $sku-id: 1 |
| config: *astronaut_config |
| - $sku-id: 61 |
| config: *astronaut_config |
| - $sku-id: 62 |
| config: *astronaut_config |
| - $device-name: "babymega" |
| $ucm-device: "babymega" |
| $ucm-target-suffix: "Babymega" |
| products: |
| - $brand-code: "GOKU" |
| $key-id: "CORALG" |
| skus: |
| - $sku-id: 52 |
| config: *device_config |
| - $sku-id: 53 |
| config: *device_config |
| - $device-name: "babytiger" |
| $ucm-device: "babytiger" |
| $ucm-target-suffix: "Babytiger" |
| $ucm: "2mic" |
| products: |
| - $brand-code: "YXED" |
| $key-id: "CORALG" |
| skus: |
| - $sku-id: 30 |
| config: *device_config |
| - $sku-id: 33 |
| config: *device_config |
| - $device-name: "blacktip" |
| $bluetooth-device: "blacktip" |
| $dptf-device: "astronaut" |
| products: |
| - $whitelabel-tag: "" # default |
| $signature-id: "{{$device-name}}-default" |
| $brand-code: "TEST" |
| $key-id: "CORALC" |
| - $whitelabel-tag: "ctl" |
| $brand-code: "WXZG" |
| $key-id: "CORALF" |
| - $whitelabel-tag: "gsa" |
| $brand-code: "RIKG" |
| $key-id: "CORALK" |
| - $whitelabel-tag: "positivo" |
| $brand-code: "EDHM" |
| $key-id: "CORALO" |
| # Workaround to make it compatible with "ctl" |
| - $whitelabel-tag: "to-be-determined-bt-loem1" |
| $brand-code: "WXZG" |
| $key-id: "CORALF" |
| # Allocated, but unused brand codes |
| # $brand-code: "EDHM" |
| # $brand-code: "PWFL" |
| # $brand-code: "XBWL" |
| # $brand-code: "WNNA" |
| # $brand-code: "PCBV" |
| # $brand-code: "VXVH" |
| # $brand-code: "QPMP" |
| # $brand-code: "BMTG" |
| skus: |
| - $sku-id: 36 |
| config: *wl_device_config |
| - $device-name: "blacktip360" |
| $bluetooth-device: "blacktip" |
| $ucm: "2mic" |
| $touchpad-wakeup: "0" |
| $dptf-device: "astronaut" |
| products: |
| - $whitelabel-tag: "" # default |
| $signature-id: "{{$device-name}}-default" |
| $brand-code: "TEST" |
| $key-id: "CORALC" |
| - $whitelabel-tag: "ctl" |
| $brand-code: "FBTP" |
| $key-id: "CORALF" |
| - $whitelabel-tag: "gsa" |
| $brand-code: "TVRZ" |
| $key-id: "CORALK" |
| - $whitelabel-tag: "xma" |
| $brand-code: "HKGT" |
| $key-id: "CORALC" |
| - $whitelabel-tag: "positivo" |
| $brand-code: "HTPV" |
| $key-id: "CORALO" |
| # Workaround to make it compatible with "ctl" |
| - $whitelabel-tag: "to-be-determined-bt-loem1" |
| $brand-code: "FBTP" |
| $key-id: "CORALF" |
| skus: |
| - $sku-id: 37 |
| config: *wl_device_config |
| - $sku-id: 38 |
| config: *wl_device_config |
| - $device-name: "blacktiplte" |
| $bluetooth-device: "blacktip" |
| $dptf-device: "astronaut" |
| products: |
| - $whitelabel-tag: "default" # default |
| $signature-id: "{{$device-name}}-default" |
| $brand-code: "TEST" |
| $key-id: "CORALC" |
| - $whitelabel-tag: "ctl" |
| $brand-code: "ZZTB" |
| $key-id: "CORALF" |
| - $whitelabel-tag: "gsa" |
| # TODO to be changed |
| $brand-code: "ZZCR" |
| $key-id: "CORALK" |
| skus: |
| - $sku-id: 65 |
| config: |
| <<: *wl_device_config |
| modem: |
| firmware-variant: "{{$device-name}}" |
| - $device-name: "blue" |
| $dptf-device: "astronaut" |
| products: |
| - $brand-code: "VVUC" |
| $key-id: "CORALA" |
| skus: |
| - $sku-id: 6 |
| config: *device_config |
| - $sku-id: 7 |
| config: *device_config |
| - $sku-id: 12 |
| config: *device_config |
| - $device-name: "bruce" |
| $touchpad-wakeup: "0" |
| $dptf-device: "common" |
| products: |
| - $brand-code: "ACBF" |
| $key-id: "CORALA" |
| skus: |
| - $sku-id: 8 |
| config: *device_config |
| - $sku-id: 11 |
| $ucm: "2mic" |
| $ucm-device: "bruce" |
| $ucm-target-suffix: "Bruce360" |
| config: *device_config |
| - $device-name: "epaulette" |
| $dptf-device: "astronaut" |
| # TODO(epaulette-odm): Modify the current conf files as |
| # required, they are copies from other 2-mic model. |
| $ucm: "2mic" |
| $ucm-device: "epaulette" |
| $ucm-target-suffix: "Epaulette" |
| # TODO(epaulette-odm): Add validated dptf.dv file into |
| # BSP, it's currently using inherited version from the parent. |
| products: |
| - $brand-code: "WMVU" |
| $key-id: "CORALA" |
| skus: |
| - $sku-id: 13 |
| config: *device_config |
| - $sku-id: 14 |
| config: *device_config |
| - $sku-id: 15 |
| config: *device_config |
| - $sku-id: 16 |
| config: *device_config |
| - $device-name: "lava" |
| $touchpad-wakeup: "0" |
| $dptf-device: "astronaut" |
| products: |
| - $brand-code: "SHAN" |
| $key-id: "CORALA" |
| skus: |
| - $sku-id: 4 |
| config: *device_config |
| - $sku-id: 5 |
| config: *device_config |
| - $sku-id: 9 |
| config: *device_config |
| - $sku-id: 10 |
| config: *device_config |
| - $device-name: "nasher" |
| $ucm: "" |
| $ucm-suffix-path: "" |
| $ucm-device: "nasher" |
| $ucm-target-suffix: "nasher" |
| products: |
| - $brand-code: "CPPT" |
| $key-id: "CORALB" |
| skus: |
| - $sku-id: 160 |
| config: *device_config |
| - $sku-id: 161 |
| config: *device_config |
| - $sku-id: 162 |
| config: *device_config |
| - $device-name: "nasher360" |
| $cras: "nasher" |
| $ucm-device: "nasher360" |
| $ucm: "2mic" |
| $ucm-target-suffix: "Nasher360" |
| $touchpad-wakeup: "0" |
| $dptf-device: "nasher" |
| products: |
| - $brand-code: "INUT" |
| $key-id: "CORALB" |
| skus: |
| - $sku-id: 163 |
| $ucm: "nasher" |
| config: *device_config |
| - $sku-id: 164 |
| $ucm: "nasher" |
| config: *device_config |
| - $sku-id: 165 |
| $ucm: "2micNasher360" |
| config: *device_config |
| - $sku-id: 166 |
| $ucm: "2micNasher360" |
| config: *device_config |
| - $device-name: "porbeagle" |
| $dptf-device: "astronaut" |
| $cras: "astronaut" |
| products: |
| - $brand-code: "" |
| $key-id: "CORALC" |
| skus: |
| - $sku-id: 26 |
| config: *device_config |
| - $sku-id: 27 |
| config: *device_config |
| - $device-name: "rabbid" |
| products: |
| - $brand-code: "YPCE" |
| $key-id: "CORALG" |
| skus: |
| - $sku-id: 28 |
| config: |
| <<: *device_config |
| $cras: "rabbid_rugged" |
| $ucm-device: "rabbid_rugged" |
| $ucm: "2mic" |
| $ucm-target-suffix: "Rabbid_rugged" |
| - $sku-id: 31 |
| config: |
| <<: *device_config |
| $ucm-device: "rabbid" |
| $ucm: "2mic" |
| $ucm-target-suffix: "Rabbid" |
| - $sku-id: 32 |
| config: |
| <<: *device_config |
| $ucm-device: "rabbid" |
| $ucm: "2mic" |
| $ucm-target-suffix: "Rabbid" |
| - $device-name: "robo" |
| products: |
| - $brand-code: "QZUX" |
| $key-id: "CORALD" |
| skus: |
| - $sku-id: 70 |
| config: *device_config |
| - $device-name: "robo360" |
| $cras: "nasher" |
| $dptf-device: "robo" |
| $touchpad-wakeup: "0" |
| products: |
| - $brand-code: "KABJ" |
| $key-id: "CORALD" |
| skus: |
| - $sku-id: 71 |
| config: *device_config |
| - $device-name: "santa" |
| $cras: "astronaut" |
| $dptf-device: "astronaut" |
| products: |
| - $brand-code: "ACBE" |
| $key-id: "CORALA" |
| skus: |
| - $sku-id: 2 |
| config: *device_config |
| - $sku-id: 3 |
| config: *device_config |
| - $device-name: "whitetip" |
| $test-label: "robo" |
| products: |
| - $whitelabel-tag: "" # default |
| $signature-id: "{{$device-name}}-default" |
| $brand-code: "TEST" |
| $key-id: "CORALC" |
| - $whitelabel-tag: "ctl" |
| $brand-code: "HRIZ" |
| $key-id: "CORALE" |
| - $whitelabel-tag: "prowise" |
| $brand-code: "LOGH" |
| $key-id: "CORALJ" |
| - $whitelabel-tag: "ytl" |
| $brand-code: "LOGI" |
| $key-id: "CORALH" |
| - $whitelabel-tag: "sector5" |
| $brand-code: "IULQ" |
| $key-id: "CORALI" |
| - $whitelabel-tag: "pcmerge" |
| $brand-code: "TPHN" |
| $key-id: "CORALL" |
| - $whitelabel-tag: "xma" |
| $brand-code: "URZD" |
| $key-id: "CORALM" |
| - $whitelabel-tag: "multilaser" |
| $brand-code: "QTMI" |
| $key-id: "CORALN" |
| # Allocated, but not used |
| # $brand-code: "QHTT" |
| # $brand-code: "FGNZ" |
| skus: |
| - $sku-id: 78 |
| config: *wl_device_config |
| - $sku-id: 82 |
| config: *wl_device_config |