可以看到 scmi_clk scmi_reset 是 scmi 的子节点,scmi 是 platform_device,注册和 driver 的绑定按 platform 总线规则, 具有 compatible 属性。 和SPI I2C 类似,scmi 自己作为 platform_device 和 driver probe 时会建立 scmi_bus,方便子节点设备和驱动绑定。 Compatible Compatible 在这里决定了和 mailbox 侧对接...
clk_scmi.o: in function `scmi_clk_probe': drivers/clk/clk_scmi.c:157: undefined reference to `devm_scmi_of_get_channel' make[1]: *** [scripts/Makefile.spl:527: spl/u-boot-spl] Error 1 make: *** [Makefile:2043: spl/u-boot-spl] Error 2 Add Kconfig option so that CLK_SCMI...
通过SCP软件来操作CRU的相关寄存器,从而实现对子系统时钟和复位信号的控制, 芯片手册会给出控制CRU的reset及clk的寄存器配置,操作响应的寄存器即可。 后记: 本小节介绍比较详细,其实很多知识点都是相通的,例如SCMI、SCP、Mailbox、DTS这些东西,早晚都需要掌握,但是通过一个业务流程或者场景就可以学习到,本文就是一个了...
clk: add clock driver for SCMI agents Browse files This change introduces a clock driver for SCMI agent devices. When SCMI agent and SCMI clock drivers are enabled, SCMI agent binds a clock device for each SCMI clock protocol devices enabled in the FDT. SCMI clock driver is embedded upon...
(+) diff --git a/sound/soc/fsl/fsl_mqs.c b/sound/soc/fsl/fsl_mqs.c index 145f9ca15e43..0513e9e8402e 100644 --- a/sound/soc/fsl/fsl_mqs.c +++ b/sound/soc/fsl/fsl_mqs.c @@ -6,6 +6,7 @@ // Copyright 2019 NXP #include <linux/clk.h> +#include <linux/firmware/imx/...
* @clk_count: Number of clock devices probed * @reset: Array the reset controller devices @@ -79,6 +98,8 @@ struct sandbox_scmi_service { * @regul_count: Number of regulator devices probed */ struct sandbox_scmi_devices { struct power_domain *pwdom; size_t pwdom_count; struct clk...
clk.h clock_legacy.h cmd_spl.h command.h common.h common_timing_params.h compiler.h config_distro_bootcmd.h config_fallbacks.h config_fsl_chain_trust.h config_phylib_all_drivers.h config_uncmd_spl.h console.h cortina.h cp1250.h cp437.h cpsw.h cpu.h cpu_func.h cros_ec.h...
struct scmi_clk_state_in { u32 clock_id; u32 attributes; }; /** * struct scmi_clk_state_out - Response payload for CLOCK_CONFIG_SET command * @status: SCMI command status */ struct scmi_clk_state_out { s32 status; }; /** * struct scmi_clk_state_in - Message payload...