linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Rockchip S/PDIF Reciever Driver
@ 2021-10-24  9:43 Yunhao Tian
  2021-10-24  9:43 ` [PATCH 1/3] ASoC: rockchip: add support for spdifrx receiver Yunhao Tian
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Yunhao Tian @ 2021-10-24  9:43 UTC (permalink / raw)
  To: Mark Brown
  Cc: Yunhao Tian, Heiko Stuebner, linux-rockchip, linux-kernel,
	alsa-devel, linux-arm-kernel

From: Yunhao Tian <t123yh.xyz@gmail.com>

Hello,

This patch series adds support for S/PDIF receiver found
on RK3308.

The code is based on Rockchip Kernel 4.4. Several ALSA
controls such as synchronization status, sample rate and
channel status bits are added. Also some basic error handling
such as parity error or BMC decode error are performed. The 
implementation took stm32-spdifrx and mchp-spdifrx as reference.

The driver is tested to be working on my custom board based
on Firefly CORE-3308Y, with a TOSLINK receiver.

This is my first time submitting a new driver to kernel, so
I'll appreciate it if I can be corrected for anything wrong.

Yunhao Tian (3):
  ASoC: rockchip: add support for spdifrx receiver
  ASoC: dt-bindings: rockchip: add spdifrx bindings
  arm64: dts: rockchip: add spdifrx support to rk3308.dtsi

 .../bindings/sound/rockchip-spdifrx.yaml      |  80 +++
 MAINTAINERS                                   |   7 +
 arch/arm64/boot/dts/rockchip/rk3308.dtsi      |  16 +
 sound/soc/rockchip/Kconfig                    |   8 +
 sound/soc/rockchip/Makefile                   |   2 +
 sound/soc/rockchip/rockchip_spdifrx.c         | 660 ++++++++++++++++++
 sound/soc/rockchip/rockchip_spdifrx.h         |  90 +++
 7 files changed, 863 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/rockchip-spdifrx.yaml
 create mode 100644 sound/soc/rockchip/rockchip_spdifrx.c
 create mode 100644 sound/soc/rockchip/rockchip_spdifrx.h

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-25 11:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-24  9:43 [PATCH 0/3] Rockchip S/PDIF Reciever Driver Yunhao Tian
2021-10-24  9:43 ` [PATCH 1/3] ASoC: rockchip: add support for spdifrx receiver Yunhao Tian
2021-10-25 11:52   ` Mark Brown
2021-10-24  9:43 ` [PATCH 2/3] ASoC: dt-bindings: rockchip: add spdifrx bindings Yunhao Tian
2021-10-24  9:43 ` [PATCH 3/3] arm64: dts: rockchip: add spdifrx support to rk3308.dtsi Yunhao Tian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).