Configuration-Problem ext-interrupt on mpc52xx

Juergen Beisert jbe at
Thu Sep 20 00:54:19 EST 2007


On Wednesday 19 September 2007 13:59, S. Fricke wrote:
> how can i configure an "ext interrupt" to high-level? I want a interruption
> on IRQ2, but I checked with an oscilloscope that the pin has a low state
> and I needs a high state.
> I have tried, after I got the irq (with irq_of_parse_and_map), set it with
>     set_irq_type(irq, IRQ_TYPE_LEVEL_HIGH);
> But I think it is a system-configuration (irq_desc) and no
> device-configuration.

Try with the attached patch.


Dipl.-Ing. Juergen Beisert |
 Pengutronix - Linux Solutions for Science and Industry
    Handelsregister: Amtsgericht Hildesheim, HRA 2686
         Vertretung Sued/Muenchen, Germany
   Phone: +49-8766-939 228 |  Fax: +49-5121-206917-9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpc52xx_extirq_set_type.diff
Type: text/x-diff
Size: 1586 bytes
Desc: not available
URL: <>

More information about the Linuxppc-dev mailing list