From: Daniel Mack <daniel-rDUAYElUppE@public.gmane.org>
To: Uma Kanta <upatro-cl0A3XQdnGcanlnWow0HJg@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Help Regarding I2C Driver...
Date: Tue, 24 Mar 2009 10:54:49 +0100 [thread overview]
Message-ID: <20090324095449.GD13851@buzzloop.caiaq.de> (raw)
In-Reply-To: <A86BA2998E0E00468669D392AF0631BBB26E-MbLMV4EUncCnnRLkZrclm3upHJ39lVTxwzqs5ZKRSiY@public.gmane.org>
Hi,
On Tue, Mar 24, 2009 at 11:06:51AM +0530, Uma Kanta wrote:
> > This version is ancient, you should consider updating to something
> > more recent.
>
> Yaa, this version is very old, but as currently I have to develop for
> this version for our project so I have to try developing in this
> version itself.
[...]
> > Probing should be done by setting i2c_board_info from your board
> > support code - also described in Documentation/i2c/writing-clients.
>
> Actually in Linux 2.6.19 I feel that there is no provisions for
> i2c_board_info, as non of the existing chip drivers such as eeprom,
> RTCs don't have any i2c_board_info structure in the file
> arch\arm\mach-at91rm9200\board-ek.c.
> Also in this version the function, "at91_add_device_i2c()" does not
> accept arguments whereas in the advanced versions it takes two
> arguments such as object of structure i2c_board_info and its size.
> So what may be the alternative of i2c_board_info in case of Linux
> 2.6.19?
> Is it possible to work with I2C in Linux 2.6.19???
Sorry, I don't know much about this legacy. I was just writing a driver
for an I2C connected device and thought I could point you in the right
direction, but that was all on cutting edge git trees. Maybe someone
else can help.
But in general, you should be able to base your work on drivers that are
there in the tree already and more or less copy their approach. It is
definitely possible to use I2C with your kernel version.
Daniel
next prev parent reply other threads:[~2009-03-24 9:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-24 5:36 Help Regarding I2C Driver Uma Kanta
[not found] ` <A86BA2998E0E00468669D392AF0631BBB26E-MbLMV4EUncCnnRLkZrclm3upHJ39lVTxwzqs5ZKRSiY@public.gmane.org>
2009-03-24 9:54 ` Daniel Mack [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-03-23 4:24 Uma Kanta Patro
2009-03-23 8:40 ` Daniel Mack
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=20090324095449.GD13851@buzzloop.caiaq.de \
--to=daniel-rduayeluppe@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=upatro-cl0A3XQdnGcanlnWow0HJg@public.gmane.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