On Fri, Jan 17, 2014 at 03:46:40PM +0100, Rafael J. Wysocki wrote:
@@ -415,11 +472,12 @@ static int acpi_lpss_platform_notify(str
return 0;
}
- if (action == BUS_NOTIFY_ADD_DEVICE)
+ if (action == BUS_NOTIFY_ADD_DEVICE) {
ret =
On Tue, Jan 21, 2014 at 03:12:02AM +0800, Chew Chiau Ee wrote:
From: Chew, Chiau Ee chiau.ee.c...@intel.com
Intel BayTrail LPSS consists of two PWM controllers which can
be enumerated from ACPI namespace.
Signed-off-by: Chew, Chiau Ee chiau.ee.c...@intel.com
Acked-by: Mika Westerberg
On Wed, Dec 18, 2013 at 02:08:29PM +0800, Qiao Zhou wrote:
mach-mmp also uses ssp request/free APIs. Add mach-mmp support.
Otherwise there will be redefinition error.
Signed-off-by: Qiao Zhou zhouq...@marvell.com
Acked-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe
On Sat, Jan 25, 2014 at 01:09:23AM -0800, Bin Gao wrote:
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index
a3acbac2ee72$
--- a/arch/x86/kernel/tsc.c
+++ b/arch/x86/kernel/tsc.c
@@ -655,10 +655,11 @@ unsigned long native_calibrate_tsc(void)
local_irq_save(flags);
On Mon, Jan 27, 2014 at 10:36:25PM -0500, Benjamin Tissoires wrote:
On Tue, Jan 14, 2014 at 5:13 AM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
This patch adds runtime PM support for the HID over I2C driver. When the
i2c-hid device is first opened we power it on and on the last
On Mon, Jan 27, 2014 at 12:20:02PM +0200, Mika Westerberg wrote:
On Sat, Jan 25, 2014 at 01:09:23AM -0800, Bin Gao wrote:
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index
a3acbac2ee72$
--- a/arch/x86/kernel/tsc.c
+++ b/arch/x86/kernel/tsc.c
@@ -655,10 +655,11
On Tue, Jan 28, 2014 at 07:30:35PM +0100, Wolfram Sang wrote:
On Tue, Jan 28, 2014 at 01:48:28PM +0800, xinhui.pan wrote:
From: xinhui.pan xinhuix@intel.com
i2c_dw_pci_runtime_idle should return -EBUSY rather than zero if it do
success.
I don't understand...
Otherwise
On Tue, Jan 28, 2014 at 09:19:33AM -0500, Benjamin Tissoires wrote:
On Tue, Jan 28, 2014 at 4:12 AM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
On Mon, Jan 27, 2014 at 10:36:25PM -0500, Benjamin Tissoires wrote:
On Tue, Jan 14, 2014 at 5:13 AM, Mika Westerberg
mika.westerb
with devices that are not wake capable.
Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com
---
v2:
- Update changelog to mention that ACPI power domain for example can
power off the device on suspend.
- Make i2c_hid_power to just call RPM get/put
drivers/hid/i2c-hid/i2c-hid.c
On Wed, Jan 29, 2014 at 06:00:26PM +0800, xinhui.pan wrote:
于 2014年01月29日 16:35, Mika Westerberg 写道:
On Tue, Jan 28, 2014 at 07:30:35PM +0100, Wolfram Sang wrote:
On Tue, Jan 28, 2014 at 01:48:28PM +0800, xinhui.pan wrote:
From: xinhui.pan xinhuix@intel.com
On Wed, Jan 29, 2014 at 09:57:00AM -0500, Benjamin Tissoires wrote:
That's great. I hope this will also fix my Lenovo Miix 2 (the T100 is
too expensive compared to the Dell Venue pro 8 and the Lenovo one) :)
I think most of my problems are ACPI related (WIFI card not powered
up, SD-ext reader
occured during the GPIO resolution.
Signed-off-by: Alexandre Courbot acour...@nvidia.com
Reviewed-by: Andy Shevchenko andriy.shevche...@linux.intel.com
Reviewed-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
On Sun, Dec 29, 2013 at 10:36:56PM +0100, Rafael J. Wysocki wrote:
From: Rafael J. Wysocki rafael.j.wyso...@intel.com
The changes in the ACPI-based PCI hotplug (ACPIPHP) subsystem made
during the 3.12 development cycle uncovered a problem with VGA
switcheroo that on some systems, when the
On Fri, Dec 06, 2013 at 11:06:56AM +0900, Alexandre Courbot wrote:
Some devices drivers make use of optional GPIO parameters. For such
drivers, it is important to discriminate between the case where no
GPIO mapping has been defined for the function they are requesting, and
the case where a
On Fri, Dec 06, 2013 at 03:03:12PM +0100, Linus Walleij wrote:
This uses the new API for tagging GPIO lines as in use by
IRQs. This enforces a few semantic checks on how the underlying
GPIO line is used.
Cc: Andy Shevchenko andriy.shevche...@linux.intel.com
Cc: Mika Westerberg mika.westerb
Newer Intel PCHs with LPSS have the same Designware controllers than
Haswell but ACPI IDs are different. Add these IDs to the driver list.
Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com
---
drivers/tty/serial/8250/8250_dw.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
Newer Intel PCHs with LPSS have the same SDHCI controller than Haswell but
ACPI ID is different. Add this ID to the driver list.
Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com
Acked-by: Adrian Hunter adrian.hun...@intel.com
---
drivers/mmc/host/sdhci-acpi.c | 2 ++
1 file changed
On Mon, Mar 24, 2014 at 04:49:44PM +0100, Sabrina Dubroca wrote:
Hi,
With next-20140324, I get the BUG below when I modprobe ssb.
I bisected it to aa92b6f689ac
gpio / ACPI: Allocate ACPI specific data directly in acpi_gpiochip_add()
The device that needs ssb is:
0c:00.0 Network
On Mon, Mar 24, 2014 at 08:00:33PM +0200, Mika Westerberg wrote:
On Mon, Mar 24, 2014 at 04:49:44PM +0100, Sabrina Dubroca wrote:
Hi,
With next-20140324, I get the BUG below when I modprobe ssb.
I bisected it to aa92b6f689ac
gpio / ACPI: Allocate ACPI specific data directly
On Mon, Mar 24, 2014 at 07:31:11PM +0100, Sabrina Dubroca wrote:
Actually gpiolib seems to handle -dev as optional. Can you try this patch
instead? Thanks.
diff --git a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c
index bf0f8b476696..642b2bf3360e 100644
---
On Mon, Apr 28, 2014 at 10:27:46PM +0800, Lan Tianyu wrote:
ACPI 5.0 spec(5.5.2.4.5) defines GenericSerialBus(i2c, spi, uart) operation
region.
It allows ACPI aml code able to access such kind of devices to implement
some ACPI standard method.
Looks good to me now,
Reviewed-by: Mika
and support for ACPI I2C
Operation Regions. Operation Regions allow firmware (BIOS) code to
access I2C slave devices, such as smart batteries through an I2C host
controller driver.
But it is really up to you so,
Reviewed-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe from
On Sun, Apr 06, 2014 at 05:31:04PM +0200, Wolfram Sang wrote:
On Sun, Apr 06, 2014 at 04:54:24PM +0300, Kirill A. Shutemov wrote:
On Mon, Oct 21, 2013 at 07:14:28PM +0300, Mika Westerberg wrote:
On Mon, Oct 21, 2013 at 08:05:42AM -0700, Benson Leung wrote:
Fixed 25Mhz clock instead
[+Aubrey]
On Fri, Apr 25, 2014 at 03:27:42PM +0800, Jin, Yao wrote:
On 2014/4/25 5:33, Adam Williamson wrote:
On Thu, 2014-04-24 at 21:30 +0800, Jin, Yao wrote:
Jin, do you have any idea what is going on?
Maybe neither the patch (http://dougvj.net/baytrail_gpio_quirk_v3.patch)
to be cleaned up as well, but that's a separate
issue.
Signed-off-by: Thomas Gleixner t...@linutronix.de
Works here on my T100,
Tested-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord
. Reported by
Lan Tianyu, Fixed by Lv Zheng.
Signed-off-by: Lv Zheng lv.zh...@intel.com
Signed-off-by: Lan Tianyu tianyu@intel.com
Reviewed-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message
On Tue, Apr 22, 2014 at 02:24:08PM +0800, Lan Tianyu wrote:
The acpi_buffer_to_resource is needed in i2c module
to convert aml buffer to struct acpi_resource
Signed-off-by: Lan Tianyu tianyu@intel.com
Reviewed-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe from
;
+}
+EXPORT_SYMBOL(acpi_bus_attach_private_data);
When I added GPIO operation region support, Rafael mentioned that we might
want to add this private data to the struct acpi_device instead.
Either way, looks good to me,
Reviewed-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe from
On Tue, Apr 22, 2014 at 02:24:10PM +0800, Lan Tianyu wrote:
Use acpi_bus_attach_private_data() to attach private data
instead of acpi_attach_data().
Signed-off-by: Lan Tianyu tianyu@intel.com
Reviewed-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe from this list
On Tue, Apr 22, 2014 at 02:24:11PM +0800, Lan Tianyu wrote:
Add i2c_smbus_quick_write/read() helper function. These will be used
in the implementation of i2c ACPI address space handler.
Signed-off-by: Lan Tianyu tianyu@intel.com
Reviewed-by: Mika Westerberg mika.westerb
On Tue, Apr 22, 2014 at 02:24:12PM +0800, Lan Tianyu wrote:
Add i2c_smbus_word/block_proc_call() helper function. These will be used
in the implementation of i2c ACPI address space handler.
Signed-off-by: Lan Tianyu tianyu@intel.com
Reviewed-by: Mika Westerberg mika.westerb
On Tue, Apr 22, 2014 at 02:24:13PM +0800, Lan Tianyu wrote:
diff --git a/drivers/i2c/i2c-acpi.c b/drivers/i2c/i2c-acpi.c
new file mode 100644
index 000..942abdf
--- /dev/null
+++ b/drivers/i2c/i2c-acpi.c
@@ -0,0 +1,282 @@
+/*
+ * I2C ACPI code
+ *
+ * Copyright (C) 2014 Intel Corp
+
*adap) {};
Semicolon is not needed here.
Apart from that,
Reviewed-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
On Tue, Apr 22, 2014 at 02:24:15PM +0800, Lan Tianyu wrote:
This patch is to add CONFIG_I2C_ACPI. Current there is a race between
removing I2C ACPI operation region and ACPI AML code accessing.
So make i2c core built-in if CONFIG_I2C_ACPI is set.
Signed-off-by: Lan Tianyu
...@intel.com
Reviewed-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http
On Wed, Apr 16, 2014 at 08:05:59PM +0800, Jin Yao wrote:
A crash is triggered on the ASUS T100TA Baytrail-T because of a irq
descriptor conflict. There are two gpio triggered acpi events in this
device, GPIO 6 and 18. These gpios are translated to irqs by calling
gpio_to_irq which in turn
On Fri, Apr 18, 2014 at 05:30:54PM +0100, Mark Brown wrote:
On Fri, Apr 18, 2014 at 12:26:07AM +0800, Chew Chiau Ee wrote:
From: Chew, Chiau Ee chiau.ee.c...@intel.com
Intel BayTrail PCI mode LPSS devices inclusive of SPI do not rely
on common clock framework. Thus, this patch allows the
On Tue, Apr 22, 2014 at 01:09:48PM +0100, Mark Brown wrote:
On Tue, Apr 22, 2014 at 02:57:17PM +0300, Mika Westerberg wrote:
On Fri, Apr 18, 2014 at 05:30:54PM +0100, Mark Brown wrote:
As you mention we already have a clock API for passing around
information about clocks, it would
On Wed, Apr 23, 2014 at 09:53:21AM +0800, Lan Tianyu wrote:
Hi Mika:
Thanks a lot for your review.
On 2014年04月22日 19:36, Mika Westerberg wrote:
+
+client.adapter = adapter;
+client.addr = sb-slave_address;
+client.flags = 0;
I'm not sure
On Wed, Apr 23, 2014 at 06:47:05AM +, Zheng, Lv wrote:
Hi, Tianyu
From: Lan, Tianyu
Sent: Wednesday, April 23, 2014 1:40 PM
On 2014年04月22日 19:45, Mika Westerberg wrote:
On Tue, Apr 22, 2014 at 02:24:15PM +0800, Lan Tianyu wrote:
This patch is to add CONFIG_I2C_ACPI. Current
On Tue, Apr 22, 2014 at 10:16:50PM -0700, Adam Williamson wrote:
Well, I can't actually concur. See my results in
https://bugzilla.kernel.org/show_bug.cgi?id=68291#c44 .
1. A kernel with neither patch applied (and no hid-rmi driver) results
in a working touchscreen.
2. A kernel with only v3
On Wed, Apr 23, 2014 at 11:34:30AM +0300, Mika Westerberg wrote:
On Tue, Apr 22, 2014 at 10:16:50PM -0700, Adam Williamson wrote:
Well, I can't actually concur. See my results in
https://bugzilla.kernel.org/show_bug.cgi?id=68291#c44 .
1. A kernel with neither patch applied (and no hid
On Tue, Apr 15, 2014 at 08:41:02AM +, Chew, Chiau Ee wrote:
+static struct pwm_lpss_chip *pwm_lpss_probe(struct device *dev,
+ struct resource *r, struct pwm_lpss_boardinfo *info)
{
struct pwm_lpss_chip *lpwm;
- struct resource *r;
int ret;
-
...@intel.com
Reviewed-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http
On Thu, Apr 10, 2014 at 08:22:12AM -0400, Josh Boyer wrote:
On Thu, Apr 10, 2014 at 2:50 AM, Rafał Miłecki zaj...@gmail.com wrote:
2014-04-09 23:09 GMT+02:00 Josh Boyer jwbo...@fedoraproject.org:
With Linux v3.14-12042-g69cd9eba3886 I get an oops from the bcma
module on the MacBookPro 10,2
On Thu, Apr 10, 2014 at 08:47:23PM +0200, Linus Walleij wrote:
On Thu, Apr 10, 2014 at 2:40 PM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
On Thu, Apr 10, 2014 at 08:22:12AM -0400, Josh Boyer wrote:
On Thu, Apr 10, 2014 at 2:50 AM, Rafał Miłecki zaj...@gmail.com wrote:
2014-04
);
+}
MODULE_DESCRIPTION(PWM driver for Intel LPSS);
MODULE_AUTHOR(Mika Westerberg mika.westerb...@linux.intel.com);
MODULE_LICENSE(GPL v2);
MODULE_ALIAS(platform:pwm-lpss);
+
+module_init(pwm_init);
+module_exit(pwm_exit);
Maybe move these to follow the function defitions, like:
pwm_init
On Mon, Apr 14, 2014 at 02:05:25AM +, Chew, Chiau Ee wrote:
MODULE_DESCRIPTION(PWM driver for Intel LPSS);
MODULE_AUTHOR(Mika
Westerberg mika.westerb...@linux.intel.com);
MODULE_LICENSE(GPL v2);
MODULE_ALIAS(platform:pwm-lpss);
Looks a good idea to combine pci and acpi
/0x230
[c131e219] driver_register+0x59/0xe0
...
Fix this by checking chip-dev pointer against NULL first. Also we can now
remove redundant check in acpi_gpiochip_request/free_interrupts().
Reported-by: Sabrina Dubroca s...@queasysnail.net
Signed-off-by: Mika Westerberg mika.westerb
Carpenter dan.carpen...@oracle.com
Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com
---
drivers/gpio/gpiolib-acpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpiolib-acpi.c b/drivers/gpio/gpiolib-acpi.c
index d5be56fe689e..401add28933f 100644
On Wed, Jun 26, 2013 at 05:37:58PM -0600, Bjorn Helgaas wrote:
On Tue, Jun 25, 2013 at 10:22 AM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
From: Kirill A. Shutemov kirill.shute...@linux.intel.com
pci_scan_slot() returns number of new devices connected *directly*
connected
On Wed, Jun 26, 2013 at 06:20:24PM -0700, Yinghai Lu wrote:
On Tue, Jun 25, 2013 at 9:22 AM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
From: Kirill A. Shutemov kirill.shute...@linux.intel.com
pci_scan_slot() returns number of new devices connected *directly*
connected
On Wed, Jun 26, 2013 at 04:15:01PM -0600, Alex Williamson wrote:
On Wed, 2013-06-26 at 14:59 -0600, Bjorn Helgaas wrote:
[+cc Alex]
On Wed, Jun 26, 2013 at 6:17 AM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
On Tue, Jun 25, 2013 at 02:15:56PM -0700, Jesse Barnes wrote
On Wed, Jun 26, 2013 at 04:18:53PM -0600, Bjorn Helgaas wrote:
On Tue, Jun 25, 2013 at 10:22 AM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
Thunderbolt PCI-to-PCI bridges typically use BIOS assisted enumeration.
This means that the BIOS will allocate bridge resources based
On Wed, Jun 26, 2013 at 03:26:59PM -0700, Yinghai Lu wrote:
On Wed, Jun 26, 2013 at 3:18 PM, Bjorn Helgaas bhelg...@google.com wrote:
On Tue, Jun 25, 2013 at 10:22 AM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
Thunderbolt PCI-to-PCI bridges typically use BIOS assisted
On Thu, Jun 27, 2013 at 04:54:05PM +0300, Mika Westerberg wrote:
I think that we can get this working so that we add a new flag to struct
pci_dev, something like 'no_additional_hotplug_bus_space' and in this quirk
set that.
Then in __pci_bus_size_bridges() we do
On Thu, Jun 27, 2013 at 04:02:29PM +0300, Mika Westerberg wrote:
On Wed, Jun 26, 2013 at 05:37:58PM -0600, Bjorn Helgaas wrote:
@@ -707,8 +702,11 @@ static int __ref enable_device(struct acpiphp_slot
*slot)
dev-hdr_type == PCI_HEADER_TYPE_CARDBUS
On Thu, Jun 27, 2013 at 02:27:01PM +0200, Rafael J. Wysocki wrote:
Hi All,
Below is a summary of my current queue for the v3.11 merge window.
I will be very reluctant to add anything that is not a fix for a serious
problem to it from now on. If you have such a fix, please let me know,
On Thu, Jun 27, 2013 at 09:15:50PM +0200, Rafael J. Wysocki wrote:
On Thursday, June 27, 2013 10:08:42 PM Mika Westerberg wrote:
On Thu, Jun 27, 2013 at 02:27:01PM +0200, Rafael J. Wysocki wrote:
Hi All,
Below is a summary of my current queue for the v3.11 merge window.
I
On Fri, Jun 28, 2013 at 11:43:07AM -0700, H Hartley Sweeten wrote:
This driver supports 16 to 4 bits per work. Set the bits_per_word_mask
to allows the spi core to handle validation.
Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com
Cc: Ryan Mallon rmal...@gmail.com
Cc: Mika
transfer.
Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com
Cc: Ryan Mallon rmal...@gmail.com
Cc: Mika Westerberg mika.westerb...@iki.fi
Cc: Mark Brown broo...@kernel.org
Cc: Grant Likely grant.lik...@linaro.org
---
drivers/spi/spi-ep93xx.c | 16 +---
1 file
the t-bits_per_word directly to ep93xx_spi_chip_setup() in
ep93xx_spi_process_transfer() and remove 'dss' from the per chip private
data.
Signed-off-by: H Hartley Sweeten hswee...@visionengravers.com
Cc: Ryan Mallon rmal...@gmail.com
Cc: Mika Westerberg mika.westerb...@iki.fi
Cc: Mark Brown
hswee...@visionengravers.com
Cc: Ryan Mallon rmal...@gmail.com
Cc: Mika Westerberg mika.westerb...@iki.fi
Acked-by: Mika Westerberg mika.westerb...@iki.fi
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo
: Ryan Mallon rmal...@gmail.com
Cc: Mika Westerberg mika.westerb...@iki.fi
Acked-by: Mika Westerberg mika.westerb...@iki.fi
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
: Mika Westerberg mika.westerb...@iki.fi
Acked-by: Mika Westerberg mika.westerb...@iki.fi
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read
this.
Acked-by: Mika Westerberg mika.westerb...@iki.fi
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Fri, Jun 28, 2013 at 08:54:45PM +0200, Rafael J. Wysocki wrote:
On Friday, June 28, 2013 11:00:31 AM Bjorn Helgaas wrote:
On Fri, Jun 28, 2013 at 3:51 AM, Kirill A. Shutemov
kirill.shute...@linux.intel.com wrote:
Bjorn Helgaas wrote:
On Tue, Jun 25, 2013 at 10:22 AM, Mika Westerberg
On Mon, Jul 01, 2013 at 04:01:37PM +0200, Rafael J. Wysocki wrote:
Given the fact that SLOT_ENABLED is only checked in acpiphp_enable_slot()
(after this patch) and that /sys/bus/pci/slots/*/power uses SLOT_POWEREDON
anyway, should we remove the whole flag?
Sure, if it is not necessary any
On Wed, Jul 09, 2014 at 07:49:34PM +0200, Sebastian Andrzej Siewior wrote:
While comparing the OMAP-serial and the 8250 part of this I noticed that
the the latter does not use runtime-pm. Here are the pieces. It is
basically a get before first register access and a last_busy + put after
last
documentation in Documentation/gpio/driver.txt?
Cc: Mika Westerberg mika.westerb...@linux.intel.com
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
v2: Move function declarations from consumer.h to driver.h.
drivers/gpio/gpiolib.c | 2 ++
drivers/gpio/gpiolib.h | 3 ---
include
On Mon, Jul 21, 2014 at 11:53:27PM -0700, Guenter Roeck wrote:
On 07/21/2014 11:43 PM, Mika Westerberg wrote:
On Mon, Jul 21, 2014 at 10:18:25PM -0700, Guenter Roeck wrote:
Both functions were introduced to let gpio drivers request their own
gpio pins. Without exporting the functions, this can
of gpiochip_request_own_desc
and gpiochip_free_own_desc.
Export both function so they can be used from modules and from
platform initialization code.
Cc: Mika Westerberg mika.westerb...@linux.intel.com
Looks good to me, thanks.
Reviewed-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe
On Wed, Dec 11, 2013 at 01:00:18PM +0100, Linus Walleij wrote:
On Tue, Nov 26, 2013 at 11:05 AM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
From: Heikki Krogerus heikki.kroge...@linux.intel.com
Convert to the safer gpiod_* family of API functions.
Signed-off-by: Heikki
Intel Baytrail is based on Silvermont core so MSR_FSB_FREQ[2:0] == 0 means
that the CPU reference clock runs at 83.3MHz. Add this missing frequency to
the table.
Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com
---
arch/x86/kernel/tsc_msr.c | 2 +-
1 file changed, 1 insertion(+), 1
Prevent this from happening by falling back to normal TSC calibration if MSR
based one fails.
Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com
---
Changes to v2: split the patch into two as suggested by Ingo.
arch/x86/kernel/tsc.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions
On Thu, Feb 06, 2014 at 03:34:18PM +0100, Thomas Gleixner wrote:
On Thu, 6 Feb 2014, Mika Westerberg wrote:
arch/x86/kernel/tsc.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c
index 19e5adb49a27..56facfc54575
On Fri, Feb 07, 2014 at 09:29:58AM +0800, Aaron Lu wrote:
On 02/03/2014 06:59 PM, Mika Westerberg wrote:
On HP EliteBook Revolve 810 the ACPI backlight device doesn't work as
expected. For example when resuming from system sleep, it seems to lose
backlight settings.
Forcing Intel
On Fri, Jul 25, 2014 at 12:19:02PM +0200, Arnd Bergmann wrote:
On Friday 25 July 2014 12:55:59 Mika Westerberg wrote:
On Fri, Jul 25, 2014 at 12:07:14PM +0300, Mika Westerberg wrote:
On Fri, Jul 25, 2014 at 10:38:36AM +0200, Arnd Bergmann wrote:
On Friday 25 July 2014 11:22:49 Mika
On Fri, Aug 22, 2014 at 10:06:21PM +0800, Li, Aubrey wrote:
On 2014/8/22 19:39, Mika Westerberg wrote:
From: Mahesh Kumar P mahesh.kuma...@intel.com
Cherrytrail/Braswell is a successor of Intel Baytrail but has slighly
different CPU idle values and latencies.
Signed-off-by: Kumar P
On Tue, Aug 26, 2014 at 10:38:32AM +0800, Li, Aubrey wrote:
On 2014/8/25 18:12, Mika Westerberg wrote:
On Fri, Aug 22, 2014 at 10:06:21PM +0800, Li, Aubrey wrote:
On 2014/8/22 19:39, Mika Westerberg wrote:
From: Mahesh Kumar P mahesh.kuma...@intel.com
Cherrytrail/Braswell is a successor
On Tue, Aug 26, 2014 at 04:45:01PM +0800, Jiang Liu wrote:
On startup, IOAPIC driver preallocates IRQ descriptors and programs
IOAPIC pins with default level and polarity attributes for all legacy
IRQs. Later legacy IRQ users may fail to set IOAPIC pin attributes
if the requested attributes
attributes.
Reported-by: Mika Westerberg mika.westerb...@linux.intel.com
Signed-off-by: Jiang Liu jiang@linux.intel.com
---
Hi Mika,
We have a plan to kill function mp_set_gsi_attr() later, so
I have slightly modified your changes. Could you please help to test
it again?
Works fine
-by: Mika Westerberg mika.westerb...@linux.intel.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Alan Cox a...@linux.intel.com
The hardware is the same as used in Baytrail. Add these new PCI IDs to the
driver's list of supported IDs.
Signed-off-by: Alan Cox a...@linux.intel.com
Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com
---
drivers/mmc/host/sdhci-pci.c | 23
From: Alan Cox a...@linux.intel.com
The SPI host controller is the same as used in Baytrail, only the ACPI ID
is different so add this new ID to the list.
Signed-off-by: Alan Cox a...@linux.intel.com
Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com
---
drivers/spi/spi-pxa2xx.c | 1
On Wed, Aug 20, 2014 at 04:54:59PM +0100, Lee Jones wrote:
On Sat, 16 Aug 2014, Mika Westerberg wrote:
If an MFD device is backed by ACPI namespace, we should allow subdevice
drivers to access their corresponding ACPI companion devices through normal
means (e.g using ACPI_COMPANION
From: Alan Cox a...@linux.intel.com
This is the same as used in Baytrail so add the new PCI ID to the driver's
list of supported IDs.
Signed-off-by: Alan Cox a...@linux.intel.com
Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com
---
Changed the PCI ID to be in lower case letters
On Wed, Aug 20, 2014 at 04:58:20PM +0200, Tomasz Nowicki wrote:
GPIO-signaled events is quite new thing in Linux kernel.
There are not many board which can take advantage of it.
However, GPIO events are very useful feature during work on ACPI
subsystems.
This commit emulates GPIO h/w
On Mon, Jun 09, 2014 at 04:19:58PM +0800, Jiang Liu wrote:
Currently there are multiple entries to program IOAPIC pins, such as
io_apic_setup_irq_pin_once(), io_apic_set_pci_routing() and
setup_IO_APIC_irq_extra() etc.
This patch introduces two functions to help consolidate the code to
On Thu, Aug 21, 2014 at 04:39:46PM +0200, Tomasz Nowicki wrote:
+{
+ struct gpio_pin_data *pin_data, *temp;
+
+ list_for_each_entry_safe(pin_data, temp, pin_data_list, list)
+ kfree(pin_data);
I suppose you want to first remove the directory entries and then the
pin data.
On Thu, Aug 21, 2014 at 05:17:29PM +0300, Mika Westerberg wrote:
On Mon, Jun 09, 2014 at 04:19:58PM +0800, Jiang Liu wrote:
Currently there are multiple entries to program IOAPIC pins, such as
io_apic_setup_irq_pin_once(), io_apic_set_pci_routing() and
setup_IO_APIC_irq_extra() etc
From: Kumar Mahesh mahesh.kuma...@intel.com
Braswell is a successor of Intel Baytrail but has slighly different CPU
idle values and latencies.
Signed-off-by: Kumar Mahesh mahesh.kuma...@intel.com
Signed-off-by: Alan Cox a...@linux.intel.com
Signed-off-by: Mika Westerberg mika.westerb
This is pretty much the same as Intel Baytrail, only the CPU ID is
different. Add the new ID to the supported CPU list.
Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com
Cc: Dirk Brandewie dirk.j.brande...@intel.com
---
drivers/cpufreq/intel_pstate.c | 1 +
1 file changed, 1
From: Mahesh Kumar P mahesh.kuma...@intel.com
Cherrytrail/Braswell is a successor of Intel Baytrail but has slighly
different CPU idle values and latencies.
Signed-off-by: Kumar P Mahesh mahesh.kuma...@intel.com
Signed-off-by: Alan Cox a...@linux.intel.com
Signed-off-by: Mika Westerberg
On Fri, Aug 22, 2014 at 03:00:48AM +0800, Jiang Liu wrote:
Hi Mika,
I'm out of office until next Tuesday. Will handle this
when back to work. Could you please help to take a look at
mp_set_gsi_attr() to check whether it could be used to resolve
this issue.
The problem seems to be that
On Mon, Aug 11, 2014 at 03:00:55PM +0800, Lan Tianyu wrote:
Commit da3c6647(I2C/ACPI: Clean up I2C ACPI code and Add CONFIG_I2C_ACPI
config) adds a new kernel config I2C_ACPI and make I2C core built in
when the config is selected. This is wrong because distributions
etc generally compile I2C
On Fri, Aug 08, 2014 at 02:36:02PM +0200, Linus Walleij wrote:
On Thu, Jul 24, 2014 at 5:51 PM, Tomasz Nowicki
tomasz.nowi...@linaro.org wrote:
GPIO signaled events is quite new thing in Linux kernel.
AFAIK, there are not many board which can take advantage of it.
However, GPIO events
On Tue, Aug 12, 2014 at 07:15:41AM -0700, Alexandre Courbot wrote:
On Tue, Aug 12, 2014 at 3:01 AM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
On Fri, Aug 08, 2014 at 02:36:02PM +0200, Linus Walleij wrote:
On Thu, Jul 24, 2014 at 5:51 PM, Tomasz Nowicki
tomasz.nowi
On Wed, Aug 13, 2014 at 10:50:32AM +0800, Lan Tianyu wrote:
On 2014年08月13日 10:03, Wolfram Sang wrote:
On Tue, Aug 12, 2014 at 12:53:21PM +0300, Mika Westerberg wrote:
On Mon, Aug 11, 2014 at 03:00:55PM +0800, Lan Tianyu wrote:
Commit da3c6647(I2C/ACPI: Clean up I2C ACPI code and Add
On Mon, Aug 11, 2014 at 04:51:55PM +0300, Mathias Nyman wrote:
Add the IRQCHIP_SKIP_SET_WAKE flag to baytrail gpio irq_chip
to resolve unbalaced IRQ wake disable warnings.
Suggested-by: Borun Fu borun...@intel.com
Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com
Reviewed-by: Mika
701 - 800 of 5327 matches
Mail list logo