login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
16
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Grant Likely <grant.likely@...>
To: Randy Dunlap <randy.dunlap@...>
Cc: <linuxppc-dev@...>, <spi-devel-general@...>, <linux-kernel@...>, <dbrownell@...>, <fabrizio.garetto@...>, <jonsmirl@...>
Subject:
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
Date: Friday, May 16, 2008 - 4:51 pm
On Fri, May 16, 2008 at 2:47 PM, Randy Dunlap <randy.dunlap@oracle.com> wrote:
quoted text
> On Fri, 16 May 2008 13:36:13 -0600 Grant Likely wrote: > >> diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt >> index 1d2a772..452c242 100644 >> --- a/Documentation/powerpc/booting-without-of.txt >> +++ b/Documentation/powerpc/booting-without-of.txt >> @@ -2870,6 +2871,66 @@ platforms are moved over to use the flattened-device-tree model. >> reg = <0xe8000000 32>; >> }; >> >> + s) SPI (Serial Peripheral Interface) busses >> + >> + SPI busses can be described with a node for the SPI master device >> + and a set of child nodes for each SPI slave on the bus. For this >> + discussion, it is assumed that the system's SPI controller is in >> + SPI master mode. This binding does not describe SPI controllers >> + in slave mode. >> + >> + The SPI master node requires the following properties: >> + - #address-cells - number of cells required to define a chip select >> + address on the SPI bus. >> + - #size-cells - should be zero. >> + - compatible - name of SPI bus controller following generic names >> + recommended practice. >> + No other properties are required in the spi bus node. It is assumed > ~~~ > >> + that a driver for an SPI bus device will understand that it is an SPI bus. >> + However, the binding does not attempt to define the specific method for >> + assigning chip select numbers. Since SPI chip select configuration is >> + flexible and non-standardized, it is left out of this binding with the >> + assumption that board specific platform code will be used to manage >> + chip selects. Individual drivers can define additional properties to >> + support describing the chip select layout. >> + >> + SPI slave nodes must be children of the spi master node and can > ~~~ > >> + contain the following properties. >> + - reg - (required) chip select address of device. >> + - compatible - (required) name of SPI device following generic names >> + recommended practice >> + - max-speed - (optional) Maximum SPI clocking speed of device in Hz >> + - spi,cpol - (optional) Device requires inverse clock polarity >> + - spi,cpha - (optional) Device requires shifted clock phase >> + - linux,modalias - (optional, Linux specific) Force binding of SPI device >> + to a particular spi_device driver. Useful for changing >> + driver binding between spidev and a kernel spi driver. > ~~~ > > Hi, > You mostly capitalize "SPI" in sentences (i.e., when it's not part of > a function name or OF data), so could the 3 underlined instances of it > also be all caps?
No problem. Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[RFC PATCH 0/4] Describe SPI devices in the OF device tree a...
, Grant Likely
, (Fri May 16, 3:35 pm)
Re: [RFC PATCH 0/4] Describe SPI devices in the OF device tr...
, Jon Smirl
, (Fri May 16, 4:27 pm)
Re: [RFC PATCH 0/4] Describe SPI devices in the OF device tr...
, Grant Likely
, (Fri May 16, 4:48 pm)
Re: [RFC PATCH 0/4] Describe SPI devices in the OF device tr...
, Jon Smirl
, (Fri May 16, 5:25 pm)
Re: [RFC PATCH 0/4] Describe SPI devices in the OF device tr...
, Grant Likely
, (Fri May 16, 5:32 pm)
Re: [RFC PATCH 0/4] Describe SPI devices in the OF device tr...
, Jon Smirl
, (Fri May 16, 5:42 pm)
[PATCH 4/4] [CSB] Add new mpc5200-spi (non-psc) device driver
, Grant Likely
, (Fri May 16, 3:36 pm)
Re: [PATCH 4/4] [CSB] Add new mpc5200-spi (non-psc) device d...
, Grant Likely
, (Fri May 16, 3:42 pm)
[PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Fri May 16, 3:36 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Guennadi Liakhovetski
, (Mon May 19, 9:17 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Mon May 19, 11:57 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Guennadi Liakhovetski
, (Mon May 19, 12:30 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Tue May 20, 1:13 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Guennadi Liakhovetski
, (Tue May 20, 11:26 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Tue May 20, 11:48 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Segher Boessenkool
, (Wed May 21, 3:11 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Wed May 21, 3:33 pm)
Re: [spi-devel-general] [PATCH 3/4] spi: Add OF binding supp...
, David Brownell
, (Thu May 22, 10:26 pm)
Re: [spi-devel-general] [PATCH 3/4] spi: Add OF binding supp...
, Grant Likely
, (Sat May 24, 2:25 am)
Re: [spi-devel-general] [PATCH 3/4] spi: Add OF binding supp...
, David Brownell
, (Sat May 24, 3:13 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Gary Jennejohn
, (Mon May 19, 1:09 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Anton Vorontsov
, (Mon May 19, 1:19 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Anton Vorontsov
, (Wed May 21, 11:19 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, David Brownell
, (Thu May 22, 10:05 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Sat May 24, 2:26 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Sat May 24, 12:50 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, David Brownell
, (Sat May 24, 1:43 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Jochen Friedrich
, (Sat May 24, 1:14 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Sat May 24, 1:33 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, David Brownell
, (Sat May 24, 1:45 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Sun May 25, 12:56 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Anton Vorontsov
, (Fri May 16, 6:03 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Fri May 16, 6:14 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Anton Vorontsov
, (Fri May 16, 6:49 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Sat May 17, 1:02 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, David Brownell
, (Wed May 21, 9:16 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Sat May 24, 2:24 am)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Randy Dunlap
, (Fri May 16, 4:47 pm)
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
, Grant Likely
, (Fri May 16, 4:51 pm)
[PATCH 2/4] spi: split up spi_new_device() to allow two stag...
, Grant Likely
, (Fri May 16, 3:36 pm)
Re: [PATCH 2/4] spi: split up spi_new_device() to allow two ...
, David Brownell
, (Wed May 21, 8:17 pm)
Re: [PATCH 2/4] spi: split up spi_new_device() to allow two ...
, Grant Likely
, (Sat May 24, 2:43 am)
Re: [PATCH 2/4] spi: split up spi_new_device() to allow two ...
, Grant Likely
, (Tue Jun 17, 3:28 am)
Re: [PATCH 2/4] spi: split up spi_new_device() to allow two ...
, David Brownell
, (Mon Jun 30, 12:10 am)
Re: [PATCH 2/4] spi: split up spi_new_device() to allow two ...
, Grant Likely
, (Sat May 24, 2:54 am)
Re: [PATCH 2/4] spi: split up spi_new_device() to allow two ...
, David Brownell
, (Mon Jun 30, 12:08 am)
[PATCH 1/4] spi: Change modalias from a pointer to a charact...
, Grant Likely
, (Fri May 16, 3:36 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Artem Bityutskiy
[PATCH 12/44 take 2] [UBI] allocation unit implementation
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Jeff Garzik
Re: [RFC] Heads up on sys_fallocate()
Christoph Hellwig
pcmcia ioctl removal
git
:
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
David Miller
Re: [BUG] New Kernel Bugs
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Colocation donated by:
Who's online
There are currently
2 users
and
1106 guests
online.
Online users
zeekec
Jeremy
Syndicate