All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH V0 0/4] media: support Mediatek sensor interface driver
@ 2019-02-21  7:21 ` Louis Kuo
  0 siblings, 0 replies; 29+ messages in thread
From: Louis Kuo @ 2019-02-21  7:21 UTC (permalink / raw)
  To: hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w,
	laurent.pinchart+renesas-ryLnwIuWjnjg/C1BVhZhaw,
	tfiga-F7+t8E8rja9g9hUCZPvPmw,
	matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w,
	mchehab-DgEjT+Ai2ygdnm+yROfE0A
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	Sean.Cheng-NuS5LvNUpcJWk0Htik3J/w,
	Rynn.Wu-NuS5LvNUpcJWk0Htik3J/w,
	srv_heupstream-NuS5LvNUpcJWk0Htik3J/w,
	holmes.chiou-NuS5LvNUpcJWk0Htik3J/w,
	Jerry-ch.Chen-NuS5LvNUpcJWk0Htik3J/w,
	jungo.lin-NuS5LvNUpcJWk0Htik3J/w,
	sj.huang-NuS5LvNUpcJWk0Htik3J/w, yuzhao-F7+t8E8rja9g9hUCZPvPmw,
	linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	zwisler-F7+t8E8rja9g9hUCZPvPmw,
	christie.yu-NuS5LvNUpcJWk0Htik3J/w,
	frederic.chen-NuS5LvNUpcJWk0Htik3J/w,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-media-u79uwXL29TY76Z2rM5mHXA

Hello,

This is the first version of the RFC patch series adding Sensor Inferface(seninf) driver on
Mediatek mt8183 SoC, which will be used in camera features on CrOS application.
It belongs to the first Mediatek's camera driver series based on V4L2 and media controller framework.
I posted the main part of the seninf driver as RFC to discuss first and would like some review comments
on the overall structure of the driver.

The driver is implemented with V4L2 framework.
1. Register as a V4L2 sub-device.
2. Only one entity with sink pads linked to camera sensors for choosing desired camera sensor by setup link
   and with source pads linked to cam-io for routing different types of decoded packet datas to PASS1 driver
   to generate sensor image frame and meta-data.

The overall file structure of the seninf driver is as following:

* mtk_seninf.c: Implement software and HW control flow of seninf driver.
* seninf_drv_def.h: Define data structure and enumeration.
* seninf_reg.h: Define HW register R/W macros and HW register names.

Louis Kuo (4):
  media: platform: mtk-isp: Add Mediatek sensor interface driver
  media: platform: Add Mediatek sensor interface driver KConfig
  dt-bindings: mt8183: Added sensor interface dt-bindings
  dts: arm64: mt8183: Add sensor interface nodes

 .../devicetree/bindings/media/mediatek-seninf.txt  |   52 +
 arch/arm64/boot/dts/mediatek/mt8183.dtsi           |   34 +
 drivers/media/platform/Makefile                    |    2 +
 drivers/media/platform/mtk-isp/Kconfig             |   16 +
 drivers/media/platform/mtk-isp/Makefile            |   14 +
 drivers/media/platform/mtk-isp/isp_50/Makefile     |   17 +
 .../media/platform/mtk-isp/isp_50/seninf/Makefile  |    4 +
 .../platform/mtk-isp/isp_50/seninf/mtk_seninf.c    | 1339 ++++++++++++++++++++
 .../mtk-isp/isp_50/seninf/seninf_drv_def.h         |  201 +++
 .../platform/mtk-isp/isp_50/seninf/seninf_reg.h    |  992 +++++++++++++++
 10 files changed, 2671 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/mediatek-seninf.txt
 create mode 100644 drivers/media/platform/mtk-isp/Kconfig
 create mode 100644 drivers/media/platform/mtk-isp/Makefile
 create mode 100644 drivers/media/platform/mtk-isp/isp_50/Makefile
 create mode 100644 drivers/media/platform/mtk-isp/isp_50/seninf/Makefile
 create mode 100644 drivers/media/platform/mtk-isp/isp_50/seninf/mtk_seninf.c
 create mode 100644 drivers/media/platform/mtk-isp/isp_50/seninf/seninf_drv_def.h
 create mode 100644 drivers/media/platform/mtk-isp/isp_50/seninf/seninf_reg.h

-- 
1.9.1

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

end of thread, other threads:[~2019-03-14  8:42 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-21  7:21 [RFC PATCH V0 0/4] media: support Mediatek sensor interface driver Louis Kuo
2019-02-21  7:21 ` Louis Kuo
2019-02-21  7:21 ` Louis Kuo
     [not found] ` <1550733718-31702-1-git-send-email-louis.kuo-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2019-02-21  7:21   ` [RFC PATCH V0 1/4] media: platform: mtk-isp: Add " Louis Kuo
2019-02-21  7:21     ` Louis Kuo
     [not found]     ` <1550733718-31702-2-git-send-email-louis.kuo-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2019-03-05  7:51       ` Tomasz Figa
2019-03-05  7:51         ` Tomasz Figa
     [not found]         ` <CAAFQd5CVVPjBks=FVPviguvUp5d9Sxh9B--2213vcDnQY+S0wA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-03-08  9:59           ` Keiichi Watanabe
2019-03-08  9:59             ` Keiichi Watanabe
     [not found]             ` <CAD90Vca5xV65gnv92n1Cn00megUiP2=Fc4bUnhLjb5UvyyOVZQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-03-12  8:49               ` Louis Kuo
2019-03-12  8:49                 ` Louis Kuo
2019-03-12  9:11                 ` Keiichi Watanabe
2019-03-12  9:11                   ` Keiichi Watanabe
     [not found]                   ` <CAD90VcZ1_v1+QmFDQZD3=vic4B2pfL_QsTUfpsU8=iBeFYyVjA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-03-12  9:37                     ` Louis Kuo
2019-03-12  9:37                       ` Louis Kuo
2019-03-13 11:08                       ` Louis Kuo
2019-03-13 11:08                         ` Louis Kuo
2019-02-21  7:21   ` [RFC PATCH V0 2/4] media: platform: Add Mediatek sensor interface driver KConfig Louis Kuo
2019-02-21  7:21     ` Louis Kuo
2019-02-21  7:21     ` Louis Kuo
2019-02-21  7:21   ` [RFC PATCH V0 3/4] dt-bindings: mt8183: Added sensor interface dt-bindings Louis Kuo
2019-02-21  7:21     ` Louis Kuo
2019-02-21  7:21     ` Louis Kuo
2019-02-21  7:21 ` [RFC PATCH V0 4/4] dts: arm64: mt8183: Add sensor interface nodes Louis Kuo
2019-02-21  7:21   ` Louis Kuo
2019-02-21  7:21   ` Louis Kuo
2019-03-14  8:42 ` [RFC PATCH V0 0/4] media: support Mediatek sensor interface driver Hans Verkuil
2019-03-14  8:42   ` Hans Verkuil
2019-03-14  8:42   ` Hans Verkuil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.