summaryrefslogtreecommitdiff
path: root/drivers/sound/samsung_sound.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-02-10 08:11:32 -0500
committerTom Rini <trini@konsulko.com>2019-02-10 08:11:32 -0500
commit151b8339ccd33428d249e75bd036bd7eb33c1ef6 (patch)
tree956862276c1a927bd1feea1d8f455047e267a92b /drivers/sound/samsung_sound.c
parent2e8560797fc69a34c330a875da4f5d2992452f1e (diff)
parentafcd64579486e1745a3cb964bfe36267d90b4c3e (diff)
Merge tag 'dm-pull-10feb19' of git://git.denx.de/u-boot-dm
Samsung sound patches (applied for Samsung maintainer) Common sound support buildman environment support of-platdata documentation improvements
Diffstat (limited to 'drivers/sound/samsung_sound.c')
-rw-r--r--drivers/sound/samsung_sound.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/sound/samsung_sound.c b/drivers/sound/samsung_sound.c
index 1d711c8732..b6952675bd 100644
--- a/drivers/sound/samsung_sound.c
+++ b/drivers/sound/samsung_sound.c
@@ -10,6 +10,7 @@
#include <i2s.h>
#include <sound.h>
#include <asm/gpio.h>
+#include <asm/arch/power.h>
static int samsung_sound_setup(struct udevice *dev)
{
@@ -79,6 +80,9 @@ static int samsung_sound_probe(struct udevice *dev)
debug("Probed sound '%s' with codec '%s' and i2s '%s'\n", dev->name,
uc_priv->codec->name, uc_priv->i2s->name);
+ /* Enable codec clock */
+ set_xclkout();
+
return 0;
}
@@ -89,7 +93,7 @@ static const struct sound_ops samsung_sound_ops = {
static const struct udevice_id samsung_sound_ids[] = {
{ .compatible = "google,snow-audio-max98095" },
- { .compatible = "google,spring-audio-max98095" },
+ { .compatible = "google,spring-audio-max98088" },
{ .compatible = "samsung,smdk5420-audio-wm8994" },
{ .compatible = "google,peach-audio-max98090" },
{ }