devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver
@ 2018-01-09 16:25 Jacopo Mondi
  2018-01-09 16:25 ` [PATCH v4 1/9] dt-bindings: media: Add Renesas CEU bindings Jacopo Mondi
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Jacopo Mondi @ 2018-01-09 16:25 UTC (permalink / raw)
  To: laurent.pinchart, magnus.damm, geert, mchehab, hverkuil,
	festevam, sakari.ailus, robh+dt, mark.rutland
  Cc: Jacopo Mondi, linux-renesas-soc, linux-media, linux-sh,
	devicetree, linux-kernel

Hello,
   fourth round for Renesas CEU unit.

The only notable change compared to v3 is that we have dropped the generic
fallback compatible string "renesas,ceu" from bindings and CEU driver.

Apart from that a few minor changes in driver code as reported by Laurent and
below listed.

Most of the patches now have the Reviewed-by tag, so I hope we're very close
to merge this.

Thanks
   j

v3->v4:
- Drop generic fallback compatible string "renesas,ceu"
- Addressed Laurent's comments on [3/9]
  - Fix error messages on irq get/request
  - Do not leak ceudev if irq_get fails
  - Make irq_mask a const field

v2->v3:
- Improved DT bindings removing standard properties (pinctrl- ones and
  remote-endpoint) not specific to this driver and improved description of
  compatible strings
- Remove ov772x's xlkc_rate property and set clock rate in Migo-R board file
- Made 'xclk' clock private to ov772x driver in Migo-R board file
- Change 'rstb' GPIO active output level and changed ov772x and tw9910 drivers
  accordingly as suggested by Fabio
- Minor changes in CEU driver to address Laurent's comments
- Moved Migo-R setup patch to the end of the series to silence 0-day bot
- Renamed tw9910 clock to 'xti' as per video decoder manual
- Changed all SPDX identifiers to GPL-2.0 from previous GPL-2.0+

v1->v2:
 - DT
 -- Addressed Geert's comments and added clocks for CEU to mstp6 clock source
 -- Specified supported generic video iterfaces properties in dt-bindings and
    simplified example

 - CEU driver
 -- Re-worked interrupt handler, interrupt management, reset(*) and capture
    start operation
 -- Re-worked querycap/enum_input/enum_frameintervals to fix some
    v4l2_compliance failures
 -- Removed soc_camera legacy operations g/s_mbus_format
 -- Update to new notifier implementation
 -- Fixed several comments from Hans, Laurent and Sakari

 - Migo-R
 -- Register clocks and gpios for sensor drivers in Migo-R setup
 -- Updated sensors (tw9910 and ov772x) drivers headers and drivers to close
    remarks from Hans and Laurent:
 --- Removed platform callbacks and handle clocks and gpios from sensor drivers
 --- Remove g/s_mbus_config operations

Jacopo Mondi (9):
  dt-bindings: media: Add Renesas CEU bindings
  include: media: Add Renesas CEU driver interface
  v4l: platform: Add Renesas CEU driver
  ARM: dts: r7s72100: Add Capture Engine Unit (CEU)
  v4l: i2c: Copy ov772x soc_camera sensor driver
  media: i2c: ov772x: Remove soc_camera dependencies
  v4l: i2c: Copy tw9910 soc_camera sensor driver
  media: i2c: tw9910: Remove soc_camera dependencies
  arch: sh: migor: Use new renesas-ceu camera driver

 .../devicetree/bindings/media/renesas,ceu.txt      |   81 +
 arch/arm/boot/dts/r7s72100.dtsi                    |   15 +-
 arch/sh/boards/mach-migor/setup.c                  |  225 ++-
 arch/sh/kernel/cpu/sh4a/clock-sh7722.c             |    2 +-
 drivers/media/i2c/Kconfig                          |   20 +
 drivers/media/i2c/Makefile                         |    2 +
 drivers/media/i2c/ov772x.c                         | 1181 ++++++++++++++
 drivers/media/i2c/tw9910.c                         | 1039 ++++++++++++
 drivers/media/platform/Kconfig                     |    9 +
 drivers/media/platform/Makefile                    |    1 +
 drivers/media/platform/renesas-ceu.c               | 1648 ++++++++++++++++++++
 include/media/drv-intf/renesas-ceu.h               |   26 +
 include/media/i2c/ov772x.h                         |    6 +-
 include/media/i2c/tw9910.h                         |    9 +
 14 files changed, 4133 insertions(+), 131 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/media/renesas,ceu.txt
 create mode 100644 drivers/media/i2c/ov772x.c
 create mode 100644 drivers/media/i2c/tw9910.c
 create mode 100644 drivers/media/platform/renesas-ceu.c
 create mode 100644 include/media/drv-intf/renesas-ceu.h

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

end of thread, other threads:[~2018-01-23 10:28 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-09 16:25 [PATCH v4 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver Jacopo Mondi
2018-01-09 16:25 ` [PATCH v4 1/9] dt-bindings: media: Add Renesas CEU bindings Jacopo Mondi
2018-01-11 22:28   ` Rob Herring
     [not found]   ` <1515515131-13760-2-git-send-email-jacopo+renesas-AW8dsiIh9cEdnm+yROfE0A@public.gmane.org>
2018-01-11 22:50     ` Laurent Pinchart
2018-01-12  6:48       ` Simon Horman
     [not found] ` <1515515131-13760-1-git-send-email-jacopo+renesas-AW8dsiIh9cEdnm+yROfE0A@public.gmane.org>
2018-01-09 16:25   ` [PATCH v4 2/9] include: media: Add Renesas CEU driver interface Jacopo Mondi
2018-01-09 16:25 ` [PATCH v4 3/9] v4l: platform: Add Renesas CEU driver Jacopo Mondi
2018-01-11 23:12   ` Laurent Pinchart
2018-01-12  9:01     ` Geert Uytterhoeven
     [not found]       ` <CAMuHMdVCa=mXBLjUpqUgg90=Yqj0_r0cmB5UsOYJvdxw3HSsmw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-12 10:35         ` Laurent Pinchart
2018-01-12 10:36   ` Philippe Ombredanne
2018-01-12 13:38     ` jacopo mondi
2018-01-23 10:28       ` Philippe Ombredanne
2018-01-09 16:25 ` [PATCH v4 4/9] ARM: dts: r7s72100: Add Capture Engine Unit (CEU) Jacopo Mondi
2018-01-09 16:25 ` [PATCH v4 5/9] v4l: i2c: Copy ov772x soc_camera sensor driver Jacopo Mondi
2018-01-09 16:25 ` [PATCH v4 6/9] media: i2c: ov772x: Remove soc_camera dependencies Jacopo Mondi
2018-01-09 16:25 ` [PATCH v4 7/9] v4l: i2c: Copy tw9910 soc_camera sensor driver Jacopo Mondi
2018-01-09 16:25 ` [PATCH v4 8/9] media: i2c: tw9910: Remove soc_camera dependencies Jacopo Mondi
2018-01-09 16:25 ` [PATCH v4 9/9] arch: sh: migor: Use new renesas-ceu camera driver Jacopo Mondi

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).