summaryrefslogtreecommitdiff
path: root/sound/soc/dwc/local.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-08-23 21:54:51 +0300
committerMark Brown <broonie@kernel.org>2023-08-23 21:54:51 +0300
commit1a512d13837ac5db2a6174315957b64c369f1fe0 (patch)
tree40a8408a84495ef95134c67ddadcd292c159b4b8 /sound/soc/dwc/local.h
parentfd53c16b392dd4e1d6997a0e2425895d4cb29ff8 (diff)
parent52ea7c0543f8a39da8a6fc17a5ab36b7b58d5431 (diff)
downloadlinux-1a512d13837ac5db2a6174315957b64c369f1fe0.tar.xz
Add I2S support for the StarFive JH7110 SoC
Merge series from Xingyu Wu <xingyu.wu@starfivetech.com>: This patch series adds I2S support for the StarFive JH7110 RISC-V SoC based on Designware I2S controller. There has three I2S channels (RX/TX0/TX1) on the JH7110 SoC, one of which is for record(RX) and two for playback(TX). The first patch adds support for the StarFive JH7110 SoC in the Designware I2S bindings. The second patch adds the ops to get data from platform bus in the I2S driver. The third patch adds support for the StarFive JH7110 SoC in the Designware I2S driver. The fourth patch fixes the name of I2STX1 pinmux. The last patch adds device node of I2S RX/TX0/TX1 in JH7110 dts. This patch series is based on Linux-next(20230818) which is merge clock, syscon and dma nodes for the StarFive JH7110 SoC. The series has been tested and works normally on the VisionFive 2 board by plugging an audio expansion board.
Diffstat (limited to 'sound/soc/dwc/local.h')
-rw-r--r--sound/soc/dwc/local.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/dwc/local.h b/sound/soc/dwc/local.h
index 4ce96bac2f39..dce88c9ad5f3 100644
--- a/sound/soc/dwc/local.h
+++ b/sound/soc/dwc/local.h
@@ -123,6 +123,7 @@ struct dw_i2s_dev {
u32 fifo_th;
u32 l_reg;
u32 r_reg;
+ bool is_jh7110; /* Flag for StarFive JH7110 SoC */
/* data related to DMA transfers b/w i2s and DMAC */
union dw_i2s_snd_dma_data play_dma_data;