<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/of_platform.h, branch v3.9</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.9</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.9'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2012-12-19T16:15:17Z</updated>
<entry>
<title>of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS</title>
<updated>2012-12-19T16:15:17Z</updated>
<author>
<name>Jonas Gorski</name>
<email>jogo@openwrt.org</email>
</author>
<published>2012-12-19T15:10:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ab28698d33af05abab0bcf8021eafe38f7434f24'/>
<id>urn:sha1:ab28698d33af05abab0bcf8021eafe38f7434f24</id>
<content type='text'>
Fixes the following warning:

include/linux/of_platform.h:106:13: warning: 'struct device' declared
inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this
definition or declaration, which is probably not what you want [enabled
by default]

Signed-off-by: Jonas Gorski &lt;jogo@openwrt.org&gt;
Signed-off-by: Rob Herring &lt;robherring2@gmail.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>dt: fix twl4030 for non-dt compile on x86</title>
<updated>2012-03-05T15:09:09Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2012-03-03T04:05:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e7cc3aca0f6a36b018934264ee20bee45dc13e29'/>
<id>urn:sha1:e7cc3aca0f6a36b018934264ee20bee45dc13e29</id>
<content type='text'>
twl4030 still doesn't build correctly for x86 allmodconfig.  This
fix solves the missing symbol errors.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Acked-by: Benoit Cousson &lt;b-cousson@ti.com&gt;
</content>
</entry>
<entry>
<title>devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)</title>
<updated>2012-02-26T23:48:06Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2012-02-24T21:58:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=964dba283439a4db50dae61d3afe6e438b7fc30f'/>
<id>urn:sha1:964dba283439a4db50dae61d3afe6e438b7fc30f</id>
<content type='text'>
Sparc has its own helpers for translating address ranges when the device
tree is parsed at boot time, and it isn't able to use of_platform_populate().
However, there are some device drivers that want to use that function on
other DT enabled platforms (ie. TWL4030).  This patch adds an empty
of_platform_populate() implementation that returns an error when
CONFIG_OF_ADDRESS is not selected.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Benoit Cousson &lt;b-cousson@ti.com&gt;
Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;</content>
</entry>
<entry>
<title>of_platform.h: delete needless include &lt;linux/module.h&gt;</title>
<updated>2011-10-31T23:32:27Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-05-26T19:58:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7755c47123a927de480826f4448a0c215a639f12'/>
<id>urn:sha1:7755c47123a927de480826f4448a0c215a639f12</id>
<content type='text'>
There is nothing modular in this file, and no reason to drag
in all the 357 headers that module.h brings with it, since
it just slows down compiles.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>dt/platform: allow device name to be overridden</title>
<updated>2011-06-21T17:04:10Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2011-06-21T16:59:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=15c3597d6ea47e8f3caf068887c4666165df63ad'/>
<id>urn:sha1:15c3597d6ea47e8f3caf068887c4666165df63ad</id>
<content type='text'>
Some platform code has specific requirements on the naming of devices.
This patch allows callers of of_platform_populate() to provide a
device name lookup table.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>dt: add of_platform_populate() for creating device from the device tree</title>
<updated>2011-06-21T17:02:29Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2011-06-21T16:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=29d4f8a4974aacf46b028fa92f9dd3ffdba3e614'/>
<id>urn:sha1:29d4f8a4974aacf46b028fa92f9dd3ffdba3e614</id>
<content type='text'>
of_platform_populate() is similar to of_platform_bus_probe() except
that it strictly enforces that all device nodes must have a compatible
property, and it can be used to register devices (not buses) which are
children of the root node.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>dt: Add default match table for bus ids</title>
<updated>2011-06-21T17:02:29Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2011-06-21T16:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=cbb49c2665eebfd1fa2e491403684d0542662137'/>
<id>urn:sha1:cbb49c2665eebfd1fa2e491403684d0542662137</id>
<content type='text'>
No need for most platforms to define their own bus table when calling
of_platform_populate().  Supply a stock one.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>dt: eliminate OF_NO_DEEP_PROBE and test for NULL match table</title>
<updated>2011-03-23T20:55:56Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2011-03-18T16:21:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1eed4c077c31450bfcd0249aebb21d96fc5d5d3c'/>
<id>urn:sha1:1eed4c077c31450bfcd0249aebb21d96fc5d5d3c</id>
<content type='text'>
There are no users of OF_NO_DEEP_PROBE, and of_match_node() now
gracefully handles being passed a NULL pointer, so the checks at the
top of of_platform_bus_probe can be dropped.

While at it, consolidate the root node pointer check to be easier to
read and tidy up related comments.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>dt: eliminate of_platform_driver shim code</title>
<updated>2011-03-01T16:38:26Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2011-02-23T03:22:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d714d1979d7b4df7e2c127407f4014ce71f73cd0'/>
<id>urn:sha1:d714d1979d7b4df7e2c127407f4014ce71f73cd0</id>
<content type='text'>
Commit eca393016, "of: Merge of_platform_bus_type with
platform_bus_type" added a shim to allow of_platform_drivers to get
registers onto the platform bus so that there was time to migrate the
existing drivers to the platform_bus_type.

This patch removes the shim since there are no more users of the old
interface.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>dt/powerpc: move of_bus_type infrastructure to ibmebus</title>
<updated>2011-02-28T08:36:38Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2011-02-17T07:26:57Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=710ac54be44e0cc53f5bf29b03d12c8706e7077a'/>
<id>urn:sha1:710ac54be44e0cc53f5bf29b03d12c8706e7077a</id>
<content type='text'>
arch/powerpc/kernel/ibmebus.c is the only remaining user of the
of_bus_type support code for initializing the bus and registering
drivers.  All others have either been switched to the vanilla platform
bus or already have their own infrastructure.

This patch moves the functionality that ibmebus is using out of
drivers/of/{platform,device}.c and into ibmebus.c where it is actually
used.  Also renames the moved symbols from of_platform_* to
ibmebus_bus_* to reflect the actual usage.

This patch is part of moving all of the of_platform_bus_type users
over to the platform_bus_type.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
</feed>
