linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC 0/9] FCP support for Renesas video cores
@ 2016-02-12  2:00 Laurent Pinchart
  2016-02-12  2:00 ` [PATCH/RFC 1/9] clk: shmobile: r8a7795: Add FCP clocks Laurent Pinchart
                   ` (8 more replies)
  0 siblings, 9 replies; 32+ messages in thread
From: Laurent Pinchart @ 2016-02-12  2:00 UTC (permalink / raw)
  To: linux-media; +Cc: linux-renesas-soc

Hello,

This RFC patch series implements support for the Frame Compression Processor
(FCP) modules found in the Renesas R-Car Gen3 SoCs.

The FCP is a companion module for various video processing modules in the Gen3
family SoCs. It provides data compression and decompression, data caching and
conversion of AXI transaction in order to reduce the memory bandwidth. In
simpler terms it handles data memory accesses on behalf of a video processing
module.

In the simplest case the FCP is completely transparent to the video processing
module for which it handles memory accesses, with one caveat: the FCP
functional clock and power domain must be enabled whenever it has to handle a
memory access.

The approach taken in this series is to describe the FCPs in DT as device
nodes with registers, clocks and power domains. They are referenced from the
associated video processing module DT node. On the driver side, a new rcar-fcp
driver handles registration of FCP instances as they are probed, and offers an
API to video processing module drivers to lookup FCP instances and enable and
disable them.

The FCP driver currently doesn't access the FCP registers, is for the FCPV
(FCP for VSP) instances no FCP parameter needs to be configured. Other FCP
variants (FCP for FDP and possiblye FCP for Codec) will require software
configuration which will be implemented later.

This patch series enables FCPV support for the r8a7795 SoC. In order to
provide enough context for review I've included patches that add FCP support
in the VSP driver, as well as DT patches to enable VSP and DU. Only patches
1/9, 3/9 and 6/9 are relevant for the FCP. Patches 5/9 and 7/9 show how the
FCP API is used in the VSP driver. Patches 2/9, 4/9, 8/9 and 9/9 are only
needed to test FCP + VSP operation on r8a7795 and are otherwise out of scope
for this RFC (reviews would of course still be appreciated).

The series applies on top of two previously posted patch series for the vsp1
and rcar-du-drm drivers. For review and testing convenience I've pushed the
result to

	git://linuxtv.org/pinchartl/media.git drm/du/vsp1-kms/boards

Laurent Pinchart (9):
  clk: shmobile: r8a7795: Add FCP clocks
  clk: shmobile: r8a7795: Add LVDS module clock
  v4l: Add Renesas R-Car FCP driver
  v4l: vsp1: VSPD instances have no LUT on Gen3
  v4l: vsp1: Add FCP support
  ARM64: renesas: r8a7795: Add FCPV nodes
  ARM64: renesas: r8a7795: Add VSP instances
  ARM64: renesas: r8a7795: Add DU device to DT
  ARM64: renesas: salvator-x: Enable DU

 .../devicetree/bindings/media/renesas,fcp.txt      |  24 +++
 .../devicetree/bindings/media/renesas,vsp1.txt     |   5 +
 MAINTAINERS                                        |  10 +
 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts |  44 ++++
 arch/arm64/boot/dts/renesas/r8a7795.dtsi           | 237 +++++++++++++++++++++
 drivers/clk/shmobile/r8a7795-cpg-mssr.c            |  16 ++
 drivers/media/platform/Kconfig                     |  14 ++
 drivers/media/platform/Makefile                    |   1 +
 drivers/media/platform/rcar-fcp.c                  | 176 +++++++++++++++
 drivers/media/platform/vsp1/vsp1.h                 |   2 +
 drivers/media/platform/vsp1/vsp1_drv.c             |  26 ++-
 include/media/rcar-fcp.h                           |  34 +++
 12 files changed, 587 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/media/renesas,fcp.txt
 create mode 100644 drivers/media/platform/rcar-fcp.c
 create mode 100644 include/media/rcar-fcp.h

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2016-04-12  6:27 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-12  2:00 [PATCH/RFC 0/9] FCP support for Renesas video cores Laurent Pinchart
2016-02-12  2:00 ` [PATCH/RFC 1/9] clk: shmobile: r8a7795: Add FCP clocks Laurent Pinchart
2016-02-15  9:22   ` Geert Uytterhoeven
2016-02-15 12:26     ` Laurent Pinchart
2016-02-26 10:55   ` Laurent Pinchart
2016-03-01  1:03     ` Kuninori Morimoto
2016-03-03  0:17       ` Kuninori Morimoto
2016-03-03  6:52         ` Laurent Pinchart
2016-03-03  7:19           ` Kuninori Morimoto
2016-03-03  7:31             ` Laurent Pinchart
2016-03-03  8:37               ` Kuninori Morimoto
2016-03-03 10:49                 ` Laurent Pinchart
2016-03-03 11:56                   ` Geert Uytterhoeven
2016-03-03 12:04                     ` Laurent Pinchart
2016-04-12  6:27       ` Kuninori Morimoto
2016-02-12  2:00 ` [PATCH/RFC 2/9] clk: shmobile: r8a7795: Add LVDS module clock Laurent Pinchart
2016-02-15  9:24   ` Geert Uytterhoeven
2016-02-15 12:27     ` Laurent Pinchart
2016-02-12  2:00 ` [PATCH/RFC 3/9] v4l: Add Renesas R-Car FCP driver Laurent Pinchart
2016-02-15  9:32   ` Geert Uytterhoeven
2016-02-15 12:35     ` Laurent Pinchart
2016-02-26 13:20       ` Geert Uytterhoeven
2016-02-12  2:00 ` [PATCH/RFC 4/9] v4l: vsp1: VSPD instances have no LUT on Gen3 Laurent Pinchart
2016-02-12  2:00 ` [PATCH/RFC 5/9] v4l: vsp1: Add FCP support Laurent Pinchart
2016-02-12  2:00 ` [PATCH/RFC 6/9] ARM64: renesas: r8a7795: Add FCPV nodes Laurent Pinchart
2016-02-15  9:45   ` Geert Uytterhoeven
2016-02-15 12:50     ` Laurent Pinchart
2016-02-12  2:00 ` [PATCH/RFC 7/9] ARM64: renesas: r8a7795: Add VSP instances Laurent Pinchart
2016-02-15  9:58   ` Geert Uytterhoeven
2016-02-15 12:53     ` Laurent Pinchart
2016-02-12  2:00 ` [PATCH/RFC 8/9] ARM64: renesas: r8a7795: Add DU device to DT Laurent Pinchart
2016-02-12  2:00 ` [PATCH/RFC 9/9] ARM64: renesas: salvator-x: Enable DU Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).