<feed xmlns='http://www.w3.org/2005/Atom'>
<title>opensbi.git/lib/utils/reset/objects.mk, branch v1.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/opensbi.git/atom/lib/utils/reset/objects.mk?h=v1.0</id>
<link rel='self' href='http://cgit.235523.xyz/opensbi.git/atom/lib/utils/reset/objects.mk?h=v1.0'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/'/>
<updated>2021-09-14T07:54:53Z</updated>
<entry>
<title>lib: utils/reset: Add a sunxi watchdog reset driver</title>
<updated>2021-09-14T07:54:53Z</updated>
<author>
<name>Samuel Holland</name>
<email>samuel@sholland.org</email>
</author>
<published>2021-09-09T02:10:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=395ff7eedec5e2b5b067e3725303a17352a07651'/>
<id>urn:sha1:395ff7eedec5e2b5b067e3725303a17352a07651</id>
<content type='text'>
One of the watchdogs in the D1 SoC provides a "soft reset" function,
which allows software to immediately reset the entire SoC. Add a driver
so it can implement the SBI system reset function.

Signed-off-by: Samuel Holland &lt;samuel@sholland.org&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils/reset: Sort fdt_reset driver list</title>
<updated>2021-09-14T06:43:55Z</updated>
<author>
<name>Samuel Holland</name>
<email>samuel@sholland.org</email>
</author>
<published>2021-09-09T02:10:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=0274a9600452af33412dda18e739ba17b13592a2'/>
<id>urn:sha1:0274a9600452af33412dda18e739ba17b13592a2</id>
<content type='text'>
In preparation for adding a new fdt_reset driver, ensure the existing
lists are sorted alphabetically.

Signed-off-by: Samuel Holland &lt;samuel@sholland.org&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils/reset: Add generic GPIO reset driver</title>
<updated>2021-07-17T08:42:07Z</updated>
<author>
<name>Green Wan</name>
<email>green.wan@sifive.com</email>
</author>
<published>2021-07-13T03:23:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=e3d6919d10d73ff97cfe583cc78fc01c7beaf4b5'/>
<id>urn:sha1:e3d6919d10d73ff97cfe583cc78fc01c7beaf4b5</id>
<content type='text'>
We add generic GPIO reset driver inspired from gpio-restart
and gpio-poweroff drivers of Linux kernel.

Signed-off-by: Green Wan &lt;green.wan@sifive.com&gt;
Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils: reset: unify naming of 'sifive_test' device</title>
<updated>2021-07-05T16:06:40Z</updated>
<author>
<name>Green Wan</name>
<email>green.wan@sifive.com</email>
</author>
<published>2021-07-01T07:39:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=b7f2cd268b639c19f3aae09e57e60d3eb2ac2ed0'/>
<id>urn:sha1:b7f2cd268b639c19f3aae09e57e60d3eb2ac2ed0</id>
<content type='text'>
Unify all the file and function names of 'sifive_test' device, to use
the same prefix. This is also a preparatory patch for upcoming sifive
reset device.

Signed-off-by: Green Wan &lt;green.wan@sifive.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils: reset: Add T-HEAD sample platform reset driver</title>
<updated>2021-04-22T09:43:53Z</updated>
<author>
<name>Guo Ren</name>
<email>guoren@linux.alibaba.com</email>
</author>
<published>2021-04-17T16:26:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=49e422c5ad7abee9be0bb1066b1db65676e61985'/>
<id>urn:sha1:49e422c5ad7abee9be0bb1066b1db65676e61985</id>
<content type='text'>
This driver is for T-HEAD test chip, fpga. It could work with
all T-HEAD riscv processors: C9xx series.

example1: (Using io-regs for reset)
reset: reset-sample {
	compatible = "thead,reset-sample";
	plic-delegate = &lt;0xff 0xd81ffffc&gt;;
	entry-reg = &lt;0xff 0xff019050&gt;;
	entry-cnt = &lt;4&gt;;
	control-reg = &lt;0xff 0xff015004&gt;;
	control-val = &lt;0x1c&gt;;
	csr-copy = &lt;0x7f3 0x7c0 0x7c1 0x7c2 0x7c3 0x7c5 0x7cc&gt;;
};

example2: (Using csr-regs for reset)
reset: reset-sample {
	compatible = "thead,reset-sample";
	plic-delegate = &lt;0xff 0xd81ffffc&gt;;
	using-csr-reset;
	csr-copy = &lt;0x7c0 0x7c1 0x7c2 0x7c3 0x7c5 0x7cc
		    0x3b0 0x3b1 0x3b2 0x3b3
		    0x3b4 0x3b5 0x3b6 0x3b7
		    0x3a0&gt;;
};

example3: (Only delegate plic enable to S-mode)
reset: reset-sample {
	compatible = "thead,reset-sample";
	plic-delegate = &lt;0xff 0xd81ffffc&gt;;
};

After this patch, all T-HEAD c9xx would use platform/generic with fw_dynamic
as default:

CROSS_COMPILE=riscv64-linux-gnu- PLATFORM=generic FW_PIC=y /usr/bin/make

The platform/thead will be deprecated.

Signed-off-by: Guo Ren &lt;guoren@linux.alibaba.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils: Add simple FDT reset framework</title>
<updated>2020-05-01T05:01:37Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2020-04-24T11:32:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/opensbi.git/commit/?id=7cc6fa4d8a65e08048e1dd469087805ce89bf306'/>
<id>urn:sha1:7cc6fa4d8a65e08048e1dd469087805ce89bf306</id>
<content type='text'>
We add simple reset framework which will select and use reset driver
based on details in FDT passed by previous booting stage.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
</feed>
