From: "Alan Bennett" <embedded@akb.net>
To: linuxppc-dev@ozlabs.org
Subject: Freescale Interrupt enabling
Date: Thu, 18 Oct 2007 08:41:35 -0600 [thread overview]
Message-ID: <bfa0697f0710180741i5063ad94ga13086bf3c43a511@mail.gmail.com> (raw)
We were developing with Linux 2.6.10 and a Planetcore boot loader,
however, recent work has us up and running with 2.6.23+ and U-boot
1.2.0. However, we are now running into a few challenges regarding
the differences.
Our driver writer's code isn't functioning, but it was with 2.6.10 and
planet core. The best I can tell is that the default interrupt
controller configuration isn't where it was in the planetcore/2.6.10
version.
for example, let's look at enabling timer1 / interrupt number 12
simple description.
timer1 {
name = "timer1";
compatible = "fsl,mpc8248_timer";
interrupts = <c 8>;
interrupt-parent = <&PIC>;
What should be done to consume the above description in the device
tree, program the SIU and configure the irq for request? I'm looking
through the existing drivers to get a feel, but both the enets and the
uarts are overly complex for the simple task of enabling a timer, as
our driver code already works with the irq on other linux
kernels/bootloaders.
-Alan
next reply other threads:[~2007-10-18 14:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-18 14:41 Alan Bennett [this message]
2007-10-19 1:46 ` Freescale Interrupt enabling David Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bfa0697f0710180741i5063ad94ga13086bf3c43a511@mail.gmail.com \
--to=embedded@akb.net \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).