On Fri, Jun 5, 2015 at 1:23 AM, Sergei Shtylyov
sergei.shtyl...@cogentembedded.com wrote:
Hello.
Here's the set of 4 patches against the 'devel' branch of Linus Walleij's
'linux-pinctrl.git' repo. Here we add proper handling of the pin array holes
and then remove unused GPIO pins for
Am Donnerstag, 4. Juni 2015, 12:13:54 schrieb Jiang Liu:
Now most IRQ flow handlers make no use of the first parameter 'irq'.
And for those who do make use of 'irq', we could easily get the irq
number through irq_desc-irq_data-irq. So kill the first parameter
'irq' of irq_flow_handler_t.
To
Am Donnerstag, 4. Juni 2015, 12:13:44 schrieb Jiang Liu:
Change irq flow handler to prepare for killing the first parameter 'irq'
of irq_flow_handler_t.
Signed-off-by: Jiang Liu jiang@linux.intel.com
---
drivers/pinctrl/pinctrl-rockchip.c|4 ++--
For Rockchip
Acked-by: Heiko
Hello.
On 6/10/2015 11:17 AM, Linus Walleij wrote:
Here's the set of 3 patches against the 'devel' branch of Linus Walleij's
'linux-pinctrl.git' repo. Here we add the PFC support for the Renesas R8A7794
SoC. The patches teaching the PFC driver to deal with holes in the pin array
are
On Wed, Jun 10, 2015 at 11:17:10AM +0900, Alexandre Courbot wrote:
On Tue, Jun 9, 2015 at 4:03 AM, Daniel Lockyer
thisisdaniellock...@gmail.com wrote:
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 6bc612b..f2cab60 100644
--- a/drivers/gpio/gpiolib.c
+++
If a driver requests a GPIO described in its _CRS but the GPIO host
controller (gpiochip) driver providing the GPIO has not been loaded yet
acpi_get_gpiod() returns -ENODEV which causes the calling driver to fail.
If the gpiochip driver is loaded afterwards the driver requesting the GPIO
will not
On Tue, Jun 9, 2015 at 8:26 PM, Rob Herring r...@kernel.org wrote:
set_irq_flags is ARM specific with custom flags which have genirq
equivalents. Convert drivers to use the genirq interfaces directly, so we
can kill off set_irq_flags. The translation of flags is as follows:
IRQF_VALID -
On Tue, Jun 9, 2015 at 8:26 PM, Rob Herring r...@kernel.org wrote:
set_irq_flags is ARM specific with custom flags which have genirq
equivalents. Convert drivers to use the genirq interfaces directly, so we
can kill off set_irq_flags. The translation of flags is as follows:
IRQF_VALID -
[...]
+static int msdc_drv_probe(struct platform_device *pdev)
+{
+ struct mmc_host *mmc;
+ struct msdc_host *host;
+ struct resource *res;
+ int ret;
+
+ if (!pdev-dev.of_node) {
+ dev_err(pdev-dev, No DT found\n);
+ return
On 06/10/2015 12:19 PM, Tomeu Vizoso wrote:
On 10 June 2015 at 09:30, Linus Walleij linus.wall...@linaro.org wrote:
On Tue, Jun 2, 2015 at 12:14 PM, Tomeu Vizoso
tomeu.viz...@collabora.com wrote:
On 2 June 2015 at 10:48, Linus Walleij linus.wall...@linaro.org wrote:
This is what systemd is
On Thu, Jun 4, 2015 at 6:13 AM, Jiang Liu jiang@linux.intel.com wrote:
Change irq flow handler to prepare for killing the first parameter 'irq'
of irq_flow_handler_t.
Signed-off-by: Jiang Liu jiang@linux.intel.com
Acked-by: Linus Walleij linus.wall...@linaro.org
Yours,
Linus Walleij
On Thu, Jun 4, 2015 at 2:10 PM, Anurag Kumar Vulisha
anurag.kumar.vuli...@xilinx.com wrote:
Added support to Zynq Ultrascale+ MPSoC on the existing zynq gpio driver.
Signed-off-by: Anurag Kumar Vulisha anura...@xilinx.com
---
Chnages in v2:
1.Added device tree bingings for Zynq
Am Donnerstag, 4. Juni 2015, 12:13:16 schrieb Jiang Liu:
Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we
already have a pointer to corresponding irq_desc.
Signed-off-by: Jiang Liu jiang@linux.intel.com
Acked-by: Linus Walleij linus.wall...@linaro.org
---
On Sat, Jun 6, 2015 at 12:52 AM, Bjorn Andersson
bjorn.anders...@sonymobile.com wrote:
Per your request Linus, happy birthday!
A opening this present 4 days late it still makes my day like
it was my birthday again!
Will boot my Dragon with these patches on, prompto!
Yours,
Linus Walleij
acpi_gpiochip_request(free)_interrupts can be used for modules,
so export them. This also fixs a compile error when xgene-sb
configured as kernel module.
Fixes: 733cf014f020 gpio: xgene: add ACPI support for APM X-Gene GPIO standby
driver
Signed-off-by: Hanjun Guo hanjun@linaro.org
---
On Mon, Jun 8, 2015 at 5:16 PM, Ludovic Desroches
ludovic.desroc...@atmel.com wrote:
There is no reason to try to print groups associated to a function if
get_function_groups returns an error. Moreover, it can lead to a NULL
pointer dereference error.
Signed-off-by: Ludovic Desroches
On Wed, Jun 10, 2015 at 05:12:07PM +0800, Hanjun Guo wrote:
acpi_gpiochip_request(free)_interrupts can be used for modules,
so export them. This also fixs a compile error when xgene-sb
configured as kernel module.
Reviwed-by: Mark Brown broo...@kernel.org
signature.asc
Description: Digital
On Sat, Jun 6, 2015 at 10:30 PM, Rabin Vincent ra...@rab.in wrote:
Add a GPIO driver for the General I/O block on Axis ETRAX FS SoCs.
Signed-off-by: Rabin Vincent ra...@rab.in
---
v3: Move port number to last cell and use of_gpio_simple_xlate().
Awesome, patch applied for the v4.2 cycle!
On Thu, Jun 4, 2015 at 9:19 AM, Y Vo y...@apm.com wrote:
Add standby domain gpio controller for APM X-Gene SoC platform.
Signed-off-by: Y Vo y...@apm.com
Acked-by: Linus Walleij linus.wall...@linaro.org
Please funnel this through the ARM SoC tree.
Yours,
Linus Walleij
--
To unsubscribe from
This patch needs to go to the devicetree list too, see To: on this
mail.
On Fri, Jun 5, 2015 at 8:51 AM, Romain Baeriswyl
romain.baeris...@alitech.com wrote:
+Required properties:
+- compatible : basic-mmio-gpio for little endian register access or
+ basic-mmio-gpio-be for big
On Wed, Jun 10, 2015 at 11:12 AM, Hanjun Guo hanjun@linaro.org wrote:
acpi_gpiochip_request(free)_interrupts can be used for modules,
so export them. This also fixs a compile error when xgene-sb
configured as kernel module.
Fixes: 733cf014f020 gpio: xgene: add ACPI support for APM X-Gene
On 06/10/2015 01:33 AM, Linus Walleij wrote:
On Wed, Jun 3, 2015 at 3:31 PM, Nicolas Ferre nicolas.fe...@atmel.com wrote:
Le 04/05/2015 10:56, Ludovic Desroches a écrit :
The way pins, groups and functions are tied is too constraining for some
controllers. It concerns mainly the ones we don't
When a GPIO expander device is removed - e.g. via i2c-adapter
new_device/delete_device interface - with some GPIOs still requested,
gpiochip_remove() function will emit a warning but remove the chip
anyway.
If we then reinstantiate this device and try to export any of the GPIOs
still requested on
Hi,
The way pins, groups and functions are tied is too constraining for some
controllers. It concerns mainly the ones we don't care about groups and
functions, each pin can be muxed to any functions.
The goal of these two patches is too remove some of the constraints.
I have added the prototype
When having a controller which allows per pin muxing, declaring with
which groups a function can be used is a useless constraint since groups
are something virtual.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
drivers/pinctrl/pinmux.c | 58
Draft for a future controller which can mux each pin to any functions.
There are up to 6 functions plus a gpio mode (gpio controller driver
won't be included in the pincontroller driver).
There is a concept of ioset. An ioset is a set of pins for a device.
A device can have several iosets.
There
Using a string to describe a pin in the device tree can be not enough.
Some controllers may need extra information to fully describe a pin. It
concerns mainly controllers which have a per pin muxing approach which
don't fit well the notions of groups and functions.
Instead of using a pin name, a
Hi Bartosz,
On Wed, Jun 10, 2015 at 04:34:21PM +0200, Bartosz Golaszewski wrote:
When a GPIO expander device is removed - e.g. via i2c-adapter
new_device/delete_device interface - with some GPIOs still requested,
gpiochip_remove() function will emit a warning but remove the chip
anyway.
If
On 06/10/2015 10:39 AM, Linus Walleij wrote:
On Wed, Jun 3, 2015 at 9:33 PM, Grygorii Strashko
grygorii.stras...@ti.com wrote:
Now pcf857x_irq() IRQ's dispatcher will try to run nested
IRQ handlers for each GPIO pin which state has changed.
Such IRQs are, actually, spurious and nested IRQ
Now pcf857x_irq() IRQ's dispatcher will try to run nested
IRQ handlers for each GPIO pin which state has changed.
Such IRQs are, actually, spurious and nested IRQ handlers
have to be called only for IRQs wich were enabled by users.
This is not critical issue - just /proc/interrupts
will display
On Wed, 2015-06-10 at 11:16 +0200, Ulf Hansson wrote:
On 10 June 2015 at 01:21, Ben Hutchings ben.hutchi...@codethink.co.uk wrote:
This series adds support for UHS-I in sh_mobile_sdhi, partly implemented
in tmio_mmc. This does not yet include tuning for SDR-104, but SDR-50 now
works on the
In create_gpio_led only the legacy pass propagates the label by passing it into
devm_gpio_request_one.
On the newer devicetree/acpi path the label is lost as far as the GPIO
subsystem goes (it is only retained as name in struct gpio_led.
Amend devm_get_gpiod_from_child to also pass the label
Hi Ben
Sorry for my small amount of question, but I would like to ask 1 thing
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch/arm/boot/dts/r8a7790-lager.dts
index aaa4f258e279..5f68e53c58ae 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
On Wednesday, June 10, 2015 04:05:05 PM Mika Westerberg wrote:
If a driver requests a GPIO described in its _CRS but the GPIO host
controller (gpiochip) driver providing the GPIO has not been loaded yet
acpi_get_gpiod() returns -ENODEV which causes the calling driver to fail.
If the gpiochip
On Wed, Jun 10, 2015 at 9:05 PM, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
If a driver requests a GPIO described in its _CRS but the GPIO host
controller (gpiochip) driver providing the GPIO has not been loaded yet
acpi_get_gpiod() returns -ENODEV which causes the calling driver to
On Monday 08 June 2015 09:48:29 Y Vo wrote:
On Fri, Jun 5, 2015 at 7:50 PM, Arnd Bergmann a...@arndb.de wrote:
On Thursday 04 June 2015 14:25:12 Y Vo wrote:
GIC is designed to support two of trigger mechanisms - active level
high or edge rising. But in the gpio_keys driver, it tries to use
Rafael J. Wysocki wrote:
On Wednesday, June 10, 2015 04:05:05 PM Mika Westerberg wrote:
If a driver requests a GPIO described in its _CRS but the GPIO host
controller (gpiochip) driver providing the GPIO has not been loaded yet
acpi_get_gpiod() returns -ENODEV which causes the calling
On Wed, Jun 10, 2015 at 10:26 PM, Daniel Lockyer
thisisdaniellock...@gmail.com wrote:
This patch fixes some issues given by checkpatch. Fixes include
bracket placement, spacing and indenting.
Looks good, thanks!
Reviewed-by: Alexandre Courbot acour...@nvidia.com
--
To unsubscribe from this
On Thu, Jun 11, 2015 at 12:57:57AM +0100, Ben Hutchings wrote:
On Wed, 2015-06-10 at 11:16 +0200, Ulf Hansson wrote:
On 10 June 2015 at 01:21, Ben Hutchings ben.hutchi...@codethink.co.uk
wrote:
This series adds support for UHS-I in sh_mobile_sdhi, partly implemented
in tmio_mmc. This
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Conflicts:
arch/arm/boot/dts/Makefile
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/at91-sama5d4ek_proto.dts | 243 ++
arch/arm/boot/dts/sama5d4_proto-pinfunc.h | 463 +++
40 matches
Mail list logo