Re: [PATCH v3] media: radio: Critical interrupt bugfix for si470x over i2c

2018-02-26 Thread Hans Verkuil
On 02/27/2018 12:39 AM, Douglas Fischer wrote: > Hans, > > See comments below. Thank you for the quick response on this and all > your patience and help in general with these patches. My pleasure! > > On Mon, 26 Feb 2018 12:57:26 +0100 > Hans Verkuil wrote: > >> On 02/26/2018 03:27 AM, Dougla

Re: [PATCH v2] Staging: bcm2048: Fix function argument alignment in radio-bcm2048.c.

2018-02-26 Thread Hans Verkuil
On 02/27/2018 02:53 AM, Quytelda Kahja wrote: > Hans, > > Thank you very much for your input on the patch; however this patch > has already been applied to the staging tree. Additionally: I have no record of this being applied through linux-media. Did someone else pick this up? Greg perhaps? >>

Re: [PATCH v8 2/2] media: V3s: Add support for Allwinner CSI.

2018-02-26 Thread Maxime Ripard
On Tue, Feb 27, 2018 at 10:12:46AM +0800, Yong Deng wrote: > Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2 > interface and CSI1 is used for parallel interface. This is not > documented in datasheet but by test and guess. > > This patch implement a v4l2 framework driver for

[PATCH v4 1/2] media: dt-bindings: Add bindings for panasonic,amg88xx

2018-02-26 Thread Matt Ranostay
Define the device tree bindings for the panasonic,amg88xx i2c video driver. Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Matt Ranostay --- .../bindings/media/i2c/panasonic,amg88xx.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Docum

[PATCH v4 2/2] media: video-i2c: add video-i2c driver

2018-02-26 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Luca Barbato Cc: Laurent Pinchart Signed-off-by: Matt Ranostay --- MAINTAINERS | 6 + drivers/

[PATCH v4 0/2] media: video-i2c: add video-i2c driver support

2018-02-26 Thread Matt Ranostay
Add support for video-i2c polling driver Changes from v1: * Switch to SPDX tags versus GPLv2 license text * Remove unneeded zeroing of data structures * Add video_i2c_try_fmt_vid_cap call in video_i2c_s_fmt_vid_cap function Changes from v2: * Add missing linux/kthread.h include that broke x86_64

cron job: media_tree daily build: ERRORS

2018-02-26 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Tue Feb 27 05:00:15 CET 2018 media-tree git hash:15ea2df9143729a2b722d4ca2b52cfa14a819d8e media_build git

[PATCH v8 2/2] media: V3s: Add support for Allwinner CSI.

2018-02-26 Thread Yong Deng
Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2 interface and CSI1 is used for parallel interface. This is not documented in datasheet but by test and guess. This patch implement a v4l2 framework driver for it. Currently, the driver only support the parallel interface. MIPI

[PATCH v8 1/2] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2018-02-26 Thread Yong Deng
Add binding documentation for Allwinner V3s CSI. Acked-by: Maxime Ripard Acked-by: Sakari Ailus Reviewed-by: Rob Herring Signed-off-by: Yong Deng --- .../devicetree/bindings/media/sun6i-csi.txt| 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentat

[PATCH v8 0/2] Initial Allwinner V3s CSI Support

2018-02-26 Thread Yong Deng
This patchset add initial support for Allwinner V3s CSI. Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2 interface and CSI1 is used for parallel interface. This is not documented in datasheet but by test and guess. This patchset implement a v4l2 framework driver and add a b

Re: [PATCH v2] Staging: bcm2048: Fix function argument alignment in radio-bcm2048.c.

2018-02-26 Thread Quytelda Kahja
Hans, Thank you very much for your input on the patch; however this patch has already been applied to the staging tree. Additionally: > What coding style problem? You should give a short description of > what you are fixing. The subject of the patch (which becomes the subject of the email when u

Re: [PATCH v7 2/2] media: V3s: Add support for Allwinner CSI.

2018-02-26 Thread Yong
Hi, On Mon, 26 Feb 2018 12:06:37 +0100 Hans Verkuil wrote: > Hi all, > > On 01/30/2018 03:48 AM, Yong wrote: > > Hi, > > > > On Mon, 29 Jan 2018 13:49:14 -0800 > > Randy Dunlap wrote: > > > >> On 01/29/2018 01:21 AM, Yong Deng wrote: > >>> Allwinner V3s SoC features two CSI module. CSI0 is u

Re: [PATCH v3] media: radio: Critical interrupt bugfix for si470x over i2c

2018-02-26 Thread Douglas Fischer
Hans, See comments below. Thank you for the quick response on this and all your patience and help in general with these patches. On Mon, 26 Feb 2018 12:57:26 +0100 Hans Verkuil wrote: > On 02/26/2018 03:27 AM, Douglas Fischer wrote: > > Fixed si470x_start() disabling the interrupt signal, causi

[PATCH v3] media: radio: Critical v4l2 registration bugfix for si470x over i2c

2018-02-26 Thread Douglas Fischer
Added the call to v4l2_device_register() required to add a new radio device. Without this patch, it is impossible for the driver to load. This does not affect USB devices. Fixed cleanup order from v2. Signed-off-by: Douglas Fischer --- diff -uprN linux.orig/drivers/media/radio/si470x/radio-si47

[PATCH 13/15] v4l: vsp1: Assign BRU and BRS to pipelines dynamically

2018-02-26 Thread Laurent Pinchart
The VSPDL variant drives two DU channels through two LIF and two blenders, BRU and BRS. The DU channels thus share the five available VSPDL inputs and expose them as five KMS planes. The current implementation assigns the BRS to the second LIF and thus artificially limits the number of planes for

[PATCH 03/15] v4l: vsp1: Remove unused field from vsp1_drm_pipeline structure

2018-02-26 Thread Laurent Pinchart
The vsp1_drm_pipeline enabled field is set but never used. Remove it. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drm.c | 4 drivers/media/platform/vsp1/vsp1_drm.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/drivers/media/platform/vsp1/vsp1_drm.c b/driver

[PATCH 10/15] v4l: vsp1: Move DRM pipeline output setup code to a function

2018-02-26 Thread Laurent Pinchart
In order to make the vsp1_du_setup_lif() easier to read, and for symmetry with the DRM pipeline input setup, move the pipeline output setup code to a separate function. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drm.c | 107 +++-- 1 file chan

[PATCH 06/15] v4l: vsp1: Share duplicated DRM pipeline configuration code

2018-02-26 Thread Laurent Pinchart
Move the duplicated DRM pipeline configuration code to a function and call it from vsp1_du_setup_lif() and vsp1_du_atomic_flush(). Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drm.c | 95 +++--- 1 file changed, 43 insertions(+), 52 deletions(-)

[PATCH 12/15] v4l: vsp1: Generalize detection of entity removal from DRM pipeline

2018-02-26 Thread Laurent Pinchart
When disabling a DRM plane, the corresponding RPF is only marked as removed from the pipeline in the atomic update handler, with the actual removal happening when configuring the pipeline at atomic commit time. This is required as the RPF has to be disabled in the hardware, which can't be done from

[PATCH 15/15] v4l: vsp1: Rename BRU to BRx

2018-02-26 Thread Laurent Pinchart
Some VSP instances have two blending units named BRU (Blend/ROP Unit) and BRS (Blend/ROP Sub unit). The BRS is a smaller version of the BRU with only two inputs, but otherwise offers similar features and offers the same register interface. The BRU and BRS can be used exchangeably in VSP pipelines (

[PATCH 04/15] v4l: vsp1: Store pipeline pointer in vsp1_entity

2018-02-26 Thread Laurent Pinchart
Various types of objects subclassing vsp1_entity currently store a pointer to the pipeline. Move the pointer to vsp1_entity to simplify the code and avoid storing the pipeline in more entity subclasses later. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drm.c| 20

[PATCH 02/15] v4l: vsp1: Remove outdated comment

2018-02-26 Thread Laurent Pinchart
The entities in the pipeline are all started when the LIF is setup. Remove the outdated comment that state otherwise. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drm.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/media/platform/vsp1/vs

[PATCH 08/15] v4l: vsp1: Setup BRU at atomic commit time

2018-02-26 Thread Laurent Pinchart
To implement fully dynamic plane assignment to pipelines, we need to reassign the BRU and BRS to the DRM pipelines in the atomic commit handler. In preparation for this setup factor out the BRU source pad code and call it both at LIF setup and atomic commit time. Signed-off-by: Laurent Pinchart -

[PATCH 09/15] v4l: vsp1: Replace manual DRM pipeline input setup in vsp1_du_setup_lif

2018-02-26 Thread Laurent Pinchart
The vsp1_du_setup_lif() function setups the DRM pipeline input manually. This duplicates the code from the vsp1_du_pipeline_setup_input() function. Replace the manual implementation by a call to the function. As the pipeline has no enabled input in vsp1_du_setup_lif(), the vsp1_du_pipeline_setup_i

[PATCH 00/15] R-Car VSP1: Dynamically assign blend units to display pipelines

2018-02-26 Thread Laurent Pinchart
Hello, On R-Car H3 ES2.0+ and M3-N SoCs, two display pipelines are served by the same VSP instance (named VSPDL). The VSPDL includes two blending units named BRU and BRS, unlike the other display-related VSPD that serves a single display channel with a single blending unit. The VSPDL has five inp

[PATCH 11/15] v4l: vsp1: Add per-display list completion notification support

2018-02-26 Thread Laurent Pinchart
Display list completion is already reported to the frame end handler, but that mechanism is global to all display lists. In order to implement BRU and BRS reassignment in DRM pipelines we will need to wait for completion of a particular display list. Extend the display list and frame end handler AP

[PATCH 14/15] v4l: vsp1: Add BRx dynamic assignment debugging messages

2018-02-26 Thread Laurent Pinchart
Dynamic assignment of the BRU and BRS to pipelines is prone to regressions, add messages to make debugging easier. Keep it as a separate commit to ease removal of those messages once the code will deem to be completely stable. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_

[PATCH 07/15] v4l: vsp1: Move DRM atomic commit pipeline setup to separate function

2018-02-26 Thread Laurent Pinchart
The DRM pipeline setup code used at atomic commit time is similar to the setup code used when enabling the pipeline. Move it to a separate function in order to share it. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_drm.c | 347 + 1 file cha

[PATCH 01/15] v4l: vsp1: Don't start/stop media pipeline for DRM

2018-02-26 Thread Laurent Pinchart
The DRM support code manages a pipeline of VSP entities, each backed by a media entity. When starting or stopping the pipeline, it starts and stops the media pipeline through the media API in order to store the pipeline pointer in every entity. The driver doesn't use the pipe pointer in media enti

[PATCH 05/15] v4l: vsp1: Use vsp1_entity.pipe to check if entity belongs to a pipeline

2018-02-26 Thread Laurent Pinchart
The DRM pipeline handling code uses the entity's pipe list head to check whether the entity is already included in a pipeline. This method is a bit fragile in the sense that it uses list_empty() on a list_head that is a list member. Replace it by a simpler check for the entity pipe pointer. Signed

[PATCH] media: platform: Drop OF dependency of VIDEO_RENESAS_VSP1

2018-02-26 Thread Geert Uytterhoeven
VIDEO_RENESAS_VSP1 depends on ARCH_RENESAS && OF. As ARCH_RENESAS implies OF, the latter can be dropped. Signed-off-by: Geert Uytterhoeven --- drivers/media/platform/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/Kconfig b/drivers/media/platfor

[ragnatech:media-tree] BUILD SUCCESS 52e17089d1850774d2ef583cdef2b060b84fca8c

2018-02-26 Thread kbuild test robot
tree/branch: git://git.ragnatech.se/linux media-tree branch HEAD: 52e17089d1850774d2ef583cdef2b060b84fca8c media: imx: Don't initialize vars that won't be used elapsed time: 203m configs tested: 133 The following configs have been built successfully. More configs may be tested in the coming d

[PATCH] media: vb2: Makefile: place vb2-trace together with vb2-core

2018-02-26 Thread Mauro Carvalho Chehab
We don't want a separate module for vb2-trace. That fixes this warning: WARNING: modpost: missing MODULE_LICENSE() in drivers/media/common/videobuf2/vb2-trace.o When building as module. While here, add a SPDX header. Reported-by: Stephen Rothwell Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH V2 1/2] [media] Add Rockchip RK1608 driver

2018-02-26 Thread Heiko Stuebner
Hi Linus, thanks for catching these things :-) . Am Montag, 26. Februar 2018, 11:12:30 CET schrieb Linus Walleij: > On Mon, Feb 26, 2018 at 9:16 AM, Wen Nuan wrote: > > + pdata->grf_gpio2b_iomux = ioremap((resource_size_t) > > + (GRF_

Re: [PATCHv4 06/15] subdev-formats.rst: fix incorrect types

2018-02-26 Thread Mauro Carvalho Chehab
Hi Hans, Em Wed, 21 Feb 2018 16:32:09 +0100 Hans Verkuil escreveu: > The ycbcr_enc, quantization and xfer_func fields are __u16 and not enums. > > Signed-off-by: Hans Verkuil > Acked-by: Sakari Ailus Thanks for your patch. I have one comment about it, though. See below. > --- > Documentati

[GIT PULL FOR v4.17] Various fixes

2018-02-26 Thread Hans Verkuil
The following changes since commit 52e17089d1850774d2ef583cdef2b060b84fca8c: media: imx: Don't initialize vars that won't be used (2018-02-26 08:38:57 -0500) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git for-v4.17b for you to fetch changes up to c35d71cf

[PATCH 2/2] media: tw9910: solve coding style issues

2018-02-26 Thread Mauro Carvalho Chehab
As we're adding this as a new driver, make checkpatch happier by solving several style issues, using --fix-inplace at strict mode. Some issues required manual work. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/i2c/tw9910.c | 32 1 file changed, 16 inse

[PATCH 1/2] media: ov772x: fix whitespace issues

2018-02-26 Thread Mauro Carvalho Chehab
As we're adding this as a new driver, make checkpatch happier by solving some whitespace issues, using --fix-inplace. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/i2c/ov772x.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/media/i2c/ov7

Re: [PATCH v3 05/10] pwm: add PWM mode to pwm_config()

2018-02-26 Thread Claudiu Beznea
On 26.02.2018 11:57, Jani Nikula wrote: > On Thu, 22 Feb 2018, Daniel Thompson wrote: >> On Thu, Feb 22, 2018 at 02:01:16PM +0200, Claudiu Beznea wrote: >>> Add PWM mode to pwm_config() function. The drivers which uses pwm_config() >>> were adapted to this change. >>> >>> Signed-off-by: Claudiu

[PATCH 2/2] media: ov5695: mark PM functions as __maybe_unused

2018-02-26 Thread Arnd Bergmann
Without CONFIG_PM, we get a harmless build warning: drivers/media/i2c/ov2685.c:516:12: error: 'ov2685_runtime_suspend' defined but not used [-Werror=unused-function] static int ov2685_runtime_suspend(struct device *dev) ^~ drivers/media/i2c/ov2685.c:507:12: error:

[PATCH 1/2] media: ov5695: mark PM functions as __maybe_unused

2018-02-26 Thread Arnd Bergmann
Without CONFIG_PM, we get a harmless build warning: drivers/media/i2c/ov5695.c:1033:12: error: 'ov5695_runtime_suspend' defined but not used [-Werror=unused-function] static int ov5695_runtime_suspend(struct device *dev) ^~ drivers/media/i2c/ov5695.c:1024:12: erro

Re: [PATCH] media: stm32-dcmi: add JPEG support

2018-02-26 Thread Hans Verkuil
On 02/22/2018 10:51 AM, Hugues Fruchet wrote: > Add DCMI JPEG support. Does this patch depend on the 'fix lock scheme' patch? It looks good to me except for one small thing (see below), but I think this depends on the 'fix lock scheme' patch, right? > > Signed-off-by: Hugues Fruchet > --- > d

Re: [PATCH 1/2] usbtv: Use same decoder sequence as Windows driver

2018-02-26 Thread Hans Verkuil
Hi Hugo, Thanks for this patch, but I am a bit hesitant to apply it. Did you test that PAL and NTSC still work after this change? Unless you've tested it then I'm inclined to just apply the second patch that adds the SECAM sequence. Regards, Hans On 02/24/2018 07:24 PM, Hugo Grostabuss

Re: [PATCH v2] media: stm32-dcmi: fix lock scheme

2018-02-26 Thread Hans Verkuil
On 02/22/2018 10:49 AM, Hugues Fruchet wrote: > Fix lock scheme leading to spurious freeze. Can you elaborate a bit more? It's hard to review since you don't describe what was wrong and why this fixes the problem. Regards, Hans > > Signed-off-by: Hugues Fruchet > --- > version 2: >

Re: [PATCH v2] Staging: bcm2048: Fix function argument alignment in radio-bcm2048.c.

2018-02-26 Thread Hans Verkuil
On 02/20/2018 07:53 AM, Quytelda Kahja wrote: > Fix a coding style problem. What coding style problem? You should give a short description of what you are fixing. > > Signed-off-by: Quytelda Kahja > --- > This is the patch without the unnecessary fixes for line length. > > drivers/staging/med

[PATCH 2/3] media: tvp541x: fix some kernel-doc parameters

2018-02-26 Thread Mauro Carvalho Chehab
Solve the following warnings: + drivers/media/i2c/tvp514x.c: warning: Excess function parameter 'a' description in 'tvp514x_g_frame_interval': => 759 + drivers/media/i2c/tvp514x.c: warning: Excess function parameter 'a' description in 'tvp514x_s_frame_interval': => 784 + drivers/media/i2c

[PATCH 3/3] media: imx: Don't initialize vars that won't be used

2018-02-26 Thread Mauro Carvalho Chehab
As reported by gcc: + drivers/staging/media/imx/imx-media-csi.c: warning: variable 'input_fi' set but not used [-Wunused-but-set-variable]: => 671:33 + drivers/staging/media/imx/imx-media-csi.c: warning: variable 'pinctrl' set but not used [-Wunused-but-set-variable]: => 1742:18 input_fi

[PATCH 1/3] media: ov7740: remove an unused var

2018-02-26 Thread Mauro Carvalho Chehab
Fix this warning regression: drivers/media/i2c/ov7740.c: warning: variable 'ret' set but not used [-Wunused-but-set-variable]: => 276:6 Signed-off-by: Mauro Carvalho Chehab --- drivers/media/i2c/ov7740.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/o

Re: [PATCH v3] media: radio: Critical interrupt bugfix for si470x over i2c

2018-02-26 Thread Hans Verkuil
On 02/26/2018 03:27 AM, Douglas Fischer wrote: > Fixed si470x_start() disabling the interrupt signal, causing tune > operations to never complete. This does not affect USB radios > because they poll the registers instead of using the IRQ line. > > Stylistic and comment changes from v2. > > Signed

Re: [PATCH v3] media: video-i2c: add video-i2c driver

2018-02-26 Thread Hans Verkuil
On 02/24/2018 12:05 PM, Matt Ranostay wrote: > There are several thermal sensors that only have a low-speed bus > interface but output valid video data. This patchset enables support > for the AMG88xx "Grid-Eye" sensor family. > > Cc: Luca Barbato > Cc: Laurent Pinchart > Signed-off-by: Matt Ran

Re: [PATCH 12/13] media: img-ir: Drop METAG dependency

2018-02-26 Thread Sean Young
On Wed, Feb 21, 2018 at 11:38:24PM +, James Hogan wrote: > Now that arch/metag/ has been removed, remove the METAG dependency from > the IMG IR device driver. The hardware is also present on MIPS SoCs so > the driver still has value. > > Signed-off-by: James Hogan > Cc: Mauro Carvalho Chehab

Re: [PATCH v3] media: radio: Critical v4l2 registration bugfix for si470x over i2c

2018-02-26 Thread Hans Verkuil
On 02/26/2018 03:25 AM, Douglas Fischer wrote: > Added the call to v4l2_device_register() required to add a new radio > device. Without this patch, it is impossible for the driver to load. > This does not affect USB devices. > > Fixed cleanup order from v2. > > Signed-off-by: Douglas Fischer > -

Re: [PATCH v7 2/2] media: V3s: Add support for Allwinner CSI.

2018-02-26 Thread Hans Verkuil
Hi all, On 01/30/2018 03:48 AM, Yong wrote: > Hi, > > On Mon, 29 Jan 2018 13:49:14 -0800 > Randy Dunlap wrote: > >> On 01/29/2018 01:21 AM, Yong Deng wrote: >>> Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2 >>> interface and CSI1 is used for parallel interface. This is

Re: [PATCH V2 2/2] dt-bindings: Document the Rockchip RK1608 bindings

2018-02-26 Thread Linus Walleij
On Mon, Feb 26, 2018 at 9:25 AM, Wen Nuan wrote: > From: Leo Wen > > Add DT bindings documentation for Rockchip RK1608. > > Changes V2: > - Delete spi-min-frequency property. > - Add the external sensor's control pin and clock properties. > - Delete the '&pinctrl' node. > > Signed-off-by: Leo We

Re: [PATCH V2 1/2] [media] Add Rockchip RK1608 driver

2018-02-26 Thread Linus Walleij
On Mon, Feb 26, 2018 at 9:16 AM, Wen Nuan wrote: > +#include Please do not use this old API in new drivers. Just use GPIO descriptors and only #include There is documentation in Documentation/gpio/consumer.txt > +static int rk1608_pin_power(struct rk1608_state *pdata, int on) > +{ > +

Re: [PATCH v3 05/10] pwm: add PWM mode to pwm_config()

2018-02-26 Thread Jani Nikula
On Thu, 22 Feb 2018, Daniel Thompson wrote: > On Thu, Feb 22, 2018 at 02:01:16PM +0200, Claudiu Beznea wrote: >> Add PWM mode to pwm_config() function. The drivers which uses pwm_config() >> were adapted to this change. >> >> Signed-off-by: Claudiu Beznea >> --- >> arch/arm/mach-s3c24xx/mach-rx

Re: [PATCH V2 1/2] [media] Add Rockchip RK1608 driver

2018-02-26 Thread Hans Verkuil
Hi Leo, Thank you for this patch series! Here is a quick review of this driver: On 02/26/2018 09:16 AM, Wen Nuan wrote: > From: Leo Wen > > Rk1608 is used as a PreISP to link on Soc, which mainly has two functions. > One is to download the firmware of RK1608, and the other is to match the > ex

[PATCH 1/6] cec: add core error injection support

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil Add two new ops (error_inj_show and error_inj_parse_line) to support error injection functionality for CEC adapters. If both are present, then the core will add a new error-inj debugfs file that can be used to see the current error injection commands and to set error injection

[PATCH 5/6] cec-pin: add error injection support

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil Implement all the error injection commands. The state machine gets new states for the various error situations, helper functions are added to detect whether an error injection is active and the actual error injections are implemented. Signed-off-by: Hans Verkuil --- drivers

[PATCH 2/6] cec-core.rst: document the error injection ops.

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil Document the new core error injection callbacks. Signed-off-by: Hans Verkuil --- Documentation/media/kapi/cec-core.rst | 72 ++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/Documentation/media/kapi/cec-core.rst b/Documentati

[PATCH 3/6] cec-pin: create cec_pin_start_timer() function

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil This function will be needed for injecting a custom pulse. Signed-off-by: Hans Verkuil --- drivers/media/cec/cec-pin-priv.h | 2 ++ drivers/media/cec/cec-pin.c | 21 + 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/drivers/media/cec

[PATCH 6/6] cec-pin-error-inj.rst: document CEC Pin Error Injection

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil The CEC Pin framework adds support for Error Injection. Document all the error injections commands and how to use it. Signed-off-by: Hans Verkuil --- .../media/cec-drivers/cec-pin-error-inj.rst| 321 + Documentation/media/cec-drivers/index.rst

[PATCH 0/6] cec: add error injection support

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil This patch series adds support for CEC error injection for drivers using the CEC Pin Framework (cec-pin.c). There are two CEC drivers currently using this framework: the sun4i Allwinner A10/A20 driver and the cec-gpio driver. This patch series was developed with the cec-gpio dr

[PATCH 4/6] cec-pin-error-inj: parse/show error injection

2018-02-26 Thread Hans Verkuil
From: Hans Verkuil Add support to the CEC Pin framework to parse error injection commands and to show them. The next patch will do the actual implementation of this. Signed-off-by: Hans Verkuil --- drivers/media/cec/Kconfig | 6 + drivers/media/cec/Makefile| 4 + d

[PATCH V2 2/2] dt-bindings: Document the Rockchip RK1608 bindings

2018-02-26 Thread Wen Nuan
From: Leo Wen Add DT bindings documentation for Rockchip RK1608. Changes V2: - Delete spi-min-frequency property. - Add the external sensor's control pin and clock properties. - Delete the '&pinctrl' node. Signed-off-by: Leo Wen --- Documentation/devicetree/bindings/media/rk1608.txt | 97

[PATCH V2 1/2] [media] Add Rockchip RK1608 driver

2018-02-26 Thread Wen Nuan
From: Leo Wen Rk1608 is used as a PreISP to link on Soc, which mainly has two functions. One is to download the firmware of RK1608, and the other is to match the extra sensor such as camera and enable sensor by calling sensor's s_power. use below v4l2-ctl command to capture frames. v4l2-ctl

[PATCH V2 0/2] Rockchip: Add RK1608 driver and DT-bindings

2018-02-26 Thread Wen Nuan
From: Leo Wen You can use the v4l2-ctl command to capture frames for RK1608. Add DT-bindings documentation for Rockchip RK1608. Add the information of the MAINTAINERS. Leo Wen (2): [media] Add Rockchip RK1608 driver dt-bindings: Document the Rockchip RK1608 bindings Documentation/devicetre

Re: [PATCH v3 01/10] pwm: extend PWM framework with PWM modes

2018-02-26 Thread Claudiu Beznea
I'll rebase it on latest for-next in next version. Thank you, Claudiu Beznea On 24.02.2018 22:49, kbuild test robot wrote: > Hi Claudiu, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on pwm/for-next] > [also build test WARNING on v4.16-rc2 next-20180223