回复: [PATCH v8 01/19] firmware: scmi: smt: Interrupt communication enable

Alice Guo (OSS) alice.guo at oss.nxp.com
Tue Apr 1 10:02:44 CEST 2025


> -----邮件原件-----
> 发件人: Marek Vasut <marex at denx.de>
> 发送时间: 2025年3月22日 8:38
> 收件人: Alice Guo (OSS) <alice.guo at oss.nxp.com>; Tom Rini
> <trini at konsulko.com>; Lukasz Majewski <lukma at denx.de>; Sean Anderson
> <seanga2 at gmail.com>; Simon Glass <sjg at chromium.org>; Stefano Babic
> <sbabic at denx.de>; Fabio Estevam <festevam at gmail.com>; dl-uboot-imx
> <uboot-imx at nxp.com>; Alper Nebi Yasak <alpernebiyasak at gmail.com>; Alice
> Guo <alice.guo at nxp.com>; Lothar Waßmann <LW at KARO-electronics.de>
> 抄送: u-boot at lists.denx.de; Viorel Suman <viorel.suman at nxp.com>; Ye Li
> <ye.li at nxp.com>
> 主题: Re: [PATCH v8 01/19] firmware: scmi: smt: Interrupt communication
> enable
> 
> On 3/21/25 8:15 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);
> Can we somehow figure out whether this interrupt needs to be enabled purely
> from U-Boot control DT ? For example, check DT /firmware/scmi node for
> compatible == "arm,scmi" (or != "arm,scmi-smc") and presence of "mboxes"
> property ?

Hi Marek,

I have changed to check DT and sent this patch separately. Please review! https://patchwork.ozlabs.org/project/uboot/patch/20250401075635.3802640-1-alice.guo@oss.nxp.com/

Best regards,
Alice Guo


More information about the U-Boot mailing list