[PATCH resend] omap: rx51: Add SI4713 FM transmitter

Varadarajan, Charulatha charu at ti.com
Mon Feb 21 02:40:59 EST 2011


On Mon, Feb 21, 2011 at 12:12, Jarkko Nikula <jhnikula at gmail.com> wrote:
> Add SI4713 FM transmitter supplies, platform data and setup to RX-51/N900.
> It is connected to line output signals of TLV320AIC34 codec A part.
> Driver can be either built-in or a module. It can be tuned with v4l2-ctl
> from ivtv-utils. Following examples illustrate the use of it:
>
>        v4l2-ctl -d /dev/radio0 --set-ctrl=mute=0 (power up)
>        v4l2-ctl -d /dev/radio0 -f 107900 (tune 107.9 MHz)
>
>        v4l2-ctl -d /dev/radio0 --set-ctrl=mute=1 (power down)
>
> Signed-off-by: Jarkko Nikula <jhnikula at gmail.com>
> ---
> Resend = forgot to cc LAKML.
> ---

<<snip>>

> +
> +static __init void rx51_init_si4713(void)
> +{
> +       int err;
> +
> +       err = gpio_request_one(RX51_FMTX_IRQ, GPIOF_DIR_IN, "si4713 irq");
> +       if (err) {
> +               printk(KERN_ERR "Cannot request si4713 irq gpio. %d\n", err);

use pr_err instead of printk.

> +               return;
> +       }
> +       rx51_si4713_board_info.irq = gpio_to_irq(RX51_FMTX_IRQ);
> +       platform_device_register(&rx51_si4713_dev);
> +}
> +

<<snip>>



More information about the linux-arm-kernel mailing list