diff options
author | Vishnu Singh <v-singh1@ti.com> | 2025-06-18 22:32:17 +0530 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2025-06-18 13:21:34 -0500 |
commit | 43af374d1b7183ca58cfc36a06c0c4b00e3d36d0 (patch) | |
tree | 218ddd102160b27254e6e4c2fdbd5e47b02bad48 | |
parent | 9e8898966a4b19727aec7f78e766b955417a06ad (diff) | |
download | meta-ti-43af374d1b7183ca58cfc36a06c0c4b00e3d36d0.tar.gz |
recipes-bsp: Add TI TAD5212 DAC firmware recipe
Add TAD5212 DAC firmware images for am62dxx-evm to support two DAC
configurations:
- tad5212_01.bin: Configures 1 DAC with stereo channel in i2s mode.
- tad5212_04.bin: Configures 4 DAC with each having stereo channel
support in i2s mode.
Signed-off-by: Vishnu Singh <v-singh1@ti.com>
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r-- | meta-ti-bsp/conf/machine/am62dxx-evm.conf | 2 | ||||
-rw-r--r-- | meta-ti-bsp/recipes-bsp/ti-dac-fw/ti-dac-fw.bb | 17 | ||||
-rw-r--r-- | meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | 1 |
3 files changed, 20 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/am62dxx-evm.conf b/meta-ti-bsp/conf/machine/am62dxx-evm.conf index 9fbbb90a..1e41c53c 100644 --- a/meta-ti-bsp/conf/machine/am62dxx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62dxx-evm.conf | |||
@@ -14,3 +14,5 @@ KERNEL_DEVICETREE = "" | |||
14 | FIT_CONF_DEFAULT_DTB = "ti/k3-am62d2-evm.dtb" | 14 | FIT_CONF_DEFAULT_DTB = "ti/k3-am62d2-evm.dtb" |
15 | 15 | ||
16 | UBOOT_MACHINE = "am62dx_evm_a53_defconfig" | 16 | UBOOT_MACHINE = "am62dx_evm_a53_defconfig" |
17 | |||
18 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-dac-fw" | ||
diff --git a/meta-ti-bsp/recipes-bsp/ti-dac-fw/ti-dac-fw.bb b/meta-ti-bsp/recipes-bsp/ti-dac-fw/ti-dac-fw.bb new file mode 100644 index 00000000..8f68009d --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/ti-dac-fw/ti-dac-fw.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "TI DAC TAD5212 config prebuild binary firmware" | ||
2 | |||
3 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
4 | |||
5 | PV = "${TAD5212_FW_VERSION}" | ||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | COMPATIBLE_MACHINE = "am62dxx" | ||
9 | |||
10 | TAD5212_1DEV = "tad5212_01.bin" | ||
11 | TAD5212_4DEV = "tad5212_04.bin" | ||
12 | |||
13 | do_install() { | ||
14 | install -d ${D}${nonarch_base_libdir}/firmware | ||
15 | install -m 0644 ${S}/ti/tad5212/${TAD5212_1DEV} ${D}${nonarch_base_libdir}/firmware/ | ||
16 | install -m 0644 ${S}/ti/tad5212/${TAD5212_4DEV} ${D}${nonarch_base_libdir}/firmware/ | ||
17 | } | ||
diff --git a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc index d1dd9df3..08cd0b30 100644 --- a/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc +++ b/meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc | |||
@@ -17,6 +17,7 @@ CNM_WAVE521_FW_VERSION = "1.0.8" | |||
17 | TI_DM_FW_VERSION = "11.00.09" | 17 | TI_DM_FW_VERSION = "11.00.09" |
18 | TI_SYSFW_VERSION = "11.01.00" | 18 | TI_SYSFW_VERSION = "11.01.00" |
19 | TI_HSM_DEMO_FW_VERSION = "11.00.09" | 19 | TI_HSM_DEMO_FW_VERSION = "11.00.09" |
20 | TAD5212_FW_VERSION = "1.0.0.0" | ||
20 | 21 | ||
21 | TI_LINUX_FW_SRCREV ?= "a37c82f0e25e0e3c99fdf03f1d57f7b08314a2bc" | 22 | TI_LINUX_FW_SRCREV ?= "a37c82f0e25e0e3c99fdf03f1d57f7b08314a2bc" |
22 | SRCREV = "${TI_LINUX_FW_SRCREV}" | 23 | SRCREV = "${TI_LINUX_FW_SRCREV}" |