All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot]  SSBI driver
@ 2011-11-17 18:52 hanumant
  2011-11-17 19:13 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: hanumant @ 2011-11-17 18:52 UTC (permalink / raw)
  To: u-boot

Hi

   I am trying to implement a SSBI driver for a board. . The driver is 
meant to be portable to multiple boards by the same vendor.
Keeping this in mind

1)Would drivers/misc/ be the right location to implement this driver?
2)If not can I make a ($vendor)-common in the cpu directory to implement 
the driver given that the driver is going to be applicable for multiple 
socs by the same vendor. ie have something like the below.
have arch/arm/cpu/armv7/($vendor)-common & arch/arm/cpu/armv7/($SOC).
I believe there is already precedent for this?

Any input is appreciated.

Thanks
Hanumant

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] SSBI driver
  2011-11-17 18:52 [U-Boot] SSBI driver hanumant
@ 2011-11-17 19:13 ` Wolfgang Denk
       [not found]   ` <4EC561A4.8050705@codeaurora.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2011-11-17 19:13 UTC (permalink / raw)
  To: u-boot

Dear hanumant,

In message <4EC55809.2090704@codeaurora.org> you wrote:
> 
>    I am trying to implement a SSBI driver for a board. . The driver is 
> meant to be portable to multiple boards by the same vendor.

Maybe you would get more help if you explained what SSBI might be.
Is it:

SSBI	Single Scope Background Investigation
SSBI	Species-Specific Biological Information
SSBI	Salomon Smith Barney Inc. (bank)
SSBI	Stichting Stimulering Bedrijfsmatig Imkeren

If you happen to mean "Single-Wire Serial Bus Interface" then you
should probably use the more common name "1-wire".

> 1)Would drivers/misc/ be the right location to implement this driver?

I would expect to find such drivers in  drivers/w1/  as used in Linux.

> 2)If not can I make a ($vendor)-common in the cpu directory to implement 
> the driver given that the driver is going to be applicable for multiple 
> socs by the same vendor. ie have something like the below.

That makes no sense.  If in doubt, look at the organization of the
Linux tree.  There such code is in  drivers/w1/  and I see no reason
why we would have to do different.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If you're not part of the solution, you're part of the problem.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] SSBI driver
       [not found]   ` <4EC561A4.8050705@codeaurora.org>
@ 2011-11-17 19:45     ` Wolfgang Denk
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2011-11-17 19:45 UTC (permalink / raw)
  To: u-boot

Dear hanumant,

please always keep the mailing list on Cc:

In message <4EC561A4.8050705@codeaurora.org> you wrote:
> 
> > If you happen to mean "Single-Wire Serial Bus Interface" then you
> > should probably use the more common name "1-wire".
> Thanks. Yes it is Single-Wire Serial Bus Interface.
...
> Yes, now that you suggest this I do think this would be more appropriate.
> Though looking at the u-boot master branch, I don't find any drivers/w1.

We don't have generic 1-wire drivers yet.  The only one I'm aware of
is a custom driver deeply embedded into the code of ESD's CPCI405
board (see board/esd/cpci405/cpci405.c).

> Do you suggest I create a w1 directory based on the linux kernel 
> implementation and add my 1-wire (ssbi) driver to it.

Yes.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If something is different, it's either better or worse,  and  usually
both.                                                    - Larry Wall

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-17 19:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-17 18:52 [U-Boot] SSBI driver hanumant
2011-11-17 19:13 ` Wolfgang Denk
     [not found]   ` <4EC561A4.8050705@codeaurora.org>
2011-11-17 19:45     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.