From: Kaiwan N Billimoria <kaiwan@designergraphix.com>
To: Jean Delvare <khali@linux-fr.org>
Cc: Greg KH <greg@kroah.com>,
Philippe Seewer <philippe.seewer@bfh.ch>,
linux-kernel@vger.kernel.org
Subject: Re: Stuck creating sysfs hooks for a driver..
Date: Tue, 21 Feb 2006 11:48:51 +0530 [thread overview]
Message-ID: <43FAB0CB.6010506@designergraphix.com> (raw)
In-Reply-To: <20060219142311.ba0f8a38.khali@linux-fr.org>
Jean Delvare wrote:
>Hi Kaiwan,
>
>You must stay away from writing a driver for the board itself. What you
>must write is in fact two different drivers:
>
>1* A driver for the SPI interface of your board (basically a parallel
>port <-> SPI bridge). This driver will expose the device as an SPI bus
>to the rest of the kernel. This driver doesn't care about what chip is
>plugged on it.
>
>2* A driver for the LM70 temperature sensor chip, which doesn't care
>about the chip location. This driver will use generic SPI commands as
>offered by the spi kernel interface.
>
>
>
Ok, i see your point..
>It's really not a matter of how many features a chip has. Look at the
>lm75 or w83l785ts driver, you'll see they have very few features as
>well. It's a matter of having a common standard for exporting the
>values to user-space, so that the same library or application can
>handle all sources with minimum effort.
>
>
>
Yes, again..
I shall start looking into these aspects & workin on it in the coming
week..am up to my ears in other stuff right now..
though how exactly i don;t know now :) ; will certainly require your
(and others) help on this..
>Thanks,
>
>
Thank you, your long reply was very enlightening;
Kaiwan.
next prev parent reply other threads:[~2006-02-21 6:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-15 7:54 Stuck creating sysfs hooks for a driver Kaiwan N Billimoria
2006-02-15 22:13 ` Greg KH
2006-02-16 11:33 ` Kaiwan N Billimoria
2006-02-16 12:16 ` Arjan van de Ven
2006-02-16 16:41 ` Greg KH
2006-02-19 13:23 ` Jean Delvare
2006-02-21 6:18 ` Kaiwan N Billimoria [this message]
2006-03-31 6:01 ` SPI <-> Parport (light) bridge code (Re: Stuck creating sysfs hooks for a driver..) Kaiwan N Billimoria
[not found] <pan.2006.02.15.08.46.27.708727@bfh.ch>
2006-02-15 8:48 ` Stuck creating sysfs hooks for a driver Seewer Philippe
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=43FAB0CB.6010506@designergraphix.com \
--to=kaiwan@designergraphix.com \
--cc=greg@kroah.com \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=philippe.seewer@bfh.ch \
/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