fuze+: add RDS support
commit1d21e54fc4f586bbdfb765c90c9a64c060eeecc4
authorAmaury Pouly <amaury.pouly@gmail.com>
Thu, 10 May 2012 16:29:43 +0000 (10 18:29 +0200)
committerAmaury Pouly <amaury.pouly@gmail.com>
Sat, 12 May 2012 11:09:06 +0000 (12 13:09 +0200)
treeb6eb135bd7136781bda7c5d2d9ce08b3d74d78eb
parent2202ed35351c30af6ce157002e5cb072b0b66a69
fuze+: add RDS support

I successfully identified the STC/RDS pin as B2P27.
Strangely the OF uses polling instead of interrupts
but since they routed it, let's use it! On the fuze+
the fmradio i2c uses bit toggling so we can't read
the RDS data in the interrupt context. Instead we
defer the work to a thread.

Change-Id: Iedfa425320e6c91b4351b72e97c732696bdb2b73
Reviewed-on: http://gerrit.rockbox.org/236
Reviewed-by: Bertrik Sikken <bertrik@sikken.nl>
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
firmware/export/config/sansafuzeplus.h
firmware/target/arm/imx233/sansa-fuzeplus/fmradio-i2c-fuzeplus.c