[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAP=VYLphcuq16vDueOOJ6anrW-ifYAK+1ijSjkGbxw48+m4xrw@mail.gmail.com>
Date: Sun, 14 Aug 2016 20:08:57 -0400
From: Paul Gortmaker <paul.gortmaker@...driver.com>
To: Neil Armstrong <narmstrong@...libre.com>
Cc: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
linux-amlogic@...ts.infradead.org,
LKML <linux-kernel@...r.kernel.org>, linux-clk@...r.kernel.org,
sboyd@...eaurora.org, mturquette@...libre.com
Subject: Re: [PATCH 1/3] clk: meson: Add GXBB AO Clock and Reset controller driver
On Tue, Aug 9, 2016 at 5:13 AM, Neil Armstrong <narmstrong@...libre.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@...libre.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.
Powered by blists - more mailing lists