login
Login
/
Register
Search
Header Space
Forums
News
Jobs
Blogs
Features
Man Pages
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
16
Re: [PATCH 3/4] spi: Add OF binding support for SPI busses
view
thread
Score:
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
Mail archive search
Enter your search terms.
all mailing lists
alsa-devel
dragonflybsd-bugs
dragonflybsd-commit
dragonflybsd-docs
dragonflybsd-kernel
dragonflybsd-submit
dragonflybsd-user
freebsd-announce
freebsd-bugs
freebsd-chat
freebsd-cluster
freebsd-current
freebsd-drivers
freebsd-embeded
freebsd-fs
freebsd-hackers
freebsd-hardware
freebsd-mobile
freebsd-net
freebsd-performance
freebsd-pf
freebsd-security
freebsd-security-notifications
freebsd-threads
git
git-commits-head
linux-activists
linux-arm
linux-ath5k-devel
linux-btrfs
linux-c-programming
linux-driver-devel
linux-ext4
linux-fsdevel
linux-ia64
linux-input
linux-kernel
linux-kernel-janitors
linux-kernel-mentors
linux-kernel-newbies
linux-kvm
linux-net
linux-netdev
linux-newbie
linux-nfs
linux-raid
linux-scsi
linux-security-module
linux-sparse
linux-usb
linux-usb-devel
madwifi-devel
netbsd-announce
netbsd-tech-kern
openbsd-announce
openbsd-bugs
openbsd-ipv6
openbsd-misc
openbsd-security-announce
openbsd-smp
openbsd-source-changes
openbsd-tech
openfabrics-general
openmoko-community
openmoko-devel
openmoko-kernel
reiserfs-devel
tux3
ucarp
Optionally limit your search to a specific mailing list.
advanced
Popular discussions
linux-kernel
:
Joe Perches
[PATCH 020/148] include/asm-x86/current_32.h: checkpatch cleanups - formatting only
Ingo Molnar
Re: [PATCH] x86: introduce page_size_mask for 64bit
Ian Kumlien
[BUG] sky2 errors in 2.6.23-rc9-git1
Greg Kroah-Hartman
[PATCH 07/79] device create: coda: convert device_create to device_create_drvdata
git
:
Jean-Luc Herren
Re: [PATCH] Color support added to git-add--interactive.
Imran M Yousuf
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Petr Baudis
repo.or.cz wishes?
Junio C Hamano
Re: [PATCH] git-submodule - Add 'foreach' subcommand
openbsd-misc
:
Paul de Weerd
Re: Problem with rtadvd/rtsol
Richard Stallman
Real men don't attack straw men
Kevin Neff
Patching a SSH 'Weakness'
Lars Hansson
Re: Code signing in OpenBSD
linux-netdev
:
Julius Volz
[PATCH RFC 23/24] IPVS: Small address/af usage fixups
Jarek Poplawski
Re: loaded router, excessive getnstimeofday in oprofile
David Woodhouse
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
Max Krasnyansky
[PATCH] tun: Fix/rewrite packet filtering logic
Latest forum posts
high memory
1 day ago
Linux kernel
semaphore access speed
1 day ago
Applications and Utilities
the kernel how to power off the machine
1 day ago
Linux kernel
Easter Eggs in windows XP
1 day ago
Windows
Shared swap partition
1 day ago
Linux general
Root password
1 day ago
Linux general
Where/when DNOTIFY is used?
1 day ago
Linux kernel
How to convert Linux Kernel built-in module into a loadable module
1 day ago
Linux kernel
Linux 2.6.24 and I/O schedulers
1 day ago
Linux kernel
USB Driver -- Interrupt Polling -- A Little Help Please
1 day ago
Linux general
Show all forums...
Recent Tags
Linus Torvalds
Linux
Intel
bugs
-rc8
2.6.27-rc8
2.6.27
-rc
quote
more tags
Colocation donated by:
Who's online
There are currently
3 users
and
1111 guests
online.
Online users
kingneutron
anitemp
strcmp
Syndicate
speck-geostationary