<feed xmlns='http://www.w3.org/2005/Atom'>
<title>starfive-tech/opensbi.git/lib/utils/fdt, branch starfive-dubhe</title>
<subtitle>StarFive Tech OpenSBI for VisionFive (JH7110) boards (mirror)</subtitle>
<id>https://git.radix-linux.su/starfive-tech/opensbi.git/atom?h=starfive-dubhe</id>
<link rel='self' href='https://git.radix-linux.su/starfive-tech/opensbi.git/atom?h=starfive-dubhe'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/'/>
<updated>2021-07-17T06:10:49+00:00</updated>
<entry>
<title>lib: utils/fdt: Add fdt_parse_phandle_with_args() API</title>
<updated>2021-07-17T06:10:49+00:00</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2021-07-13T03:23:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=e931f387b27a2f575f5b713391e241d8963b48c5'/>
<id>urn:sha1:e931f387b27a2f575f5b713391e241d8963b48c5</id>
<content type='text'>
The libfdt project does not have a generic API to parse phandle
with args from a DT node so we add fdt_parse_phandle_with_args()
for this purpose. This new API will be useful to FDT based drivers.

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>utils: fdt: Add fdt helper functions to parse PMU DT nodes</title>
<updated>2021-07-11T04:57:57+00:00</updated>
<author>
<name>Atish Patra</name>
<email>atish.patra@wdc.com</email>
</author>
<published>2021-07-10T16:18:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=ae72ec091508196e29c07ae46bca106373d31e39'/>
<id>urn:sha1:ae72ec091508196e29c07ae46bca106373d31e39</id>
<content type='text'>
The PMU DT node bindings are defined in docs/pmu_support.md
Add few fdt helper functions to parse the DT node and update the
event-counter mapping tables.

Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Signed-off-by: Atish Patra &lt;atish.patra@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils: Add FDT parsing API common for both ACLINT and CLINT</title>
<updated>2021-06-24T04:09:48+00:00</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2021-05-20T08:08:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=bd5d2089b80742a210b257c8e6c1361310725200'/>
<id>urn:sha1:bd5d2089b80742a210b257c8e6c1361310725200</id>
<content type='text'>
We add fdt_parse_aclint_node() which can parse both ACLINT and
CLINT DT nodes. This means fdt_parse_clint_node() is not required
anymore so we remove it as well.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
</content>
</entry>
<entry>
<title>lib: utils/fdt: Replace strcmp with strncmp</title>
<updated>2021-05-19T12:05:38+00:00</updated>
<author>
<name>Daniel Schaefer</name>
<email>daniel.schaefer@hpe.com</email>
</author>
<published>2021-05-19T07:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=fe92347b9f91c147b314065cc3c2c2b196c55b34'/>
<id>urn:sha1:fe92347b9f91c147b314065cc3c2c2b196c55b34</id>
<content type='text'>
Use strncmp() instead of strcmp() in __fixup_find_domain_offset()
so that it compiles fine when linking with external firmware (such
as EDK2).

Signed-off-by: Daniel Schaefer &lt;daniel.schaefer@hpe.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Abner Chang &lt;abner.chang@hpe.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils/fdt: Don't use sbi_string functions</title>
<updated>2021-05-19T12:04:06+00:00</updated>
<author>
<name>Daniel Schaefer</name>
<email>daniel.schaefer@hpe.com</email>
</author>
<published>2021-05-19T07:54:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=ee7c2b27ea8d875db8d7d39116432d9958267415'/>
<id>urn:sha1:ee7c2b27ea8d875db8d7d39116432d9958267415</id>
<content type='text'>
When SBI is built by external firmware, we need to use their functions,
defined in libfdt_env.h.

Just like 2cfd2fc9048806353298a1b967abf985901e36e8

Signed-off-by: Daniel Schaefer &lt;daniel.schaefer@hpe.com&gt;
Reviewed-by: Abner Chang &lt;abner.chang@hpe.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib: utils/serial: Add support for Gaisler APBUART</title>
<updated>2021-05-06T08:51:07+00:00</updated>
<author>
<name>Daniel Cederman</name>
<email>cederman@gaisler.com</email>
</author>
<published>2021-04-30T06:35:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=117fb6dcb147913034fe82d0ed038fa7a05f1a1d'/>
<id>urn:sha1:117fb6dcb147913034fe82d0ed038fa7a05f1a1d</id>
<content type='text'>
This patch adds support for the UART used by the NOEL-V processor.

Cobham Gaisler's NOEL-V RISC-V processor IP is available under GPL
and commercial license and is described in more detail at
https://www.gaisler.com/noelv.

Signed-off-by: Daniel Cederman &lt;cederman@gaisler.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>lib: utils: Implement "64bit-mmio" property parsing</title>
<updated>2021-04-22T09:30:58+00:00</updated>
<author>
<name>Guo Ren</name>
<email>guoren@linux.alibaba.com</email>
</author>
<published>2021-04-17T16:26:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=c5d064505236d8c272fffcd58fb27482325e14fd'/>
<id>urn:sha1:c5d064505236d8c272fffcd58fb27482325e14fd</id>
<content type='text'>
Figure out CLINT has_64bit_mmio from DT node and using antonym for
compatibility.

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: Copy over restricted root domain memregions to FDT domains</title>
<updated>2021-04-13T05:26:48+00:00</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2021-04-10T04:07:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=e7e4bcd5b95ed9abcac850725edb1955e772ed3d'/>
<id>urn:sha1:e7e4bcd5b95ed9abcac850725edb1955e772ed3d</id>
<content type='text'>
We should copy over all restricted memregions from the root domain
to the domains populated from FDT. These restricted root memregions
are typically firmware memregion and M-mode only mmio memregions.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Xiang W &lt;wxjstz@126.com&gt;
Reviewed-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
</content>
</entry>
<entry>
<title>lib/utils: Support fixing up the official DT bindings of PLIC</title>
<updated>2021-04-01T05:01:11+00:00</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-03-27T05:05:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=4edc8224073e61498b1de338c67174f47fc3c5e1'/>
<id>urn:sha1:4edc8224073e61498b1de338c67174f47fc3c5e1</id>
<content type='text'>
Current fdt_plic_fixup() only does necessary fix-up against the legacy
"riscv,plic0" node. The upstream Linux kernel defines its official DT
bindings which uses "sifive,plic-1.0.0" as the compatible string and
we should check that first, and if not present fall back to legacy.

Signed-off-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: Drop the 'compat' parameter of fdt_plic_fixup()</title>
<updated>2021-04-01T04:57:28+00:00</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2021-03-27T05:05:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/opensbi.git/commit/?id=ca3f35821baa18e309d856c0cf886b81970f2a00'/>
<id>urn:sha1:ca3f35821baa18e309d856c0cf886b81970f2a00</id>
<content type='text'>
At present fdt_plic_fixup() accepts a 'compat' parameter for PLIC
compatible string. In preparation to support the new DT bindings,
drop this and use "riscv,plic0" directly in fdt_plic_fixup().

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Anup Patel &lt;anup.patel@wdc.com&gt;
</content>
</entry>
</feed>
