[PATCH v4 2/6] nfc: pn532_uart: Add NXP PN532 to devicetree docs

2018-11-01 Thread Lars Poeschel
Add a simple binding doc for the pn532. Signed-off-by: Lars Poeschel --- Changes in v4: - Add documentation about reg property in case of i2c Changes in v3: - seperate binding doc instead of entry in trivial-devices.txt .../devicetree/bindings/nfc/pn532.txt | 33 +++ 1

Re: [PATCH v3 2/5] nfc: pn532_uart: Add NXP PN532 to devicetree docs

2018-10-26 Thread Lars Poeschel
On Thu, Oct 25, 2018 at 04:54:45PM -0500, Rob Herring wrote: > On Thu, Oct 25, 2018 at 03:29:33PM +0200, Lars Poeschel wrote: > > Add a simple binding doc for the pn532. > > > > Signed-off-by: Lars Poeschel > > --- > > Changes in v3: > > - seperate

[PATCH v3 2/5] nfc: pn532_uart: Add NXP PN532 to devicetree docs

2018-10-25 Thread Lars Poeschel
Add a simple binding doc for the pn532. Signed-off-by: Lars Poeschel --- Changes in v3: - seperate binding doc instead of entry in trivial-devices.txt .../devicetree/bindings/nfc/pn532.txt | 31 +++ 1 file changed, 31 insertions(+) create mode 100644 Documentation

Re: [PATCH v2 2/4] nfc: pn532_uart: Add NXP PN532 to devicetree docs

2018-10-19 Thread Lars Poeschel
On Thu, Oct 18, 2018 at 03:41:29PM -0500, Rob Herring wrote: > On Thu, Oct 18, 2018 at 05:03:13PM +0200, Marcel Holtmann wrote: > > Hi Lars, > > > > > Add pn532 to the trivial-devices.txt binding doc. > > > > > > Signed-off-by: Lars Poeschel > &g

[PATCH v2 2/4] nfc: pn532_uart: Add NXP PN532 to devicetree docs

2018-10-18 Thread Lars Poeschel
Add pn532 to the trivial-devices.txt binding doc. Signed-off-by: Lars Poeschel --- Documentation/devicetree/bindings/trivial-devices.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/trivial-devices.txt b/Documentation/devicetree/bindings/trivial

[PATCH v2 1/4] nfc: pn533: add UART phy driver

2018-10-18 Thread Lars Poeschel
This adds the UART phy interface for the pn533 driver. The pn533 driver can be used through UART interface this way. It is implemented as a serdev device. Signed-off-by: Lars Poeschel --- Changes in v2: - switched from tty line discipline to serdev, resulting in many simplifications - SPDX

Re: [PATCH] video: hd44780: Add hd44780 lcd display driver

2017-12-07 Thread Lars Poeschel
On Wed, Dec 6, 2017 at 16:04:10 CET Geert Uytterhoeven wrote: > Hi Lars, > > On Wed, Dec 6, 2017 at 2:52 PM, Lars Poeschel <poesc...@lemonage.de> wrote: > > This adds a console driver for hd44780 based character lcd displays and > > clones. The driver currently suppo

[PATCH] video: hd44780: Add hd44780 lcd display driver

2017-12-06 Thread Lars Poeschel
information. There are also tons of these cheap displays sold with a serial interface. Many of them use a simple pcf8574 gpio expanders. An example for using that kind of display is also in the binding doc. Signed-off-by: Lars Poeschel <poesc...@lemonage.de> --- .../bindings/video/console/hd44780c

[PATCH] dt-bindings: pinctrl: mcp23s08 update binding doc

2017-10-09 Thread Lars Poeschel
The mcp23s08 driver moved to pinctrl recently. It accepts the bias-pull-up pinctrl property since then. This updates the binding doc to reflect that. Thanks to Sebastian Reichel for the working example. Signed-off-by: Lars Poeschel <poesc...@lemonage.de> --- .../bindings/pinctrl/pinctrl-mc

Re: [PATCH] dt-bindings: pinctrl: Move mcp23s08 from gpio

2017-10-09 Thread Lars Poeschel
On Sun, Oct 8, 2017 at 01:58:52 CEST Linus Walleij wrote: CCing-in Sebastian Reichel who did the move to pinctrl and pinctrl support as well. > On Thu, Oct 5, 2017 at 9:50 AM, Lars Poeschel <poesc...@lemonage.de> wrote: > > The mcp23s08 driver was moved from gpio to pinctrl.

[PATCH] dt-bindings: pinctrl: Move mcp23s08 from gpio

2017-10-05 Thread Lars Poeschel
The mcp23s08 driver was moved from gpio to pinctrl. This moves it's devicetree binding doc as well. So driver and binding doc are in sync again. Signed-off-by: Lars Poeschel <poesc...@lemonage.de> --- .../bindings/{gpio/gpio-mcp23s08.txt => pinctrl/pinctrl-mcp23s08.txt} | 0 1 fil

[PATCH] ARM: dts: omap3: Replace deprecated mcp prefix

2017-10-05 Thread Lars Poeschel
The devicetree prefix mcp is deprecated in favour of microchip. Thus this replaces mcp with microchip for the mcp23017 gpio expander chip. Signed-off-by: Lars Poeschel <poesc...@lemonage.de> --- arch/arm/boot/dts/omap3-lilly-a83x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] tty: n_gsm: Add compat_ioctl

2017-08-15 Thread Lars Poeschel
To use this driver with 32 bit userspace applications on 64 bit kernels a compat_ioctl is needed. Signed-off-by: Lars Poeschel <poesc...@lemonage.de> --- drivers/tty/n_gsm.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c

Re: [PATCH] watchdog: omap_wdt: start_enabled module parameter

2015-06-22 Thread Lars Poeschel
Am Freitag 19 Juni 2015, 18:44:52 schrieb Guenter Roeck: On 06/19/2015 06:18 AM, poesc...@lemonage.de wrote: From: Lars Poeschel poesc...@lemonage.de Add a start_enabled module parameter to the omap_wdt that starts the watchdog on module insertion. The default value is 0 which does

[PATCH v3] gpio: mcp23s08: Add irq functionality for i2c chips

2014-01-16 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This adds interrupt functionality for i2c chips to the driver. They can act as a interrupt-controller and generate interrupts, if the inputs change. This is tested with a mcp23017 chip on an arm based platform. v3: - be a bit more clear that the irq

[PATCH v2] gpio: mcp23s08: Add irq functionality for i2c chips

2014-01-10 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This adds interrupt functionality for i2c chips to the driver. They can act as a interrupt-controller and generate interrupts, if the inputs change. This is tested with a mcp23017 chip on an arm based platform. v2: - some more word about irq-mirror

Re: [PATCH v2] gpio: mcp23s08: Add irq functionality for i2c chips

2014-01-10 Thread Lars Poeschel
On Friday 10 January 2014 16:08:36, Gerhard Sittig wrote: On Fri, Jan 10, 2014 at 15:22 +0100, Lars Poeschel wrote: --- a/Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt @@ -38,12 +38,37 @@ Required device specific

Re: [RFC DO NOT MERGE] tty: n_gsm: support buggy modem

2014-01-08 Thread Lars Poeschel
Am Dienstag, 7. Januar 2014, 16:51:37 schrieb Alan Cox: modem status command, but this DV bit is not set. With this patch the modem and the whole mux is working fine. Another way makeing all this work is setting the carrier_raised function to NULL. The tty code assumes that

[PATCH] n_gsm/documentation: Add some words about DCD signal

2014-01-08 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de Add some words about modem control lines, DCD signal and that an open may block to the n_gsm documentation. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- Documentation/serial/n_gsm.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH] tty: n_gsm: Fix for modems with brk in modem status control

2014-01-07 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de 3GPP TS 07.10 states in section 5.4.6.3.7: The length byte contains the value 2 or 3 ... depending on the break signal. The break byte is optional and if it is sent, the length is 3. In fact the driver was not able to work with modems that send this break

[RFC DO NOT MERGE] tty: n_gsm: support buggy modem

2014-01-07 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This is obiviously a bad patch. Do not merge it! I have a GSM Modem (Quectel M95 Revision: M95AR01A11) that I have a problem with when using the n_gsm mux line discipline. After attaching the line discipline and opening a muxed channel, the open never

[PATCH] gpio: mcp23s08: Add irq functionality for i2c chips

2014-01-07 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This adds interrupt functionality for i2c chips to the driver. They can act as a interrupt-controller and generate interrupts, if the inputs change. This is tested on a mcp23017 chip. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- .../devicetree

Re: [RFC DO NOT MERGE] tty: n_gsm: support buggy modem

2014-01-07 Thread Lars Poeschel
Am Dienstag, 7. Januar 2014, 06:20:50 schrieb Greg KH: On Tue, Jan 07, 2014 at 02:05:26PM +0100, Lars Poeschel wrote: From: Lars Poeschel poesc...@lemonage.de This is obiviously a bad patch. Do not merge it! I have a GSM Modem (Quectel M95 Revision: M95AR01A11) that I have a problem

Re: [PATCH 1/2] gpio/omap: maintain GPIO and IRQ usage separately

2013-09-27 Thread Lars Poeschel
gpio_is_input() definition in preparation for the next patch that setups the controller's irq_chip driver when a caller requests an interrupt line. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk For both patches: Tested-by: Lars Poeschel poesc...@lemonage.de

Re: [PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs

2013-09-16 Thread Lars Poeschel
On Monday 16 September 2013 13:43:50, Stephen Warren wrote: On 09/10/2013 06:52 PM, Javier Martinez Canillas wrote: On 09/11/2013 12:34 AM, Stephen Warren wrote: On 09/10/2013 03:37 PM, Mark Brown wrote: On Tue, Sep 10, 2013 at 01:53:47PM -0600, Stephen Warren wrote: Doesn't this patch

Re: [PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs

2013-09-10 Thread Lars Poeschel
On Tuesday 10 September 2013 17:19:24, Mark Brown wrote: On Wed, Sep 04, 2013 at 02:16:36PM -0600, Stephen Warren wrote: On 09/04/2013 03:05 AM, Lars Poeschel wrote: The driver that tries to use the GPIO requested by this patch before HAS to fail. This is exactly the intention

Re: [PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs

2013-09-04 Thread Lars Poeschel
On Wednesday 04 September 2013 11:29:47, Stephen Warren wrote: On 09/03/2013 06:35 AM, Linus Walleij wrote: On Fri, Aug 30, 2013 at 9:53 PM, Stephen Warren swar...@wwwdotorg.org wrote: I still haven't seen an answer to why we really care about this; how many times has code actually

Re: [PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs

2013-09-04 Thread Lars Poeschel
On Wednesday 04 September 2013 11:27:12, Stephen Warren wrote: On 09/02/2013 03:25 AM, Lars Poeschel wrote: Some leagcy drivers currently do this: request_gpio(gpio); gpio_direction_input(gpio); request_irq(gpio_to_irq(gpio)); In that case request_irq should not fail because

Re: [PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs

2013-09-04 Thread Lars Poeschel
On Wednesday 04 September 2013 11:29:00, Stephen Warren wrote: On 09/02/2013 03:38 AM, Lars Poeschel wrote: Am Freitag, 30. August 2013, 13:53:45 schrieb Stephen Warren: ... Yet the current patch only addresses a limited set of cases, since it doesn't hook the APIs but rather parses

Re: [PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs

2013-09-02 Thread Lars Poeschel
Am Freitag, 30. August 2013, 13:55:26 schrieb Stephen Warren: On 08/29/2013 06:24 PM, Javier Martinez Canillas wrote: ... We have been trying to solve this issue for a few months by now and Linus' approach seems to be the most sensible solution to me. Drivers that request an IRQ and

Re: [PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs

2013-09-02 Thread Lars Poeschel
Am Freitag, 30. August 2013, 13:53:45 schrieb Stephen Warren: On 08/29/2013 01:26 PM, Linus Walleij wrote: On Tue, Aug 27, 2013 at 10:17 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 08/26/2013 08:07 AM, Lars Poeschel wrote: Currently the kernel is ambigously treating GPIOs

Re: [PATCH v2] gpio: interrupt consistency check for OF GPIO IRQs

2013-09-02 Thread Lars Poeschel
Am Freitag, 30. August 2013, 14:08:41 schrieb Stephen Warren: On 08/29/2013 01:00 PM, Linus Walleij wrote: On Fri, Aug 23, 2013 at 9:52 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 08/23/2013 12:45 PM, Linus Walleij wrote: This is a perfectly OK thing to do as long as it is done like

[PATCH V3 1/2] gpio: mcp23s08: rename the device tree property

2013-08-28 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de The device tree property should be more descriptive. microchip seems more reasonable than mcp. The old mcp prefix is still supported but marked as deprecated. Users of mcp have to switch to the microchip prefix. Acked-by: Mark Rutland mark.rutl...@arm.com

[PATCH V3 2/2] of: add vendor prefix for Microchip Technology Inc

2013-08-28 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de Trivial patch to add Microchip Technology Inc. to the list of devicetree vendor prefixes. Acked-by: Mark Rutland mark.rutl...@arm.com Signed-off-by: Lars Poeschel poesc...@lemonage.de --- Documentation/devicetree/bindings/vendor-prefixes.txt |1 + 1

Re: am335x: support for multiple USB instances, v3

2013-08-26 Thread Lars Poeschel
for testing is also available at [1] [0] git://git.breakpoint.cc/cgit/bigeasy/linux.git nop_phy-rename [1] git://git.breakpoint.cc/cgit/bigeasy/linux.git am335x_usb Tested-by: Lars Poeschel poesc...@lemonage.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH V2 1/2] gpio: mcp23s08: rename the device tree property

2013-08-26 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de The device tree property should be more descriptive. microchip seems more reasonable than mcp. The old mcp prefix is still supported but marked as deprecated. Users of mcp have to switch to the microchip prefix. Signed-off-by: Lars Poeschel poesc

[PATCH V2 2/2] of: add vendor prefix for Microchip Technology Inc

2013-08-26 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de Trivial patch to add Microchip Technology Inc. to the list of devicetree vendor prefixes. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- Documentation/devicetree/bindings/vendor-prefixes.txt |1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v2] gpio: interrupt consistency check for OF GPIO IRQs

2013-08-26 Thread Lars Poeschel
On Friday 23 August 2013 at 21:48:43, Stephen Warren wrote: On 08/23/2013 03:40 AM, Lars Poeschel wrote: On Thursday 22 August 2013 at 23:10:53, Stephen Warren wrote: On 08/21/2013 05:36 PM, Linus Walleij wrote: On Thu, Aug 22, 2013 at 1:10 AM, Stephen Warren swar...@wwwdotorg.org wrote

Re: [PATCH v2] gpio: interrupt consistency check for OF GPIO IRQs

2013-08-26 Thread Lars Poeschel
On Friday 23 August 2013 at 21:52:20, Stephen Warren wrote: On 08/23/2013 12:45 PM, Linus Walleij wrote: On Thu, Aug 22, 2013 at 11:10 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 08/21/2013 05:36 PM, Linus Walleij wrote: On Thu, Aug 22, 2013 at 1:10 AM, Stephen Warren

Re: [PATCH v2] gpio: interrupt consistency check for OF GPIO IRQs

2013-08-26 Thread Lars Poeschel
Hi Andreas! On Thursday 22 August 2013 at 15:16:18, Andreas Larsson wrote: On 2013-08-21 15:38, Lars Poeschel wrote: +static void of_gpio_scan_irq_lines(const struct device_node *const node, +struct device_node *const gcn

Re: [PATCH v2] gpio: interrupt consistency check for OF GPIO IRQs

2013-08-26 Thread Lars Poeschel
On Monday 26 August 2013 at 13:29:07, Andreas Larsson wrote: On 2013-08-26 12:56, Lars Poeschel wrote: Hi Andreas! On Thursday 22 August 2013 at 15:16:18, Andreas Larsson wrote: On 2013-08-21 15:38, Lars Poeschel wrote: +static void of_gpio_scan_irq_lines(const struct device_node

[PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs

2013-08-26 Thread Lars Poeschel
tree, check if these in turn reference the interrupt-controller, and if they do, loop over the interrupts used by that child and perform gpio_request() and gpio_direction_input() on these, making them unreachable from the GPIO side. The patch has been devised by Linus Walleij and Lars Poeschel

Re: [PATCH 1/2] gpio: mcp23s08: rename the device tree property

2013-08-25 Thread Lars Poeschel
Am Freitag 23 August 2013, 21:10:00 schrieb Linus Walleij: On Thu, Aug 22, 2013 at 11:56 AM, Lars Poeschel la...@wh2.tu-dresden.de wrote: From: Lars Poeschel poesc...@lemonage.de The device tree property should be more descriptive. microchip seems more reasonable than mcp

Re: [linux-nfc] [PATCH RFC] nfc: add a driver for pn532 connected on uart

2013-08-23 Thread Lars Poeschel
On Friday 23 August 2013 at 07:23:00, Rymarkiewicz, WaldemarX wrote: Hi Lars, This adds a driver for the nxp pn532 nfc chip. It is not meant for merging. Instead it is meant to show that some progress has been made and what the current state is and to help testing. Although I can do some

Re: [PATCH v2] gpio: interrupt consistency check for OF GPIO IRQs

2013-08-23 Thread Lars Poeschel
On Thursday 22 August 2013 at 23:10:53, Stephen Warren wrote: On 08/21/2013 05:36 PM, Linus Walleij wrote: On Thu, Aug 22, 2013 at 1:10 AM, Stephen Warren swar...@wwwdotorg.org wrote: [Me] check if these in turn reference the interrupt-controller, and if they do, loop over the

Re: [PATCH v2] gpio: interrupt consistency check for OF GPIO IRQs

2013-08-23 Thread Lars Poeschel
On Thursday 22 August 2013 at 22:53:09, Stephen Warren wrote: On 08/21/2013 05:27 PM, Linus Walleij wrote: On Thu, Aug 22, 2013 at 1:10 AM, Stephen Warren swar...@wwwdotorg.org wrote: On Wednesday 21 of August 2013 15:38:54 Lars Poeschel wrote: To solve this dilemma, perform an interrupt

Re: [PATCH 1/2] gpio: mcp23s08: rename the device tree property

2013-08-23 Thread Lars Poeschel
On Friday 23 August 2013 at 16:24:21, Mark Rutland wrote: On Thu, Aug 22, 2013 at 10:56:17AM +0100, Lars Poeschel wrote: From: Lars Poeschel poesc...@lemonage.de The device tree property should be more descriptive. microchip seems more reasonable than mcp. As there are no in tree users

Re: [PATCH] of: add vendor prefix for Microchip Technology Inc

2013-08-22 Thread Lars Poeschel
On Wednesday 21 August 2013 at 19:40:56, Stephen Warren wrote: On 08/21/2013 09:19 AM, Lars Poeschel wrote: Trivial patch to add Microchip Technology Inc. to the list of devicetree vendor prefixes, as it is already used in Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt Oh dear

Re: [PATCH v2] gpio: interrupt consistency check for OF GPIO IRQs

2013-08-22 Thread Lars Poeschel
On Thursday 22 August 2013 at 01:10:27, Stephen Warren wrote: On 08/21/2013 03:49 PM, Tomasz Figa wrote: diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c +static void of_gpio_scan_irq_lines(const struct device_node *const + for (i = 0; i intlen; i +=

Re: [PATCH] of: add vendor prefix for Microchip Technology Inc

2013-08-22 Thread Lars Poeschel
On Thursday 22 August 2013 at 09:52:49, Florian Fainelli wrote: Hello, 2013/8/22 Lars Poeschel poesc...@lemonage.de: On Wednesday 21 August 2013 at 19:40:56, Stephen Warren wrote: On 08/21/2013 09:19 AM, Lars Poeschel wrote: Trivial patch to add Microchip Technology Inc. to the list

[PATCH 1/2] gpio: mcp23s08: rename the device tree property

2013-08-22 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de The device tree property should be more descriptive. microchip seems more reasonable than mcp. As there are no in tree users of this property, so the rename can still be done without pain. Signed-off-by: Lars Poeschel poesc...@lemonage.de

[PATCH 2/2] of: add vendor prefix for Microchip Technology Inc

2013-08-22 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de Trivial patch to add Microchip Technology Inc. to the list of devicetree vendor prefixes. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- Documentation/devicetree/bindings/vendor-prefixes.txt |1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] ARM: dts: am33xx: Correct gpio #interrupt-cells property

2013-08-21 Thread Lars Poeschel
Hi Tony! On Wednesday 21 August 2013 at 09:50:16, Tony Lindgren wrote: Benoit, Care to take a look at this too? Benoit already applied this with Mark Rutlands Acked-By and Javier Martinez Canillas Reviewed-by. Regards, Lars * Lars Poeschel la...@wh2.tu-dresden.de [130807 04:14]: From

Re: [PATCH v2] RFC: interrupt consistency check for OF GPIO IRQs

2013-08-21 Thread Lars Poeschel
On Monday 19 August 2013 at 21:35:22, Stephen Warren wrote: On 08/17/2013 03:59 AM, Tomasz Figa wrote: [Ccing DT maintainers, as they may have some ideas as well] On Saturday 17 of August 2013 02:16:11 Linus Walleij wrote: On Thu, Aug 15, 2013 at 11:53 AM, Tomasz Figa

[PATCH v2] gpio: interrupt consistency check for OF GPIO IRQs

2013-08-21 Thread Lars Poeschel
tree, check if these in turn reference the interrupt-controller, and if they do, loop over the interrupts used by that child and perform gpio_request() and gpio_direction_input() on these, making them unreachable from the GPIO side. The patch has been devised by Linus Walleij and Lars Poeschel

[PATCH] of: add vendor prefix for Microchip Technology Inc

2013-08-21 Thread Lars Poeschel
Trivial patch to add Microchip Technology Inc. to the list of devicetree vendor prefixes, as it is already used in Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt Signed-off-by: Lars Poeschel poesc...@lemonage.de --- Documentation/devicetree/bindings/vendor-prefixes.txt |1 + 1 file

Re: [PATCH v2] RFC: interrupt consistency check for OF GPIO IRQs

2013-08-15 Thread Lars Poeschel
On Thursday 15 August 2013 at 11:53:15, Tomasz Figa wrote: Hi Lars, Linus, On Tuesday 13 of August 2013 11:46:35 Lars Poeschel wrote: From: Linus Walleij linus.wall...@linaro.org Currently the kernel is ambigously treating GPIOs and interrupts from a GPIO controller: GPIOs

[PATCH v2] RFC: interrupt consistency check for OF GPIO IRQs

2013-08-13 Thread Lars Poeschel
Lindgren t...@atomide.com Cc: Jon Hunter jgchun...@gmail.com Signed-off-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lars Poeschel poesc...@lemonage.de diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index 665f953..5f6ac79 100644 --- a/drivers/gpio/gpiolib-of.c +++ b

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-08-13 Thread Lars Poeschel
Am Mittwoch, 31. Juli 2013, 01:44:53 schrieb Linus Walleij: On Tue, Jul 30, 2013 at 6:30 AM, Grant Likely grant.lik...@linaro.org wrote: On Mon, Jul 29, 2013 at 6:36 AM, Linus Walleij linus.wall...@linaro.org wrote: To solve this dilemma, perform an interrupt consistency check when adding

Re: ARM: AM335x: Reboot broken in 3.11

2013-08-09 Thread Lars Poeschel
Am Donnerstag, 8. August 2013, 15:50:18 schrieb Mark Jackson: Rebooting appears to have broken in 3.11 (at some point before rc1). Here is the console output:- [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version 3.11.0-rc1-6-gf550793 (mpfj@mpfj-nanobone) (gcc

[PATCH] ARM: dts: am33xx: Correct gpio #interrupt-cells property

2013-08-07 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de Following commit ff5c9059 and therefore other omap platforms using the gpio-omap driver correct the #interrupt-cells property on am33xx too. The omap gpio binding documentaion also states that the #interrupt-cells property should be 2. Signed-off-by: Lars

Re: [PATCH] ARM: dts: am33xx: Correct gpio #interrupt-cells property

2013-08-07 Thread Lars Poeschel
On Wednesday 07 August 2013 at 16:53:09, Mark Rutland wrote: On Wed, Aug 07, 2013 at 12:06:32PM +0100, Lars Poeschel wrote: From: Lars Poeschel poesc...@lemonage.de Following commit ff5c9059 and therefore other omap platforms using the gpio-omap driver correct the #interrupt-cells

[PATCH] gpio: adnp: Fix segfault if request_threaded_irq fails

2013-08-07 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de In case request_threaded_irq inside adnp_irq_setup fails, the driver segfaults. This is because irq_domain_remove is called twice with the same pointer. First time in adnp_irq_setup and then a second time after leaving adnp_irq_setup in the error path

Re: gpio-mcp23s08: i2c: auto-select base if no DT match or platform data

2013-07-29 Thread Lars Poeschel
to instantiate a device from userspace with sysfs, right ?) The code is ok, so with a modified commit message feel free to add my Acked-by: Lars Poeschel poesc...@lemonage.de Signed-off-by: Daniel M. Weeks d...@danweeks.net --- drivers/gpio/gpio-mcp23s08.c | 9 - 1 file changed, 4 insertions

[PATCH] dts: am33xx: Correct properties on gpmc node

2013-05-28 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de The gpmc driver is actually looking for gpmc,num-cs and gpmc,num-waitpins properties in DT. The binding doc also states this. Correct the properties in the dts to provide the right values for the gpmc driver. Signed-off-by: Lars Poeschel poesc

Re: [PATCH 00/14] misc/ep93xx_pwm: cleanup driver for conversion to PWM framework

2013-05-28 Thread Lars Poeschel
and user-space consumers of the pwm lines would work though. I've added Lars Poeschel on Cc, who's done some work on a sysfs interface for the PWM subsystem already. It's undergone some review already[0] and I think he's working on a v2 now. Thierry [0]: http://marc.info/?l=linux-kernelm

Re: [RFC] pwm: add sysfs interface

2013-05-23 Thread Lars Poeschel
Hi Oliver! As you are not the first one asking for the status of the pwm sysfs interface I post my answer to the linux-kernel list in hope others will benefit. On Thursday 23 May 2013 at 11:07:39, Oliver Schinagl wrote: Hi lars, I have trouble seeing if your patch has been applied yet to

Re: [PATCH v1] pwm: add sysfs interface

2013-04-09 Thread Lars Poeschel
On Monday 08 April 2013 at 13:34:58, Thierry Reding wrote: By the way, would you mind elaborating a bit on the various use-cases that you have? I'm interested in what people use the PWM subsystem for and you seem to be the only one currently using it from userspace. I'm hoping I can get a

Re: [PATCH v1] pwm: add sysfs interface

2013-04-08 Thread Lars Poeschel
I have to resend the mail, so the kernel list rejected it. I had HTML enabled in the MUA by mistake. Sorry for the inconvenience! Thierry, thank you for this very complete review! On Monday 08 April 2013 at 10:17:45, Thierry Reding wrote: On Wed, Apr 03, 2013 at 03:58:55PM +0200, Lars Poeschel

[PATCH v4] gpio: mcp23s08: convert driver to DT

2013-04-04 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This converts the mcp23s08 driver to be able to be used with device tree. There is a spi-present-mask device tree property, that allows to use multiple of this spi chips on the same chipselect. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- v4

Re: [PATCH v4] gpio: mcp23s08: convert driver to DT

2013-04-04 Thread Lars Poeschel
On Thursday 04 April 2013 15:44:08 Linus Walleij wrote: On Thu, Apr 4, 2013 at 12:02 PM, Lars Poeschel la...@wh2.tu-dresden.de wrote: From: Lars Poeschel poesc...@lemonage.de This converts the mcp23s08 driver to be able to be used with device tree. There is a spi-present-mask device

[PATCH v1] pwm: add sysfs interface

2013-04-03 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This adds a simple sysfs interface to the pwm subsystem. It is heavily inspired by the gpio sysfs interface. /sys/class/pwm /export ... asks the kernel to export a PWM to userspace /unexport ... to return a PWM

Re: [PATCH v3] gpio: mcp23s08: convert driver to DT

2013-03-27 Thread Lars Poeschel
On Friday 22 March 2013 at 09:33:10, Linus Walleij wrote: +++ b/Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt @@ -0,0 +1,43 @@ +Microchip MCP2308/MCP23S08/MCP23017/MCP23S17 driver for +8-/16-bit I/O expander with serial interface (I2C/SPI) + +Required properties: +-

Re: [PATCH] gpio: viperboard: Remove duplicate code to set gpio-gpiob_val

2013-03-06 Thread Lars Poeschel
On Tuesday 05 March 2013 at 13:21:56, Axel Lin wrote: Set it once is enough, and it's done in vprbrd_gpiob_set() which is called by vprbrd_gpiob_direction_output(). Signed-off-by: Axel Lin axel@ingics.com Thank you! Tested-and-Acked-by: Lars Poeschel poesc...@lemonage.de --- drivers

Re: [PATCH RFC] pwm: add sysfs interface

2013-03-05 Thread Lars Poeschel
At first: Thanks for your review! On Monday 25 February 2013 at 05:00:25, Greg KH wrote: On Tue, Feb 19, 2013 at 03:27:41PM +0100, Lars Poeschel wrote: +static int pwmchip_export(struct pwm_chip *chip) +{ + int status; + struct device *dev; + + mutex_lock(sysfs_lock); + dev

[PATCH v3] gpio: mcp23s08: convert driver to DT

2013-03-04 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This converts the mcp23s08 driver to be able to be used with device tree. There is a spi-present-mask device tree property, that allows to use multiple of this spi chips on the same chipselect. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- v3

Re: [PATCH RFC] pwm: add sysfs interface

2013-03-04 Thread Lars Poeschel
On Sunday 24 February 2013 at 01:14:48, Rob Landley wrote: On 02/19/2013 08:27:41 AM, Lars Poeschel wrote: From: Lars Poeschel poesc...@lemonage.de This adds a simple sysfs interface to the pwm subsystem. It is heavily inspired by the gpio sysfs interface. Docs! This means I have

[PATCH RFC] pwm: add sysfs interface

2013-02-19 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This adds a simple sysfs interface to the pwm subsystem. It is heavily inspired by the gpio sysfs interface. /sys/class/pwm /export ... asks the kernel to export a PWM to userspace /unexport ... to return a PWM

Re: [PATCH v2] gpio: mcp23s08: convert driver to DT

2013-02-14 Thread Lars Poeschel
On Wednesday 13 February 2013 at 13:51:12, Linus Walleij wrote: On Wed, Feb 13, 2013 at 12:13 PM, Lars Poeschel poesc...@lemonage.de wrote: On Monday 11 February 2013 at 22:25:51, Grant Likely wrote: However, is the pullup selection per-gpio line? If so, then why not encode

Re: [PATCH v2] gpio: mcp23s08: convert driver to DT

2013-02-13 Thread Lars Poeschel
On Monday 11 February 2013 at 22:25:51, Grant Likely wrote: On Mon, 11 Feb 2013 12:52:42 +0100, Lars Poeschel la...@wh2.tu-dresden.de wrote: +Optional device specific properties: +- mcp,chips : This is a table with 2 columns and up to 8 entries. The first column + is a is_present

Re: [PATCH RFC] misc/at24: distinguish between eeprom and fram chips

2013-02-11 Thread Lars Poeschel
On Sunday 10 February 2013 at 17:30:47, Wolfram Sang wrote: what happend to this one ? It was a patch updating Kconfig help for at24. Do you know linux-next? Have a look there... Thank you for the hint and for commiting it. Lars -- To unsubscribe from this list: send the line unsubscribe

[PATCH v2] gpio: mcp23s08: convert driver to DT

2013-02-11 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This converts the mcp23s08 driver to be able to be used with device tree. Explicitly allow -1 as a legal value for the mcp23s08_platform_data-base. This is the special value lets the kernel choose a valid global gpio base number. There is a mcp,chips

Re: [PATCH v2,RESEND] video console: add a driver for lcd2s character display

2013-02-07 Thread Lars Poeschel
As it seems there are no further comments, could this please be included ? Thanks, Lars On Monday 17 December 2012 at 09:34:15, Lars Poeschel wrote: From: Lars Poeschel poesc...@lemonage.de This driver allows to use a lcd2s 20x4 character display as a linux console output device. Signed

Re: [PATCH RFC 1/1] gpio: mcp23s08: convert driver to DT

2013-02-06 Thread Lars Poeschel
On Tuesday 05 February 2013 at 15:29:09, Grant Likely wrote: On Thu, 31 Jan 2013 21:51:36 +0100, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Jan 31, 2013 at 4:58 PM, Lars Poeschel la...@wh2.tu-dresden.de wrote: --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio

Re: [PATCH 0/3] omap_hsmmc DT DMA Client support

2013-02-06 Thread Lars Poeschel
Hi Matt! At first thanks for you efforts on DMA Engine on AM33XX. On Friday 01 February 2013 at 22:01:17, Matt Porter wrote: This series adds DT DMA Engine Client support to the omap_hsmmc. It leverages the generic DMA OF helpers in -next and the dma_request_slave_channel_compat() wrapper

[PATCH 0/2] Convert mcp23s08 to DT usage

2013-02-06 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de I wanted to use mcp23s08 driver with a device that boots using device tree. I modified the driver to allow the DT usage and tested with a mcp23017 which is a i2c device. I could not test the spi path, because I have no such device. Regards, Lars Lars

[PATCH 1/2] gpio: mcp23s08: Allow -1 as a legal value for global gpio base

2013-02-06 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de Explicitly allow -1 as a legal value for the mcp23s08_platform_data-base. This is the special value lets the kernel choose a valid global gpio base number. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- drivers/gpio/gpio-mcp23s08.c |4 ++-- 1

[PATCH 2/2] gpio: mcp23s08: convert driver to DT

2013-02-06 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This converts the mcp23s08 driver to be able to be used with device tree. There is a special mcp,chips property, that correspond to the chips member of the struct mcp23s08_platform_data. It can be used for multiple mcp23s08/mc23s17 on the same spi

Re: [PATCH RFC] misc/at24: distinguish between eeprom and fram chips

2013-02-06 Thread Lars Poeschel
On Wednesday 05 December 2012 at 17:41:53, Wolfram Sang wrote: The method of accessing EEPROMs is used by way more chips than FRAMs. So, I'd prefer to have the text updated more generic like EEPROMs and similar devices like RAMs, ROMs, etc Describing setting .flags in Kconfig is

[PATCH RFC 1/1] gpio: mcp23s08: convert driver to DT

2013-01-31 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This converts the mcp23s08 driver to be able to be used with device tree. There are two properties taken, that correspond to the members of the struct mcp23s08_platform_data, that is the base member and the chip array member. Signed-off-by: Lars Poeschel

[PATCH RFC 0/1] Convert mcp23s08 to DT usage

2013-01-31 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de I wanted to use mcp23s08 driver with a device that boots using device tree. Therefore I had to modify the driver to be able to take it's platform_data from the device tree. I am using a mcp23017 (I2C) device successfully with the patch booted over device

Re: [PATCH RFC] misc/at24: distinguish between eeprom and fram chips

2013-01-28 Thread Lars Poeschel
On Thursday 24 January 2013 at 08:27:01, Wolfram Sang wrote: I wanted to use a fm24c04 i2c fram chip with linux. I grepped the source and found nothing. I later found that my chip can be handled by at24 eeprom driver. It creates a sysfs file called eeprom to read from and

Re: [PATCH v4,03/14] ARM: edma: add AM33XX support to the private EDMA API

2013-01-11 Thread Lars Poeschel
Hi Matt, On Friday 11 January 2013 at 06:48:39, Matt Porter wrote: diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index a3d189d..1951d63 100644 --- a/arch/arm/common/edma.c +++ b/arch/arm/common/edma.c @@ -24,6 +24,13 @@ #include linux/platform_device.h #include linux/io.h

[PATCH for-next] mfd: tps65910: add REGMAP_IRQ to Kconfig

2013-01-08 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de tps65910 driver is using regmap irq, so selecting it in Kconfig to honor this. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- drivers/mfd/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig

[PATCH v2 RESEND] video console: add a driver for lcd2s character display

2012-12-17 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This driver allows to use a lcd2s 20x4 character display as a linux console output device. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- drivers/video/console/Kconfig| 10 ++ drivers/video/console/Makefile |1 + drivers/video/console

Re: [PATCH RFC] misc/at24: distinguish between eeprom and fram chips

2012-12-07 Thread Lars Poeschel
I wanted to use a fm24c04 i2c fram chip with linux. I grepped the source and found nothing. I later found that my chip can be handled by at24 eeprom driver. It creates a sysfs file called eeprom to read from and write to the chip. Userspace has no chance to distinguish if it is

Re: [PATCH RFC] misc/at24: distinguish between eeprom and fram chips

2012-12-05 Thread Lars Poeschel
82f77ade238755b7a1196b24f41a03a0e7344d89 Mon Sep 17 00:00:00 2001 From: Lars Poeschel poesc...@lemonage.de Date: Wed, 5 Dec 2012 10:08:07 +0100 Subject: [PATCH] misc/at24: Update Kconfig to mention FRAMs, SRAMs and ROMs As the at24 driver is able handle a bunch of serial storage chips other than EEPROMs

[PATCH RFC] misc/at24: distinguish between eeprom and fram chips

2012-12-04 Thread Lars Poeschel
4fab49fae62390995868e3b6dee7e0693fce5be9 Mon Sep 17 00:00:00 2001 From: Lars Poeschel poesc...@lemonage.de Date: Tue, 4 Dec 2012 15:41:40 +0100 Subject: [PATCH] misc/at24: distinguish between eeprom and fram chips Add a AT24_FLAGS_FRAM state to the flags to make userspace able to distinguish

[PATCH for-next] mfd: viperboard: do version query in dma memory

2012-11-26 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de The query for the viperboard version was done with memory buffer on the stack but usb transfers need dma capable memory buffer. This is fixed now. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- drivers/mfd/viperboard.c |9 - 1 file

[PATCH v2] video console: add a driver for lcd2s character display

2012-11-22 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This driver allows to use a lcd2s 20x4 character display as a linux console output device. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- drivers/video/console/Kconfig| 10 ++ drivers/video/console/Makefile |1 + drivers/video/console

  1   2   >