summaryrefslogtreecommitdiff
path: root/rust/helpers/refcount.c
diff options
context:
space:
mode:
authorKaustabh Chakraborty <kauschluss@disroot.org>2025-07-06 23:55:44 +0530
committerInki Dae <inki.dae@samsung.com>2025-09-15 19:55:10 +0900
commitf08051a4158fec363e1f33b75dd48131f524fa5f (patch)
treef1680fd093409473c5480ac4e9c23f43b55e5acc /rust/helpers/refcount.c
parent7ef93667ab19370a2a05b8dbcad36d76b887ff38 (diff)
drm/bridge: samsung-dsim: add ability to define clock names for every variant
Presently, all devices refer to clock names from a single array. The only controlling parameter is the number of clocks (num_clks field of samsung_dsim_driver_data) which uses the first n clocks of that array. As new devices are added, this approach turns out to be cumbersome. Separate the clock names in individual arrays required by each variant, in a struct clk_bulk_data. Add a pointer field to the driver data struct which points to their respective clock names, and rework the clock usage code to use the clk_bulk_* API instead. Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'rust/helpers/refcount.c')
0 files changed, 0 insertions, 0 deletions