-
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.
Merge remote-tracking branches 'asoc/topic/wm8960', 'asoc/topic/wm897…
…8' and 'asoc/topic/zte-tdm' into asoc-next
- Loading branch information
Showing
6 changed files
with
653 additions
and
49 deletions.
There are no files selected for viewing
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,30 @@ | ||
ZTE TDM DAI driver | ||
|
||
Required properties: | ||
|
||
- compatible : should be one of the following. | ||
* zte,zx296718-tdm | ||
- reg : physical base address of the controller and length of memory mapped | ||
region. | ||
- clocks : Pairs of phandle and specifier referencing the controller's clocks. | ||
- clock-names: "wclk" for the wclk. | ||
"pclk" for the pclk. | ||
-#clock-cells: should be 1. | ||
- zte,tdm-dma-sysctrl : Reference to the sysctrl controller controlling | ||
the dma. includes: | ||
phandle of sysctrl. | ||
register offset in sysctrl for control dma. | ||
mask of the register that be written to sysctrl. | ||
|
||
Example: | ||
|
||
tdm: tdm@1487000 { | ||
compatible = "zte,zx296718-tdm"; | ||
reg = <0x01487000 0x1000>; | ||
clocks = <&audiocrm AUDIO_TDM_WCLK>, <&audiocrm AUDIO_TDM_PCLK>; | ||
clock-names = "wclk", "pclk"; | ||
#clock-cells = <1>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&tdm_global_pin>; | ||
zte,tdm-dma-sysctrl = <&sysctrl 0x10c 4>; | ||
}; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
obj-$(CONFIG_ZX_SPDIF) += zx-spdif.o | ||
obj-$(CONFIG_ZX_I2S) += zx-i2s.o | ||
obj-$(CONFIG_ZX_TDM) += zx-tdm.o |
Oops, something went wrong.