Re: [PATCH 1/2] dvbsky: add support for "Mygica T230C v2"

2019-07-08 Thread JP
On 7/8/19 12:04 PM, Sean Young wrote: Hallo Jan-Pieter, On 6/25/19 1:16 PM, Sean Young wrote: On Sun, Jun 16, 2019 at 02:39:29AM +0200, Jan Pieter van Woerkom wrote: From: Jan Pieter van Woerkom Adds support for the "Mygica T230C v2" into the "dvbsky" driver. A small enhancement is also

[PATCH v4 2/2] dvbsky: add support for "Mygica T230C v2"

2019-07-08 Thread Jan Pieter van Woerkom
From: Jan Pieter van Woerkom Adds support for the "Mygica T230C v2" into the "dvbsky" driver. Signed-off-by: Jan Pieter van Woerkom Tested-by: Frank Rysanek --- diff -ru a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c --- a/drivers/media/usb/dvb-usb-v2/dvbsky.c

[PATCH v4 2/1] dvbsky: add support for "Mygica T230C v2"

2019-07-08 Thread Jan Pieter van Woerkom
From: Jan Pieter van Woerkom Adds support for the "Mygica T230C v2" into the "dvbsky" driver. A small enhancement is also needed in the si2168 demodulator driver, and a USB device ID in dvb-usb-ids.h . This is v4 of the proposed patch, based on feedback from Sean Young and Antti Palosaari. Teste

Re: Linux 5.2 - vimc streaming fails with format error

2019-07-08 Thread Helen Koike
Hi Shuah, On 7/2/19 10:44 PM, shuah wrote: > On 5/23/19 9:07 AM, shuah wrote: >> Hi Hans and Helen, >> >> vimc streaming fails on Linux 5.2-rc1 >> >> vimc: format doesn't match in link Scaler->RGB/YUV Capture >> >> You can reproduce this easily with v4l2-ctl >> >> Streaming works fine on Linux 5.1

Re: [PATCH v2 1/2] media: dt-bindings: add bindings for Toshiba TC358746

2019-07-08 Thread Rob Herring
On Wed, Jun 19, 2019 at 05:28:37PM +0200, Marco Felsch wrote: > Add corresponding dt-bindings for the Toshiba tc358746 device and update > the MAINTAINERS file too. > > Signed-off-by: Marco Felsch > --- > Hi Rob, > > I droped your reviewed-by tag since there where several changes. > > Changes >

Re: [RFC] SW connection between DVB Transport Stream demuxer and I2C-based frontend

2019-07-08 Thread Peter Rosin
On 2019-07-08 13:08, Marc Gonzalez wrote: > Hello everyone, *snip* Focusing on #2... > PROBLEM #2 > > The tuner (si2157) is not on the i2c5 bus, instead it is on a private > i2c bus *behind* si2168, which routes requests to the proper client. > For the time being, I don't know how to model this

Re: [RFC] SW connection between DVB Transport Stream demuxer and I2C-based frontend

2019-07-08 Thread Enrico Weigelt, metux IT consult
On 08.07.19 17:03, Marc Gonzalez wrote: > One problem is that since the internal bus is "created" (declared?) at > run-time, > it doesn't seem possible to define it (or its client) in DT. Maybe declare it nested inside the si2168 device ? The driver then needs a piece of glue code for triggering

Re: [RFC] SW connection between DVB Transport Stream demuxer and I2C-based frontend

2019-07-08 Thread Marc Gonzalez
On 08/07/2019 13:08, Marc Gonzalez wrote: > PROBLEM #1 > > The media framework requires that the TSIF and demod be "tied" together, > by calling dvb_register_frontend(). If I do that in tsif.c, then I need to > get the frontend pointer from the demod at some point. There is no such > callback pre

Re: [RFC] SW connection between DVB Transport Stream demuxer and I2C-based frontend

2019-07-08 Thread Marc Gonzalez
On 08/07/2019 16:44, Enrico Weigelt wrote: > On 08.07.19 13:08, Marc Gonzalez wrote: > >> The tuner (si2157) is not on the i2c5 bus, instead it is on a private >> i2c bus *behind* si2168, which routes requests to the proper client. > > Should the si2168 make up its own i2c controller ? It does

Re: [RFC] SW connection between DVB Transport Stream demuxer and I2C-based frontend

2019-07-08 Thread Enrico Weigelt, metux IT consult
On 08.07.19 13:08, Marc Gonzalez wrote: > The tuner (si2157) is not on the i2c5 bus, instead it is on a private > i2c bus *behind* si2168, which routes requests to the proper client. Should the si2168 make up it's own i2c controller ? --mtx -- Enrico Weigelt, metux IT consult Free software an

[PATCH v2] media: vb2-dc: skip CPU sync in map/unmap dma_buf

2019-07-08 Thread Lucas Stach
This is rougly equivalent to ca0e68e21aae (drm/prime: skip CPU sync in map/unmap dma_buf). The contig memory allocated is already device coherent memory, so there is no point in doing a CPU sync when mapping it to another deevice. Also most importers currently cache the mapping so the CPU sync woul

[RFC] SW connection between DVB Transport Stream demuxer and I2C-based frontend

2019-07-08 Thread Marc Gonzalez
Hello everyone, My first message(*) might have been too vague. Let me try explaining the goal in a different way, using code this time. (Provided at the end of this message.) (*) https://www.spinics.net/lists/arm-kernel/msg739657.html Background: I'm working with a SoC that provides a TSIF HW bl

[RFC PATCH V2 3/6] media: platform: Add Mediatek DIP driver KConfig

2019-07-08 Thread frederic.chen
From: Frederic Chen This patch adds KConfig for Mediatek Digital Image Processing driver(DIP). DIP is embedded in Mediatek SoCs. It provides image format conversion, resizing, and rotation function. Signed-off-by: Frederic Chen --- drivers/media/platform/Kconfig | 2 ++ drivers/media/

[RFC PATCH V2 4/6] platform: mtk-isp: Add Mediatek DIP driver

2019-07-08 Thread frederic.chen
From: Frederic Chen This patch adds the driver of Digital Image Processing (DIP) unit in Mediatek ISP system, providing image format conversion, resizing, and rotation features. The mtk-isp directory will contain drivers for multiple IP blocks found in Mediatek ISP system. It will include ISP Pa

[RFC PATCH V2 0/6] media: platform: Add support for Digital Image Processing (DIP) on mt8183 SoC

2019-07-08 Thread frederic.chen
Hello, This RFC patch series added Digital Image Processing (DIP) driver on Mediatek mt8183 SoC. It belongs to the Mediatek's ISP driver series based on V4L2 and media controller framework. I posted the main part of the DIP driver as RFC to discuss first and would like some review comments. I app

[RFC PATCH V2 5/6] remoteproc/mediatek: add SCP's shared dma pool support for mt8183

2019-07-08 Thread frederic.chen
From: Frederic Chen This patch uses of_reserved_mem_device_init_by_idx() to hook the scp device to DMA mapping API to provide a shared dma pool of SCP DMA buffers for SCP's client such as DIP and ISP Pass 1 drivers. Signed-off-by: Frederic Chen --- drivers/remoteproc/mtk_scp.c | 54 +++

[RFC PATCH V2 1/6] dt-bindings: mt8183: Added DIP dt-bindings

2019-07-08 Thread frederic.chen
From: Frederic Chen This patch adds DT binding documentation for the Digital Image Processing (DIP) unit of camera ISP system on Mediatek's SoCs. It depends on the SCP and MDP 3 patch as following: 1. dt-bindings: Add a binding for Mediatek SCP https://patchwork.kernel.org/patch/11027247/ 2.

[RFC PATCH V2 2/6] dts: arm64: mt8183: Add DIP nodes

2019-07-08 Thread frederic.chen
From: Frederic Chen This patch adds nodes for Digital Image Processing (DIP). DIP is embedded in Mediatek SoCs and works with the co-processor to adjust image content according to tuning input data. It also provides image format conversion, resizing, and rotation features. Signed-off-by: Frederi

[RFC PATCH V2 6/6] media: platform: mtk-mdp3: Add struct tuning_addr to identify user tuning data

2019-07-08 Thread frederic.chen
From: Frederic Chen We added a struct tuning_addr which contains a field "present" so that the driver can tell the firmware if we have user tuning dataor not. Signed-off-by: Frederic Chen --- drivers/media/platform/mtk-mdp3/mtk-img-ipi.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletio

[PATCH 0/2] media: add support for DW9768 VCM driver

2019-07-08 Thread dongchun.zhu
From: Dongchun Zhu Hello, Add a v4l2 sub-device driver for Dongwoon's DW9768 lens voice coil. This is a voice coil module using the i2c bus to control the focus position. The DW9768 can control the position with 10 bits value and consists of two 8 bit registers show as below: register 0x04(DW97

[PATCH 1/2] media: i2c: dw9768: Add DT support and MAINTAINERS entry

2019-07-08 Thread dongchun.zhu
From: Dongchun Zhu Add the Devicetree binding documentation and MAINTAINERS entry for dw9768. Signed-off-by: Dongchun Zhu --- Documentation/devicetree/bindings/media/i2c/dongwoon,dw9768.txt | 9 + MAINTAINERS | 7 +++ 2 files chan

[PATCH 2/2] media: i2c: dw9768: Add DW9768 VCM driver

2019-07-08 Thread dongchun.zhu
From: Dongchun Zhu This patch adds a V4L2 sub-device driver for DW9768 lens voice coil, and provides control to set the desired focus. The DW9807 is a 10 bit DAC from Dongwoon, designed for linear control of voice coil motor. Signed-off-by: Dongchun Zhu --- MAINTAINERS| 1 +

Re: [PATCH 1/2] dvbsky: add support for "Mygica T230C v2"

2019-07-08 Thread Sean Young
Hallo Jan-Pieter, > On 6/25/19 1:16 PM, Sean Young wrote: > > On Sun, Jun 16, 2019 at 02:39:29AM +0200, Jan Pieter van Woerkom wrote: > > > From: Jan Pieter van Woerkom > > > > > > Adds support for the "Mygica T230C v2" into the "dvbsky" driver. > > > A small enhancement is also needed in the si

[PATCH v4] keytable: Add keymap test

2019-07-08 Thread Bastien Nocera
This new test will try to parse all the ".toml" files in the directory path passed to it, error'ing out if there were parsing problems. Run as "make check" in the keytable directory. Signed-off-by: Bastien Nocera --- utils/keytable/Makefile.am | 6 +++ utils/keytable/check_keymaps.c | 67 +

Re: [PATCH 1/3] si2157: get chip id during probing

2019-07-08 Thread Uwe Kleine-König
Hello Andreas, On 7/7/19 11:01 PM, Uwe Kleine-König wrote: > Hello, > > On 7/7/19 10:58 PM, Uwe Kleine-König wrote: >> From: Andreas Kemnade >> >> If the si2157 is behind a e.g. si2168, the si2157 will >> at least in some situations not be readable after the si268 >> got the command 0101. It sti

Re: [RFC,V2,2/2] media: i2c: Add Omnivision OV02A10 camera sensor driver

2019-07-08 Thread Bingbu Cao
On 7/4/19 4:46 PM, dongchun@mediatek.com wrote: > From: Dongchun Zhu > > This patch adds a V4L2 sub-device driver for OV02A10 image sensor. > The OV02A10 is a 1/5" CMOS sensor from Omnivision. > Supports output format: 10-bit Raw. > The OV02A10 has a single MIPI lane interface and use the