Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Fifo-attached Serial Interface (FSI) support for SH7724
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Copyright (C) 2009 Renesas Solutions Corp.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  * Kuninori Morimoto <morimoto.kuninori@renesas.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #ifndef __SOUND_FSI_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #define __SOUND_FSI_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/clk.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include <sound/soc.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)  * flags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define SH_FSI_FMT_SPDIF		(1 << 0) /* spdif for HDMI */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #define SH_FSI_ENABLE_STREAM_MODE	(1 << 1) /* for 16bit data */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #define SH_FSI_CLK_CPG			(1 << 2) /* FSIxCK + FSI-DIV */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) struct sh_fsi_port_info {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	unsigned long flags;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	int tx_id;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	int rx_id;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) struct sh_fsi_platform_info {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	struct sh_fsi_port_info port_a;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	struct sh_fsi_port_info port_b;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #endif /* __SOUND_FSI_H */