Message ID | 20250219-exynos7870-pmu-clocks-v3-5-0d1e415e9e3a@disroot.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Introduce support for Exynos7870 clocks and PMU | expand |
On Wed, Feb 19, 2025 at 12:20:32AM +0530, Kaustabh Chakraborty wrote: > Exynos7870's CLKOUT registers are the same as Exynos5's. Add the PMU > compatible to the existing CLKOUT ID list. > > Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org> > --- > drivers/clk/samsung/clk-exynos-clkout.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/clk/samsung/clk-exynos-clkout.c b/drivers/clk/samsung/clk-exynos-clkout.c > index 2ef5748c139b37ca5429b9071ee0e06f44fcf28e..9a31b1c311b45096f1d680b6724571854c08725c 100644 > --- a/drivers/clk/samsung/clk-exynos-clkout.c > +++ b/drivers/clk/samsung/clk-exynos-clkout.c > @@ -75,6 +75,9 @@ static const struct of_device_id exynos_clkout_ids[] = { > }, { > .compatible = "samsung,exynos5433-pmu", > .data = &exynos_clkout_exynos5, > + }, { > + .compatible = "samsung,exynos7870-pmu", > + .data = &exynos_clkout_exynos5, I wonder why do we need to keep growing this list? All devices are compatible, aren't they? Do you use clkout, BTW? Best regards, Krzysztof
diff --git a/drivers/clk/samsung/clk-exynos-clkout.c b/drivers/clk/samsung/clk-exynos-clkout.c index 2ef5748c139b37ca5429b9071ee0e06f44fcf28e..9a31b1c311b45096f1d680b6724571854c08725c 100644 --- a/drivers/clk/samsung/clk-exynos-clkout.c +++ b/drivers/clk/samsung/clk-exynos-clkout.c @@ -75,6 +75,9 @@ static const struct of_device_id exynos_clkout_ids[] = { }, { .compatible = "samsung,exynos5433-pmu", .data = &exynos_clkout_exynos5, + }, { + .compatible = "samsung,exynos7870-pmu", + .data = &exynos_clkout_exynos5, }, { } };
Exynos7870's CLKOUT registers are the same as Exynos5's. Add the PMU compatible to the existing CLKOUT ID list. Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org> --- drivers/clk/samsung/clk-exynos-clkout.c | 3 +++ 1 file changed, 3 insertions(+)