RE: [PATCH v2] OMAP1: AMS_DELTA: add modem support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Janusz/Alan 

>-----Original Message-----
>From: linux-omap-owner@xxxxxxxxxxxxxxx [mailto:linux-omap-owner@xxxxxxxxxxxxxxx] On Behalf Of Janusz
>Krzysztofik
>
+static int __init ams_delta_modem_init(void)
>+{
>+	omap_cfg_reg(M14_1510_GPIO2);
>+	ams_delta_modem_ports[0].irq = gpio_to_irq(2);
>+	set_irq_type(gpio_to_irq(2), IRQ_TYPE_EDGE_RISING);

There is a recent change on specifying irqflags as example:
http://patchwork.kernel.org/patch/31888/

There is a dependency for Alan Cox to push this patch first though:
http://patchwork.kernel.org/patch/31884/

Reference:
http://lkml.indiana.edu/hypermail/linux/kernel/0906.2/02827.html


>+
>+	ams_delta_latch2_write(
>+		AMS_DELTA_LATCH2_MODEM_NRESET | AMS_DELTA_LATCH2_MODEM_CODEC,
>+		AMS_DELTA_LATCH2_MODEM_NRESET | AMS_DELTA_LATCH2_MODEM_CODEC);
>+
>+	return platform_device_register(&ams_delta_modem_device);
>+}
>+arch_initcall(ams_delta_modem_init);
>+
> static void __init ams_delta_map_io(void)
> {
> 	omap1_map_common_io();
>
>--
>To unsubscribe from this list: send the line "unsubscribe linux-omap" in
>the body of a message to majordomo@xxxxxxxxxxxxxxx
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux