| From | Miles Chen <> | Subject | Re: [PATCH v2 07/23] clk: mediatek: clk-mtk: Add dummy clock ops | Date | Wed, 28 Dec 2022 15:24:14 +0800 |
| |
Hi Angelo,
> In order to migrate some (few) old clock drivers to the common > mtk_clk_simple_probe() function, add dummy clock ops to be able > to insert a dummy clock with ID 0 at the beginning of the list. >
...snip...
> +/* > + * We need the clock IDs to start from zero but to maintain devicetree > + * backwards compatibility we can't change bindings to start from zero. > + * Only a few platforms are affected, so we solve issues given by the > + * commonized MTK clocks probe function(s) by adding a dummy clock at > + * the beginning where needed. > + */ > +#define CLK_DUMMY 0 >
Reviewed-by: Miles Chen <miles.chen@mediatek.com>
-- 2.39.0
|