[Gta04-owner] fm-tuner

Dr. H. Nikolaus Schaller hns at goldelico.com
Thu Oct 24 10:02:23 CEST 2013


Hi,

Am 23.10.2013 um 22:48 schrieb Andreas Kemnade:

> On Wed, 2013-10-23 at 22:38 +0200, Andreas Kemnade wrote: 
>> Hi,
>> 
> 
>> I just compiled 3.11-nplus. arecord does just give timeouts, no data.
>> 
> And then I found this. This looks really, really wrong:

Well, it is not really wrong - it is a reminder that it needs more work :)

> 
> http://git.goldelico.com/?p=gta04-kernel.git;a=blobdiff;f=arch/arm/mach-omap2/board-omap3gta04.c;h=97a04f303e399743f7000b56360225b46a733bbd;hp=fe8f002b2aa2b010d85f272740c70d0ffbf001d6;hb=055bd1b74c781539ad4e03bfa66200ff231e7672;hpb=d7277285cf1450513c06cb21dc5cb926609a0f8b

The patch is essentially a no-op since it only adds code that is commented out.

There is no platform data (yet) for our "si47xx_codec_audio", because we have no I2C control
through the kernel driver. Usually it would be provided by such a struct si47xx_setup_data.

It is intended to add some amixer controls for this "sound card" to control the frequency and
some other parameters.

Currently we leave all i2c control to user-space.

The reason is that the Linux kernel usually treats fm-radios completely different and not as
a sound card... There are drivers for I2C-Si4721 but AFAIK they assume an analog signal
path.

But then I don't know how to write such a driver but still using the McBSP interface because
it must be enabled/disabled in sync with the Si4721.

BR,
Nikolaus



More information about the Gta04-owner mailing list