Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
478b7746
Commit
478b7746
authored
Jul 03, 2017
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/zx-aud96p22' into asoc-next
parents
f116d2ff
0e15bdfd
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
434 additions
and
0 deletions
+434
-0
Documentation/devicetree/bindings/sound/zte,zx-aud96p22.txt
Documentation/devicetree/bindings/sound/zte,zx-aud96p22.txt
+24
-0
sound/soc/codecs/Kconfig
sound/soc/codecs/Kconfig
+5
-0
sound/soc/codecs/Makefile
sound/soc/codecs/Makefile
+2
-0
sound/soc/codecs/zx_aud96p22.c
sound/soc/codecs/zx_aud96p22.c
+403
-0
No files found.
Documentation/devicetree/bindings/sound/zte,zx-aud96p22.txt
0 → 100644
View file @
478b7746
ZTE ZX AUD96P22 Audio Codec
Required properties:
- compatible: Must be "zte,zx-aud96p22"
- #sound-dai-cells: Should be 0
- reg: I2C bus slave address of AUD96P22
Example:
i2c0: i2c@1486000 {
compatible = "zte,zx296718-i2c";
reg = <0x01486000 0x1000>;
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&audiocrm AUDIO_I2C0_WCLK>;
clock-frequency = <1600000>;
aud96p22: codec@22 {
compatible = "zte,zx-aud96p22";
#sound-dai-cells = <0>;
reg = <0x22>;
};
};
sound/soc/codecs/Kconfig
View file @
478b7746
...
...
@@ -1119,6 +1119,11 @@ config SND_SOC_WM9713
tristate
select REGMAP_AC97
config SND_SOC_ZX_AUD96P22
tristate "ZTE ZX AUD96P22 CODEC"
depends on I2C
select REGMAP_I2C
# Amp
config SND_SOC_LM4857
tristate
...
...
sound/soc/codecs/Makefile
View file @
478b7746
...
...
@@ -225,6 +225,7 @@ snd-soc-wm9705-objs := wm9705.o
snd-soc-wm9712-objs
:=
wm9712.o
snd-soc-wm9713-objs
:=
wm9713.o
snd-soc-wm-hubs-objs
:=
wm_hubs.o
snd-soc-zx-aud96p22-objs
:=
zx_aud96p22.o
# Amp
snd-soc-dio2125-objs
:=
dio2125.o
snd-soc-max9877-objs
:=
max9877.o
...
...
@@ -457,6 +458,7 @@ obj-$(CONFIG_SND_SOC_WM9712) += snd-soc-wm9712.o
obj-$(CONFIG_SND_SOC_WM9713)
+=
snd-soc-wm9713.o
obj-$(CONFIG_SND_SOC_WM_ADSP)
+=
snd-soc-wm-adsp.o
obj-$(CONFIG_SND_SOC_WM_HUBS)
+=
snd-soc-wm-hubs.o
obj-$(CONFIG_SND_SOC_ZX_AUD96P22)
+=
snd-soc-zx-aud96p22.o
# Amp
obj-$(CONFIG_SND_SOC_DIO2125)
+=
snd-soc-dio2125.o
...
...
sound/soc/codecs/zx_aud96p22.c
0 → 100644
View file @
478b7746
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment