mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
7ddb8b2d97b31f422a5f9769c583fb31b77f33d3
This patch exports I2Sx_IOE to allow user to config mclk
direction from DT.
e.g.
i2s2 mclk as output:
&ext_codec {
clocks = <&cru I2S2_MCLKOUT>;
clock-names = "mclk";
assigned-clocks = <&cru I2S2_MCLK_IOE>, <&cru I2S2_MCLKOUT>;
assigned-clock-rates = <0>, <12288000>;
assigned-clock-parents = <&cru I2S2_MCLKOUT>;
};
clk summary:
gpll 6 9 0 1188000000
clk_i2s2_2ch_src 0 0 0 594000000
clk_i2s2_2ch_frac 0 0 0 12288000
clk_i2s2_2ch 0 0 0 12288000
mclk_i2s2_2ch 0 0 0 12288000
i2s2_mclkout 0 0 0 12288000
i2s2_mclk_ioe 0 0 0 12288000
i2s2 mclk as input:
&ext_codec {
clocks = <&i2s2_mclkin>;
clock-names = "mclk";
assigned-clocks = <&cru I2S2_MCLK_IOE>, <&cru CLK_I2S2_2CH>;
assigned-clock-parents = <&i2s2_mclkin>, <&i2s2_mclkin>;
};
clk summary:
i2s2_mclkin 0 0 0 12288000
clk_i2s2_2ch 0 0 0 12288000
mclk_i2s2_2ch 0 0 0 12288000
i2s2_mclk_ioe 0 0 0 12288000
Change-Id: I57d10ea02b65bf14d2c2f9ff403f06ec4c33c610
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
…
…
…
…
…
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%