From: Andy Shevchenko
Instead of using magic number in the code the patch provides
DW_DMA_MAX_NR_MASTERS constant.
While here, restrict the reading of data width array by amount of the actual
number of AHB masters.
Signed-off-by: Andy Shevchenko
Signed-off-by: Vinod Koul
(cherry picked from c
From: Jie Yang
When dma controller is not used by any user and set off,
we should disble interrupt handler, at least the interrupt
reset part, for some subsystem, e.g. ADSP, may use the
dma in its own logic, here reset the interrupt may make
this subsystem work abnormally.
Signed-off-by: Jie Yan
From: Andy Shevchenko
The new DMAEngine requirement is to provide what the DMA controller can do,
such as directions, bus widths, and residue granularity. The patch sets those
properties for the DesignWare DMA controller driver.
Signed-off-by: Andy Shevchenko
Signed-off-by: Vinod Koul
(cherry
From: Maxime Ripard
Split the device_control callback of the DesignWare DMA driver to make use
of the newly introduced callbacks, that will eventually be used to retrieve
slave capabilities.
Signed-off-by: Maxime Ripard
Signed-off-by: Vinod Koul
(cherry picked from commit a4b0d348f60122eb45c50
From: Jarkko Nikula
Simplifies the code a bit and makes easier to disable PCI device on driver
detach by removing the pcim_pin_device() call in the future if needed.
Reason why i2c-i801.c doesn't ever call pci_disable_device() was because it
made some systems to hang during power-off. See commit
From: Jarkko Nikula
Since pci_disable_device() is not called from i801_suspend() and power
state is set already it means that subsequent pci_enable_device() calls do
practically nothing but monotonically increase struct pci_dev enable_cnt.
Signed-off-by: Jarkko Nikula
Reviewed-by: Jean Delvare
From: Jarkko Nikula
This simplifies the error and remove paths.
Signed-off-by: Jarkko Nikula
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang
(cherry picked from commit 1621c59d94d13380015fb5131acc6c14ecd1c797)
Signed-off-by: Ng Wei Tee
---
drivers/i2c/busses/i2c-i801.c | 17 ++-
From: Jarkko Nikula
It makes more difficult to grep these error prints from sources if they are
split to multiple source lines.
Signed-off-by: Jarkko Nikula
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang
(cherry picked from commit 9cbbf3dc994797f49cd30607a16182ca6c87863f)
Signed-off-b
From: "Rafael J. Wysocki"
Now that the ACPI companions of devices are represented by pointers
to struct fwnode_handle, it is not quite efficient to check whether
or not an ACPI companion of a device is present by evaluating the
ACPI_COMPANION() macro.
For this reason, introduce a special static
From: Alexey Brodkin
With -EPROBE_DEFER, this message is confusing and we hope for a
centralized printout in the future anyhow.
Signed-off-by: Alexey Brodkin
Acked-by: Mika Westerberg
Acked-by: Christian Ruppert
Signed-off-by: Wolfram Sang
(cherry picked from commit b20d386485e25934aef8aa24c
From: Jarkko Nikula
struct pci_driver i801_driver forward declaration is needed only for
accessing the name field. Remove it and use dev_driver_string() instead.
Signed-off-by: Jarkko Nikula
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang
(cherry picked from commit 256493c58625530a95829
From: David Box
This patch implements an I2C bus sharing mechanism between the host and platform
hardware on select Intel BayTrail SoC platforms using the X-Powers AXP288 PMIC.
On these platforms access to the PMIC must be shared with platform hardware. The
hardware unit assumes full control of
From: Andy Shevchenko
The clk_khz field makes sense only if SS counters are not provided. Since we
provide them for Haswell and Baytrail explicitly we may omit the clk_khz
parameter.
Reviewed-by: Jarkko Nikula
Signed-off-by: Andy Shevchenko
Signed-off-by: Wolfram Sang
(cherry picked from comm
From: Andy Shevchenko
The Moorestown support bits were removed few years ago. This is a follow up to
that changes.
Suggested-by: David Cohen
Signed-off-by: Andy Shevchenko
Signed-off-by: Wolfram Sang
(cherry picked from commit bd1179fd5626f84d0ba177fdfb2e2bb1ced4c996)
Signed-off-by: Ng Wei T
From: Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, rather
than introducing a new variable the wait_for_completion_timeout is moved
into the if condition as the return value is only used to detect timeout.
Signed-off-by: Nicholas Mc Guire
Reviewed-by: Ja
From: Jarkko Nikula
Do SCL timing parameter calculation conditionally depending are custom
parameters provided since calculated values will get instantly overwritten
by provided parameters.
Signed-off-by: Jarkko Nikula
Signed-off-by: Wolfram Sang
(cherry picked from commit 42ffd3907c1663441cd1
From: Desmond Liu
Fixed behaviour of get_mctrl() serial driver function as documented in:
https://www.kernel.org/doc/Documentation/serial/driver
Added device-tree properties 'dcd-override', 'dsr-override',
'cts-override', and 'ri-override' specific to the Synopsis 8250
DesignWare UART driver. Al
From: Jisheng Zhang
readl/writel is too expensive especially on Cortex A9 w/ outer L2 cache.
This introduces i2c read/write delays on Marvell BG2/BG2Q SoCs when there
are heavy L2 cache maintenance operations at the same time.
The driver does not perform DMA, so it's safe to use the relaxed vers
From: David Box
Adds support for acquiring and releasing a hardware bus lock in the i2c
designware core transfer function. This is needed for i2c bus controllers
that are shared with but not controlled by the kernel.
Signed-off-by: David E. Box
Reviewed-by: Mika Westerberg
Signed-off-by: Wolfr
From: Feng Kan
Enable APM X-Gene SoC serial port functionality when using ACPI table to
initialize serial port.
Signed-off-by: Feng Kan
Signed-off-by: Greg Kroah-Hartman
(cherry picked from commit 5e1aeea52f6a0763e79473b1767401fda88eb7e1)
Signed-off-by: Ng Wei Tee
---
drivers/tty/serial/825
From: Heikki Krogerus
Signed-off-by: Heikki Krogerus
Signed-off-by: Greg Kroah-Hartman
(cherry picked from commit 0a0d412abe473c37ddec8d3f6c0b84c58f1bb061)
Signed-off-by: Ng Wei Tee
---
drivers/tty/serial/8250/8250_pci.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --gi
From: Wang YanQing
These quirk entries have the same effect as default
quirk entry, so we can just delete them.
Signed-off-by: Wang YanQing
Signed-off-by: Greg Kroah-Hartman
(cherry picked from commit 7cf91108d44dbef3d48766fd0e7f7347c2e48bda)
Signed-off-by: Ng Wei Tee
---
drivers/tty/serial
From: Jiang Liu
Enable support of IOAPIC hotplug by:
1) reintroducing ACPI based IOAPIC driver
2) enhance pci_root driver to hook hotplug events
The ACPI IOAPIC driver is always enabled if all of ACPI, PCI and IOAPIC
are enabled.
Signed-off-by: Jiang Liu
Cc: Konrad Rzeszutek Wilk
Cc: Tony Luc
From: Wang YanQing
Commit 8b5c913f7ee6464849570bacb6bcd9ef0eaf7dce
("serial: 8250_pci: Add WCH CH352 quirk to avoid Xscale detection")
trigger one redundant entry report message.
This patch fix it.
Reported-by: Russell King
Signed-off-by: Wang YanQing
Signed-off-by: Greg Kroah-Hartman
(cherr
From: Len Brown
Support C-states for the Airmont core in the Cherrytrail and Braswell SOCs.
The states are similar to those of Silvermont in Baytrail,
except both flavors of C6 states are faster.
Signed-off-by: Len Brown
Cc: Kumar P Mahesh
Cc: Alan Cox
Cc: Mika Westerberg
(cherry picked from
From: Mika Westerberg
If the pin is in HiZ mode when it is requested as GPIO its value cannot be
read (it always returns 0). In order to cope with the Linux GPIO subsystem
where we do not have such state at all, turn the pin to be input instead.
Reported-by: Jerome Blin
Signed-off-by: Mika West
From: Heikki Krogerus
If it fails we have to skip the device.
Signed-off-by: Heikki Krogerus
Signed-off-by: Rafael J. Wysocki
(cherry picked from commit 4483d59e29fea65ef428be92a866aed50e28c795)
Signed-off-by: Ng Wei Tee
---
drivers/acpi/acpi_lpss.c |2 ++
1 file changed, 2 insertions(+
From: "qipeng.zha"
>From the comments of gpiod_direction_output(), need to set @value
as initial output, so update the lowlevel routine to make it work.
Signed-off-by: jason.cj.chen
Signed-off-by: qipeng.zha
Acked-by: Mika Westerberg
Signed-off-by: Linus Walleij
(cherry picked from commit 549
From: Mika Westerberg
Zotac ZBOX PI320, a Baytrail based mini-PC, has power button connected to a
GPIO pin and it is exposed to the operating system as Windows 8 button
array. This is implemented in Linux as a driver using gpio_keys.
However, BIOS on this particula machine forgot to mux the pin
From: Mika Westerberg
Before resuming from system sleep BIOS restores its view of pin
configuration. If we have configured some pins differently from that, for
instance some driver requested a pin as a GPIO but it was not in GPIO mode
originally, our view of the pin configuration will not match t
From: Mika Westerberg
The BIOS might reconfigure pins as it needs when S3 is entered. This might
cause drivers using the GPIOs to fail because the state was wrong or
interrupts stopped working.
Fix this by saving and restoring enough pin context over system sleep.
Reported-by: Hans Holmberg
Si
From: Mika Westerberg
Instead of handling everything in the driver's first level interrupt
handler, we can take advantage of already existing flow handlers that are
provided by the IRQ core.
This changes the functionality a bit also. Previously the driver looped
over pending interrupts in a sing
From: Wolfram Sang
This platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang
Acked-by: Mika Westerberg
Signed-off-by: Linus Walleij
(cherry picked from commit 1ee68af8a5003bdda32ca02f93afc9701d50e871)
Signed-off-by: Ng Wei Tee
-
From: Mika Westerberg
If the pin is already configured as GPIO and it has any of the triggering
flags set, we may get spurious interrupts depending on the state of the
pin.
Prevent this by clearing the triggering flags on such pins. However, if the
pin is also configured as "direct IRQ" we leave
From: Ng Wei Tee
Hi all,
This patch series is to backport Braswell bug fixes and feature
improvement patches from upstream kernel into Yocto Project linux
kernel v3.19. These back-ported patches had include I/O drivers such
as HS-UART, I2C, SMBUS i801, Pinctrl driver, ACPI and DMA.
This configu
35 matches
Mail list logo