u-boot/drivers/clk
Alice Guo 15fdfef664 clk: scmi: check the clock state/parent/rate control permissions
Clock driver based on SCMI clock management protocol in Linux checks
clock state, parent and rate control permissions. To be consistent with
the kernel driver, add this check here. CLOCK_GET_PERMISSIONS is from
ARM System Control and Management Interface Platform Design Document 3.2.

When using common clock framework (CCF), use the clock signal ID to get
the clock registered by clk_register() in scmi_clk_probe(), and then
obatin the struct clk_scmi variable with container_of().

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2025-05-03 16:55:32 -03:00
..
adi Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
airoha reset: airoha: Add driver for controlling reset line of AN7581 2025-04-01 08:44:51 -06:00
altera drivers: clk: agilex5: Set PLL to asynchronous mode 2025-02-25 10:53:41 -06:00
analogbits clk: sifive: append missing \n to messages 2024-09-10 10:10:43 +08:00
aspeed Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
at91 Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
exynos global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
imx clk: imx: Pass CCM udevice into clk_register_composite() 2025-04-28 10:42:01 -03:00
intel Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mediatek arm: mediatek: remove CONFIG_MT8512 2025-02-21 11:36:37 -06:00
meson clk: meson: gxbb: add HDMI clocks 2024-10-14 09:06:16 +02:00
microchip clk: microchip: mpfs: support new syscon based devicetree configuration 2024-10-29 19:58:22 +08:00
mtmips Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mvebu Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
nuvoton clk: nuvoton: add read only feature for clk driver 2023-12-15 13:05:55 -05:00
owl Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
qcom clk/qcom: qcm2290: show clock name in set_rate() 2025-05-02 08:38:02 -06:00
renesas clk: rzg2l: Ignore disable for core clocks 2025-03-11 23:06:18 +01:00
rockchip clk: rockchip: Add rk3576 clk support 2025-04-23 22:12:05 +08:00
sifive drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
sophgo clk: sophgo: Fix return values of register updating helpers 2025-03-25 12:13:42 +08:00
starfive dts: starfive: Switch to using upstream DT 2024-12-18 13:19:15 +08:00
stm32 clk: stm32mp1: fix DSI clock setting 2025-04-25 16:00:22 +02:00
sunxi clk: sunxi: Add support for the A100/A133 CCU 2025-03-27 00:26:35 +00:00
tegra driver: clk: tegra: init basic clocks on probe 2024-12-16 17:07:39 -06:00
ti arm: mach-k3: j721e: Split out J7200 SoC support from J721e 2025-04-05 18:28:02 -06:00
uniphier Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_bcm6345.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_boston.c clk: boston: Allow to get regmap from parent device 2025-04-22 15:08:47 -06:00
clk_fixed_factor.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_fixed_rate.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_k210.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_octeon.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
clk_pic32.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_sandbox_ccf.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_sandbox_test.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_sandbox.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_scmi.c clk: scmi: check the clock state/parent/rate control permissions 2025-05-03 16:55:32 -03:00
clk_versaclock.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk_versal.c clk: versal: Store driver data in data section 2025-03-03 16:09:59 +01:00
clk_vexpress_osc.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
clk_zynq.c drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
clk_zynqmp.c clk: zynqmp: Add set_rate support for display clocks 2024-08-05 16:10:36 +02:00
clk-cdce9xx.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk-composite.c clk: imx: Pass CCM udevice into clk_register_composite() 2025-04-28 10:42:01 -03:00
clk-divider.c clk: clk-divider: Resolve parent clock by name 2025-03-24 08:51:35 -03:00
clk-fixed-factor.c clk: clk-fixed-factor: Resolve parent clock by name 2025-03-24 08:51:35 -03:00
clk-gate.c clk: clk-gate: Resolve parent clock by name 2025-03-24 08:51:34 -03:00
clk-gpio.c clk: clk-gpio: add actual gated clock 2024-01-29 22:35:34 -05:00
clk-hsdk-cgu.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk-mux.c clk: clk-mux: Resolve parent clock by name 2025-03-24 08:51:34 -03:00
clk-stub.c clk: stub: add qcom,glink-smd-rpm 2025-04-10 15:43:11 +02:00
clk-uclass.c clk: fix crash on clk_set_rate clean rate cache 2025-04-30 07:50:18 -06:00
clk-xlnx-clock-wizard.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
clk.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ics8n3qv01.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig clk: add stub clock driver 2025-02-26 13:16:40 +00:00
Makefile clk: airoha: Add support for Airoha AN7581 SoC clock 2025-04-01 08:44:51 -06:00
mpc83xx_clk.c global_data: Move pci_clk to m68k and powerpc 2024-08-26 14:05:37 -06:00
mpc83xx_clk.h clk: mpc83xx: Fix typo in "Coherent System Bus" 2024-12-15 02:03:52 +01:00