01 Nov, 2011
1 commit
-
This file really needs the full module.h header file present, but
was just getting it implicitly before. Fix it up in advance so we
avoid build failures once the cleanup commit is present.Signed-off-by: Paul Gortmaker
30 Jul, 2010
1 commit
-
Move of_register_spi_devices() call from drivers to
spi_register_master(). Also change the function to use
the struct device_node pointer from master spi device
instead of passing it as function argument.Signed-off-by: Anatolij Gustschin
Signed-off-by: Grant Likely
29 Jun, 2010
1 commit
-
Merge common code between PowerPC and Microblaze. SPARC implements
irq_of_parse_and_map(), but the implementation is different, so it
does not use this code.Signed-off-by: Grant Likely
Acked-by: Benjamin Herrenschmidt
Cc: Michal Simek
Cc: "David S. Miller"
Cc: Stephen Rothwell
Cc: Jeremy Kerr
19 May, 2010
1 commit
-
This patch eliminates the node pointer from struct of_device and the
of_node (or prom_node) pointer from struct dev_archdata since the node
pointer is now part of struct device proper when CONFIG_OF is set, and
all users of the old pointer locations have already been converted over
to use device->of_node.Also remove dev_archdata_{get,set}_node() as it is no longer used by
anything.Signed-off-by: Grant Likely
29 Apr, 2010
1 commit
-
Currently, platforms using CONFIG_OF add a 'struct device_node *of_node'
to dev->archdata. However, with CONFIG_OF becoming generic for all
architectures, it makes sense for commonality to move it out of archdata
and into struct device proper.This patch adds a struct device_node *of_node member to struct device
and updates all locations which currently write the device_node pointer
into archdata to also update dev->of_node. Subsequent patches will
modify callers to use the archdata location and ultimately remove
the archdata member entirely.Signed-off-by: Grant Likely
Acked-by: Greg Kroah-Hartman
CC: Michal Simek
CC: Greg Kroah-Hartman
CC: Benjamin Herrenschmidt
CC: "David S. Miller"
CC: Stephen Rothwell
CC: Jeremy Kerr
CC: microblaze-uclinux@itee.uq.edu.au
CC: linux-kernel@vger.kernel.org
CC: linuxppc-dev@ozlabs.org
CC: sparclinux@vger.kernel.org
09 Feb, 2010
1 commit
-
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
Signed-off-by: Grant Likely
21 Oct, 2008
1 commit
-
The patch allows to specify that an SPI device needs an active high chip
select.Signed-off-by: Wolfgang Ocker
Signed-off-by: Kumar Gala
26 Jul, 2008
1 commit
-
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