Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1462508 > unrolled thread

Re: [PATCH 1/3] clk: meson: Add GXBB AO Clock and Reset controller driver

Started byPaul Gortmaker <paul.gortmaker@windriver.com>
First post2016-08-15 02:10 +0200
Last post2016-08-16 15:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/3] clk: meson: Add GXBB AO Clock and Reset controller driver Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-08-15 02:10 +0200
    Re: [PATCH 1/3] clk: meson: Add GXBB AO Clock and Reset controller  driver Neil Armstrong <narmstrong@baylibre.com> - 2016-08-16 15:40 +0200

#1462508 — Re: [PATCH 1/3] clk: meson: Add GXBB AO Clock and Reset controller driver

FromPaul Gortmaker <paul.gortmaker@windriver.com>
Date2016-08-15 02:10 +0200
SubjectRe: [PATCH 1/3] clk: meson: Add GXBB AO Clock and Reset controller driver
Message-ID<s6dDz-6GX-1@gated-at.bofh.it>
On Tue, Aug 9, 2016 at 5:13 AM, Neil Armstrong <narmstrong@baylibre.com> wrote:
> Adds a Clock and Reset controller driver for the Always-On part
> of the Amlogic Meson GXBB SoC.
>
> It exports paired Clocks and Resets lines that will be used by
> peripherals in the Always-On subsystem.

[...]

> +static const struct of_device_id gxbb_aoclkc_match_table[] = {
> +       { .compatible = "amlogic,gxbb-aoclkc" },
> +       { }
> +};
> +MODULE_DEVICE_TABLE(of, gxbb_aoclkc_match_table);
> +
> +static struct platform_driver gxbb_aoclkc_driver = {
> +       .probe          = gxbb_aoclkc_probe,
> +       .driver         = {
> +               .name   = "gxbb-aoclkc",
> +               .of_match_table = gxbb_aoclkc_match_table,
> +       },
> +};
> +
> +module_platform_driver(gxbb_aoclkc_driver);
> +
> +MODULE_DESCRIPTION("AmLogic Meson GXBB AO Clock Controller Driver");
> +MODULE_LICENSE("Dual BSD/GPL");
> +MODULE_ALIAS("platform:gxbb-aoclkc");
> +MODULE_AUTHOR("Neil Armstrong <narmstrong@baylibre.com>");

Since this driver is controlled by a bool Kconfig, you can dump the module.h
include and all the MODULE_<xyz> tags above.

Or, if there is a genuine use case for it to be modular, then make it tristate?

Thanks,
Paul.

[toc] | [next] | [standalone]


#1463788 — Re: [PATCH 1/3] clk: meson: Add GXBB AO Clock and Reset controller driver

FromNeil Armstrong <narmstrong@baylibre.com>
Date2016-08-16 15:40 +0200
SubjectRe: [PATCH 1/3] clk: meson: Add GXBB AO Clock and Reset controller driver
Message-ID<s6MKZ-3GS-3@gated-at.bofh.it>
In reply to#1462508
On 08/15/2016 02:08 AM, Paul Gortmaker wrote:
> On Tue, Aug 9, 2016 at 5:13 AM, Neil Armstrong <narmstrong@baylibre.com> wrote:
>> Adds a Clock and Reset controller driver for the Always-On part
>> of the Amlogic Meson GXBB SoC.
>>
>> It exports paired Clocks and Resets lines that will be used by
>> peripherals in the Always-On subsystem.
> 
> [...]
> 
>> +static const struct of_device_id gxbb_aoclkc_match_table[] = {
>> +       { .compatible = "amlogic,gxbb-aoclkc" },
>> +       { }
>> +};
>> +MODULE_DEVICE_TABLE(of, gxbb_aoclkc_match_table);
>> +
>> +static struct platform_driver gxbb_aoclkc_driver = {
>> +       .probe          = gxbb_aoclkc_probe,
>> +       .driver         = {
>> +               .name   = "gxbb-aoclkc",
>> +               .of_match_table = gxbb_aoclkc_match_table,
>> +       },
>> +};
>> +
>> +module_platform_driver(gxbb_aoclkc_driver);
>> +
>> +MODULE_DESCRIPTION("AmLogic Meson GXBB AO Clock Controller Driver");
>> +MODULE_LICENSE("Dual BSD/GPL");
>> +MODULE_ALIAS("platform:gxbb-aoclkc");
>> +MODULE_AUTHOR("Neil Armstrong <narmstrong@baylibre.com>");
> 
> Since this driver is controlled by a bool Kconfig, you can dump the module.h
> include and all the MODULE_<xyz> tags above.
> 
> Or, if there is a genuine use case for it to be modular, then make it tristate?
> 
> Thanks,
> Paul.
> 

It will be non-modular.

Thanks,
Neil

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web