clk: sandbox: update driver for CONFIG_CLK_AUTO_ID support
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 27 May 2025 13:27:47 +0000 (15:27 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 11 Jun 2025 07:42:55 +0000 (09:42 +0200)
commit94e284a41d073b34fdcafe6666c1d8c36791afe0
tree872cfaa717d6abdd6aed6e903ddc03a6d6d27f19
parent0846bad0d08b53f6abaa4c8afe812dba93057424
clk: sandbox: update driver for CONFIG_CLK_AUTO_ID support

Update the sandbox driver to allow support of the
CONFIG_CLK_AUTO_ID by using the new API clk_get_id()
to get the internal SANDBOX identifier.

With CONFIG_CLK_AUTO_ID, clk->id have the also seq identifier.

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>
drivers/clk/clk_sandbox.c
drivers/clk/clk_sandbox_ccf.c