Skip to content

Conversation

@linux-riscv-bot
Copy link

PR for series 1044261 applied to workflow__riscv__fixes

Name: ASoC: sophgo: add CV1800 I2S controllers support
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1044261
Version: 3

There are 4 TDM controllers on the SoC. Each controller can receive or
transmit data over DMA. The dma it self has 8 channels.
Each channel can be connected only to a specific i2s node. But each
of dma channel can have multiple purposes so in order to save dma
channels the configurations allows to use tx and rx, only rx, only tx
or none channels. I2S controller without channels can be useful in
configuration where I2S is used as clock source only and doesn't
produce any data.

Signed-off-by: Anton D. Stavinskii <stavinsky@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The actual CPU DAI controller. The driver can be used with
simple-audio-card. It respects fixed clock configuration
from simple-audio-card. The card driver can request direction out,
this will be interpreted as mclk out, the clock which can be used
in other CPU or codecs. For example I2S3 generates clock for ADC.
I2S was tested in S24_32 and S16 dual channel formats.

Signed-off-by: Anton D. Stavinskii <stavinsky@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Document the internal ADC and DAC audio codecs integrated
in the Sophgo CV1800B SoC.

Signed-off-by: Anton D. Stavinskii <stavinsky@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Codec DAI endpoint for RXADC + basic controls.
THe codec have basic volume control. Which is
imlemented by lookup table for simplicity.
The codec expects set_sysclk callback to
adjust internal mclk divider.

Signed-off-by: Anton D. Stavinskii <stavinsky@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Codec DAI endpoint for TXDAC. The codec does only a few things
- set up decimation
- enable codec and I2S output
- ensures the driver doesn't have dac overwrite enabled. (unmute the
  output)

Signed-off-by: Anton D. Stavinskii <stavinsky@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Introduced I2S nodes and internal dac and adc nodes as well
The new header file provided in order to make DMA channel names
more readable.

Signed-off-by: Anton D. Stavinskii <stavinsky@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Author

Patch 1: "[v3,1/6] ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 115.35 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v3,1/6] ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1138.53 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v3,1/6] ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1442.20 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v3,1/6] ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.08 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v3,1/6] ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.54 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v3,1/6] ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.89 seconds
Result: WARNING
Output:

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#23: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 67 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit 64b854e89142 ("ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 1 warnings, 0 checks, 67 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Author

Patch 1: "[v3,1/6] ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 82.62 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v3,1/6] ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v3,1/6] ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller"
kdoc
Desc: Detects for kdoc errors
Duration: 0.99 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v3,1/6] ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v3,1/6] ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[v3,1/6] ASoC: dt-bindings: sophgo,cv1800b: add I2S/TDM controller"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[v3,2/6] ASoC: sophgo: add CV1800B I2S/TDM controller driver"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 114.62 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[v3,2/6] ASoC: sophgo: add CV1800B I2S/TDM controller driver"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1170.65 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[v3,2/6] ASoC: sophgo: add CV1800B I2S/TDM controller driver"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1485.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[v3,2/6] ASoC: sophgo: add CV1800B I2S/TDM controller driver"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.45 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[v3,2/6] ASoC: sophgo: add CV1800B I2S/TDM controller driver"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.43 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[v3,2/6] ASoC: sophgo: add CV1800B I2S/TDM controller driver"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 3.95 seconds
Result: WARNING
Output:

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#51: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 758 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit 6c3a716b600e ("ASoC: sophgo: add CV1800B I2S/TDM controller driver") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 1 warnings, 0 checks, 758 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Author

Patch 2: "[v3,2/6] ASoC: sophgo: add CV1800B I2S/TDM controller driver"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 82.29 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[v3,2/6] ASoC: sophgo: add CV1800B I2S/TDM controller driver"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[v3,2/6] ASoC: sophgo: add CV1800B I2S/TDM controller driver"
kdoc
Desc: Detects for kdoc errors
Duration: 1.02 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[v3,2/6] ASoC: sophgo: add CV1800B I2S/TDM controller driver"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[v3,2/6] ASoC: sophgo: add CV1800B I2S/TDM controller driver"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[v3,2/6] ASoC: sophgo: add CV1800B I2S/TDM controller driver"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 4: "[v3,4/6] ASoC: sophgo: add CV1800B internal ADC codec driver"
kdoc
Desc: Detects for kdoc errors
Duration: 1.00 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 4: "[v3,4/6] ASoC: sophgo: add CV1800B internal ADC codec driver"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 4: "[v3,4/6] ASoC: sophgo: add CV1800B internal ADC codec driver"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 4: "[v3,4/6] ASoC: sophgo: add CV1800B internal ADC codec driver"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 5: "[v3,5/6] ASoC: sophgo: add CV1800B internal DAC codec driver"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 114.64 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 5: "[v3,5/6] ASoC: sophgo: add CV1800B internal DAC codec driver"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1171.93 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 5: "[v3,5/6] ASoC: sophgo: add CV1800B internal DAC codec driver"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1482.62 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 5: "[v3,5/6] ASoC: sophgo: add CV1800B internal DAC codec driver"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 24.95 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 5: "[v3,5/6] ASoC: sophgo: add CV1800B internal DAC codec driver"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.81 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 5: "[v3,5/6] ASoC: sophgo: add CV1800B internal DAC codec driver"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.54 seconds
Result: WARNING
Output:

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#56: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 228 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit c4595569b161 ("ASoC: sophgo: add CV1800B internal DAC codec driver") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 1 warnings, 0 checks, 228 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Author

Patch 5: "[v3,5/6] ASoC: sophgo: add CV1800B internal DAC codec driver"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 81.57 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 5: "[v3,5/6] ASoC: sophgo: add CV1800B internal DAC codec driver"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 5: "[v3,5/6] ASoC: sophgo: add CV1800B internal DAC codec driver"
kdoc
Desc: Detects for kdoc errors
Duration: 1.03 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 5: "[v3,5/6] ASoC: sophgo: add CV1800B internal DAC codec driver"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 5: "[v3,5/6] ASoC: sophgo: add CV1800B internal DAC codec driver"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 5: "[v3,5/6] ASoC: sophgo: add CV1800B internal DAC codec driver"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.32 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 6: "[v3,6/6] riscv: dts: sophgo: dts nodes for i2s tdm modules"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 113.99 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 6: "[v3,6/6] riscv: dts: sophgo: dts nodes for i2s tdm modules"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1199.78 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 6: "[v3,6/6] riscv: dts: sophgo: dts nodes for i2s tdm modules"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1511.18 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 6: "[v3,6/6] riscv: dts: sophgo: dts nodes for i2s tdm modules"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.21 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 6: "[v3,6/6] riscv: dts: sophgo: dts nodes for i2s tdm modules"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 29.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 6: "[v3,6/6] riscv: dts: sophgo: dts nodes for i2s tdm modules"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.75 seconds
Result: WARNING
Output:

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#19: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 124 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit 94b11718e2b2 ("riscv: dts: sophgo: dts nodes for i2s tdm modules") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 1 warnings, 0 checks, 124 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Author

Patch 6: "[v3,6/6] riscv: dts: sophgo: dts nodes for i2s tdm modules"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 81.47 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 6: "[v3,6/6] riscv: dts: sophgo: dts nodes for i2s tdm modules"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 3.04 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 6: "[v3,6/6] riscv: dts: sophgo: dts nodes for i2s tdm modules"
kdoc
Desc: Detects for kdoc errors
Duration: 1.00 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 6: "[v3,6/6] riscv: dts: sophgo: dts nodes for i2s tdm modules"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 6: "[v3,6/6] riscv: dts: sophgo: dts nodes for i2s tdm modules"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 6: "[v3,6/6] riscv: dts: sophgo: dts nodes for i2s tdm modules"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.51 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw1044261 branch January 20, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants