[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211024094317.1641949-1-t123yh@outlook.com>
Date: Sun, 24 Oct 2021 17:43:14 +0800
From: Yunhao Tian <t123yh.xyz@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: Yunhao Tian <t123yh.xyz@...il.com>,
Heiko Stuebner <heiko@...ech.de>,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org,
alsa-devel@...a-project.org, linux-arm-kernel@...ts.infradead.org
Subject: [PATCH 0/3] Rockchip S/PDIF Reciever Driver
From: Yunhao Tian <t123yh.xyz@...il.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
Powered by blists - more mailing lists