> -----邮件原件----- > 发件人: Marek Vasut <[email protected]> > 发送时间: 2025年3月22日 8:38 > 收件人: Alice Guo (OSS) <[email protected]>; Tom Rini > <[email protected]>; Lukasz Majewski <[email protected]>; Sean Anderson > <[email protected]>; Simon Glass <[email protected]>; Stefano Babic > <[email protected]>; Fabio Estevam <[email protected]>; dl-uboot-imx > <[email protected]>; Alper Nebi Yasak <[email protected]>; Alice > Guo <[email protected]>; Lothar Waßmann <[email protected]> > 抄送: [email protected]; Viorel Suman <[email protected]>; Ye Li > <[email protected]> > 主题: 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/[email protected]/ Best regards, Alice Guo

