]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: add clock driver for SCMI agents
authorEtienne Carriere <etienne.carriere@linaro.org>
Wed, 9 Sep 2020 16:44:04 +0000 (18:44 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 15:55:23 +0000 (11:55 -0400)
commit60388844836f5639e6c9a4331335ff22298128da
treeb5f9e60ab477d740c2542cd123d0d81eb0c862dd
parent4e5ce7ecd3ed734245b00a4068d6c86009e8b7ab
clk: add clock driver for SCMI agents

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 CONFIG_CLK_SCMI=y. If enabled,
CONFIG_SCMI_AGENT is also enabled.

SCMI Clock protocol is defined in the SCMI specification [1].

Links: [1] https://developer.arm.com/architectures/system-architectures/software-standards/scmi
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/clk_scmi.c [new file with mode: 0644]
drivers/firmware/scmi/scmi_agent-uclass.c
include/scmi_protocols.h