Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Gilad Rom" <gilad@romat.com>
To: <linux-mips@linux-mips.org>
Subject: Re: GPIO on the Au1500
Date: Mon, 15 Nov 2004 09:44:31 +0200	[thread overview]
Message-ID: <0a9001c4cae6$f1aa3890$a701a8c0@lan> (raw)
In-Reply-To: 20041114184502.41815.qmail@web81007.mail.yahoo.com

Thank you for the driver, I'm using it as a reference.

Still, I am trying to acccess the GPIO ports of the Au1500
using /dev/mem, but I keep getting these odd values
(see previous messages to this list)

Do you think it is possible, 
or should I stick to using the driver?


Thank you,
Gilad.

----- Original Message ----- 
From: "Pete Popov" <ppopov@embeddedalley.com>
To: <charles.eidsness@ieee.org>; "Gilad Rom" <gilad@romat.com>
Cc: <linux-mips@linux-mips.org>
Sent: Sunday, November 14, 2004 8:45 PM
Subject: Re: GPIO on the Au1500


> 
> --- Charles Eidsness <charles.eidsness@ieee.org>
> wrote:
> 
>> Hi Gilad,
>> 
>> A little while ago I wrote my own GPIO driver for
>> the Au1000, mainly as a learning experience. I 
>> never bothered to release it because a driver 
>> already exists and I thought it was working. 
> 
> It was, a long time ago, when it was written for the
> Au1000. I had a user app and doc somewhere but can't
> find it anymore. The driver didn't support gpio2 and
> was, in general, stale. So perhaps your driver will
> help Gilad.
> 
> Pete
> 
>> I'm not sure if it will 
>> work on the Au1550, but if you're interested you can
>> find the source 
>> code here:
>> 
>>
> http://members.rogers.com/charles.eidsness/au1000_gpio.c
>>
> http://members.rogers.com/charles.eidsness/au1000_gpio.h
>> 
>> Cheers,
>> Charles
>> 
>> Gilad Rom wrote:
>> > Thanks. Can't I just mmap /dev/mem and use the
>> > GPIO offset from SYS_BASE?
>> > 
>> > Gilad.
>> > 
>> > ----- Original Message ----- From: "Pete Popov"
>> <ppopov@embeddedalley.com>
>> > To: "Gilad Rom" <gilad@romat.com>;
>> <linux-mips@linux-mips.org>
>> > Sent: Friday, November 12, 2004 8:13 PM
>> > Subject: Re: GPIO on the Au1500
>> > 
>> > 
>> >>
>> >> --- Gilad Rom <gilad@romat.com> wrote:
>> >>
>> >>> Hello,
>> >>>
>> >>> I am trying to use the au1000_gpio driver, but
>> I'm a
>> >>> little clueless as to how it is meant to be
>> used. Can I use the GPIO 
>> >>> ioctl's from a userland program, or must I write
>> a kernel module?
>> >>
>> >>
>> >> I'll see if I can dig up some docs and the
>> example
>> >> userland program this weekend. That driver hasn't
>> been
>> >> tested in a while though.
>> >>
>> >> Pete
>> >>
>> >>> Thank you,
>> >>> Gilad Rom
>> >>> Romat Telecom
>> >>>
>> >>>
>> >>>
>> >>
>> > 
>> > 
>> > 
>> 
>> 
> 
>

WARNING: multiple messages have this Message-ID (diff)
From: "Gilad Rom" <gilad@romat.com>
To: linux-mips@linux-mips.org
Subject: Re: GPIO on the Au1500
Date: Mon, 15 Nov 2004 09:44:31 +0200	[thread overview]
Message-ID: <0a9001c4cae6$f1aa3890$a701a8c0@lan> (raw)
Message-ID: <20041115074431.wLVR2SPX-J3VeeOFL4Yugoo89XAxsLtQsbMt87JyoXw@z> (raw)
In-Reply-To: 20041114184502.41815.qmail@web81007.mail.yahoo.com

Thank you for the driver, I'm using it as a reference.

Still, I am trying to acccess the GPIO ports of the Au1500
using /dev/mem, but I keep getting these odd values
(see previous messages to this list)

Do you think it is possible, 
or should I stick to using the driver?


Thank you,
Gilad.

----- Original Message ----- 
From: "Pete Popov" <ppopov@embeddedalley.com>
To: <charles.eidsness@ieee.org>; "Gilad Rom" <gilad@romat.com>
Cc: <linux-mips@linux-mips.org>
Sent: Sunday, November 14, 2004 8:45 PM
Subject: Re: GPIO on the Au1500


> 
> --- Charles Eidsness <charles.eidsness@ieee.org>
> wrote:
> 
>> Hi Gilad,
>> 
>> A little while ago I wrote my own GPIO driver for
>> the Au1000, mainly as a learning experience. I 
>> never bothered to release it because a driver 
>> already exists and I thought it was working. 
> 
> It was, a long time ago, when it was written for the
> Au1000. I had a user app and doc somewhere but can't
> find it anymore. The driver didn't support gpio2 and
> was, in general, stale. So perhaps your driver will
> help Gilad.
> 
> Pete
> 
>> I'm not sure if it will 
>> work on the Au1550, but if you're interested you can
>> find the source 
>> code here:
>> 
>>
> http://members.rogers.com/charles.eidsness/au1000_gpio.c
>>
> http://members.rogers.com/charles.eidsness/au1000_gpio.h
>> 
>> Cheers,
>> Charles
>> 
>> Gilad Rom wrote:
>> > Thanks. Can't I just mmap /dev/mem and use the
>> > GPIO offset from SYS_BASE?
>> > 
>> > Gilad.
>> > 
>> > ----- Original Message ----- From: "Pete Popov"
>> <ppopov@embeddedalley.com>
>> > To: "Gilad Rom" <gilad@romat.com>;
>> <linux-mips@linux-mips.org>
>> > Sent: Friday, November 12, 2004 8:13 PM
>> > Subject: Re: GPIO on the Au1500
>> > 
>> > 
>> >>
>> >> --- Gilad Rom <gilad@romat.com> wrote:
>> >>
>> >>> Hello,
>> >>>
>> >>> I am trying to use the au1000_gpio driver, but
>> I'm a
>> >>> little clueless as to how it is meant to be
>> used. Can I use the GPIO 
>> >>> ioctl's from a userland program, or must I write
>> a kernel module?
>> >>
>> >>
>> >> I'll see if I can dig up some docs and the
>> example
>> >> userland program this weekend. That driver hasn't
>> been
>> >> tested in a while though.
>> >>
>> >> Pete
>> >>
>> >>> Thank you,
>> >>> Gilad Rom
>> >>> Romat Telecom
>> >>>
>> >>>
>> >>>
>> >>
>> > 
>> > 
>> > 
>> 
>> 
> 
>

  reply	other threads:[~2004-11-15  7:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-12 10:38 GPIO on the Au1500 Gilad Rom
2004-11-12 10:38 ` Gilad Rom
2004-11-12 18:13 ` Pete Popov
2004-11-14  8:35   ` Gilad Rom
2004-11-14  8:35     ` Gilad Rom
2004-11-14 15:53     ` Gilad Rom
2004-11-14 15:53       ` Gilad Rom
2004-11-16  0:25       ` Dan Malek
2004-11-16  0:25         ` Dan Malek
2004-11-14 17:08     ` Charles Eidsness
2004-11-14 18:45       ` Pete Popov
2004-11-15  7:44         ` Gilad Rom [this message]
2004-11-15  7:44           ` Gilad Rom
2004-11-15 16:17           ` Charles Eidsness
2004-11-15 16:38             ` Gilad Rom
2004-11-15 16:38               ` Gilad Rom

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='0a9001c4cae6$f1aa3890$a701a8c0@lan' \
    --to=gilad@romat.com \
    --cc=linux-mips@linux-mips.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