<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/core, branch v2023.07-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/core?h=v2023.07-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/core?h=v2023.07-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2023-04-28T17:52:30Z</updated>
<entry>
<title>core: fdtaddr: use map_sysmem() as cast for the return</title>
<updated>2023-04-28T17:52:30Z</updated>
<author>
<name>Johan Jonker</name>
<email>jbx6244@gmail.com</email>
</author>
<published>2023-04-23T09:19:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=37937aba3518ed782fdaae9d3772c59fd1e05af8'/>
<id>urn:sha1:37937aba3518ed782fdaae9d3772c59fd1e05af8</id>
<content type='text'>
For the devfdt_get_addr_index_ptr() and devfdt_get_addr_size_index_ptr()
function use map_sysmem() function as cast for the return for use in
sandbox. Also fix sandbox test.

Signed-off-by: Johan Jonker &lt;jbx6244@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Drop second hunk:
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: introduce uclass_get_device_by_of_path()</title>
<updated>2023-04-28T17:48:59Z</updated>
<author>
<name>Rasmus Villemoes</name>
<email>rasmus.villemoes@prevas.dk</email>
</author>
<published>2023-04-13T15:17:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ca031c082700631264d1e058f2f705438c2be8c2'/>
<id>urn:sha1:ca031c082700631264d1e058f2f705438c2be8c2</id>
<content type='text'>
There's quite a few instances of board-specific code doing

  off = fdt_path_offset(gd-&gt;fdt_blob, ...);
  ...
  ret = uclass_get_device_by_of_offset(..., off, &amp;dev);

looking for an eeprom or a pmic via some alias. Such code can be
simplified a little if we have a helper for directly getting a device
via device tree path (including being given as an alias).

Implement it in terms of ofnode rather than raw offsets so that this
will work whether live tree is enabled or not.

Signed-off-by: Rasmus Villemoes &lt;rasmus.villemoes@prevas.dk&gt;
</content>
</entry>
<entry>
<title>uclass: add uclass_find_device_by_phandle_id() helper</title>
<updated>2023-04-28T17:48:09Z</updated>
<author>
<name>Rasmus Villemoes</name>
<email>rasmus.villemoes@prevas.dk</email>
</author>
<published>2023-04-13T15:16:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6ebb357a6a16fe4b61fae3866f80b967e8231f7e'/>
<id>urn:sha1:6ebb357a6a16fe4b61fae3866f80b967e8231f7e</id>
<content type='text'>
The functions uclass_find_device_by_phandle() and
uclass_get_device_by_phandle_id() both loop over a given uclass
looking for a device with a given phandle. Factor that out to a common
helper.

For now, there are no (known potential) users of the new helper
outside uclass.c, so make it static.

Signed-off-by: Rasmus Villemoes &lt;rasmus.villemoes@prevas.dk&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Fix warning on sandbox_spl; fix code style:
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Make aliases_lookup static</title>
<updated>2023-04-28T17:30:17Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng@tinylab.org</email>
</author>
<published>2023-04-05T14:37:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=86592af5369ae14fb3b273479beb430d7e88de10'/>
<id>urn:sha1:86592af5369ae14fb3b273479beb430d7e88de10</id>
<content type='text'>
aliases_lookup is only referenced in of_access.c

Signed-off-by: Bin Meng &lt;bmeng@tinylab.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: Add a TPL symbol for simple-bus</title>
<updated>2023-03-03T14:49:02Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-02-22T16:34:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fd3753593afd110804635cf504d673d42d78ea6e'/>
<id>urn:sha1:fd3753593afd110804635cf504d673d42d78ea6e</id>
<content type='text'>
This is used in some x86 code, so add a symbol for it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: treewide: Complete migration to new driver model schema</title>
<updated>2023-02-14T16:43:27Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-02-13T15:56:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e316fbabbf1fe505162e35044c7924cbca0d73fd'/>
<id>urn:sha1:e316fbabbf1fe505162e35044c7924cbca0d73fd</id>
<content type='text'>
Update various build and test components to use the new schema.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: Add support for handling old u-boot,dm- tags</title>
<updated>2023-02-14T16:42:14Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-02-13T15:56:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c74e03417bdcb2930fa027e78cc8cebed384a975'/>
<id>urn:sha1:c74e03417bdcb2930fa027e78cc8cebed384a975</id>
<content type='text'>
Add a CONFIG option to deal with this automatically, printing a warning
when U-Boot starts up. This can be useful if the device tree comes from
another project.

We will maintain this through the 2023.07 release, providing 6 months
for people to notice.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Version 4:
Acked-by: Michal Simek &lt;michal.simek@amd.com&gt;
</content>
</entry>
<entry>
<title>timer: Tidy up use of notrace</title>
<updated>2023-02-11T17:22:34Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2023-01-15T21:15:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4aa5053da5fa0729d30bce5df9a0a037a391f2f3'/>
<id>urn:sha1:4aa5053da5fa0729d30bce5df9a0a037a391f2f3</id>
<content type='text'>
Tracing is typically enabled by the time driver model starts up, so there
is no point in adding a 'notrace' to the timer-init function. However,
once the driver model timer is enabled, we do need to be able to access
the timer's private data when reading the timer, so add it to the core
function needed for that.

Update the function's documentation while we are here.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>drivers: core: ofnode: Add panel timing decode.</title>
<updated>2023-02-04T17:13:21Z</updated>
<author>
<name>Nikhil M Jain</name>
<email>n-jain1@ti.com</email>
</author>
<published>2023-01-31T10:05:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0347cc7732703bdf94bba5ce8a157c2174f01067'/>
<id>urn:sha1:0347cc7732703bdf94bba5ce8a157c2174f01067</id>
<content type='text'>
ofnode_decode_display_timing supports reading timing parameters from
subnode of display-timings node, for displays supporting multiple
resolution, in case if a display supports single resolution, it fails
reading directly from display-timings node, to support it
ofnode_decode_panel_timing is added.

Signed-off-by: Nikhil M Jain &lt;n-jain1@ti.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Use full printf() format when possible</title>
<updated>2023-01-26T17:47:45Z</updated>
<author>
<name>Samuel Holland</name>
<email>samuel@sholland.org</email>
</author>
<published>2023-01-21T23:30:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c2e13aa9e1a99da9334f0a666783c8f7dd98016f'/>
<id>urn:sha1:c2e13aa9e1a99da9334f0a666783c8f7dd98016f</id>
<content type='text'>
Use a more accurate check for determining if the full format string will
be handled correctly, since SPL_USE_TINY_PRINTF can be disabled.

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