t132: Add I2S1 support to funit
Used for audio on Rush/Ryu. I2S1/DAP2 provides the audio
'stream' for the dev/rec mode 'beeps'.
BUG=chrome-os-partner:32582
BRANCH=none
TEST=With follow-on CLs that make use of this support,
audio beeps (via VbExBeep) can be heard on Rush. Built
both Rush and Ryu OK.
Change-Id: Iea5559db4431e48001adbbce17fa0f3aaaf8387c
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Original-Commit-Id: 2bd701a5f4
Original-Change-Id: Ia8c32303979f25300e22b5a14609d9d9d5ce3132
Original-Signed-off-by: Tom Warren <twarren@nvidia.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/233670
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9576
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
c355826e21
commit
4b4764283a
4 changed files with 4 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ static const struct funit_cfg_data funit_data[] = {
|
|||
FUNIT_DATA_USB(USBD, L),
|
||||
FUNIT_DATA_USB(USB2, H),
|
||||
FUNIT_DATA_USB(USB3, H),
|
||||
FUNIT_DATA(I2S1, i2s1, L),
|
||||
};
|
||||
_Static_assert(ARRAY_SIZE(funit_data) == FUNIT_INDEX_MAX,
|
||||
"funit_cfg_data array not filled out!");
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ enum {
|
|||
TEGRA_SDMMC4_BASE = TEGRA_SDMMC_BASE + 0x0600,
|
||||
TEGRA_MIPI_CAL_BASE = 0x700E3000,
|
||||
TEGRA_SYSCTR0_BASE = 0x700F0000,
|
||||
TEGRA_I2S1_BASE = 0x70301100,
|
||||
TEGRA_USBD_BASE = 0x7D000000,
|
||||
TEGRA_USB2_BASE = 0x7D004000,
|
||||
TEGRA_USB3_BASE = 0x7D008000,
|
||||
|
|
|
|||
|
|
@ -221,6 +221,7 @@ enum {
|
|||
CLK_SRC_DEVICE(I2C3, PLLP, PLLC2, PLLC, PLLC3, PLLM, UNUSED, CLK_M),
|
||||
CLK_SRC_DEVICE(I2C5, PLLP, PLLC2, PLLC, PLLC3, PLLM, UNUSED, CLK_M),
|
||||
CLK_SRC_DEVICE(I2C6, PLLP, PLLC2, PLLC, PLLC3, PLLM, UNUSED, CLK_M),
|
||||
CLK_SRC_DEVICE(I2S1, PLLA, UNUSED, CLK_S, UNUSED1, PLLP, UNUSED2, CLK_M),
|
||||
CLK_SRC_DEVICE(mselect, PLLP, PLLC2, PLLC, PLLC3, PLLM, CLK_S, CLK_M),
|
||||
CLK_SRC_DEVICE(SBC1, PLLP, PLLC2, PLLC, PLLC3, PLLM, UNUSED, CLK_M),
|
||||
CLK_SRC_DEVICE(SBC4, PLLP, PLLC2, PLLC, PLLC3, PLLM, UNUSED, CLK_M),
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ enum {
|
|||
FUNIT_INDEX(USBD),
|
||||
FUNIT_INDEX(USB2),
|
||||
FUNIT_INDEX(USB3),
|
||||
FUNIT_INDEX(I2S1),
|
||||
FUNIT_INDEX_MAX,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue