* [PATCH] Revert "ACPI / LPSS: Remove non-existing clock control from Intel Lynxpoint I2C"
@ 2015-02-16 8:26 Jarkko Nikula
2015-02-16 13:29 ` Chris Rorvick
2015-02-18 6:16 ` Rafael J. Wysocki
0 siblings, 2 replies; 3+ messages in thread
From: Jarkko Nikula @ 2015-02-16 8:26 UTC (permalink / raw)
To: linux-acpi
Cc: Rafael J. Wysocki, Len Brown, Chris Rorvick, Mika Westerberg,
Jarkko Nikula
Revert commit b893e80e3147 ("ACPI / LPSS: Remove non-existing clock control
from Intel Lynxpoint I2C") because it causes touchpad to not load on Dell
XPS13.
Regression is a clear indication that not only some early prototype version
of Lynxpoint I2C but also newer versions can be doing clock gating even
documentation does not state it.
Therefore it is best to revert since this clock gating haven't caused known
issues on those Lynxpoint version which don't do clock gating.
Reported-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
---
For v3.20.
---
drivers/acpi/acpi_lpss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c
index 02e835f3cf8a..fa0e3d61e5e7 100644
--- a/drivers/acpi/acpi_lpss.c
+++ b/drivers/acpi/acpi_lpss.c
@@ -125,7 +125,7 @@ static struct lpss_device_desc lpt_dev_desc = {
};
static struct lpss_device_desc lpt_i2c_dev_desc = {
- .flags = LPSS_CLK | LPSS_LTR,
+ .flags = LPSS_CLK | LPSS_CLK_GATE | LPSS_LTR,
.prv_offset = 0x800,
};
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] Revert "ACPI / LPSS: Remove non-existing clock control from Intel Lynxpoint I2C"
2015-02-16 8:26 [PATCH] Revert "ACPI / LPSS: Remove non-existing clock control from Intel Lynxpoint I2C" Jarkko Nikula
@ 2015-02-16 13:29 ` Chris Rorvick
2015-02-18 6:16 ` Rafael J. Wysocki
1 sibling, 0 replies; 3+ messages in thread
From: Chris Rorvick @ 2015-02-16 13:29 UTC (permalink / raw)
To: Jarkko Nikula; +Cc: linux-acpi, Rafael J. Wysocki, Len Brown, Mika Westerberg
On Mon, Feb 16, 2015 at 2:26 AM, Jarkko Nikula
<jarkko.nikula@linux.intel.com> wrote:
> Revert commit b893e80e3147 ("ACPI / LPSS: Remove non-existing clock control
> from Intel Lynxpoint I2C") because it causes touchpad to not load on Dell
> XPS13.
>
> Regression is a clear indication that not only some early prototype version
> of Lynxpoint I2C but also newer versions can be doing clock gating even
> documentation does not state it.
>
> Therefore it is best to revert since this clock gating haven't caused known
> issues on those Lynxpoint version which don't do clock gating.
>
> Reported-by: Chris Rorvick <chris@rorvick.com>
> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
> ---
> For v3.20.
> ---
> drivers/acpi/acpi_lpss.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c
> index 02e835f3cf8a..fa0e3d61e5e7 100644
> --- a/drivers/acpi/acpi_lpss.c
> +++ b/drivers/acpi/acpi_lpss.c
> @@ -125,7 +125,7 @@ static struct lpss_device_desc lpt_dev_desc = {
> };
>
> static struct lpss_device_desc lpt_i2c_dev_desc = {
> - .flags = LPSS_CLK | LPSS_LTR,
> + .flags = LPSS_CLK | LPSS_CLK_GATE | LPSS_LTR,
> .prv_offset = 0x800,
> };
Tested-by: Chris Rorvick <chris@rorvick.com>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] Revert "ACPI / LPSS: Remove non-existing clock control from Intel Lynxpoint I2C"
2015-02-16 8:26 [PATCH] Revert "ACPI / LPSS: Remove non-existing clock control from Intel Lynxpoint I2C" Jarkko Nikula
2015-02-16 13:29 ` Chris Rorvick
@ 2015-02-18 6:16 ` Rafael J. Wysocki
1 sibling, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2015-02-18 6:16 UTC (permalink / raw)
To: Jarkko Nikula; +Cc: linux-acpi, Len Brown, Chris Rorvick, Mika Westerberg
On Monday, February 16, 2015 10:26:28 AM Jarkko Nikula wrote:
> Revert commit b893e80e3147 ("ACPI / LPSS: Remove non-existing clock control
> from Intel Lynxpoint I2C") because it causes touchpad to not load on Dell
> XPS13.
>
> Regression is a clear indication that not only some early prototype version
> of Lynxpoint I2C but also newer versions can be doing clock gating even
> documentation does not state it.
>
> Therefore it is best to revert since this clock gating haven't caused known
> issues on those Lynxpoint version which don't do clock gating.
>
> Reported-by: Chris Rorvick <chris@rorvick.com>
> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Applied, thanks!
> ---
> For v3.20.
> ---
> drivers/acpi/acpi_lpss.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c
> index 02e835f3cf8a..fa0e3d61e5e7 100644
> --- a/drivers/acpi/acpi_lpss.c
> +++ b/drivers/acpi/acpi_lpss.c
> @@ -125,7 +125,7 @@ static struct lpss_device_desc lpt_dev_desc = {
> };
>
> static struct lpss_device_desc lpt_i2c_dev_desc = {
> - .flags = LPSS_CLK | LPSS_LTR,
> + .flags = LPSS_CLK | LPSS_CLK_GATE | LPSS_LTR,
> .prv_offset = 0x800,
> };
>
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-18 5:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-16 8:26 [PATCH] Revert "ACPI / LPSS: Remove non-existing clock control from Intel Lynxpoint I2C" Jarkko Nikula
2015-02-16 13:29 ` Chris Rorvick
2015-02-18 6:16 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox