mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
c32759035a
This patch adds support for audio CODEC core of rk3328. Rockchip does not publish detail specification of this core but driver source code is opened on their GitHub repository. https://github.com/rockchip-linux/kernel So I ported this code to linux-next and added some trivial fixes. Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net> Signed-off-by: Mark Brown <broonie@kernel.org>
24 lines
672 B
Plaintext
24 lines
672 B
Plaintext
* Rockchip Rk3328 internal codec
|
|
|
|
Required properties:
|
|
|
|
- compatible: "rockchip,rk3328-codec"
|
|
- reg: physical base address of the controller and length of memory mapped
|
|
region.
|
|
- rockchip,grf: the phandle of the syscon node for GRF register.
|
|
- clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names.
|
|
- clock-names: should be "pclk".
|
|
- spk-depop-time-ms: speak depop time msec.
|
|
|
|
Example for rk3328 internal codec:
|
|
|
|
codec: codec@ff410000 {
|
|
compatible = "rockchip,rk3328-codec";
|
|
reg = <0x0 0xff410000 0x0 0x1000>;
|
|
rockchip,grf = <&grf>;
|
|
clocks = <&cru PCLK_ACODEC>;
|
|
clock-names = "pclk";
|
|
spk-depop-time-ms = 100;
|
|
status = "disabled";
|
|
};
|