Re: [PATCH v2 3/3] [media] mt9v032: Add V4L2 controls for AEC and AGC

2016-01-04 Thread Markus Pargmann
Hi Laurent, On Tuesday 29 December 2015 11:38:39 Laurent Pinchart wrote: > Hi Markus, > > On Wednesday 16 December 2015 11:14:28 Markus Pargmann wrote: > > On Wednesday 16 December 2015 09:47:58 Laurent Pinchart wrote: > > > On Monday 14 December 2015 15:41:

Re: [PATCH v2 3/3] [media] mt9v032: Add V4L2 controls for AEC and AGC

2015-12-16 Thread Markus Pargmann
Hi Laurent, On Wednesday 16 December 2015 09:47:58 Laurent Pinchart wrote: > Hi Markus, > > Thank you for the patch. > > On Monday 14 December 2015 15:41:53 Markus Pargmann wrote: > > This patch adds V4L2 controls for Auto Exposure Control and Auto Gain > > Contr

Re: [PATCH 1/3] Device tree binding documentation for gpio-switch

2015-12-15 Thread Markus Pargmann
:39 AM, Linus Walleij <linus.wall...@linaro.org> > >> wrote: > >>> On Fri, Dec 4, 2015 at 6:31 PM, Martyn Welch > >>> <martyn.we...@collabora.co.uk> wrote: > > [...] > > >>> Markus Pargmann also did a series that add initial values to >

Re: [PATCH v2 1/3] [media] mt9v032: Add reset and standby gpios

2015-12-15 Thread Markus Pargmann
Hi, On Monday 14 December 2015 21:26:25 Laurent Pinchart wrote: > Hi Markus, > > Thank you for the patch. > > On Monday 14 December 2015 15:41:51 Markus Pargmann wrote: > > Add optional reset and standby gpios. The reset gpio is used to reset > > the chip in power

Re: [PATCH v9 5/8] iio: adc: fsl,imx25-gcq driver

2015-12-14 Thread Markus Pargmann
Hi, On Saturday 12 December 2015 17:14:24 Jonathan Cameron wrote: > On 06/12/15 19:52, Markus Pargmann wrote: > > This is a conversion queue driver for the mx25 SoC. It uses the central > > ADC which is used by two seperate independent queues. This driver > > prepares

[PATCH v10 3/8] ARM: dt: Binding documentation for imx25 touchscreen controller

2015-12-14 Thread Markus Pargmann
This is the touchscreen conversion queue binding documentation. It uses the shared imx25 ADC. Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- Notes: Changes in v9: - Updated binding descriptions Changes in v5: - Fix signed/unsigned comparison - Fix

[PATCH v10 4/8] mfd: fsl imx25 Touchscreen ADC driver

2015-12-14 Thread Markus Pargmann
the central components and registers of the TSC/ADC unit. It manages the IRQs and forwards them to the correct components. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Signed-off-by: Denis Carikli <de...@eukrea.com> [ensure correct ADC clock depending on the IPG clock

[PATCH v10 2/8] ARM: dt: Binding documentation for imx25 GCQ

2015-12-14 Thread Markus Pargmann
The documentation describes the bindings for the imx25 GCQ unit which is essentially a generic conversion queue using the imx25 ADC. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Acked-by: Rob Herring <r...@kernel.org> Acked-by: Jonathan Cameron <ji...@kernel.org> ---

[PATCH v10 0/8] imx25 adc and touchscreen driver

2015-12-14 Thread Markus Pargmann
and ADC support. Markus Pargmann (6): ARM: dt: Binding documentation for imx25 ADC/TSC ARM: dt: Binding documentation for imx25 GCQ ARM: dt: Binding documentation for imx25 touchscreen controller mfd: fsl imx25 Touchscreen ADC driver iio: adc: fsl,imx25-gcq driver input: touchscreen

[PATCH v10 8/8] ARM: imx_v4_v5_defconfig: Add I.MX25 Touchscreen controller and ADC support.

2015-12-14 Thread Markus Pargmann
From: Denis Carikli <de...@eukrea.com> Signed-off-by: Denis Carikli <de...@eukrea.com> Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- arch/arm/configs/imx_v4_v5_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/imx_v4_v5_defconfig

[PATCH v2 2/3] [media] mt9v032: Do not unset master_mode

2015-12-14 Thread Markus Pargmann
for me. Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- drivers/media/i2c/mt9v032.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/mt9v032.c b/drivers/media/i2c/mt9v032.c index c1bc564a0979..cc16acf001de 100644 --- a/drivers/media/i2c/m

[PATCH v2 3/3] [media] mt9v032: Add V4L2 controls for AEC and AGC

2015-12-14 Thread Markus Pargmann
This patch adds V4L2 controls for Auto Exposure Control and Auto Gain Control settings. These settings include low pass filter, update frequency of these settings and the update interval for those units. Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- drivers/media/i2c/mt9v032.c

[PATCH v10 5/8] iio: adc: fsl,imx25-gcq driver

2015-12-14 Thread Markus Pargmann
for the chosen channel. It then executes the queue once and disables the conversion queue afterwards. The reference voltages are configurable through devicetree subnodes, depending on the connections of the ADC inputs. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Signed-off-by:

[PATCH v10 1/8] ARM: dt: Binding documentation for imx25 ADC/TSC

2015-12-14 Thread Markus Pargmann
This documentation describes the devicetree bindings for the ADC/Touchscreen unit of the i.MX25 SoC. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Acked-by: Jonathan Cameron <ji...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> --- Notes: Changes in v9:

[PATCH v10 6/8] input: touchscreen: imx25 tcq driver

2015-12-14 Thread Markus Pargmann
, precharge and another touch detection. This driver uses the regmap from the parent to setup some touch specific settings in the core driver and setup a idle configuration with touch detection. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Signed-off-by: Denis Carikli <de...@eukrea.c

[PATCH v10 7/8] ARM: dts: imx25: Add TSC and ADC support

2015-12-14 Thread Markus Pargmann
From: Denis Carikli <de...@eukrea.com> Signed-off-by: Denis Carikli <de...@eukrea.com> Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- arch/arm/boot/dts/imx25.dtsi | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/arch/

[PATCH v2 1/3] [media] mt9v032: Add reset and standby gpios

2015-12-14 Thread Markus Pargmann
Add optional reset and standby gpios. The reset gpio is used to reset the chip in power_on(). The standby gpio is not used currently. It is just unset, so the chip is not in standby. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Reviewed-by: Philipp Zabel <p.za...@pengutronix.

Re: [PATCH v9 3/8] ARM: dt: Binding documentation for imx25 touchscreen controller

2015-12-08 Thread Markus Pargmann
Hi, On Monday 07 December 2015 14:45:46 Rob Herring wrote: > On Sun, Dec 06, 2015 at 08:52:16PM +0100, Markus Pargmann wrote: > > This is the touchscreen conversion queue binding documentation. It uses > > the shared imx25 ADC. > > > > Signed-off-by: Markus Pa

[PATCH v9 4/8] mfd: fsl imx25 Touchscreen ADC driver

2015-12-06 Thread Markus Pargmann
the central components and registers of the TSC/ADC unit. It manages the IRQs and forwards them to the correct components. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Signed-off-by: Denis Carikli <de...@eukrea.com> [ensure correct ADC clock depending on the IPG clock

[PATCH v9 1/8] ARM: dt: Binding documentation for imx25 ADC/TSC

2015-12-06 Thread Markus Pargmann
This documentation describes the devicetree bindings for the ADC/Touchscreen unit of the i.MX25 SoC. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Acked-by: Jonathan Cameron <ji...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> --- Notes: Changes in v9:

[PATCH v9 7/8] ARM: dts: imx25: Add TSC and ADC support

2015-12-06 Thread Markus Pargmann
From: Denis Carikli <de...@eukrea.com> Signed-off-by: Denis Carikli <de...@eukrea.com> Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- arch/arm/boot/dts/imx25.dtsi | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/arch/

[PATCH v9 2/8] ARM: dt: Binding documentation for imx25 GCQ

2015-12-06 Thread Markus Pargmann
The documentation describes the bindings for the imx25 GCQ unit which is essentially a generic conversion queue using the imx25 ADC. Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- Notes: Changes in v9: - Added the dt-bindings header to this patch instead of the

[PATCH v9 3/8] ARM: dt: Binding documentation for imx25 touchscreen controller

2015-12-06 Thread Markus Pargmann
This is the touchscreen conversion queue binding documentation. It uses the shared imx25 ADC. Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- Notes: Changes in v9: - Updated binding descriptions Changes in v5: - Fix signed/unsigned comparison - Fix

[PATCH v9 6/8] input: touchscreen: imx25 tcq driver

2015-12-06 Thread Markus Pargmann
, precharge and another touch detection. This driver uses the regmap from the parent to setup some touch specific settings in the core driver and setup a idle configuration with touch detection. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Signed-off-by: Denis Carikli <de...@eukrea.c

[PATCH v9 5/8] iio: adc: fsl,imx25-gcq driver

2015-12-06 Thread Markus Pargmann
for the chosen channel. It then executes the queue once and disables the conversion queue afterwards. The reference voltages are configurable through devicetree subnodes, depending on the connections of the ADC inputs. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Signed-off-by:

[PATCH v9 8/8] ARM: imx_v4_v5_defconfig: Add I.MX25 Touchscreen controller and ADC support.

2015-12-06 Thread Markus Pargmann
From: Denis Carikli <de...@eukrea.com> Signed-off-by: Denis Carikli <de...@eukrea.com> Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- arch/arm/configs/imx_v4_v5_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/imx_v4_v5_defconfig

[PATCH v9 0/8] imx25 adc and touchscreen driver

2015-12-06 Thread Markus Pargmann
controller and ADC support. Markus Pargmann (6): ARM: dt: Binding documentation for imx25 ADC/TSC ARM: dt: Binding documentation for imx25 GCQ ARM: dt: Binding documentation for imx25 touchscreen controller mfd: fsl imx25 Touchscreen ADC driver iio: adc: fsl,imx25-gcq driver input

[PATCH v4 0/2] gpiolib: Initializing GPIOs using DT property gpio-initval

2015-12-04 Thread Markus Pargmann
Hi, sorry for the delay. Here is the next version of this series. I added gpiod_parse_flags() to the code for the initialization. Otherwise there are no differences. As the gpio-hog bindings already exist I didn't change the gpio-initval bindings. Best Regards, Markus Markus Pargmann (2

[PATCH v4 1/2] dt-bindings: GPIO: Add gpio-initval

2015-12-04 Thread Markus Pargmann
Add a binding for GPIO initialization. Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- Documentation/devicetree/bindings/gpio/gpio.txt | 34 - 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio.

[PATCH v4 2/2] gpiolib: Add GPIO initialization

2015-12-04 Thread Markus Pargmann
This functions adds a way to initialize a GPIO without hogging it. Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- drivers/gpio/gpiolib-of.c | 13 - drivers/gpio/gpiolib.c| 26 ++ drivers/gpio/gpiolib.h| 2 ++ 3 files changed, 36 inse

Re: [PATCH v8 1/8] ARM: dt: Binding documentation for imx25 ADC/TSC

2015-11-24 Thread Markus Pargmann
On Monday 23 November 2015 14:59:52 Lee Jones wrote: > On Mon, 16 Nov 2015, Markus Pargmann wrote: > > > This documentation describes the devicetree bindings for the > > ADC/Touchscreen unit of the i.MX25 SoC. > > > > Signed-off-by: Markus Pargmann <m...@pengu

Re: [PATCH v8 4/8] mfd: fsl imx25 Touchscreen ADC driver

2015-11-23 Thread Markus Pargmann
On Saturday 21 November 2015 17:02:34 Jonathan Cameron wrote: > On 16/11/15 12:01, Markus Pargmann wrote: > > This is the core driver for imx25 touchscreen/adc driver. The module > > has one shared ADC and two different conversion queues which use the > > ADC. The two queue

Re: [PATCH v8 6/8] input: touchscreen: imx25 tcq driver

2015-11-23 Thread Markus Pargmann
On Saturday 21 November 2015 17:48:10 Jonathan Cameron wrote: > On 16/11/15 12:01, Markus Pargmann wrote: > > This is a driver for the imx25 ADC/TSC module. It controls the > > touchscreen conversion queue and creates a touchscreen input device. > > The driver currently

Re: [PATCH v8 6/8] input: touchscreen: imx25 tcq driver

2015-11-20 Thread Markus Pargmann
Hi, On Tuesday 17 November 2015 10:17:20 Dmitry Torokhov wrote: > On Mon, Nov 16, 2015 at 01:01:07PM +0100, Markus Pargmann wrote: > > This is a driver for the imx25 ADC/TSC module. It controls the > > touchscreen conversion queue and creates a touchscreen input device. > >

[PATCH v3 0/2] gpiolib: Initializing GPIOs using DT property gpio-initval

2015-11-17 Thread Markus Pargmann
() does not use common code with gpiod_hog anymore. Best Regards, Markus Markus Pargmann (2): dt-bindings: GPIO: Add gpio-initval gpiolib: Add GPIO initialization Documentation/devicetree/bindings/gpio/gpio.txt | 34 - drivers/gpio/gpiolib-of.c

[PATCH v3 1/2] dt-bindings: GPIO: Add gpio-initval

2015-11-17 Thread Markus Pargmann
Add a binding for GPIO initialization. Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- Documentation/devicetree/bindings/gpio/gpio.txt | 34 - 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio.

Re: [PATCH v8 3/8] ARM: dt: Binding documentation for imx25 touchscreen controller

2015-11-17 Thread Markus Pargmann
Hi, On Monday 16 November 2015 08:16:09 Rob Herring wrote: > On Mon, Nov 16, 2015 at 01:01:04PM +0100, Markus Pargmann wrote: > > This is the touchscreen conversion queue binding documentation. It uses > > the shared imx25 ADC. > > > > Signed-off-by: Markus Pa

Re: [PATCH v3 2/2] gpiolib: Add GPIO initialization

2015-11-17 Thread Markus Pargmann
Hi, On Tuesday 17 November 2015 11:07:58 Markus Pargmann wrote: [...] > diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c > index a18f00fc1bb8..3b35f2fafeb2 100644 > --- a/drivers/gpio/gpiolib.c > +++ b/drivers/gpio/gpiolib.c > @@ -2329,6 +2329,30 @@ static void gpi

[PATCH v8 0/8] imx25 adc and touchscreen driver

2015-11-16 Thread Markus Pargmann
time calculations for settling times in the touchscreen driver. Best Regards, Markus Denis Carikli (2): ARM: dts: imx25: Add TSC and ADC support ARM: imx_v4_v5_defconfig: Add I.MX25 Touchscreen controller and ADC support. Markus Pargmann (6): ARM: dt: Binding documentation for im

[PATCH v8 4/8] mfd: fsl imx25 Touchscreen ADC driver

2015-11-16 Thread Markus Pargmann
the central components and registers of the TSC/ADC unit. It manages the IRQs and forwards them to the correct components. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Signed-off-by: Denis Carikli <de...@eukrea.com> [ensure correct ADC clock depending on the IPG clock

[PATCH v8 3/8] ARM: dt: Binding documentation for imx25 touchscreen controller

2015-11-16 Thread Markus Pargmann
This is the touchscreen conversion queue binding documentation. It uses the shared imx25 ADC. Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- Notes: Changes in v5: - Fix signed/unsigned comparison - Fix unused variable settling_time by putting it in the correct ar

[PATCH v8 2/8] ARM: dt: Binding documentation for imx25 GCQ

2015-11-16 Thread Markus Pargmann
The documentation describes the bindings for the imx25 GCQ unit which is essentially a generic conversion queue using the imx25 ADC. Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- Notes: Changes in v6: - Changed bindings to use adc-refp and adc-refn. Also a bit of c

[PATCH v8 7/8] ARM: dts: imx25: Add TSC and ADC support

2015-11-16 Thread Markus Pargmann
From: Denis Carikli <de...@eukrea.com> Signed-off-by: Denis Carikli <de...@eukrea.com> Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- arch/arm/boot/dts/imx25.dtsi | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/arch/

[PATCH v8 5/8] iio: adc: fsl,imx25-gcq driver

2015-11-16 Thread Markus Pargmann
for the chosen channel. It then executes the queue once and disables the conversion queue afterwards. The reference voltages are configurable through devicetree subnodes, depending on the connections of the ADC inputs. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Signed-off-by:

[PATCH v8 6/8] input: touchscreen: imx25 tcq driver

2015-11-16 Thread Markus Pargmann
, precharge and another touch detection. This driver uses the regmap from the parent to setup some touch specific settings in the core driver and setup a idle configuration with touch detection. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Signed-off-by: Denis Carikli <de...@eukrea.c

[PATCH v8 8/8] ARM: imx_v4_v5_defconfig: Add I.MX25 Touchscreen controller and ADC support.

2015-11-16 Thread Markus Pargmann
From: Denis Carikli <de...@eukrea.com> Signed-off-by: Denis Carikli <de...@eukrea.com> Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- arch/arm/configs/imx_v4_v5_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/imx_v4_v5_defconfig

[PATCH v8 1/8] ARM: dt: Binding documentation for imx25 ADC/TSC

2015-11-16 Thread Markus Pargmann
This documentation describes the devicetree bindings for the ADC/Touchscreen unit of the i.MX25 SoC. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Acked-by: Jonathan Cameron <ji...@kernel.org> --- Notes: Changes in v6: - Removed adc-ref property and replaced it with r

Re: [PATCH 3/3] [media] mt9v032: Add V4L2 controls for AEC and AGC

2015-11-16 Thread Markus Pargmann
Hi Laurent, On Monday 09 November 2015 16:25:02 Markus Pargmann wrote: > On Monday 09 November 2015 15:22:06 Laurent Pinchart wrote: [...] > > > > Please use proper controls names. > > Sorry I don't really know what you mean? For me these are proper names. Could y

Re: [PATCH v8 2/8] ARM: dt: Binding documentation for imx25 GCQ

2015-11-16 Thread Markus Pargmann
On Monday 16 November 2015 09:12:55 Rob Herring wrote: > On Mon, Nov 16, 2015 at 01:01:03PM +0100, Markus Pargmann wrote: > > The documentation describes the bindings for the imx25 GCQ unit which is > > essentially a generic conversion queue using the imx25 ADC. > > >

Re: [PATCH 2/3] [media] mt9v032: Do not unset master_mode

2015-11-09 Thread Markus Pargmann
Hi Laurent, On Monday 09 November 2015 14:46:42 Laurent Pinchart wrote: > Hi Markus, > > Thank you for the patch. > > On Friday 06 November 2015 14:13:44 Markus Pargmann wrote: > > The power_on function of the driver resets the chip and sets the > > CHIP_CONTROL r

Re: [PATCH 1/3] [media] mt9v032: Add reset and standby gpios

2015-11-09 Thread Markus Pargmann
Hi, On Monday 09 November 2015 14:28:56 Laurent Pinchart wrote: > Hi Markus, > > Thank you for the patch. > > On Friday 06 November 2015 14:13:43 Markus Pargmann wrote: > > Add optional reset and standby gpios. The reset gpio is used to reset > > the chip in power

Re: [PATCH 3/3] [media] mt9v032: Add V4L2 controls for AEC and AGC

2015-11-09 Thread Markus Pargmann
Hi, On Monday 09 November 2015 15:22:06 Laurent Pinchart wrote: > Hi Markus, > > Thank you for the patch. > > On Friday 06 November 2015 14:13:45 Markus Pargmann wrote: > > This patch adds V4L2 controls for Auto Exposure Control and Auto Gain > > Control settings.

Re: IIO device indexing issue

2015-11-09 Thread Markus Pargmann
On Saturday 07 November 2015 11:03:26 Vesa Jääskeläinen wrote: > On 06/11/15 11:49, Markus Pargmann wrote: > > Hi, > > > > On Thursday, November 05, 2015 07:13:41 PM Jonathan Cameron wrote: > >> On 04/11/15 18:53, Vesa Jääskeläinen wrote: > >>> To

Re: IIO device indexing issue

2015-11-06 Thread Markus Pargmann
Hi, On Thursday, November 05, 2015 07:13:41 PM Jonathan Cameron wrote: > On 04/11/15 18:53, Vesa Jääskeläinen wrote: > > To continue from this "label" property idea I was wondering if we > > would add it as new optional(?) file node for IIO devices.> > > One could then specify it like: > > > >

[PATCH 2/3] [media] mt9v032: Do not unset master_mode

2015-11-06 Thread Markus Pargmann
for me. Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- drivers/media/i2c/mt9v032.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/mt9v032.c b/drivers/media/i2c/mt9v032.c index 4aefde9634f5..943c3f39ea73 100644 --- a/drivers/media/i2c/mt9

[PATCH 1/3] [media] mt9v032: Add reset and standby gpios

2015-11-06 Thread Markus Pargmann
Add optional reset and standby gpios. The reset gpio is used to reset the chip in power_on(). The standby gpio is not used currently. It is just unset, so the chip is not in standby. Signed-off-by: Markus Pargmann <m...@pengutronix.de> Reviewed-by: Philipp Zabel <p.za...@pengu

[PATCH 3/3] [media] mt9v032: Add V4L2 controls for AEC and AGC

2015-11-06 Thread Markus Pargmann
This patch adds V4L2 controls for Auto Exposure Control and Auto Gain Control settings. These settings include low pass filter, update frequency of these settings and the update interval for those units. Signed-off-by: Markus Pargmann <m...@pengutronix.de> --- drivers/media/i2c/mt9v032.c

Re: [PATCH v2 1/3] gpio: Use __gpiod_request directly

2015-09-27 Thread Markus Pargmann
Hi, On Thu, Sep 24, 2015 at 10:49:57AM -0700, Linus Walleij wrote: > On Tue, Sep 22, 2015 at 9:25 PM, Alexandre Courbot <gnu...@gmail.com> wrote: > > On Sun, Aug 30, 2015 at 4:44 PM, Markus Pargmann <m...@pengutronix.de> > > wrote: > >> There is no reas

Re: [PATCH v2 2/3] gpiolib: gpiod_hog remove separate name argument

2015-09-27 Thread Markus Pargmann
On Thu, Sep 24, 2015 at 10:52:55AM -0700, Linus Walleij wrote: > On Wed, Sep 23, 2015 at 11:39 PM, Markus Pargmann <m...@pengutronix.de> wrote: > > >> - Fixed that but noted that it just alters the call to gpiod_hog() > >> in of_gpiochip_scan_hogs(), the

Re: [PATCH v5 4/7] pinctrl: freescale: imx: allow mux_reg offset zero

2015-09-25 Thread Markus Pargmann
On Thu, Sep 24, 2015 at 03:54:00PM -0500, Adrian Alonso wrote: > Allow mux_reg offset zero to be a valid pin_id, on imx7d > mux_conf reg offset is zero for iomuxc-lspr controller > > Signed-off-by: Adrian Alonso > --- > Changes for V2: Resend > Changes for V3: Resend >

Re: [PATCH v5 3/7] ARM: dts: imx: imx7d-sbd add iomuxc-lpsr hoggrp-2 pads

2015-09-25 Thread Markus Pargmann
On Thu, Sep 24, 2015 at 03:53:59PM -0500, Adrian Alonso wrote: > Add imx7d-sdb iomuxc-lpsr hoggrp-2 default pads settings > > Signed-off-by: Adrian Alonso > --- > Changes for V2: Resend > Changes for V3: Resend > Changes for V4: Resend > Changes for V5: Resend > >

Re: [PATCH v2 3/3] gpiolib: Add GPIO initialization

2015-09-24 Thread Markus Pargmann
Hi, On Mon, Sep 21, 2015 at 04:42:09PM -0700, Linus Walleij wrote: > On Sun, Aug 30, 2015 at 12:44 AM, Markus Pargmann <m...@pengutronix.de> wrote: > > > This functions adds a way to initialize a GPIO without hogging it. > > > > Signed-off-by: Markus

Re: [PATCH v2 2/3] gpiolib: gpiod_hog remove separate name argument

2015-09-24 Thread Markus Pargmann
Hi, On Mon, Sep 21, 2015 at 04:28:48PM -0700, Linus Walleij wrote: > On Sun, Aug 30, 2015 at 12:44 AM, Markus Pargmann <m...@pengutronix.de> wrote: > > > The gpio name is now stored in the gpio descriptor, so we can simply use > > that instead of an argument to the func

Re: [PATCH v2 1/3] gpio: Use __gpiod_request directly

2015-09-24 Thread Markus Pargmann
Hi, On Wed, Sep 23, 2015 at 01:25:28PM +0900, Alexandre Courbot wrote: > On Sun, Aug 30, 2015 at 4:44 PM, Markus Pargmann <m...@pengutronix.de> wrote: > > There is no reason to find out chip and hwnum to use to request a gpio > > and get another gpio descriptor. We already h

Re: [PATCH v2 3/3] gpiolib: Add GPIO initialization

2015-09-21 Thread Markus Pargmann
On Sun, Aug 30, 2015 at 09:44:46AM +0200, Markus Pargmann wrote: > This functions adds a way to initialize a GPIO without hogging it. > > Signed-off-by: Markus Pargmann <m...@pengutronix.de> > --- > Documentation/devicetree/bindings/gpio/gpio.txt | 29 +++-- > d

Re: [PATCH v4 4/8] ARM: dts: imx: imx7d-sbd add iomuxc-lpsr hoggrp-2 pads

2015-09-20 Thread Markus Pargmann
Hi, On Fri, Sep 18, 2015 at 11:29:54AM -0500, Adrian Alonso wrote: > Add imx7d-sdb iomuxc-lpsr hoggrp-2 default pads settings > > Signed-off-by: Adrian Alonso > --- > Changes for V2: Resend > Changes for V3: Resend > Changes for V4: Resend > >

[PATCH v2 0/3] gpiolib: Initializing GPIOs using DT property gpio-initval

2015-08-30 Thread Markus Pargmann
()_code for a new gpiod_initialize() and adds the parsing of the DT. This series is based on the series [PATCH v3 0/9] gpiolib: Add GPIO name support. Best regards, Markus Changes in v2: - Fixed Signed-off-by/author Markus Pargmann (3): gpio: Use __gpiod_request directly gpiolib: gpiod_hog

[PATCH v2 3/3] gpiolib: Add GPIO initialization

2015-08-30 Thread Markus Pargmann
This functions adds a way to initialize a GPIO without hogging it. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Documentation/devicetree/bindings/gpio/gpio.txt | 29 +++-- drivers/gpio/gpiolib-of.c | 9 drivers/gpio/gpiolib.c

[PATCH v2 1/3] gpio: Use __gpiod_request directly

2015-08-30 Thread Markus Pargmann
There is no reason to find out chip and hwnum to use to request a gpio and get another gpio descriptor. We already have the descriptor we want to use so we can directly use it. Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/gpio/gpiolib.c | 17 ++--- 1 file changed, 6

[PATCH v2 2/3] gpiolib: gpiod_hog remove separate name argument

2015-08-30 Thread Markus Pargmann
The gpio name is now stored in the gpio descriptor, so we can simply use that instead of an argument to the function. Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/gpio/gpiolib-of.c | 2 +- drivers/gpio/gpiolib.c| 8 drivers/gpio/gpiolib.h| 4 ++-- 3 files

Re: [PATCH v2 1/5] input: touchscreen: add imx6ul_tsc driver support

2015-08-21 Thread Markus Pargmann
On Tue, Jul 28, 2015 at 05:58:37PM +0800, Haibo Chen wrote: Freescale i.MX6UL contains a internal touchscreen controller, this patch add a driver to support this controller. Signed-off-by: Haibo Chen haibo.c...@freescale.com --- drivers/input/touchscreen/Kconfig | 12 +

Re: [PATCH v2 2/5] Documentation: Detail permitted DT properties for the imx6ul_tsc

2015-08-21 Thread Markus Pargmann
On Fri, Aug 21, 2015 at 08:30:16AM +, Chen Bough wrote: Hi Markus, -Original Message- From: Markus Pargmann [mailto:m...@pengutronix.de] Sent: Wednesday, August 19, 2015 1:55 PM To: Chen Haibo-B51421 Cc: robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com; ijc

Re: [PATCH 8/8] pinctrl: freescale: imx: fix system crash if enable two pinctl instances

2015-08-19 Thread Markus Pargmann
On Tue, Aug 18, 2015 at 10:48:59AM -0500, Adrian Alonso wrote: From: Robin Gong b38...@freescale.com Remove 'static' for 'grp_index', otherwise, it cause the groups whose number is smaller than the number of groups of the last pinctl instance never to be intialized, thus cause system crash

Re: [PATCH 7/8] pinctrl: freescale: imx: fix flat functions default return

2015-08-19 Thread Markus Pargmann
On Tue, Aug 18, 2015 at 10:48:58AM -0500, Adrian Alonso wrote: Fix imx pinctrl dt flat functions default return value. If property fsl,pins is not found in function_np and pinctrl_np return false to indicate that DT is not using flat functions. The for loop in this function checks the child

Re: [PATCH 1/8] ARM: imx: imx7d-pinfunc: add gpio1 pad iomux settings

2015-08-19 Thread Markus Pargmann
On Tue, Aug 18, 2015 at 10:48:52AM -0500, Adrian Alonso wrote: - Add imx7 SoC GPIO1 pad iomuxc settings mux_reg conf_reg input_reg mux_mode input_val - Fix UART input select daisy chain setting values Signed-off-by: Adrian Alonso aalo...@freescale.com ---

Re: [PATCH 5/8] pinctrl: freescale: imx: add shared input select reg support

2015-08-19 Thread Markus Pargmann
On Tue, Aug 18, 2015 at 10:48:56AM -0500, Adrian Alonso wrote: - Add shared input select register support - imx7d has two iomux controllers iomuxc and iomuxc-lpsr which share select_input register for daisy chain settings Signed-off-by: Adrian Alonso aalo...@freescale.com ---

Re: [PATCH v2 2/5] Documentation: Detail permitted DT properties for the imx6ul_tsc

2015-08-18 Thread Markus Pargmann
Hi, On Tue, Jul 28, 2015 at 05:58:38PM +0800, Haibo Chen wrote: Here we apply required documentation for the imx6ul touch screen controller driver which describe available properties and how to use them. Signed-off-by: Haibo Chen haibo.c...@freescale.com ---

Re: [PATCH v7 4/8] mfd: fsl imx25 Touchscreen ADC driver

2015-03-24 Thread Markus Pargmann
Hi, Sorry for the late reply, On Mon, Mar 09, 2015 at 09:27:10AM +, Lee Jones wrote: On Tue, 03 Mar 2015, Markus Pargmann wrote: This is the core driver for imx25 touchscreen/adc driver. The module has one shared ADC and two different conversion queues which use the ADC. The two

Re: [PATCH v7 3/8] ARM: dt: Binding documentation for imx25 touchscreen controller

2015-03-24 Thread Markus Pargmann
On Sat, Mar 07, 2015 at 05:37:04PM +, Jonathan Cameron wrote: On 03/03/15 07:58, Markus Pargmann wrote: This is the touchscreen conversion queue binding documentation. It uses the shared imx25 ADC. Signed-off-by: Markus Pargmann m...@pengutronix.de Looks fine, one more general

Re: [PATCH v7 4/8] mfd: fsl imx25 Touchscreen ADC driver

2015-03-09 Thread Markus Pargmann
On Sat, Mar 07, 2015 at 05:52:26PM +, Jonathan Cameron wrote: On 03/03/15 07:58, Markus Pargmann wrote: This is the core driver for imx25 touchscreen/adc driver. The module has one shared ADC and two different conversion queues which use the ADC. The two queues are identical. Both can

Re: [PATCH v7 5/8] iio: adc: fsl,imx25-gcq driver

2015-03-09 Thread Markus Pargmann
On Sat, Mar 07, 2015 at 06:03:44PM +, Jonathan Cameron wrote: On 03/03/15 07:58, Markus Pargmann wrote: This is a conversion queue driver for the mx25 SoC. It uses the central ADC which is used by two seperate independent queues. This driver prepares different conversion configurations

Re: [PATCH v7 0/8] imx25 adc and touchscreen driver

2015-03-09 Thread Markus Pargmann
On Sat, Mar 07, 2015 at 06:24:09PM +, Jonathan Cameron wrote: On 03/03/15 07:58, Markus Pargmann wrote: Hi, This series adds a driver for the Freescale i.MX25 SoC internal ADC unit which is used for touchscreen and ADC. The driver consists of three parts, the MFD driver which

Re: [PATCH v7 1/8] ARM: dt: Binding documentation for imx25 ADC/TSC

2015-03-04 Thread Markus Pargmann
Hi, On Tue, Mar 03, 2015 at 10:02:12AM +0100, Arnd Bergmann wrote: On Tuesday 03 March 2015 08:58:11 Markus Pargmann wrote: +Example: + tscadc: tscadc@5003 { + compatible = fsl,imx25-tsadc; + reg = 0x5003 0xc; + interrupts = 46

[PATCH v7 0/8] imx25 adc and touchscreen driver

2015-03-02 Thread Markus Pargmann
: imx25: Add TSC and ADC support ARM: imx_v4_v5_defconfig: Add I.MX25 Touchscreen controller and ADC support. Markus Pargmann (6): ARM: dt: Binding documentation for imx25 ADC/TSC ARM: dt: Binding documentation for imx25 GCQ ARM: dt: Binding documentation for imx25 touchscreen controller

[PATCH v7 8/8] ARM: imx_v4_v5_defconfig: Add I.MX25 Touchscreen controller and ADC support.

2015-03-02 Thread Markus Pargmann
From: Denis Carikli de...@eukrea.com Signed-off-by: Denis Carikli de...@eukrea.com Signed-off-by: Markus Pargmann m...@pengutronix.de --- arch/arm/configs/imx_v4_v5_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/imx_v4_v5_defconfig b/arch/arm/configs

[PATCH v7 5/8] iio: adc: fsl,imx25-gcq driver

2015-03-02 Thread Markus Pargmann
for the chosen channel. It then executes the queue once and disables the conversion queue afterwards. The reference voltages are configurable through devicetree subnodes, depending on the connections of the ADC inputs. Signed-off-by: Markus Pargmann m...@pengutronix.de Signed-off-by: Denis Carikli

[PATCH v7 2/8] ARM: dt: Binding documentation for imx25 GCQ

2015-03-02 Thread Markus Pargmann
The documentation describes the bindings for the imx25 GCQ unit which is essentially a generic conversion queue using the imx25 ADC. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Notes: Changes in v6: - Changed bindings to use adc-refp and adc-refn. Also a bit of cleanup

[PATCH v7 7/8] ARM: dts: imx25: Add TSC and ADC support

2015-03-02 Thread Markus Pargmann
From: Denis Carikli de...@eukrea.com Signed-off-by: Denis Carikli de...@eukrea.com Signed-off-by: Markus Pargmann m...@pengutronix.de --- arch/arm/boot/dts/imx25.dtsi | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx25.dtsi

[PATCH v7 4/8] mfd: fsl imx25 Touchscreen ADC driver

2015-03-02 Thread Markus Pargmann
the central components and registers of the TSC/ADC unit. It manages the IRQs and forwards them to the correct components. Signed-off-by: Markus Pargmann m...@pengutronix.de Signed-off-by: Denis Carikli de...@eukrea.com Acked-by: Jonathan Cameron ji...@kernel.org --- Notes: Changes in v7

[PATCH v7 1/8] ARM: dt: Binding documentation for imx25 ADC/TSC

2015-03-02 Thread Markus Pargmann
This documentation describes the devicetree bindings for the ADC/Touchscreen unit of the i.MX25 SoC. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Notes: Changes in v6: - Removed adc-ref property and replaced it with refp and refn for positive and negative references

[PATCH v7 6/8] input: touchscreen: imx25 tcq driver

2015-03-02 Thread Markus Pargmann
, precharge and another touch detection. This driver uses the regmap from the parent to setup some touch specific settings in the core driver and setup a idle configuration with touch detection. Signed-off-by: Markus Pargmann m...@pengutronix.de Signed-off-by: Denis Carikli de...@eukrea.com Acked

[PATCH v7 3/8] ARM: dt: Binding documentation for imx25 touchscreen controller

2015-03-02 Thread Markus Pargmann
This is the touchscreen conversion queue binding documentation. It uses the shared imx25 ADC. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Notes: Changes in v5: - Fix signed/unsigned comparison - Fix unused variable settling_time by putting it in the correct argument

Re: [PATCH v5 1/6] mfd: fsl imx25 Touchscreen ADC driver

2015-03-02 Thread Markus Pargmann
Hi, On Tue, Feb 17, 2015 at 08:14:38PM +0100, Uwe Kleine-König wrote: Hello Markus, On Sat, Jan 24, 2015 at 03:01:38PM +0100, Markus Pargmann wrote: +config MFD_MX25_TSADC + tristate Freescale i.MX25 integrated Touchscreen and ADC unit + select REGMAP_MMIO + depends on SOC_IMX25

Re: [PATCH v5 1/6] mfd: fsl imx25 Touchscreen ADC driver

2015-02-26 Thread Markus Pargmann
On Wed, Feb 18, 2015 at 12:08:44PM +, Lee Jones wrote: On Wed, 18 Feb 2015, Fabio Estevam wrote: On Wed, Feb 18, 2015 at 6:01 AM, Lee Jones lee.jo...@linaro.org wrote: On Tue, 17 Feb 2015, Fabio Estevam wrote: On Mon, Feb 16, 2015 at 11:38 AM, Lee Jones lee.jo...@linaro.org

Re: [PATCH v6 5/8] iio: adc: fsl,imx25-gcq driver

2015-02-26 Thread Markus Pargmann
Hi, On Wed, Feb 04, 2015 at 04:48:35PM +, Jonathan Cameron wrote: On 29/01/15 14:09, Markus Pargmann wrote: This is a conversion queue driver for the mx25 SoC. It uses the central ADC which is used by two seperate independent queues. This driver prepares different conversion

Re: [PATCH v6 6/8] input: touchscreen: imx25 tcq driver

2015-02-26 Thread Markus Pargmann
Hi, On Mon, Feb 02, 2015 at 09:51:34AM -0800, Dmitry Torokhov wrote: On Mon, Feb 02, 2015 at 05:05:39PM +0100, Markus Pargmann wrote: Hi, On Fri, Jan 30, 2015 at 10:57:21AM -0800, Dmitry Torokhov wrote: On Thu, Jan 29, 2015 at 07:56:40PM +0530, Varka Bhadram wrote: Hi

Re: [PATCH v6 6/8] input: touchscreen: imx25 tcq driver

2015-02-02 Thread Markus Pargmann
Hi, On Fri, Jan 30, 2015 at 10:57:21AM -0800, Dmitry Torokhov wrote: On Thu, Jan 29, 2015 at 07:56:40PM +0530, Varka Bhadram wrote: Hi, On Thursday 29 January 2015 07:39 PM, Markus Pargmann wrote: This is a driver for the imx25 ADC/TSC module. It controls the touchscreen conversion

Re: [PATCH v6 5/8] iio: adc: fsl,imx25-gcq driver

2015-01-30 Thread Markus Pargmann
Hi, On Thu, Jan 29, 2015 at 08:00:49PM +0530, Varka Bhadram wrote: Hi, On Thursday 29 January 2015 07:39 PM, Markus Pargmann wrote: This is a conversion queue driver for the mx25 SoC. It uses the central ADC which is used by two seperate independent queues. This driver prepares different

Re: [PATCH v5 3/6] iio: adc: fsl,imx25-gcq driver

2015-01-29 Thread Markus Pargmann
On Tue, Jan 27, 2015 at 08:30:56PM +, Jonathan Cameron wrote: On 24/01/15 14:01, Markus Pargmann wrote: This is a conversion queue driver for the mx25 SoC. It uses the central ADC which is used by two seperate independent queues. This driver prepares different conversion configurations

[PATCH v6 7/8] ARM: dts: imx25: Add TSC and ADC support

2015-01-29 Thread Markus Pargmann
From: Denis Carikli de...@eukrea.com Signed-off-by: Denis Carikli de...@eukrea.com Signed-off-by: Markus Pargmann m...@pengutronix.de --- arch/arm/boot/dts/imx25.dtsi | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx25.dtsi

  1   2   3   >