About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / sound / samsung-i2s.txt

Custom Search

Based on kernel version 3.19. Page generated on 2015-02-13 21:19 EST.

1	* Samsung I2S controller
3	Required SoC Specific Properties:
5	- compatible : should be one of the following.
6	   - samsung,s3c6410-i2s: for 8/16/24bit stereo I2S.
7	   - samsung,s5pv210-i2s: for 8/16/24bit multichannel(5.1) I2S with
8	     secondary fifo, s/w reset control and internal mux for root clk src.
9	   - samsung,exynos5420-i2s: for 8/16/24bit multichannel(5.1) I2S for
10	     playback, sterio channel capture, secondary fifo using internal
11	     or external dma, s/w reset control, internal mux for root clk src
12	     and 7.1 channel TDM support for playback. TDM (Time division multiplexing)
13	     is to allow transfer of multiple channel audio data on single data line.
14	   - samsung,exynos7-i2s: with all the available features of exynos5 i2s,
15	     exynos7 I2S has 7.1 channel TDM support for capture, secondary fifo
16	     with only external dma and more no.of root clk sampling frequencies.
17	   - samsung,exynos7-i2s1: I2S1 on previous samsung platforms supports
18	     stereo channels. exynos7 i2s1 upgraded to 5.1 multichannel with
19	     slightly modified bit offsets.
21	- reg: physical base address of the controller and length of memory mapped
22	  region.
23	- dmas: list of DMA controller phandle and DMA request line ordered pairs.
24	- dma-names: identifier string for each DMA request line in the dmas property.
25	  These strings correspond 1:1 with the ordered pairs in dmas.
26	- clocks: Handle to iis clock and RCLK source clk.
27	- clock-names:
28	  i2s0 uses some base clks from CMU and some are from audio subsystem internal
29	  clock controller. The clock names for i2s0 should be "iis", "i2s_opclk0" and
30	  "i2s_opclk1" as shown in the example below.
31	  i2s1 and i2s2 uses clocks from CMU. The clock names for i2s1 and i2s2 should
32	  be "iis" and "i2s_opclk0".
33	  "iis" is the i2s bus clock and i2s_opclk0, i2s_opclk1 are sources of the root
34	  clk. i2s0 has internal mux to select the source of root clk and i2s1 and i2s2
35	  doesn't have any such mux.
37	Optional SoC Specific Properties:
39	- samsung,idma-addr: Internal DMA register base address of the audio
40	  sub system(used in secondary sound source).
41	- pinctrl-0: Should specify pin control groups used for this controller.
42	- pinctrl-names: Should contain only one value - "default".
44	Example:
46	i2s0: i2s@03830000 {
47		compatible = "samsung,s5pv210-i2s";
48		reg = <0x03830000 0x100>;
49		dmas = <&pdma0 10
50			&pdma0 9
51			&pdma0 8>;
52		dma-names = "tx", "rx", "tx-sec";
53		clocks = <&clock_audss EXYNOS_I2S_BUS>,
54			<&clock_audss EXYNOS_I2S_BUS>,
55			<&clock_audss EXYNOS_SCLK_I2S>;
56		clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
57		samsung,idma-addr = <0x03000000>;
58		pinctrl-names = "default";
59		pinctrl-0 = <&i2s0_bus>;
60	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.