From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Chew Chiau Ee <chiau.ee.chew@intel.com>
Cc: Len Brown <lenb@kernel.org>,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
Thierry Reding <thierry.reding@gmail.com>
Subject: Re: [PATCH v2] ACPI / LPSS: Add Intel BayTrail ACPI mode PWM
Date: Wed, 19 Feb 2014 01:47:19 +0100 [thread overview]
Message-ID: <4137960.8hdMdSsOri@vostro.rjw.lan> (raw)
In-Reply-To: <1392747869-31435-1-git-send-email-chiau.ee.chew@intel.com>
On Wednesday, February 19, 2014 02:24:29 AM Chew Chiau Ee wrote:
> From: Chew, Chiau Ee <chiau.ee.chew@intel.com>
>
> Intel BayTrail LPSS consists of two PWM controllers which can
> be enumerated from ACPI namespace. This change will cause
> platform device objects to be created for Intel BayTrail PWM
> controllers which will allow the pwm-lpss driver to bind to them
> and handle those devices.
>
> Signed-off-by: Chew, Chiau Ee <chiau.ee.chew@intel.com>
Queued up for 3.15, thanks!
> ---
> drivers/acpi/acpi_lpss.c | 11 +++++++++++
> 1 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c
> index 2428857..9e22c13 100644
> --- a/drivers/acpi/acpi_lpss.c
> +++ b/drivers/acpi/acpi_lpss.c
> @@ -96,6 +96,16 @@ static struct lpss_device_desc lpt_sdio_dev_desc = {
> .ltr_required = true,
> };
>
> +static struct lpss_shared_clock pwm_clock = {
> + .name = "pwm_clk",
> + .rate = 25000000,
> +};
> +
> +static struct lpss_device_desc byt_pwm_dev_desc = {
> + .clk_required = true,
> + .shared_clock = &pwm_clock,
> +};
> +
> static struct lpss_shared_clock uart_clock = {
> .name = "uart_clk",
> .rate = 44236800,
> @@ -151,6 +161,7 @@ static const struct acpi_device_id acpi_lpss_device_ids[] = {
> { "INT33C7", },
>
> /* BayTrail LPSS devices */
> + { "80860F09", (unsigned long)&byt_pwm_dev_desc },
> { "80860F0A", (unsigned long)&byt_uart_dev_desc },
> { "80860F0E", (unsigned long)&byt_spi_dev_desc },
> { "80860F14", (unsigned long)&byt_sdio_dev_desc },
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
prev parent reply other threads:[~2014-02-19 0:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-18 18:24 Chew Chiau Ee
2014-02-19 0:47 ` Rafael J. Wysocki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4137960.8hdMdSsOri@vostro.rjw.lan \
--to=rjw@rjwysocki.net \
--cc=chiau.ee.chew@intel.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®