<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/firmware, branch v2024.07-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/firmware?h=v2024.07-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/firmware?h=v2024.07-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2024-04-12T02:44:36Z</updated>
<entry>
<title>firmware: ti_sci: Bind sysreset driver when enabled</title>
<updated>2024-04-12T02:44:36Z</updated>
<author>
<name>Andrew Davis</name>
<email>afd@ti.com</email>
</author>
<published>2024-04-02T16:09:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fc5d40283483a595c0d76ff366823a5367e4cd20'/>
<id>urn:sha1:fc5d40283483a595c0d76ff366823a5367e4cd20</id>
<content type='text'>
The sysreset TI-SCI API is available with TI-SCI always, there is no need
for a DT node to describe the availability of this. If the sysreset driver
is available then bind it during ti-sci probe.

Remove the unneeded device tree matching.

Signed-off-by: Andrew Davis &lt;afd@ti.com&gt;
Tested-by: Jonathan Humphreys &lt;j-humphreys@ti.com&gt;
Reviewed-by: Neha Malcom Francis &lt;n-francis@ti.com&gt;
</content>
</entry>
<entry>
<title>firmware: psci: Fix bind_smccc_features psci check</title>
<updated>2024-03-13T16:40:43Z</updated>
<author>
<name>Weizhao Ouyang</name>
<email>o451686892@gmail.com</email>
</author>
<published>2024-03-04T14:42:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=12ccdcd79bddace90dfb6080084b0e36a6d44b37'/>
<id>urn:sha1:12ccdcd79bddace90dfb6080084b0e36a6d44b37</id>
<content type='text'>
According to PSCI specification DEN0022F, PSCI_FEATURES is used to check
whether the SMCCC is implemented by discovering SMCCC_VERSION.

Signed-off-by: Weizhao Ouyang &lt;o451686892@gmail.com&gt;
</content>
</entry>
<entry>
<title>firmware: ti_sci_static_data: add static DMA channel data</title>
<updated>2024-03-13T14:10:05Z</updated>
<author>
<name>Hari Nagalla</name>
<email>hnagalla@ti.com</email>
</author>
<published>2024-03-12T20:20:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e17dc351a6f956c35910748bd7355ecd4f4cc149'/>
<id>urn:sha1:e17dc351a6f956c35910748bd7355ecd4f4cc149</id>
<content type='text'>
Include the static DMA channel data for ti_sci

Signed-off-by: Hari Nagalla &lt;hnagalla@ti.com&gt;
Signed-off-by: Bryan Brattlof &lt;bb@ti.com&gt;
</content>
</entry>
<entry>
<title>drivers: dma: Add support for J784S4 SoC</title>
<updated>2024-03-04T18:41:03Z</updated>
<author>
<name>Apurva Nandan</name>
<email>a-nandan@ti.com</email>
</author>
<published>2024-02-23T20:21:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=691dfbed07fae3ce41559bb12c112f65bb15a70b'/>
<id>urn:sha1:691dfbed07fae3ce41559bb12c112f65bb15a70b</id>
<content type='text'>
Add support for DMA in J784S4 SoC.

Signed-off-by: Jayesh Choudhary &lt;j-choudhary@ti.com&gt;
Signed-off-by: Hari Nagalla &lt;hnagalla@ti.com&gt;
Signed-off-by: Apurva Nandan &lt;a-nandan@ti.com&gt;
Reviewed-by: Nishanth Menon &lt;nm@ti.com&gt;
Reviewed-by: Roger Quadros &lt;rogerq@kernel.org&gt;
Tested-by: Marcel Ziswiler &lt;marcel.ziswiler@toradex.com&gt; # AM69-SK
</content>
</entry>
<entry>
<title>firmware: ti_sci: Add comment explaining the is_secure code</title>
<updated>2024-02-06T21:31:06Z</updated>
<author>
<name>Dhruva Gole</name>
<email>d-gole@ti.com</email>
</author>
<published>2024-01-30T15:00:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c59720c5f4c592688d2899b352f446703c968666'/>
<id>urn:sha1:c59720c5f4c592688d2899b352f446703c968666</id>
<content type='text'>
Add a comment to explain the code under is_secure condition of
ti_sci_do_xfer. This will help avoid confusion amongst people who may in
future touch upon this code.

Reviewed-by: Nishanth Menon &lt;nm@ti.com&gt;
Signed-off-by: Dhruva Gole &lt;d-gole@ti.com&gt;
</content>
</entry>
<entry>
<title>firmware: ti_sci: fix the secure_hdr in do_xfer</title>
<updated>2024-02-06T21:31:06Z</updated>
<author>
<name>Dhruva Gole</name>
<email>d-gole@ti.com</email>
</author>
<published>2024-01-30T14:59:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0c4e36d65f6c25e5016235cc3f1e97c8d237f416'/>
<id>urn:sha1:0c4e36d65f6c25e5016235cc3f1e97c8d237f416</id>
<content type='text'>
The ti_sci driver in U-Boot has support for secure_msg as part of it's
do_xfer function. This let's U-boot send secure messages during boot up.

The protocol to send such secure messages is described as part of the
struct ti_sci_secure_msg_hdr. As part of this, there are 2 fields for
checksum and reserved that occupy the first 4 bytes of any secure
message. This is called as the secure_hdr.

As of now, the secure_hdr needs to be 0 init-ed before sending secure
messages. However the existing code was never putting the zero-inited vars
into the secure_buf, leading to possibility of the first 4 bytes of
secure_buf being possibly garbage.

Fix this by initialising the secure_hdr itself to the secure_buf
location, thus when we make secure_hdr members 0, it automatically ensures
the first 4 bytes of secure_buf are 0.

Fixes: 32cd25128bd849 ("firmware: Add basic support for TI System Control Interface (TI SCI)")
Reviewed-by: Nishanth Menon &lt;nm@ti.com&gt;
Signed-off-by: Dhruva Gole &lt;d-gole@ti.com&gt;
</content>
</entry>
<entry>
<title>mailbox: zynqmp: support mulitple mboxes via device-tree</title>
<updated>2023-12-13T07:58:07Z</updated>
<author>
<name>Tanmay Shah</name>
<email>tanmay.shah@amd.com</email>
</author>
<published>2023-12-04T21:56:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=babee72ff618b7ad98ff5c1800659a505cdc0a94'/>
<id>urn:sha1:babee72ff618b7ad98ff5c1800659a505cdc0a94</id>
<content type='text'>
As of now only one mailbox agent is supported by mailbox driver.
On zynqmp platform there are about 7 mailbox agents which can communicate
over same IPI channel to U-Boot. This patch series introduces new
"zynqmp_ipi_dest" driver which adds one to multi-channel mailbox
support.

Following format in device-tree is expected as per latest bindings:
zynqmp-ipi {
	compatible = "xlnx,zynqmp-ipi-mailbox";

	mbox_1: mailbox@1 {
		/* New compatible for child node */
		compatible = "xlnx,zynqmp-ipi-dest-mailbox";
		...
	};

	...

	mbox_n: mailbox@n {
		compatible = "xlnx,zynqmp-ipi-dest-mailbox";
		...
	}
};

Then mailbox client uses child mailbox node as following:

ipi-dest-1 {
	...
	mboxes = &lt;mbox_1 0&gt;, &lt;mbox_1 1&gt;;
	mbox-names = "tx", "rx";
	...
};

New "zynqmp_ipi_dest" driver is for devices with
"xlnx,zynqmp-ipi-dest-mailbox" compatible string. This driver will take care
of mailbox send recv ops and it replaces previous "zynqmp_ipi" driver.
Now "zynqmp_ipi" driver simply binds each child device with "zynqmp_ipi_dest"
driver.

However, its important to maintain backward comaptibility with previous
bindings where child node does not have compatible string. In such case, new
driver isn't probed by U-Boot during boot and system fails to boot. To
resolve this issue firmware-zynqmp.c driver probes all the IPI parent node
driver which binds each child node device with "zynqmp_ipi_dest" driver.

This makes sure corresponding child driver will be
probed when requested using mbox_get_by_name or mbox_get_by_idx
framework calls.

This way multiple mailbox agents are supported in device-tree without breaking
previous binding support.

Signed-off-by: Tanmay Shah &lt;tanmay.shah@amd.com&gt;
Link: https://lore.kernel.org/r/20231204215620.63334-4-tanmay.shah@amd.com
Signed-off-by: Michal Simek &lt;michal.simek@amd.com&gt;
</content>
</entry>
<entry>
<title>firmware: scmi: support protocols on sandbox only if enabled</title>
<updated>2023-11-29T03:31:03Z</updated>
<author>
<name>AKASHI Takahiro</name>
<email>takahiro.akashi@linaro.org</email>
</author>
<published>2023-11-14T02:14:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9c07c0a4fce797fa9af04e07f4ba448a05e4adb4'/>
<id>urn:sha1:9c07c0a4fce797fa9af04e07f4ba448a05e4adb4</id>
<content type='text'>
This change will be useful when we manually test SCMI on sandbox
by enabling/disabling a specific SCMI protocol.

Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>tree-wide: Replace http:// link with https:// link for ti.com</title>
<updated>2023-11-10T16:01:50Z</updated>
<author>
<name>Nishanth Menon</name>
<email>nm@ti.com</email>
</author>
<published>2023-11-01T20:56:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a94a4071d449e12c9fb5ac37d6362d22efcb27da'/>
<id>urn:sha1:a94a4071d449e12c9fb5ac37d6362d22efcb27da</id>
<content type='text'>
Replace instances of http://www.ti.com with https://www.ti.com

Signed-off-by: Nishanth Menon &lt;nm@ti.com&gt;
</content>
</entry>
<entry>
<title>firmware: scmi: correct a validity check against power domain id</title>
<updated>2023-11-10T15:59:28Z</updated>
<author>
<name>AKASHI Takahiro</name>
<email>takahiro.akashi@linaro.org</email>
</author>
<published>2023-11-07T00:05:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4808d1633336a98f3c48a94a7e1fcd1e1030a324'/>
<id>urn:sha1:4808d1633336a98f3c48a94a7e1fcd1e1030a324</id>
<content type='text'>
A power domain id on sandbox should be in the range from zero to
ARRAY_SIZE(scmi_pwdom) - 1. Correct the validity check logic.

Addresses-Coverity-ID: 467401 ("Out-of-bounds write")
Addresses-Coverity-ID: 467405 ("Out-of-bounds read")
Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;
</content>
</entry>
</feed>
