From: Luca Santini <luca.santini@spesonline.com>
To: linux-sh@vger.kernel.org
Subject: Re: i2c_board_info use
Date: Wed, 30 Jul 2008 16:23:10 +0000 [thread overview]
Message-ID: <4890956E.2000800@spesonline.com> (raw)
In-Reply-To: <48906795.9040101@spesonline.com>
Thanks Manuel.
I'm trying the conversion.
A last (i hope for you) question: i cross-compiled alsa-lib and
alsa-utils but i don't know how to configure alsa without alsaconf and
alsamixer (no lspci, no lsmod, no ncurses avaiable)
Manuel Lauss wrote:
> Luca Santini wrote:
>>
>> can you suggest a new-style driver for inspiration?
>
> This might help. I wrote an AD1939 driver a year ago
> which went into the ASoC tree with old-style I2C probe code.
>
> Here's the version with old-style probing:
> http://opensource.wolfsonmicro.com/cgi-bin/gitweb.cgi?p=linux-2.6-asoc.git;a=blob;f=sound/soc/codecs/ad1939.c;hîe858acddcb5a414a52f862204a6a2c4d519239;hb\x15fbaddfbb16309c37f02341425b13046af3f215
>
>
> And here's a version with new-style probing.
> http://mlau.at/files/ad1939.c
>
> You should be able to use the differences in the i2c probe
> of the 2 versions as a template for wm8731 conversion.
>
> (I once had a patch to i2c-sh7760.c which implemented SMBus quick
> in a crude, non-i2c-maintainer-compatible way, let me see if I
> can dig it up again...)
>
> Good luck!
> Manuel Lauss
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
next prev parent reply other threads:[~2008-07-30 16:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-30 13:07 i2c_board_info use Luca Santini
2008-07-30 14:06 ` Luca Santini
2008-07-30 14:31 ` Manuel Lauss
2008-07-30 16:23 ` Luca Santini [this message]
2008-07-31 5:13 ` Manuel Lauss
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=4890956E.2000800@spesonline.com \
--to=luca.santini@spesonline.com \
--cc=linux-sh@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox