Re: 回复: [PATCH v6 02/20] firmware: scmi: smt: Interrupt communication enable
Marek Vasut
marex at denx.de
Mon Mar 3 22:04:56 CET 2025
On 3/3/25 3:51 AM, Alice Guo (OSS) wrote:
Hi,
>>> @@ -48,6 +58,9 @@ int scmi_dt_get_smt_buffer(struct udevice *dev, struct
>> scmi_smt *smt)
>>> if (!smt->buf)
>>> return -ENOMEM;
>>>
>>> + if (IS_ENABLED(CONFIG_SCMI_TRANSPORT_SMT_INTR))
>>> + scmi_smt_enable_intr(smt, true);
>> Would it be possible to check DT /firmware/scmi node for compatible ==
>> "arm,scmi" and presence of "mboxes" property , and based on that , determine
>> that this is mailbox based SCMI ?
>
> Hi Marek,
>
> Do you mean that replace IS_ENABLED(CONFIG_SCMI_TRANSPORT_SMT_INTR) by checking "arm,scmi" and "mboxes" in device tree?
If that is possible, yes.
More information about the U-Boot
mailing list