[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d0f6fba8-cf04-4040-add4-35e001473f22@kernel.org>
Date: Wed, 5 Mar 2025 21:37:42 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Stephen Boyd <sboyd@...nel.org>, Alim Akhtar <alim.akhtar@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>, Conor Dooley <conor+dt@...nel.org>,
Ivaylo Ivanov <ivo.ivanov.ivanov1@...il.com>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Michael Turquette <mturquette@...libre.com>, Rob Herring <robh@...nel.org>,
Sylwester Nawrocki <s.nawrocki@...sung.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-samsung-soc@...r.kernel.org,
linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/3] clk: samsung: introduce Exynos2200 clock driver
On 04/03/2025 19:19, Stephen Boyd wrote:
> Quoting Ivaylo Ivanov (2025-02-23 03:56:00)
>> diff --git a/drivers/clk/samsung/clk-exynos2200.c b/drivers/clk/samsung/clk-exynos2200.c
>> new file mode 100644
>> index 000000000..151bdb35a
>> --- /dev/null
>> +++ b/drivers/clk/samsung/clk-exynos2200.c
>> @@ -0,0 +1,3928 @@
>> +// SPDX-License-Identifier: GPL-2.0-only
>> +/*
>> + * Copyright (C) 2025 Ivaylo Ivanov <ivo.ivanov.ivanov1@...il.com>
>> + * Author: Ivaylo Ivanov <ivo.ivanov.ivanov1@...il.com>
>> + *
>> + * Common Clock Framework support for Exynos2200 SoC.
>> + */
>> +
>> +#include <linux/clk.h>
>
> Remove this include because this is a clk provider and not a clk
> consumer.
I sent a fix for this.
>
>> +static struct platform_driver exynos2200_cmu_driver __refdata = {
>> + .driver = {
>> + .name = "exynos2200-cmu",
>> + .of_match_table = exynos2200_cmu_of_match,
>> + .suppress_bind_attrs = true,
>> + },
>> + .probe = exynos2200_cmu_probe,
>> +};
>> +
>> +static int __init exynos2200_cmu_init(void)
>> +{
>> + return platform_driver_register(&exynos2200_cmu_driver);
>
> Was this supposed to be platform_driver_probe()? The __refdata usage
> suggests that but all of the __init markings and stuff in the samsung
> clk driver worry me.
I'll fix this and existing drivers.
Best regards,
Krzysztof
Powered by blists - more mailing lists