<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/lib/utils/reset, branch v1.5</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/lib/utils/reset?h=v1.5</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/lib/utils/reset?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2024-06-13T16:18:03Z</updated>
<entry>
<title>lib: utils/reset: Try initializing all reset devices in dt</title>
<updated>2024-06-13T16:18:03Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2024-06-13T15:03:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=62e178a0a7b989d7cab9b2d4e33b291bc9a58c65'/>
<id>urn:sha1:62e178a0a7b989d7cab9b2d4e33b291bc9a58c65</id>
<content type='text'>
In DT, multiple reset devices may use the same driver, and they
may have different priorities. If rc is returned after the first
initialization, the highest priority device may be lost.

Fixes: a73ff043e991 (lib: utils/reset: Fix fdt_reset to search for more dt nodes)
Signed-off-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/reset: Fix fdt_reset to search for more dt nodes</title>
<updated>2024-06-13T13:19:51Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2024-06-11T11:19:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=a73ff043e99122be9f50215f04d0a8e93d69a978'/>
<id>urn:sha1:a73ff043e99122be9f50215f04d0a8e93d69a978</id>
<content type='text'>
If there are multiple dt nodes, the previous code only tries to match
the first one, which may lose initialization.

Signed-off-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/reset: Skip initialize reset when dt is not enabled</title>
<updated>2024-06-13T13:10:38Z</updated>
<author>
<name>Xiang W</name>
<email>wxjstz@126.com</email>
</author>
<published>2024-06-11T11:19:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=b5c984bd089510cc6c7ad7a5646ead1cf8ea676a'/>
<id>urn:sha1:b5c984bd089510cc6c7ad7a5646ead1cf8ea676a</id>
<content type='text'>
When the dt node has a status property and the value is not ok or
okay, skip initializing reset.

Signed-off-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>utils/reset: Add SG2042 hwmon MCU support.</title>
<updated>2024-05-15T06:17:15Z</updated>
<author>
<name>Inochi Amaoto</name>
<email>inochiama@outlook.com</email>
</author>
<published>2024-04-28T01:24:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=ea9cf6aa28ca308f6a2561da5b570ed9f6148978'/>
<id>urn:sha1:ea9cf6aa28ca308f6a2561da5b570ed9f6148978</id>
<content type='text'>
SG2042 uses an onboard MCU to provide reset function.
Add reset driver to support this onboard MCU.

Signed-off-by: Inochi Amaoto &lt;inochiama@outlook.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>utils/reset: Remove fdt_reset_thead</title>
<updated>2023-11-16T10:55:23Z</updated>
<author>
<name>Guo Ren</name>
<email>guoren@linux.alibaba.com</email>
</author>
<published>2023-10-12T08:59:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=d1e0f7f25b2f1527425942dfc327f1d4a61bbff4'/>
<id>urn:sha1:d1e0f7f25b2f1527425942dfc327f1d4a61bbff4</id>
<content type='text'>
In the past, we used fdt_reset_thead to help customers with prototype
verification. However, with the emergence of the Big-little SoC system,
it can no longer meet the demand. Therefore, we use zero_stage_boot
instead of fdt_reset_thead. It cleans up the opensbi code and ends the
disputation of reset_sample's dts.

This patch removes the fdt_reset_thead component and updates the related
doc.

Signed-off-by: Guo Ren &lt;guoren@linux.alibaba.com&gt;
Signed-off-by: Guo Ren &lt;guoren@kernel.org&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/reset: Remove SiFive Test reset driver</title>
<updated>2023-07-31T08:39:24Z</updated>
<author>
<name>Anup Patel</name>
<email>apatel@ventanamicro.com</email>
</author>
<published>2023-07-21T12:50:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=c2e602707dc0f915e96b8726d63d569cbb6724b4'/>
<id>urn:sha1:c2e602707dc0f915e96b8726d63d569cbb6724b4</id>
<content type='text'>
The functionality of SiFive Test reset driver is easily available
through Syscon reset driver so let us remove the SiFive Test driver.

Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
</content>
</entry>
<entry>
<title>lib: utils/reset: Add syscon based reboot and poweroff</title>
<updated>2023-07-31T08:39:21Z</updated>
<author>
<name>Anup Patel</name>
<email>apatel@ventanamicro.com</email>
</author>
<published>2023-07-21T12:41:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=4a344a9b4cc89f64ab5326f428696e15bc2fcdba'/>
<id>urn:sha1:4a344a9b4cc89f64ab5326f428696e15bc2fcdba</id>
<content type='text'>
Let us have common FDT based reset driver for syscon reboot and
poweroff. The device tree bindings for syscon reboot and poweroff
are already available in the Linux kernel sources.

Signed-off-by: Anup Patel &lt;apatel@ventanamicro.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
</content>
</entry>
<entry>
<title>lib: reset/fdt_reset_atcwdt200: Use defined macros and function in atcsmu.h</title>
<updated>2023-01-22T12:03:13Z</updated>
<author>
<name>Yu Chien Peter Lin</name>
<email>peterlin@andestech.com</email>
</author>
<published>2023-01-20T03:05:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=7aaeeab9e794e5a15a0253ef3c3453496f74117a'/>
<id>urn:sha1:7aaeeab9e794e5a15a0253ef3c3453496f74117a</id>
<content type='text'>
Reuse the smu related macros and function in atcsmu.h.

Signed-off-by: Yu Chien Peter Lin &lt;peterlin@andestech.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
<entry>
<title>treewide: Replace TRUE/FALSE with true/false</title>
<updated>2023-01-06T11:56:35Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng@tinylab.org</email>
</author>
<published>2022-12-21T11:38:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=440fa818fbffd0771d75890c4fcda062ceab7ebd'/>
<id>urn:sha1:440fa818fbffd0771d75890c4fcda062ceab7ebd</id>
<content type='text'>
C language standard uses true/false for the boolean type.
Let's switch to that for better language compatibility.

Signed-off-by: Bin Meng &lt;bmeng@tinylab.org&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
Reviewed-by: Samuel Holland &lt;samuel@sholland.org&gt;
Tested-by: Samuel Holland &lt;samuel@sholland.org&gt;
</content>
</entry>
<entry>
<title>lib: utils/reset: Add Andes fdt reset driver support</title>
<updated>2022-10-23T04:59:23Z</updated>
<author>
<name>Yu Chien Peter Lin</name>
<email>peterlin@andestech.com</email>
</author>
<published>2022-10-14T00:32:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=8234fc1bdf4629fc0fec41ebc2e091c407ef8d6a'/>
<id>urn:sha1:8234fc1bdf4629fc0fec41ebc2e091c407ef8d6a</id>
<content type='text'>
Add ATCWDT200 as reset device of AE350 platform, this driver requires
SMU to program the reset vector registers before triggering WDT software
restart signal.

dts example:

  smu@f0100000 {
    compatible = "andestech,atcsmu";
    reg = &lt;0x00000000 0xf0100000 0x00000000 0x00001000&gt;;
  };

  wdt: wdt@f0500000 {
    compatible = "andestech,atcwdt200";
    reg = &lt;0x00000000 0xf0500000 0x00000000 0x00001000&gt;;
    interrupts = &lt;3 4&gt;;
    interrupt-parent = &lt;&amp;plic0&gt;;
    clock-frequency = &lt;15000000&gt;;
  };

Signed-off-by: Yu Chien Peter Lin &lt;peterlin@andestech.com&gt;
Reviewed-by: Leo Yu-Chi Liang &lt;ycliang@andestech.com&gt;
Reviewed-by: Anup Patel &lt;anup@brainfault.org&gt;
</content>
</entry>
</feed>
