All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
To: Christian Hartmann <cornogle@googlemail.com>
Cc: patches@opensource.wolfsonmicro.com,
	linux-acpi <linux-acpi@vger.kernel.org>
Subject: Re: Fwd: ASoC : WM5102 Audio Codec needs ACPI support and a baytrail machine driver
Date: Mon, 22 Jun 2015 13:00:20 +0100	[thread overview]
Message-ID: <20150622120020.GB32730@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <CAKor6TcfpAhzWeJdoyzwEG79BLvx-9jhunbaYdE5GUTH4k7qVg@mail.gmail.com>

On Mon, Jun 22, 2015 at 11:55:13AM +0200, Christian Hartmann wrote:
> hi list,
> 
> FYI - I have some local patches (currently not ready to sent && merge) but
> want to let you know about the new status:
> 
> the init messages I have now from the arizona-spi for the audio codec
> WM5102  in dmesg of my local patched 4.1.0 (mainline aka
> torvals/master) are:
> 
> [    6.067993] pxa2xx-spi 80860F0E:00: no DMA channels available, using PIO
> [    6.068072] pxa2xx-spi 80860F0E:00: registered master spi32766 (dynamic)
> [    6.068216] spi spi-WM510205:00: 8333333 Hz actual, PIO
> [    6.068224] spi spi-WM510205:00: setup mode 0, 8 bits/w, 8000000 Hz max --> 0
> [    6.068284] spi spi-WM510205:00: checking WM510205 with wm8310
> [    6.068290] spi spi-WM510205:00: checking WM510205 with wm8311
> [    6.068295] spi spi-WM510205:00: checking WM510205 with wm8312
> [    6.068299] spi spi-WM510205:00: checking WM510205 with wm8320
> [    6.068304] spi spi-WM510205:00: checking WM510205 with wm8321
> [    6.068308] spi spi-WM510205:00: checking WM510205 with wm8325
> [    6.068312] spi spi-WM510205:00: checking WM510205 with wm8326
> [    6.068316] spi spi-WM510205:00: modalias WM510205 in id_table not
> found, returns NULL
> [    6.068322] spi spi-WM510205:00: checking WM510205 with bmp180
> [    6.068327] spi spi-WM510205:00: checking WM510205 with bmp181
> [    6.068331] spi spi-WM510205:00: modalias WM510205 in id_table not
> found, returns NULL
> [    6.068337] pxa2xx-spi 80860F0E:00: registered child spi-WM510205:00
> [    6.143633] arizona spi-WM510205:00: acpi_match_device() first,
> than via spi_get_device_id().
> [    6.143643] arizona spi-WM510205:00: matched ACPI ID and data
> [    6.143648] arizona spi-WM510205:00: using 1 as type for arizona audio codec
> [    6.143652] arizona spi-WM510205:00: regmap set to wm5102_spi
> [    6.144461] arizona spi-WM510205:00: arizona_spi_probe done, call
> and return of  arizona_dev_init
> [    6.144576] spi-WM510205:00 supply AVDD not found, using dummy regulator
> [    6.144761] spi-WM510205:00 supply DBVDD1 not found, using dummy regulator
> [    6.144784] spi-WM510205:00 supply DCVDD not found, using dummy regulator
> [    6.176047] arizona spi-WM510205:00: Unknown device ID: ffff

My guess here is that the GPIOs for the reset and LDOENA lines
are not specified. I think the Windows guys specify very little
through ACPI and hard-code most of it into the driver, so you are
probably going to need to find a way to define some pdata for the
CODEC to get things going here.

Also not finding DCVDD is a bit odd make sure you have the
arizona-ldo1 driver built into your system.

> [    6.194727] sst-acpi 80860F28:00: No matching ASoC machine driver found
> 
> Note : most of the messages here are by local dev_err() added into
> some functions used to see whats going
> on there...
> 
> It seems that I have to patch arizona_core again: the function
> arizona_dev_init() to, so it will find and use the correct device
> ID...
> So going on and will report soon again
> 
> That all but not trivial...
> 
> 
> cheers
> Christian H.

Thanks,
Charles
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in

  reply	other threads:[~2015-06-22 12:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-16 10:00 ASoC : WM5102 Audio Codec needs ACPI support and a baytrail machine driver Christian Hartmann
2015-06-16 12:27 ` Christian Hartmann
2015-06-16 13:10   ` Fwd: " Christian Hartmann
2015-06-16 14:47     ` Charles Keepax
2015-06-22  9:55       ` Christian Hartmann
2015-06-22 12:00         ` Charles Keepax [this message]
2015-06-24  8:48           ` Charles Keepax

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150622120020.GB32730@opensource.wolfsonmicro.com \
    --to=ckeepax@opensource.wolfsonmicro.com \
    --cc=cornogle@googlemail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=patches@opensource.wolfsonmicro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.