linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: linux-kernel@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
	x86@kernel.org, Len Brown <lenb@kernel.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	Mike Turquette <mturquette@linaro.org>,
	Arnd Bergmann <arnd@arndb.de>,
	Linus Walleij <linus.walleij@linaro.org>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Heikki Krogerus <heikki.krogerus@linux.intel.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	linux-acpi@vger.kernel.org
Subject: [PATCH v2 0/3] x86: enable common clk and add support for Lynxpoint clocks
Date: Fri, 18 Jan 2013 15:45:58 +0200	[thread overview]
Message-ID: <1358516761-20981-1-git-send-email-mika.westerberg@linux.intel.com> (raw)

This is second iteration of the series. First revision is available here:

	https://lkml.org/lkml/2013/1/14/213

Idea is to let the LPSS peripheral drivers to use common clk framework to
get clock rate or enable/disable the functional clock. The discussion
started in this thread:

	http://thread.gmane.org/gmane.linux.kernel/1417691

In summary, there is no point in adding a special case code to the drivers
in order to pass them a fixed clock rate, but instead x86 should just
enable common clk subsystem and take advantage of it.

We try to address that in this series. Instead of enabling the common clk
framework by default we place it under CONFIG_X86_INTEL_LPSS config option.
This option then selects what is necessary to support the LPSS peripheral
drivers.

We then create the Lynxpoint clock tree and populate it accordingly.

Changes to previous version:
	- add config option CONFIG_X86_INTEL_LPSS
	- pass flags to acpi_create_platform_device() instead of calling
	  function in drivers/acpi/scan.c
	- create the clock platform devices in drivers/acpi/acpi_platform.c

Please review.

Mika Westerberg (3):
  x86: add support for Intel Low Power Subsystem
  clk: x86: add support for Lynxpoint LPSS clocks
  ACPI / platform: create LPSS clocks if Lynxpoint devices are found
    during scan

 arch/x86/Kconfig             |   10 +++++
 drivers/acpi/acpi_platform.c |   25 ++++++++++-
 drivers/acpi/internal.h      |    6 ++-
 drivers/acpi/scan.c          |   22 +++++-----
 drivers/clk/Makefile         |    1 +
 drivers/clk/x86/Makefile     |    2 +
 drivers/clk/x86/clk-lpss.c   |   99 ++++++++++++++++++++++++++++++++++++++++++
 drivers/clk/x86/clk-lpss.h   |   36 +++++++++++++++
 drivers/clk/x86/clk-lpt.c    |   86 ++++++++++++++++++++++++++++++++++++
 9 files changed, 275 insertions(+), 12 deletions(-)
 create mode 100644 drivers/clk/x86/Makefile
 create mode 100644 drivers/clk/x86/clk-lpss.c
 create mode 100644 drivers/clk/x86/clk-lpss.h
 create mode 100644 drivers/clk/x86/clk-lpt.c

-- 
1.7.10.4


             reply	other threads:[~2013-01-18 13:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-18 13:45 Mika Westerberg [this message]
2013-01-18 13:45 ` [PATCH v2 1/3] x86: add support for Intel Low Power Subsystem Mika Westerberg
2013-01-18 13:46 ` [PATCH v2 2/3] clk: x86: add support for Lynxpoint LPSS clocks Mika Westerberg
2013-01-22 18:47   ` Mike Turquette
2013-01-23 17:40     ` Mika Westerberg
2013-01-18 13:46 ` [PATCH v2 3/3] ACPI / platform: create LPSS clocks if Lynxpoint devices are found during scan Mika Westerberg
2013-01-19  0:17 ` [PATCH v2 0/3] x86: enable common clk and add support for Lynxpoint clocks Rafael J. Wysocki

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=1358516761-20981-1-git-send-email-mika.westerberg@linux.intel.com \
    --to=mika.westerberg@linux.intel.com \
    --cc=arnd@arndb.de \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=lenb@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=mturquette@linaro.org \
    --cc=rjw@sisk.pl \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).