Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757262Ab3C2WUH (ORCPT ); Fri, 29 Mar 2013 18:20:07 -0400 Received: from hydra.sisk.pl ([212.160.235.94]:47055 "EHLO hydra.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757078Ab3C2WUF (ORCPT ); Fri, 29 Mar 2013 18:20:05 -0400 From: "Rafael J. Wysocki" To: Andy Shevchenko Cc: "Rafael J . Wysocki" , Mika Westerberg , Viresh Kumar , linux-kernel@vger.kernel.org, spear-devel , Vinod Koul , linux-acpi@vger.kernel.org Subject: Re: [PATCH 6/6] ACPI / LPSS: add Lynxpoint DMA controller to the list Date: Fri, 29 Mar 2013 23:27:36 +0100 Message-ID: <2319438.p9o9oINmPt@vostro.rjw.lan> User-Agent: KMail/4.9.5 (Linux/3.9.0-rc4+; KDE/4.9.5; x86_64; ; ) In-Reply-To: <1364374682-8547-7-git-send-email-andriy.shevchenko@linux.intel.com> References: <1364374682-8547-1-git-send-email-andriy.shevchenko@linux.intel.com> <1364374682-8547-7-git-send-email-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2104 Lines: 64 On Wednesday, March 27, 2013 10:58:02 AM Andy Shevchenko wrote: > In Lynxpoint we have to enable clock per each LPSS device. That's why we have > to enumerate them from drivers/acpi/acpi_lpss.c. The DMA controller is one of > such devices. We'll do that after we've sorted out [5/6]. Thanks, Rafael > Signed-off-by: Andy Shevchenko > --- > drivers/acpi/acpi_lpss.c | 7 +++++++ > drivers/clk/x86/clk-lpt.c | 2 +- > 2 files changed, 8 insertions(+), 1 deletion(-) > > diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c > index 4015929..d80c81e 100644 > --- a/drivers/acpi/acpi_lpss.c > +++ b/drivers/acpi/acpi_lpss.c > @@ -47,6 +47,10 @@ struct lpss_private_data { > const struct lpss_device_desc *dev_desc; > }; > > +static struct lpss_device_desc lpss_dev_desc = { > + .clk_required = true, > +}; > + > static struct lpss_device_desc lpt_dev_desc = { > .clk_required = true, > .clk_parent = "lpss_clk", > @@ -60,6 +64,9 @@ static struct lpss_device_desc lpt_sdio_dev_desc = { > }; > > static const struct acpi_device_id acpi_lpss_device_ids[] = { > + /* Generic LPSS devices */ > + { "INTL9C60", (unsigned long)&lpss_dev_desc }, > + > /* Lynxpoint LPSS devices */ > { "INT33C0", (unsigned long)&lpt_dev_desc }, > { "INT33C1", (unsigned long)&lpt_dev_desc }, > diff --git a/drivers/clk/x86/clk-lpt.c b/drivers/clk/x86/clk-lpt.c > index 5cf4f46..719817e 100644 > --- a/drivers/clk/x86/clk-lpt.c > +++ b/drivers/clk/x86/clk-lpt.c > @@ -30,7 +30,7 @@ static int lpt_clk_probe(struct platform_device *pdev) > return PTR_ERR(clk); > > /* Shared DMA clock */ > - clk_register_clkdev(clk, "hclk", "INTL9C60.0.auto"); > + clk_register_clkdev(clk, "hclk", "INTL9C60:00"); > return 0; > } > > -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/