summaryrefslogtreecommitdiff
path: root/drivers/reset/stm32/stm32-reset-core.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2025-05-27 15:27:50 +0200
committerPatrice Chotard <patrice.chotard@foss.st.com>2025-06-11 09:42:55 +0200
commitaa7bdc1af505c1f69e4c3e4d14afdb5632aed8bc (patch)
tree4c591c50cda022b12579f7f499108ffccaa75d72 /drivers/reset/stm32/stm32-reset-core.c
parent64b07829f7cd58546f3a0b537b1b0a9d7efddee7 (diff)
clk: scmi: manage properly the clk identifier with CCF
Each clock identifier needs to be unique when CCF is activated, and it is not respected today by SCMI clock driver. This patch supports a unique clk id by using the uclass API clk_get_id() / dev_clk_dm() and by activating by default CONFIG_CLK_AUTO_ID with CCF which adds an offset to the SCMI clock identifiers. After this patch, the SCMI clock driver can coexist with other clock provider without conflict, they can share internal identifier [0..N] defined in their binding and the clock ID = 0 (reserved for dummy clock) is no more used. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Cc: Lukasz Majewski <lukma@denx.de> Cc: Sean Anderson <seanga2@gmail.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'drivers/reset/stm32/stm32-reset-core.c')
0 files changed, 0 insertions, 0 deletions