-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: rockchip: support ACODEC for rk3328
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>
- Loading branch information
Katsuhiro Suzuki
authored and
Mark Brown
committed
Jan 3, 2019
1 parent
2d01a84
commit c327590
Showing
5 changed files
with
757 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
Documentation/devicetree/bindings/sound/rockchip,rk3328-codec.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
* 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"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.