Re: [PATCH 10/20] gpio: pca953x: Add optional reset gpio control

2016-12-29 Thread Lothar Waßmann
> + /* bring chip out of reset */ > + dev_info(&client->dev, "releasing reset\n"); > + gpiod_set_value(chip->reset_gpio, 0); > The pin is already initialized to the inactive state thru the GPIOD_OUT_LOW flag in devm_gpiod_get_optional(), so this call to gpiod_set_value() is useless. Lothar Waßmann ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v12][ 06/12] ARM: dts: imx5*, imx6*: correct display-timings nodes.

2014-04-08 Thread Lothar Waßmann
-active = <0>; > > de-active = <1>; > > - pixelclk-active = <1>; > > + pixelclk-active = <0>; > > @Lothar, is this change correct? > No, the ET

Re: [PATCH 08/12] imx-drm: Use drm_display_mode timings flags.

2014-03-18 Thread Lothar Waßmann
& DRM_MODE_FLAG_POL_DE_POSEDGE) > + sig_cfg.clk_pol = CLK_POL_ACTIVE_HIGH; > + else if (mode->private_flags & DRM_MODE_FLAG_POL_DE_NEGEDGE) > + sig_cfg.clk_pol = CLK_POL_ACTIVE_LOW; > + else if (mod

Re: [PATCH 07/12] drm: drm_display_mode: add signal polarity flags

2014-03-18 Thread Lothar Waßmann
Hi, Laurent Pinchart wrote: > Hi Lothar, > > On Tuesday 18 March 2014 08:50:30 Lothar Waßmann wrote: > > Laurent Pinchart wrote: > > > On Monday 17 March 2014 16:14:36 Lothar Waßmann wrote: > > > > Laurent Pinchart wrote: > > > > > O

Re: [PATCH 07/12] drm: drm_display_mode: add signal polarity flags

2014-03-18 Thread Lothar Waßmann
Hi, Laurent Pinchart wrote: > Hi Lothar, > > On Monday 17 March 2014 16:14:36 Lothar Waßmann wrote: > > Laurent Pinchart wrote: > > > On Monday 17 March 2014 14:41:09 Andrzej Hajda wrote: > > > > On 03/13/2014 06:17 PM, Denis Carikli wrote: > > &

Re: [PATCH 07/12] drm: drm_display_mode: add signal polarity flags

2014-03-17 Thread Lothar Waßmann
; Possibly nitpicking, I wouldn't call the clock edge on which data signals are > generated/sampled "data polarity". This is clock polarity information. > > Have you seen cases where pixel data and DE are geenrated or need to be > sampled on different edges ? > DE is

Re: [PATCH v9][ 3/8] staging: imx-drm: Correct BGR666 and the board's dts that use them.

2014-03-12 Thread Lothar Waßmann
WIDTH_CH1_24) ? - V4L2_PIX_FMT_RGB24 : V4L2_PIX_FMT_BGR666; + V4L2_PIX_FMT_RGB24 : V4L2_PIX_FMT_RGB666; break; default: dev_err(ldb->dev, "unable to config di%d panel format\n&q

Re: [PATCH v9][ 6/8] staging: imx-drm: parallel display: add regulator support.

2014-03-07 Thread Lothar Waßmann
ulator device tree node if needed. > Any reason why this is named 'display-supply' rather than 'lcd-supply' like for imxfb? Lothar Waßmann -- ___ Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen Phon

Re: [PATCHv8][ 4/7] staging: imx-drm: Use de-active and pixelclk-active display-timings.

2014-03-05 Thread Lothar Waßmann
ster value in drivers/staging/imx-drm/ipu-v3/ipu-di.c: if (!(sig->clk_pol)) di_gen |= DI_GEN_POLARITY_DISP_CLK; IMO this should be if (sig->clk_pol) di_gen |= DI_GEN_POLARITY_DISP_CLK; Did you actually measure the resulting

Re: [PATCHv7][ 4/7] staging: imx-drm: Use de-active and pixelclk-active display-timings.

2014-02-21 Thread Lothar Waßmann
> +++ b/drivers/staging/imx-drm/imx-drm.h > @@ -5,6 +5,9 @@ > > #define IPU_PIX_FMT_GBR24v4l2_fourcc('G', 'B', 'R', '3') > > +#define IMXDRM_MODE_FLAG_DE_HIGH (1<<0) > +#define IMXDRM_MODE_FLAG_PIXDATA_

[PATCH] imx-drm: parallel-display: honor 'native-mode' property when selecting video mode from DT

2014-01-13 Thread Lothar Waßmann
e affected platforms. Signed-off-by: Lothar Waßmann --- drivers/staging/imx-drm/parallel-display.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/staging/imx-drm/parallel-display.c b/drivers/staging/imx-drm/parallel-display.c index 24aa9be..351d61d 100644 ---

Re: [PATCH 1/9] Staging/iio/adc/touchscreen/MXS: add proper clock handling

2013-09-23 Thread Lothar Waßmann
ev, NULL); > + clk_prepare_enable(lradc->clk); > + Wouldn't it make sense to enable the clock only when the device is opened to save power while not actually in use? Lothar Waßmann -- ___ Ka-Ro electronics GmbH | Pasc

Re: [PATCHv5] staging/iio/adc: change the MXS touchscreen driver implementation

2013-09-23 Thread Lothar Waßmann
On your TX28 platform the clock seems enabled and the delay unit can > do its job and drive the state machine. > The i.MX28 Ref Manual states in chapter 38.5.14 LRADC Scheduling Delay: | This counter operates on a 2KHz clock derived from crystal clock. Thus the clock should always

Re: [PATCHv5] staging/iio/adc: change the MXS touchscreen driver implementation

2013-09-23 Thread Lothar Waßmann
e very first touch detection does not work. A colleague just told > > me, we have an i.MX28 based hardware here and maybe a touchscreen from a > > different platform which maybe can be used with the i.MX28 platform. Stay > > tuned... > > I also found an MX28EVK with a tou

Re: [PATCHv5] staging/iio/adc: change the MXS touchscreen driver implementation

2013-09-23 Thread Lothar Waßmann
TX28 module and I could not find any problems. Lothar Waßmann -- ___ Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10 Geschäftsführer: Matthias Kaussen Handelsregistereintrag: Amtsgericht