aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/of_spi.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-02-09of: assume big-endian properties, adding conversions where necessaryJeremy Kerr1-3/+3
Properties in the device tree are specified as big-endian. At present, the only platforms to support device trees are also big-endian, so we've been acessing the properties as raw values. We'd like to add device tree support to little-endian platforms too, so add endian conversion to the sites where we access property values in the common of code. Compiled on powerpc (ppc44x_defconfig & ppc64_defconfig) and arm (fdt support only for now). Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2008-10-20of/spi: Support specifying chip select as active high via device treeWolfgang Ocker1-0/+2
The patch allows to specify that an SPI device needs an active high chip select. Signed-off-by: Wolfgang Ocker <weo@reccoware.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-07-25spi: Add OF binding support for SPI bussesGrant Likely1-0/+93
This patch adds support for populating an SPI bus based on data in the OF device tree. This is useful for powerpc platforms which use the device tree instead of discrete code for describing platform layout. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>