[Gta04-owner] FM Transceiver - split frequency?

Andreas Kemnade andreas at kemnade.info
Wed May 30 18:10:21 CEST 2012


Hi,

oh sorry, that was sending a patch without brain usage in a stupid way...
I'm sending it again in the next hours.

Greetings
Andreas Kemnade

On Mon, 28 May 2012 23:53:47 +0200
Belisko Marek <marek.belisko at gmail.com> wrote:

> Hi Andreas,
> 
> any update in FM area? In previous email you mention about McBSP1 patch
> but in your diff I cannot see any McBSP changes. Thanks
> 
> On Thu, Apr 19, 2012 at 11:21 PM, Belisko Marek <marek.belisko at gmail.com> wrote:
> > On Thu, Apr 12, 2012 at 11:16 PM, Andreas Kemnade <andreas at kemnade.info> wrote:
> >> Hi,
> >>
> >> On Thu, 2012-04-12 at 09:57 +0200, Andreas Kemnade wrote:
> >>> Hi,
> >>>
> >>> On Wed, 11 Apr 2012 23:53:47 +0200
> >>> Belisko Marek <marek.belisko at gmail.com> wrote:
> >>>
> >>> > > About the driver. the status is:
> >>> > > I can play audio data into the si4721. It arrives at the right pin.
> >>> > > Clock comes from the SoC and looks sane.
> >>> > Is there any driver available for that? I plan to work on FM receiver.
> >>> >
> >>> I have a userspace program to initialize the si4721 using /dev/i2c-2.
> >>> Thhat seems to work according to the RSSI values I get. I have an unfinished
> >>> patch for the 3.2 kernel for initializing McBSP1 accordingly. I'll
> >>> send the diff this evening, so you can help debugging.
> >>>
> >> the userspace program is at:
> >> http://misc.andi.de1.cc/si4721.c
> >>
> >> The kernel diff is attached (of course not cleaned up yet).
> > I can't compile attached diff with Neils 3.3 kernel. I got following
> > errors (fixes are in attachment):
> > sound/soc/codecs/si47xx.c:54:29: error: conflicting types for
> > ‘soc_codec_dev_si47xx’
> > sound/soc/codecs/si47xx.h:29:36: note: previous declaration of
> > ‘soc_codec_dev_si47xx’ was here
> >
> > sound/soc/omap/gta04-fm.c:113:15: error: variable ‘gta04_fm_devdata’
> > has initializer but incomplete type
> > sound/soc/omap/gta04-fm.c:114:2: error: unknown field ‘card’ specified
> > in initializer
> > sound/soc/omap/gta04-fm.c:114:2: warning: excess elements in struct
> > initializer [enabled by default]
> > sound/soc/omap/gta04-fm.c:114:2: warning: (near initialization for
> > ‘gta04_fm_devdata’) [enabled by default]
> > sound/soc/omap/gta04-fm.c:115:2: error: unknown field ‘codec_dev’
> > specified in initializer
> > sound/soc/omap/gta04-fm.c:115:2: warning: excess elements in struct
> > initializer [enabled by default]
> > sound/soc/omap/gta04-fm.c:115:2: warning: (near initialization for
> > ‘gta04_fm_devdata’) [enabled by default]
> > sound/soc/omap/gta04-fm.c:116:2: error: unknown field ‘codec_data’
> > specified in initializer
> > sound/soc/omap/gta04-fm.c:116:2: warning: excess elements in struct
> > initializer [enabled by default]
> > sound/soc/omap/gta04-fm.c:116:2: warning: (near initialization for
> > ‘gta04_fm_devdata’) [enabled by default]
> > sound/soc/omap/gta04-fm.c:113:30: warning: ‘gta04_fm_devdata’ defined
> > but not used [-Wunused-variable]
> >
> >> arecord -D default:CARD=gta04fm
> >> should as far as I understand (clock has to come from the SoC) it should
> >> spit out data even if the si4721 is not correctly configured.
> >> But it does not. We should check the registers if there
> >> waits data to be collected and dma ist just not working.
> >>
> >> Just one hint if you read datasheets and drivers: The chip family seems
> >> to have different firmware versions, so that for older chips there
> >> are chips which have a totally different interface and newer ones. For
> >> the si4721 itself the problem seems not to exist. But a generic si47xx
> >> driver made for older ones will not work.
> >> Of course the userspace program should be merged with some driver in the
> >> kernel.
> >>
> >> Greetings
> >> Andreas Kemnade
> >>
> >> _______________________________________________
> >> Gta04-owner mailing list
> >> Gta04-owner at goldelico.com
> >> http://lists.goldelico.com/mailman/listinfo/gta04-owner
> >>
> >
> > regards,
> >
> > marek
> >
> > --
> > as simple and primitive as possible
> > -------------------------------------------------
> > Marek Belisko - OPEN-NANDRA
> > Freelance Developer
> >
> > Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> > Tel: +421 915 052 184
> > skype: marekwhite
> > twitter: #opennandra
> > web: http://open-nandra.com
> 
> marek
> 
> -- 
> as simple and primitive as possible
> -------------------------------------------------
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
> 
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> twitter: #opennandra
> web: http://open-nandra.com
> _______________________________________________
> Gta04-owner mailing list
> Gta04-owner at goldelico.com
> http://lists.goldelico.com/mailman/listinfo/gta04-owner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120530/00ab0b3a/attachment.bin>


More information about the Gta04-owner mailing list