添加内核启动阶段播放声音的驱动

This commit is contained in:
2025-04-11 18:29:20 +08:00
parent 485e855b5e
commit 2daf93c952
11 changed files with 1609 additions and 0 deletions

View File

@@ -1457,6 +1457,26 @@
};
&codec_has {
/* external-avcc; */
/* avcc-supply = <&reg_aldo1>; */
avcc-vol = <1800000>; /* uv */
lineout-vol = <31>;
mic1gain = <31>;
mic2gain = <31>;
adcdelaytime = <0>;
dma_tx_fifo = <0x02030000>;
/* lineout-single; */
/* mic1-single; */
/* mic2-single; */
pa-pin-max = <1>; /* set pa */
pa-pin-0 = <&pio PD 21 1 1 1 0>;
pa-pin-level-0 = <1>;
pa-pin-msleep-0 = <0>;
tx-hub-en;
rx-sync-en;
status = "disabled";
};
/* audio dirver module -> audio codec */
&codec {

View File

@@ -1127,6 +1127,7 @@ CONFIG_SUNXI_SYS_INFO=y
CONFIG_DUMP_REG=y
CONFIG_DUMP_REG_MISC=y
# CONFIG_SUNXI_TIMER_TEST is not set
# CONFIG_HAS_INTERNALCODEC is not set
# CONFIG_MEM_OPERATION is not set
# CONFIG_SUNXI_TRANSFORM is not set
# CONFIG_SUNXI_DI is not set

View File

@@ -1254,6 +1254,7 @@ CONFIG_SUNXI_SYS_INFO=y
CONFIG_DUMP_REG=y
CONFIG_DUMP_REG_MISC=y
# CONFIG_SUNXI_TIMER_TEST is not set
# CONFIG_HAS_INTERNALCODEC is not set
CONFIG_MEM_OPERATION=y
# CONFIG_SUNXI_TRANSFORM is not set
# CONFIG_SUNXI_DI is not set