Re: [PATCH v3 05/10] media: dt-bindings: video-interfaces: Support DisplayPort MST

2024-05-13 Thread Paweł Anikiel
On Fri, May 10, 2024 at 11:16 PM Rob Herring wrote: > > On Tue, May 07, 2024 at 03:54:08PM +, Paweł Anikiel wrote: > > Add a DisplayPort bus type and a multi-stream-support property > > indicating whether the interface supports MST. > > > >

Re: [PATCH v3 09/10] media: dt-bindings: Add Intel Displayport RX IP

2024-05-13 Thread Paweł Anikiel
On Fri, May 10, 2024 at 11:24 PM Rob Herring wrote: > > On Tue, May 07, 2024 at 03:54:12PM +, Paweł Anikiel wrote: > > Add dt binding for the Intel Displayport receiver FPGA IP. > > It is a part of the DisplayPort Intel FPGA IP Core, and supports > > DisplayPort

[PATCH v3 10/10] ARM: dts: chameleonv3: Add video device nodes

2024-05-07 Thread Paweł Anikiel
Add device nodes for the video system present on the Chameleon v3. It consists of six video interfaces and two Intel DisplayPort receivers. Signed-off-by: Paweł Anikiel --- .../socfpga/socfpga_arria10_chameleonv3.dts | 194 ++ 1 file changed, 194 insertions(+) diff --git

[PATCH v3 05/10] media: dt-bindings: video-interfaces: Support DisplayPort MST

2024-05-07 Thread Paweł Anikiel
Add a DisplayPort bus type and a multi-stream-support property indicating whether the interface supports MST. Signed-off-by: Paweł Anikiel --- .../devicetree/bindings/media/video-interfaces.yaml| 7 +++ include/dt-bindings/media/video-interfaces.h | 2 ++ 2 files

[PATCH v3 09/10] media: dt-bindings: Add Intel Displayport RX IP

2024-05-07 Thread Paweł Anikiel
-by: Paweł Anikiel --- .../devicetree/bindings/media/intel,dprx.yaml | 172 ++ 1 file changed, 172 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/intel,dprx.yaml diff --git a/Documentation/devicetree/bindings/media/intel,dprx.yaml b/Documentation

[PATCH v3 07/10] media: intel: Add Displayport RX IP driver

2024-05-07 Thread Paweł Anikiel
Add v4l2 subdev driver for the Intel Displayport receiver FPGA IP. It is a part of the DisplayPort Intel FPGA IP Core, and supports DisplayPort 1.4, HBR3 video capture and Multi-Stream Transport. Signed-off-by: Paweł Anikiel --- drivers/media/platform/intel/Kconfig | 12 + drivers/media

[PATCH v3 08/10] media: dt-bindings: Add Chameleon v3 video interface

2024-05-07 Thread Paweł Anikiel
Add dt binding for the video interface present on the Google Chameleon v3. The Chameleon v3 uses the video interface to capture a single video source from a given HDMI or DP connector and write the resulting frames to memory. Signed-off-by: Paweł Anikiel --- .../bindings/media/google,chv3

[PATCH v3 06/10] media: v4l2-mediabus: Add support for DisplayPort media bus

2024-05-07 Thread Paweł Anikiel
Add new definitions, a config struct, and a parser for the DisplayPort media bus. Signed-off-by: Paweł Anikiel --- drivers/media/v4l2-core/v4l2-fwnode.c | 38 +++ include/media/v4l2-fwnode.h | 5 include/media/v4l2-mediabus.h | 17 3

[PATCH v3 02/10] drm/dp_mst: Move DRM-independent structures to separate header

2024-05-07 Thread Paweł Anikiel
Move structures describing MST sideband messages into a separate header so that non-DRM code can use them. Signed-off-by: Paweł Anikiel --- include/drm/display/drm_dp_mst.h| 238 include/drm/display/drm_dp_mst_helper.h | 232 +-- 2 files

[PATCH v3 04/10] drm/display: Add mask definitions for DP_PAYLOAD_ALLOCATE_* registers

2024-05-07 Thread Paweł Anikiel
these registers. Signed-off-by: Paweł Anikiel --- include/drm/display/drm_dp.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h index 4891bd916d26..1c397a5f8fc5 100644 --- a/include/drm/display/drm_dp.h +++ b/include/drm

[PATCH v3 03/10] lib: Move DisplayPort CRC functions to common lib

2024-05-07 Thread Paweł Anikiel
The CRC functions found in drivers/gpu/drm/display/drm_dp_mst_topology.c may be useful for other non-DRM code that deals with DisplayPort, e.g. v4l2 drivers for DP receivers. Move these functions to /lib. Signed-off-by: Paweł Anikiel --- drivers/gpu/drm/display/Kconfig | 1

[PATCH v3 01/10] media: Add Chameleon v3 video interface driver

2024-05-07 Thread Paweł Anikiel
Add v4l2 driver for the video interface present on the Google Chameleon v3. The Chameleon v3 uses the video interface to capture a single video source from a given HDMI or DP connector and write the resulting frames to memory. Signed-off-by: Paweł Anikiel --- drivers/media/platform/Kconfig

[PATCH v3 00/10] Add Chameleon v3 video support

2024-05-07 Thread Paweł Anikiel
ples - Add version number to intel,dprx compatible - Use generic node names in dts - Add and document IP configuration parameters - Remove IRQ registers from intel-dprx (they're not a part of the IP) - Remove no-endpoint property and check for "port" node instead Paweł Anikiel (

Re: [PATCH v2 7/9] media: dt-bindings: Add Chameleon v3 framebuffer

2024-04-23 Thread Paweł Anikiel
Hi, sorry for the long delay On Mon, Feb 26, 2024 at 10:10 AM Krzysztof Kozlowski wrote: > > On 21/02/2024 17:02, Paweł Anikiel wrote: > > The Chameleon v3 uses the framebuffer IP core to take the video signal > > from different sources and directly write frames into memory.

Re: [PATCH v2 1/9] media: v4l2-subdev: Add a pad variant of .query_dv_timings()

2024-02-29 Thread Paweł Anikiel
On Thu, Feb 29, 2024 at 9:02 AM Hans Verkuil wrote: > > On 28/02/2024 16:34, Paweł Anikiel wrote: > > On Wed, Feb 28, 2024 at 12:25 PM Hans Verkuil > > wrote: > >> > >> Hi Paweł, > >> > >> On 21/02/2024 17:02, Paweł Anikiel wrote: >

Re: [PATCH v2 8/9] media: dt-bindings: Add Intel Displayport RX IP

2024-02-29 Thread Paweł Anikiel
On Wed, Feb 28, 2024 at 7:10 PM Rob Herring wrote: > > On Wed, Feb 28, 2024 at 02:09:33PM +0100, Paweł Anikiel wrote: > > On Wed, Feb 28, 2024 at 1:18 PM Krzysztof Kozlowski > > wrote: > > > > > > On 28/02/2024 12:05, Paweł Anikiel wrote: > > >

Re: [PATCH v2 1/9] media: v4l2-subdev: Add a pad variant of .query_dv_timings()

2024-02-28 Thread Paweł Anikiel
On Wed, Feb 28, 2024 at 12:25 PM Hans Verkuil wrote: > > Hi Paweł, > > On 21/02/2024 17:02, Paweł Anikiel wrote: > > Currently, .query_dv_timings() is defined as a video callback without > > a pad argument. This is a problem if the subdevice can have different > >

Re: [PATCH v2 2/9] media: Add Chameleon v3 framebuffer driver

2024-02-28 Thread Paweł Anikiel
Hi Hans, thanks for the review! On Wed, Feb 28, 2024 at 12:24 PM Hans Verkuil wrote: > > Hi Paweł, > > On 21/02/2024 17:02, Paweł Anikiel wrote: > > Add v4l2 driver for the Google Chameleon v3 framebuffer device. > > This is just a video capture device, right? A framebu

Re: [PATCH v2 8/9] media: dt-bindings: Add Intel Displayport RX IP

2024-02-28 Thread Paweł Anikiel
On Wed, Feb 28, 2024 at 1:18 PM Krzysztof Kozlowski wrote: > > On 28/02/2024 12:05, Paweł Anikiel wrote: > > On Tue, Feb 27, 2024 at 3:29 PM Rob Herring wrote: > >> > >> On Mon, Feb 26, 2024 at 11:59:42AM +0100, Paweł Anikiel wrote: > >>> On Mon, Fe

Re: [PATCH v2 8/9] media: dt-bindings: Add Intel Displayport RX IP

2024-02-28 Thread Paweł Anikiel
On Tue, Feb 27, 2024 at 3:29 PM Rob Herring wrote: > > On Mon, Feb 26, 2024 at 11:59:42AM +0100, Paweł Anikiel wrote: > > On Mon, Feb 26, 2024 at 10:13 AM Krzysztof Kozlowski > > wrote: > > > > > > On 21/02/2024 17:02, Paweł Anikiel wrote: > >

Re: [PATCH v2 8/9] media: dt-bindings: Add Intel Displayport RX IP

2024-02-27 Thread Paweł Anikiel
On Mon, Feb 26, 2024 at 6:29 PM Krzysztof Kozlowski wrote: > > On 26/02/2024 13:43, Paweł Anikiel wrote: > >>>>> + intel,max-stream-count: > >>>>> +$ref: /schemas/types.yaml#/definitions/uint32 > >>>>> +description: Max st

Re: [PATCH v2 9/9] ARM: dts: chameleonv3: Add video device nodes

2024-02-27 Thread Paweł Anikiel
On Mon, Feb 26, 2024 at 6:30 PM Krzysztof Kozlowski wrote: > > On 26/02/2024 13:27, Paweł Anikiel wrote: > > On Mon, Feb 26, 2024 at 1:07 PM Krzysztof Kozlowski > > wrote: > >> > >> On 26/02/2024 12:09, Paweł Anikiel wrote: > >>> On Mon, Feb 26, 2

Re: [PATCH v2 8/9] media: dt-bindings: Add Intel Displayport RX IP

2024-02-26 Thread Paweł Anikiel
On Mon, Feb 26, 2024 at 1:06 PM Krzysztof Kozlowski wrote: > > On 26/02/2024 11:59, Paweł Anikiel wrote: > >>> +properties: > >>> + compatible: > >>> +const: intel,dprx-20.0.1 > >>> + > >>> + reg: > >

Re: [PATCH v2 9/9] ARM: dts: chameleonv3: Add video device nodes

2024-02-26 Thread Paweł Anikiel
On Mon, Feb 26, 2024 at 1:07 PM Krzysztof Kozlowski wrote: > > On 26/02/2024 12:09, Paweł Anikiel wrote: > > On Mon, Feb 26, 2024 at 10:15 AM Krzysztof Kozlowski > > wrote: > >> > >> On 21/02/2024 17:02, Paweł Anikiel wrote: > >>> Add device nodes

Re: [PATCH v2 9/9] ARM: dts: chameleonv3: Add video device nodes

2024-02-26 Thread Paweł Anikiel
On Mon, Feb 26, 2024 at 10:15 AM Krzysztof Kozlowski wrote: > > On 21/02/2024 17:02, Paweł Anikiel wrote: > > Add device nodes for the video system present on the Chameleon v3. > > It consists of six framebuffers and two Intel Displayport receivers. > > > >

Re: [PATCH v2 8/9] media: dt-bindings: Add Intel Displayport RX IP

2024-02-26 Thread Paweł Anikiel
On Mon, Feb 26, 2024 at 10:13 AM Krzysztof Kozlowski wrote: > > On 21/02/2024 17:02, Paweł Anikiel wrote: > > The Intel Displayport RX IP is a part of the DisplayPort Intel FPGA IP > > Core. It implements a DisplayPort 1.4 receiver capable of HBR3 video > > capture an

Re: [PATCH 8/9] media: dt-bindings: Add Intel Displayport RX IP

2024-02-21 Thread Paweł Anikiel
On Thu, Feb 15, 2024 at 6:26 PM Conor Dooley wrote: > > Yo, > > On Mon, Feb 12, 2024 at 01:13:22PM +, Paweł Anikiel wrote: > > The Intel Displayport RX IP is a part of the DisplayPort Intel FPGA IP > > Core. It implements a DisplayPort 1.4 receiver capable of HBR3 vid

Re: [PATCH 7/9] media: dt-bindings: Add Chameleon v3 framebuffer

2024-02-21 Thread Paweł Anikiel
On Thu, Feb 15, 2024 at 6:29 PM Conor Dooley wrote: > > On Mon, Feb 12, 2024 at 01:13:21PM +, Paweł Anikiel wrote: > > The Chameleon v3 uses the framebuffer IP core to take the video signal > > from different sources and directly write frames into memory. > > > >

[PATCH v2 8/9] media: dt-bindings: Add Intel Displayport RX IP

2024-02-21 Thread Paweł Anikiel
# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel DisplayPort RX IP + +maintainers: + - Paweł Anikiel + +description: | + The Intel Displayport RX IP is a part of the DisplayPort Intel FPGA IP + Core. It implements a DisplayPort 1.4 receiver capable of HBR3 video

[PATCH v2 4/9] lib: Move DisplayPort CRC functions to common lib

2024-02-21 Thread Paweł Anikiel
The CRC functions found in drivers/gpu/drm/display/drm_dp_mst_topology.c may be useful for other non-DRM code that deals with DisplayPort, e.g. v4l2 drivers for DP receivers. Move these functions to /lib. Signed-off-by: Paweł Anikiel --- drivers/gpu/drm/display/Kconfig | 1

[PATCH v2 9/9] ARM: dts: chameleonv3: Add video device nodes

2024-02-21 Thread Paweł Anikiel
Add device nodes for the video system present on the Chameleon v3. It consists of six framebuffers and two Intel Displayport receivers. Signed-off-by: Paweł Anikiel --- .../socfpga/socfpga_arria10_chameleonv3.dts | 152 ++ 1 file changed, 152 insertions(+) diff --git a/arch

[PATCH v2 7/9] media: dt-bindings: Add Chameleon v3 framebuffer

2024-02-21 Thread Paweł Anikiel
The Chameleon v3 uses the framebuffer IP core to take the video signal from different sources and directly write frames into memory. Signed-off-by: Paweł Anikiel --- .../bindings/media/google,chv3-fb.yaml| 67 +++ 1 file changed, 67 insertions(+) create mode 100644

[PATCH v2 5/9] drm/display: Add mask definitions for DP_PAYLOAD_ALLOCATE_* registers

2024-02-21 Thread Paweł Anikiel
these registers. Signed-off-by: Paweł Anikiel --- include/drm/display/drm_dp.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h index 3731828825bd..9dee30190f14 100644 --- a/include/drm/display/drm_dp.h +++ b/include/drm

[PATCH v2 6/9] media: intel: Add Displayport RX IP driver

2024-02-21 Thread Paweł Anikiel
Add driver for the Intel DisplayPort RX FPGA IP Signed-off-by: Paweł Anikiel --- drivers/media/platform/intel/Kconfig | 12 + drivers/media/platform/intel/Makefile |1 + drivers/media/platform/intel/intel-dprx.c | 2176 + 3 files changed, 2189 insertions

[PATCH v2 2/9] media: Add Chameleon v3 framebuffer driver

2024-02-21 Thread Paweł Anikiel
Add v4l2 driver for the Google Chameleon v3 framebuffer device. Signed-off-by: Paweł Anikiel --- drivers/media/platform/Kconfig| 1 + drivers/media/platform/Makefile | 1 + drivers/media/platform/google/Kconfig | 3 + drivers/media/platform/google

[PATCH v2 3/9] drm/dp_mst: Move DRM-independent structures to separate header

2024-02-21 Thread Paweł Anikiel
Move structures describing MST sideband messages into a separate header so that non-DRM code can use them. Signed-off-by: Paweł Anikiel --- include/drm/display/drm_dp_mst.h| 238 include/drm/display/drm_dp_mst_helper.h | 232 +-- 2 files

[PATCH v2 1/9] media: v4l2-subdev: Add a pad variant of .query_dv_timings()

2024-02-21 Thread Paweł Anikiel
the pad number as an argument. Signed-off-by: Paweł Anikiel --- drivers/media/v4l2-core/v4l2-subdev.c | 11 +++ include/media/v4l2-subdev.h | 5 + 2 files changed, 16 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c index

[PATCH v2 0/9] Add Chameleon v3 video support

2024-02-21 Thread Paweł Anikiel
- Remove IRQ registers from intel-dprx (they're not a part of the IP) - Remove no-endpoint property and check for "port" node instead Paweł Anikiel (9): media: v4l2-subdev: Add a pad variant of .query_dv_timings() media: Add Chameleon v3 framebuffer driver drm/dp_mst: Move DRM-i

Re: [PATCH 8/9] media: dt-bindings: Add Intel Displayport RX IP

2024-02-12 Thread Paweł Anikiel
On Mon, Feb 12, 2024 at 3:35 PM Rob Herring wrote: > > > On Mon, 12 Feb 2024 13:13:22 +0000, Paweł Anikiel wrote: > > The Intel Displayport RX IP is a part of the DisplayPort Intel FPGA IP > > Core. It implements a DisplayPort 1.4 receiver capable of HBR3 video > &g

Re: [PATCH 7/9] media: dt-bindings: Add Chameleon v3 framebuffer

2024-02-12 Thread Paweł Anikiel
On Mon, Feb 12, 2024 at 3:35 PM Rob Herring wrote: > > > On Mon, 12 Feb 2024 13:13:21 +0000, Paweł Anikiel wrote: > > The Chameleon v3 uses the framebuffer IP core to take the video signal > > from different sources and directly write frames into memory. > > >

[PATCH 9/9] ARM: dts: chameleonv3: Add video device nodes

2024-02-12 Thread Paweł Anikiel
Add device nodes for the video system present on the Chameleon v3. It consists of six framebuffers and two Intel Displayport receivers. Signed-off-by: Paweł Anikiel --- .../socfpga/socfpga_arria10_chameleonv3.dts | 130 ++ 1 file changed, 130 insertions(+) diff --git a/arch

[PATCH 6/9] media: intel: Add Displayport RX IP driver

2024-02-12 Thread Paweł Anikiel
Add driver for the Intel DisplayPort RX FPGA IP Signed-off-by: Paweł Anikiel --- drivers/media/platform/intel/Kconfig | 12 + drivers/media/platform/intel/Makefile |1 + drivers/media/platform/intel/intel-dprx.c | 2171 + 3 files changed, 2184 insertions

[PATCH 8/9] media: dt-bindings: Add Intel Displayport RX IP

2024-02-12 Thread Paweł Anikiel
# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel DisplayPort RX IP + +maintainers: + - Paweł Anikiel + +properties: + compatible: +const: intel,dprx + + reg: +items: + - description: core registers + - description: irq registers + + interrupts

[PATCH 5/9] drm/display: Add mask definitions for DP_PAYLOAD_ALLOCATE_* registers

2024-02-12 Thread Paweł Anikiel
these registers. Signed-off-by: Paweł Anikiel --- include/drm/display/drm_dp.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h index 3731828825bd..9dee30190f14 100644 --- a/include/drm/display/drm_dp.h +++ b/include/drm

[PATCH 7/9] media: dt-bindings: Add Chameleon v3 framebuffer

2024-02-12 Thread Paweł Anikiel
The Chameleon v3 uses the framebuffer IP core to take the video signal from different sources and directly write frames into memory. Signed-off-by: Paweł Anikiel --- .../bindings/media/google,chv3-fb.yaml| 77 +++ 1 file changed, 77 insertions(+) create mode 100644

[PATCH 4/9] lib: Move DisplayPort CRC functions to common lib

2024-02-12 Thread Paweł Anikiel
The CRC functions found in drivers/gpu/drm/display/drm_dp_mst_topology.c may be useful for other non-DRM code that deals with DisplayPort, e.g. v4l2 drivers for DP receivers. Move these functions to /lib. Signed-off-by: Paweł Anikiel --- drivers/gpu/drm/display/Kconfig | 1

[PATCH 1/9] media: v4l2-subdev: Add a pad variant of .query_dv_timings()

2024-02-12 Thread Paweł Anikiel
the pad number as an argument. Signed-off-by: Paweł Anikiel --- drivers/media/v4l2-core/v4l2-subdev.c | 11 +++ include/media/v4l2-subdev.h | 5 + 2 files changed, 16 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c index

[PATCH 3/9] drm/dp_mst: Move DRM-independent structures to separate header

2024-02-12 Thread Paweł Anikiel
Move structures describing MST sideband messages into a separate header so that non-DRM code can use them. Signed-off-by: Paweł Anikiel --- include/drm/display/drm_dp_mst.h| 238 include/drm/display/drm_dp_mst_helper.h | 232 +-- 2 files

[PATCH 0/9] Add Chameleon v3 video support

2024-02-12 Thread Paweł Anikiel
to the internal v4l2 subdevice API to allow querying the dv timings of individual video streams of the DP receiver. Paweł Anikiel (9): media: v4l2-subdev: Add a pad variant of .query_dv_timings() media: Add Chameleon v3 framebuffer driver drm/dp_mst: Move DRM-independent structures to separate header

[PATCH 2/9] media: Add Chameleon v3 framebuffer driver

2024-02-12 Thread Paweł Anikiel
Add v4l2 driver for the Google Chameleon v3 framebuffer device. Signed-off-by: Paweł Anikiel --- drivers/media/platform/Kconfig| 1 + drivers/media/platform/Makefile | 1 + drivers/media/platform/google/Kconfig | 3 + drivers/media/platform/google