Build failed in Jenkins: media-build #1203

2019-09-30 Thread Jenkins Builder Robot
See Changes: -- [...truncated 11.78 KB...] 5150K .. .. .. .. .. 84% 111M 0s 5200K .. .. .. .. .. 85% 71.

cron job: media_tree daily build: ERRORS

2019-09-30 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 Oct 1 05:00:11 CEST 2019 media-tree git hash:54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c media_build gi

[PATCH v4 2/3] cec-follower: add tuner step increment/decrement

2019-09-30 Thread Jiunn Chang
Tuner step increment/decrement will select the next highest or next lowest service frequency. There are a total of three possible frequencies given a broadcast type and system for a total of 81 analog channels. Opcodes implemented: - - Signed-off-by: Jiunn Chang --- utils/cec-follower/ce

[PATCH v4 1/3] cec-follower: fix bugs for tuner emulation

2019-09-30 Thread Jiunn Chang
Fix bugs for tuner emulation: - analog_tuner_init() needs to store ana_freq as multiples of 62.5 kHz - analog_set_tuner_dev_info() needs to check the broadcast type and broadcast system are valid before getting the nearest frequency Signed-off-by: Jiunn Chang --- utils/cec-follower/cec-t

[PATCH v4 3/3] cec-compliance: add tuner control test

2019-09-30 Thread Jiunn Chang
Add test for new features added to cec-follower. Analog tuner control test tuner_ctl_test(): - give analog tuner status - select tuner analog service - analog tuner step features Signed-off-by: Jiunn Chang --- utils/cec-compliance/cec-test.cpp | 91 +++ 1 file

[PATCH v4 0/3] cec-compliance: tuner control

2019-09-30 Thread Jiunn Chang
This patch series implements analog tuner step features and cec-compliance tests. Added tuner_ctl_test() to test new tuner features implemented in the cec-follower. --- changes made since v3: - Correct commit message for tuner emulation bug fix - Refactor analog_get_nearest_freq_idx() to re

[ras:edac-for-next] BUILD SUCCESS f05390d30e20cccd8f8de981dee42bcdd8d2d137

2019-09-30 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git edac-for-next branch HEAD: f05390d30e20cccd8f8de981dee42bcdd8d2d137 EDAC: skx_common: get rid of unused type var elapsed time: 168m configs tested: 86 The following configs have been built successfully. More configs may

[PATCH] edid-decode: Avoid division by zero

2019-09-30 Thread Breno Leitao
There are some weird monitors that returns invalid data, as zeroed Horizontal/Vertical Active/Blanking. This causes edid-decode to crash with a divsion by error exception. This simple patch avoids so, checking for the divisor before proceeding. Signed-off-by: Breno Leitao --- edid-decode.c | 11

Re: [PATCH] edid-decode: Avoid division by zero

2019-09-30 Thread Hans Verkuil
On 9/30/19 7:13 PM, Breno Leitao wrote: > There are some weird monitors that returns invalid data, as zeroed > Horizontal/Vertical Active/Blanking. > > This causes edid-decode to crash with a divsion by error exception. This > simple patch avoids so, checking for the divisor before proceeding. >

Re: [PATCH v3 3/3] cec-compliance: refactor tuner control tests

2019-09-30 Thread Hans Verkuil
On 9/30/19 6:30 AM, Jiunn Chang wrote: > Tests refactored for new features added to cec-collower. > > Analog tuner control tests combined into tuner_ctl_test(): > - give analog tuner status > - select tuner analog service > - analog tuner step features > > Signed-off-by: Jiunn Chang > ---

[PATCH v11 07/15] media: dt-bindings: tvp5150: Add input port connectors DT bindings

2019-09-30 Thread Marco Felsch
The TVP5150/1 decoders support different video input sources to their AIP1A/B pins. Possible configurations are as follows: - Analog Composite signal connected to AIP1A. - Analog Composite signal connected to AIP1B. - Analog S-Video Y (luminance) and C (chrominance) signals connected to

[PATCH v11 14/15] media: tvp5150: add support to limit sdtv standards

2019-09-30 Thread Marco Felsch
The tvp5150 accepts NTSC(M,J,4.43), PAL (B,D,G,H,I,M,N) and SECAM video data and is able to auto-detect the input signal. The auto-detection does not work if the connector does not receive an input signal and the tvp5150 might not be configured correctly. This misconfiguration leads into wrong deco

[PATCH v11 10/15] media: tvp5150: initialize subdev before parsing device tree

2019-09-30 Thread Marco Felsch
From: Michael Tretter There are several debug prints in the tvp5150_parse_dt() function, which do not print the prefix, because the v4l2_subdev is not initialized, yet. Initialize the v4l2_subdev before parsing the device tree to fix the debug messages. Signed-off-by: Michael Tretter Signed-of

[PATCH v11 02/15] media: v4l: link dt-bindings and uapi

2019-09-30 Thread Marco Felsch
Since we expose the definition to the dt-bindings we need to keep those definitions in sync. To address this the patch adds a simple cross reference to the dt-bindings. Signed-off-by: Marco Felsch --- Changelog: v11: - new patch since the split https://patchwork.linuxtv.org/patch/58491/ v2-v10:

[PATCH v11 09/15] media: tvp5150: add FORMAT_TRY support for get/set selection handlers

2019-09-30 Thread Marco Felsch
Since commit 10d5509c8d50 ("[media] v4l2: remove g/s_crop from video ops") the 'which' field for set/get_selection must be FORMAT_ACTIVE. There is no way to try different selections. The patch adds a helper function to select the correct selection memory space (sub-device file handle or driver stat

[PATCH v11 01/15] dt-bindings: connector: analog: add sdtv standards property

2019-09-30 Thread Marco Felsch
Some connectors no matter if in- or output supports only a limited range of sdtv standards. It doesn't matter if the hardware behind that connector supports more than the listed formats since the users are restriced by a label e.g. to plug only a camera into this connector which uses the PAL format

[PATCH v11 05/15] partial revert of "[media] tvp5150: add HW input connectors support"

2019-09-30 Thread Marco Felsch
From: Javier Martinez Canillas Commit f7b4b54e6364 ("[media] tvp5150: add HW input connectors support") added input signals support for the tvp5150, but the approach was found to be incorrect so the corresponding DT binding commit 82c2ffeb217a ("[media] tvp5150: document input connectors DT bindi

[PATCH v11 15/15] media: tvp5150: make debug output more readable

2019-09-30 Thread Marco Felsch
The debug output for tvp5150_selmux() isn't really intuitive. Register values are printed decimal formatted and the input/output driver states are printed as enum. Even more the "normal" output enum mapps to zero so a active output will printing output=0 and a inactive output=1. Change this by bri

[PATCH v11 03/15] media: v4l2-fwnode: add v4l2_fwnode_connector

2019-09-30 Thread Marco Felsch
Currently every driver needs to parse the connector endpoints by it self. This is the initial work to make this generic. A generic connector has common members and connector specific members. The common members are: - type - label (optional) - links - nr_of_links The specific members are s

[PATCH v11 04/15] media: v4l2-fwnode: add initial connector parsing support

2019-09-30 Thread Marco Felsch
The patch adds the initial connector parsing code, so we can move from a driver specific parsing code to a generic one. Currently only the generic fields and the analog-connector specific fields are parsed. Parsing the other connector specific fields can be added by a simple callbacks. Signed-off-

[PATCH v11 13/15] media: dt-bindings: tvp5150: add optional sdtv standards documentation

2019-09-30 Thread Marco Felsch
Document the optional binding to limit the possible sdtv standards on the input connectors. Signed-off-by: Marco Felsch Reviewed-by: Rob Herring v8: - adapt to new sdtv-standards - adapt commit message - fix missing include within example code --- .../devicetree/bindings/media/i2c/tvp5150.txt

[PATCH v11 08/15] media: tvp5150: fix set_selection rectangle handling

2019-09-30 Thread Marco Felsch
Currently a local copy of sel->r is made and adapted to the hardware constraints. After the adaption the value is applied to the hardware but the driver forgot to reflect the adapted value to the user space. Drop the local copy and work directly on the requested rectangle instead to fix this. Sig

[PATCH v11 00/15] TVP5150 Features and fixes

2019-09-30 Thread Marco Felsch
Hi, this "last-one"+1 addresses Hans comments made on my v10 [1]. The v11 addresses all checkpatch issues and some style issues found by Hans. Regards, Marco [1] https://patchwork.linuxtv.org/cover/58504/ Javier Martinez Canillas (1): partial revert of "[media] tvp5150: add HW input connect

[PATCH v11 12/15] media: dt-bindings: tvp5150: cleanup bindings stlye

2019-09-30 Thread Marco Felsch
Use underlines to highlight optional and required properties. This is quite common for all bindings. Align descriptions and start sentence with uppercase letter. Also reword the usage of the required endpoint properties for the output port in case BT.656 should be used. Signed-off-by: Marco Felsch

[PATCH v11 11/15] media: tvp5150: add s_power callback

2019-09-30 Thread Marco Felsch
Don't en-/disable the interrupts during s_stream because someone can disable the stream but wants to get informed if the stream is locked again. So keep the interrupts enabled the whole time the pipeline is opened. Signed-off-by: Marco Felsch --- drivers/media/i2c/tvp5150.c | 23

[PATCH v11 06/15] media: tvp5150: add input source selection of_graph support

2019-09-30 Thread Marco Felsch
This patch adds the of_graph support to describe the tvp input connections. Physical the TVP5150 has three ports: AIP1A, AIP1B and YOUT. As result of discussion [1],[2] the device-tree maps these ports 1:1. Look at the Documentation for more information. Since the TVP5150 is a converter/bridge the

Re: [PATCH v3 2/3] cec-follower: add tuner step increment/decrement

2019-09-30 Thread Hans Verkuil
On 9/30/19 6:30 AM, Jiunn Chang wrote: > Tuner step increment/decrement will select the next highest or next > lowest service frequency. There are a total of three possible > frequencies given a broadcast type and system for a total of 81 analog > channels. > > Opcodes implemented: > - > -

Re: [PATCH v3 1/3] cec-follower: fix bugs for tuner emulation

2019-09-30 Thread Hans Verkuil
Hi Jiunn, On 9/30/19 6:30 AM, Jiunn Chang wrote: > Fix some typos for tuner emulation: > - analog_tuner_init() store ana_freq in hex > - analog_get_nearest_freq() temp variable check The patch is fine, but this commit log is wrong. "store ana_freq in hex" is meaningless. What you mean is "st

[PATCH] media: rc: mark input device as pointing stick

2019-09-30 Thread Sean Young
libinput refuses pointer movement from rc-core, since it believes it's not a pointer-type device: libinput error: event17 - Media Center Ed. eHome Infrared Remote Transceiver (1784:0008): libinput bug: REL_X/Y from a non-pointer device Cc: sta...@vger.kernel.org # 4.20+ Signed-off-by: Sean Young

Re: [PATCH] media: i2c: ov5695: Modify the function of async register subdev related devices

2019-09-30 Thread Sakari Ailus
Hi Tomasz, Dongchun, (Removed randomly cc'd people from distribution.) On Sat, Sep 28, 2019 at 09:17:11PM +0900, Tomasz Figa wrote: > On Fri, Sep 27, 2019 at 4:18 PM Dongchun Zhu > wrote: > > > > This patch adds support for registering a sensor sub-device to the async > > sub-device framework