Skip to content

Commit

Permalink
ASoC: nau8810: Add driver for Nuvoton codec chip NAU88C10
Browse files Browse the repository at this point in the history
The driver is for codec NAU88C10 of Nuvoton Technology Corporation.

Signed-off-by: John Hsu <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
John-Hsu authored and broonie committed Aug 22, 2016
1 parent 29b4817 commit b6970b4
Show file tree
Hide file tree
Showing 5 changed files with 1,188 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Documentation/devicetree/bindings/sound/nau8810.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
NAU8810 audio CODEC

This device supports I2C only.

Required properties:

- compatible : "nuvoton,nau8810"

- reg : the I2C address of the device.

Example:

codec: nau8810@1a {
compatible = "nuvoton,nau8810";
reg = <0x1a>;
};
5 changes: 5 additions & 0 deletions sound/soc/codecs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ config SND_SOC_ALL_CODECS
select SND_SOC_MAX9877 if I2C
select SND_SOC_MC13783 if MFD_MC13XXX
select SND_SOC_ML26124 if I2C
select SND_SOC_NAU8810 if I2C
select SND_SOC_NAU8825 if I2C
select SND_SOC_HDMI_CODEC
select SND_SOC_PCM1681 if I2C
Expand Down Expand Up @@ -1064,6 +1065,10 @@ config SND_SOC_MC13783
config SND_SOC_ML26124
tristate

config SND_SOC_NAU8810
tristate "Nuvoton Technology Corporation NAU88C10 CODEC"
depends on I2C

config SND_SOC_NAU8825
tristate

Expand Down
2 changes: 2 additions & 0 deletions sound/soc/codecs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ snd-soc-max9850-objs := max9850.o
snd-soc-max9860-objs := max9860.o
snd-soc-mc13783-objs := mc13783.o
snd-soc-ml26124-objs := ml26124.o
snd-soc-nau8810-objs := nau8810.o
snd-soc-nau8825-objs := nau8825.o
snd-soc-hdmi-codec-objs := hdmi-codec.o
snd-soc-pcm1681-objs := pcm1681.o
Expand Down Expand Up @@ -307,6 +308,7 @@ obj-$(CONFIG_SND_SOC_MAX9850) += snd-soc-max9850.o
obj-$(CONFIG_SND_SOC_MAX9860) += snd-soc-max9860.o
obj-$(CONFIG_SND_SOC_MC13783) += snd-soc-mc13783.o
obj-$(CONFIG_SND_SOC_ML26124) += snd-soc-ml26124.o
obj-$(CONFIG_SND_SOC_NAU8810) += snd-soc-nau8810.o
obj-$(CONFIG_SND_SOC_NAU8825) += snd-soc-nau8825.o
obj-$(CONFIG_SND_SOC_HDMI_CODEC) += snd-soc-hdmi-codec.o
obj-$(CONFIG_SND_SOC_PCM1681) += snd-soc-pcm1681.o
Expand Down
Loading

0 comments on commit b6970b4

Please sign in to comment.