From: Grant Likely <grant.likely@secretlab.ca>
To: Juergen Beisert <jbe@pengutronix.de>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: MPC5200: How to share GPIO and watchdog
Date: Sun, 19 Oct 2008 08:40:10 -0600 [thread overview]
Message-ID: <20081019144010.GB8086@secretlab.ca> (raw)
In-Reply-To: <200810151642.05145.jbe@pengutronix.de>
On Wed, Oct 15, 2008 at 04:42:04PM +0200, Juergen Beisert wrote:
> Hi list,
>
> the timer0 on the MPC5200B contains one GPIO and a timer/watchdog.
>
> If I'm using this node:
>
> timer@600 { /* General Purpose Timer */
> compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
> cell-index = <0>;
> reg = <0x600 0x10>;
> interrupts = <0x1 0x9 0x0>;
> interrupt-parent = <&mpc5200_pic>;
> fsl,has-wdt;
> };
>
> I will get watchdog support.
>
> If I'm using this node:
>
> timer@600 { /* General Purpose Timer */
> compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt","fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
> cell-index = <0>;
> reg = <0x600 0x10>;
> interrupts = <0x1 0x9 0x0>;
> interrupt-parent = <&mpc5200_pic>;
> gpio-controller;
> #gpio-cells = <2>;
> fsl,has-wdt;
> };
>
> I will get GPIO support, but no longer watchdog support (watchdogs probe
> function will never be called).
>
> Is there a way to get both features supported?
I don't believe so. In order to make this work you would need to merge
the two drivers into one I think (which probably isn't a bad idea).
g.
prev parent reply other threads:[~2008-10-19 14:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-15 14:42 MPC5200: How to share GPIO and watchdog Juergen Beisert
2008-10-19 14:40 ` Grant Likely [this message]
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=20081019144010.GB8086@secretlab.ca \
--to=grant.likely@secretlab.ca \
--cc=jbe@pengutronix.de \
--cc=linuxppc-embedded@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).