* rpx-lite led question
@ 2000-08-16 18:13 Pablo Le?n
2000-08-16 21:38 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Le?n @ 2000-08-16 18:13 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
We're new to linuxppc boards and have basic questions:
We're trying to develop a tiny driver for accesing the user leds of our R=
PX-Lite.
Any Sample code on writing linux device drivers?
Where can we find the address map of the board's leds?
Thanyou very much,
Pablo Le=F3n
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rpx-lite led question
2000-08-16 18:13 rpx-lite led question Pablo Le?n
@ 2000-08-16 21:38 ` Wolfgang Denk
2000-08-16 21:52 ` Paul Fagerburg
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2000-08-16 21:38 UTC (permalink / raw)
To: Pablo Le?n; +Cc: linuxppc-embedded
Dear Pablo,
in message <200008161901.e7GJ1Qg28132@smtp.wanadoo.es> you wrote:
>
> We're trying to develop a tiny driver for accesing the user leds of our R=
> PX-Lite.
>
> Any Sample code on writing linux device drivers?
Yepp: see http://www.denx.de/solutions-en.html#Drivers
This includes a simple LED driver for the TQM8xxL systems; the RPX is
probably not too much different.
> Where can we find the address map of the board's leds?
Ask the vendor / manufacturer?
Hope this helps,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
The ultimate barrier is one's viewpoint.
- Terry Pratchett, _The Dark Side of the Sun_
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: rpx-lite led question
2000-08-16 21:38 ` Wolfgang Denk
@ 2000-08-16 21:52 ` Paul Fagerburg
0 siblings, 0 replies; 3+ messages in thread
From: Paul Fagerburg @ 2000-08-16 21:52 UTC (permalink / raw)
To: 'Pablo Le?n'; +Cc: linuxppc-embedded
We have an RPX-Classic LF, which also has two user-controlled LED's. The
documentation which came with the board, in the Firmware guide, says that
the LED's are controlled by bits 4 and 5 in BCSR0. The RPX Lite is probably
similar if not identical.
-paul
> -----Original Message-----
> From: owner-linuxppc-embedded@lists.linuxppc.org
> [mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf
> Of Wolfgang
> Denk
> Sent: Wednesday, August 16, 2000 2:38 PM
> To: Pablo Le?n
> Cc: linuxppc-embedded@lists.linuxppc.org
> Subject: Re: rpx-lite led question
>
>
>
> Dear Pablo,
>
> in message <200008161901.e7GJ1Qg28132@smtp.wanadoo.es> you wrote:
> >
> > We're trying to develop a tiny driver for accesing the user
> leds of our R=
> > PX-Lite.
> >
> > Any Sample code on writing linux device drivers?
>
> Yepp: see http://www.denx.de/solutions-en.html#Drivers
>
> This includes a simple LED driver for the TQM8xxL systems; the RPX is
> probably not too much different.
>
> > Where can we find the address map of the board's leds?
>
> Ask the vendor / manufacturer?
>
> Hope this helps,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
> The ultimate barrier is one's viewpoint.
> - Terry Pratchett, _The Dark Side of the Sun_
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-08-16 21:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-16 18:13 rpx-lite led question Pablo Le?n
2000-08-16 21:38 ` Wolfgang Denk
2000-08-16 21:52 ` Paul Fagerburg
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).