<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/include/dm/root.h, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2018-11-14T17:16:27Z</updated>
<entry>
<title>dm: Correct pre_reloc_only parameter description in several APIs' comments</title>
<updated>2018-11-14T17:16:27Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2018-10-11T05:06:59Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=6244fc64ce9714373908111acf24f70f88c86b3e'/>
<id>urn:sha1:6244fc64ce9714373908111acf24f70f88c86b3e</id>
<content type='text'>
The pre_reloc_only parameter description currently only mentions
drivers with the DM_FLAG_PRE_RELOC flag, but does not mention the
special device tree properties. Correct them.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>dm: core: add clocks node scan</title>
<updated>2017-09-12T03:43:58Z</updated>
<author>
<name>Patrice Chotard</name>
</author>
<published>2017-09-04T12:55:56Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=e81c98649b7a67d43c5baae407430a242d3b26b9'/>
<id>urn:sha1:e81c98649b7a67d43c5baae407430a242d3b26b9</id>
<content type='text'>
Currently, all fixed-clock declared in "clocks" node in device tree
can be binded by clk_fixed_rate.c driver only if each of them have
the "simple-bus" compatible string.
This constraint has been invoked here [1].

This patch offers a solution to avoid adding "simple-bus" compatible
string to nodes that are not busses.

[1] https://patchwork.ozlabs.org/patch/558837/

Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Scan the live tree when setting up driver model</title>
<updated>2017-06-01T13:03:08Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-05-19T02:09:08Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=19c8205e6887d5e47c7dac6cd85d0376411b5444'/>
<id>urn:sha1:19c8205e6887d5e47c7dac6cd85d0376411b5444</id>
<content type='text'>
When starting up driver model with a live tree we need to scan the tree
for devices. Add code to handle this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Dont export dm_scan_fdt_node()</title>
<updated>2017-06-01T13:03:03Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-05-17T23:18:08Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=a771a04f2eb34934a058a6c06319bd8bc5cb5fb8'/>
<id>urn:sha1:a771a04f2eb34934a058a6c06319bd8bc5cb5fb8</id>
<content type='text'>
This function is only used in one place. It is better to just declare it
internally since there is a simpler replacement for use outside the
driver-model core code.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Add dm_remove_devices_flags() and hook it into device_remove()</title>
<updated>2017-04-05T02:15:10Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2017-03-27T08:58:53Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=bc85aa4030ab9ccfc1349c320b085a8b792c602e'/>
<id>urn:sha1:bc85aa4030ab9ccfc1349c320b085a8b792c602e</id>
<content type='text'>
The new function dm_remove_devices_flags() is intented for driver specific
last-stage cleanup operations before the OS is started. This patch adds
this functionality and hooks it into the common device_remove()
function.

Drivers wanting to use this feature for some last-stage removal calls,
need to add one of the DM_REMOVE_xx flags to their driver .flags.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Handle global_data moving in SPL</title>
<updated>2016-12-03T03:53:19Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2016-11-13T21:21:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=2f11cd9121658b65a1d0789b37f290b207993a34'/>
<id>urn:sha1:2f11cd9121658b65a1d0789b37f290b207993a34</id>
<content type='text'>
When CONFIG_SPL_STACK_R is enabled, and spl_init() is called before
board_init_r(), spl_relocate_stack_gd() will move global_data to a new
place in memory. This affects driver model since it uses a list for the
uclasses. Unless this is updated the list will become invalid. When
looking for a non-existent uclass, such as when adding a new one, the loop
in uclass_find() may continue forever, thus causing a hang.

Add a function to correct this rather obscure bug.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: Add dm_scan_other() to locate board-specific devices</title>
<updated>2014-07-23T13:08:37Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2014-07-23T12:55:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=bb58503d80808b973950ca425c7fb0bc6172a2bd'/>
<id>urn:sha1:bb58503d80808b973950ca425c7fb0bc6172a2bd</id>
<content type='text'>
Some boards will have devices which are not in the device tree and do not
have platform data. They may be programnatically created, for example.
Add a hook which boards can use to bind those devices early in boot.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: Provide a function to scan child FDT nodes</title>
<updated>2014-07-23T13:08:36Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2014-07-23T12:55:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=1ca7e2062b4e8c3b211753dcb19c063b5b9b73ca'/>
<id>urn:sha1:1ca7e2062b4e8c3b211753dcb19c063b5b9b73ca</id>
<content type='text'>
At present only root nodes in the device tree are scanned for devices.
But some devices can have children. For example a SPI bus may have
several children for each of its chip selects.

Add a function which scans subnodes and binds devices for each one. This
can be used for the root node scan also, so change it.

A device can call this function in its bind() or probe() methods to bind
its children.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: Tidy up some header file comments</title>
<updated>2014-07-23T13:07:26Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2014-07-23T12:55:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=0040b9442947d00a540f6e93742384a14453c37e'/>
<id>urn:sha1:0040b9442947d00a540f6e93742384a14453c37e</id>
<content type='text'>
Fix up the style of a few comments and add/clarify a few others.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
