> -----邮件原件----- > 发件人: Marek Vasut <ma...@denx.de> > 发送时间: 2025年3月22日 8:38 > 收件人: Alice Guo (OSS) <alice....@oss.nxp.com>; Tom Rini > <tr...@konsulko.com>; Lukasz Majewski <lu...@denx.de>; Sean Anderson > <sean...@gmail.com>; Simon Glass <s...@chromium.org>; Stefano Babic > <sba...@denx.de>; Fabio Estevam <feste...@gmail.com>; dl-uboot-imx > <uboot-...@nxp.com>; Alper Nebi Yasak <alpernebiya...@gmail.com>; Alice > Guo <alice....@nxp.com>; Lothar Waßmann <l...@karo-electronics.de> > 抄送: u-boot@lists.denx.de; Viorel Suman <viorel.su...@nxp.com>; Ye Li > <ye...@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....@oss.nxp.com/ Best regards, Alice Guo