Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1685836
| From | Matthias Brugger <matthias.bgg@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC |
| Date | 2017-07-12 17:00 +0200 |
| Message-ID | <u2rho-17U-15@gated-at.bofh.it> (permalink) |
| References | <u1HRg-67w-5@gated-at.bofh.it> <u1HRg-67w-23@gated-at.bofh.it> <u1Tz3-4ZB-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Eddie,
On 07/11/2017 04:49 AM, Eddie Huang wrote:
> Hi Sean,
>
> On Mon, 2017-07-10 at 22:23 +0800, sean.wang@mediatek.com wrote:
>> From: Sean Wang <sean.wang@mediatek.com>
>>
>> MT2701/MT7623 is a 32-bit ARMv7 based quad-core (4 * Cortex-A7) with
>> single cluster and this hardware is also compatible with the existing
>> driver through enabling CPU frequency feature with operating-points-v2
>> bindings. Also, this driver actually supports all MediaTek SoCs, the
>> Kconfig menu entry and file name itself should be updated with more
>> generic name to drop "MT8173"
>>
>> Signed-off-by: Sean Wang <sean.wang@mediatek.com>
>> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
>> Reviewed-by: Jean Delvare <jdelvare@suse.de>
>> ---
>> drivers/cpufreq/Kconfig.arm | 7 +++----
>> drivers/cpufreq/Makefile | 2 +-
>> drivers/cpufreq/{mt8173-cpufreq.c => mediatek-cpufreq.c} | 2 ++
>> 3 files changed, 6 insertions(+), 5 deletions(-)
>> rename drivers/cpufreq/{mt8173-cpufreq.c => mediatek-cpufreq.c} (99%)
>>
>
> As Viresh mentioned, there are already many drivers use "mtk" as
> filename prefix or postfix.To align with those files, I suggest use
> mtk-cpufreq.c.I think there are not too many values to change all "mtk-"
> to "mediatek-", but it is worth to have the same naming rule for
> mediatek upstream driver.
>
In the last submission Jean proposed to change all file names from
mtk-*.[ch] to mediatek-*.[ch] as this will cause less confusion.
Viresh are you OK with that approach or do you prefer that we stay with
mtk prefix? I think it makes sense to have a unique prefix and resolve
the situation we now have with source files and Kconfig options.
But TBH I have no strong feeling for any of the two prefixes.
Regards,
Matthias
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 0/3] some fixups for MediaTek cpufreq driver <sean.wang@mediatek.com> - 2017-07-10 16:30 +0200
[PATCH v4 2/3] dt-bindings: cpufreq: move MediaTek cpufreq dt-bindings document to proper place <sean.wang@mediatek.com> - 2017-07-10 16:30 +0200
[PATCH v4 3/3] dt-bindings: cpufreq: enhance MediaTek cpufreq dt-binding document <sean.wang@mediatek.com> - 2017-07-10 16:30 +0200
[PATCH v4 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC <sean.wang@mediatek.com> - 2017-07-10 16:30 +0200
Re: [PATCH v4 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC Eddie Huang <eddie.huang@mediatek.com> - 2017-07-11 05:00 +0200
Re: [PATCH v4 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC Matthias Brugger <matthias.bgg@gmail.com> - 2017-07-12 17:00 +0200
Re: [PATCH v4 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-13 05:20 +0200
Re: [PATCH v4 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC Eddie Huang <eddie.huang@mediatek.com> - 2017-07-13 06:00 +0200
Re: [PATCH v4 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC Jean Delvare <jdelvare@suse.de> - 2017-07-17 10:10 +0200
Re: [PATCH v4 1/3] cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC Jean Delvare <jdelvare@suse.de> - 2017-07-17 10:10 +0200
Re: [PATCH v4 0/3] some fixups for MediaTek cpufreq driver Sean Wang <sean.wang@mediatek.com> - 2017-07-17 08:20 +0200
Re: [PATCH v4 0/3] some fixups for MediaTek cpufreq driver Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-17 09:40 +0200
Re: [PATCH v4 0/3] some fixups for MediaTek cpufreq driver "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-07-17 13:50 +0200
csiph-web