Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1594301 > unrolled thread
| Started by | Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> |
|---|---|
| First post | 2017-03-07 15:50 +0100 |
| Last post | 2017-03-07 15:50 +0100 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH 0/4] Support for Synopsys DW CSI-2 Host Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> - 2017-03-07 15:50 +0100
[PATCH 1/4] Documentation: dt: Add bindings documentation for DW MIPI CSI-2 Host Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> - 2017-03-07 15:50 +0100
| From | Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> |
|---|---|
| Date | 2017-03-07 15:50 +0100 |
| Subject | [PATCH 0/4] Support for Synopsys DW CSI-2 Host |
| Message-ID | <tioB4-pr-11@gated-at.bofh.it> |
This patchset adds support for the DW CSI-2 Host and also for a video
device associated with it.
The first 2 patches are only for the DW CSI-2 Host and the last 2 are for
the video device.
Although this patchset is named as v1 there were already two patchsets
previous to this one, but with a different name: "Add support for the DW
IP Prototyping Kits for MIPI CSI-2 Host".
v3:
- Correct description errors in Documentation
- Remove empty functions
- Change device caps and description setting
- Remove left-over code
- Add more VB2 io_modes
- Add support for dma_contig
- Correct spelling mistakes
v2:
- Add more detailed descriptions in the DT documentation
- Add binding examples to DT documentation
- Remove unnecessary debug structures
- Remove unused fields in structures
- Change variable types
- Remove unused functions
- Declare functions as static
- Remove some prints
- Add missing newlines.
Ramiro Oliveira (4):
Documentation: dt: Add bindings documentation for DW MIPI CSI-2 Host
media: platform: dwc: Support for DW CSI-2 Host
Documentation: dt: Add bindings documentation for CSI-2 Host Video
Platform
media: platform: dwc: Support for CSI-2 Host video platform
.../devicetree/bindings/media/snps,dw-mipi-csi.txt | 37 +
.../devicetree/bindings/media/snps,plat-csi2.txt | 77 ++
MAINTAINERS | 7 +
drivers/media/platform/Kconfig | 1 +
drivers/media/platform/Makefile | 2 +
drivers/media/platform/dwc/Kconfig | 45 ++
drivers/media/platform/dwc/Makefile | 3 +
drivers/media/platform/dwc/csi_video_device.c | 721 ++++++++++++++++++
drivers/media/platform/dwc/csi_video_device.h | 83 +++
drivers/media/platform/dwc/csi_video_plat.c | 818 +++++++++++++++++++++
drivers/media/platform/dwc/csi_video_plat.h | 101 +++
drivers/media/platform/dwc/dw_mipi_csi.c | 653 ++++++++++++++++
drivers/media/platform/dwc/dw_mipi_csi.h | 181 +++++
include/media/dwc/csi_host_platform.h | 97 +++
14 files changed, 2826 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/snps,dw-mipi-csi.txt
create mode 100644 Documentation/devicetree/bindings/media/snps,plat-csi2.txt
create mode 100644 drivers/media/platform/dwc/Kconfig
create mode 100644 drivers/media/platform/dwc/Makefile
create mode 100644 drivers/media/platform/dwc/csi_video_device.c
create mode 100644 drivers/media/platform/dwc/csi_video_device.h
create mode 100644 drivers/media/platform/dwc/csi_video_plat.c
create mode 100644 drivers/media/platform/dwc/csi_video_plat.h
create mode 100644 drivers/media/platform/dwc/dw_mipi_csi.c
create mode 100644 drivers/media/platform/dwc/dw_mipi_csi.h
create mode 100644 include/media/dwc/csi_host_platform.h
--
2.11.0
[toc] | [next] | [standalone]
| From | Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> |
|---|---|
| Date | 2017-03-07 15:50 +0100 |
| Subject | [PATCH 1/4] Documentation: dt: Add bindings documentation for DW MIPI CSI-2 Host |
| Message-ID | <tioB4-pr-21@gated-at.bofh.it> |
| In reply to | #1594301 |
Create device tree bindings documentation for the Synopsys DW MIPI CSI-2 Host. Signed-off-by: Ramiro Oliveira <roliveir@synopsys.com> --- .../devicetree/bindings/media/snps,dw-mipi-csi.txt | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/snps,dw-mipi-csi.txt diff --git a/Documentation/devicetree/bindings/media/snps,dw-mipi-csi.txt b/Documentation/devicetree/bindings/media/snps,dw-mipi-csi.txt new file mode 100644 index 000000000000..5b24eb43d760 --- /dev/null +++ b/Documentation/devicetree/bindings/media/snps,dw-mipi-csi.txt @@ -0,0 +1,37 @@ +Synopsys DesignWare CSI-2 Host controller + +Description +----------- + +This HW block is used to receive image coming from an MIPI CSI-2 compatible +camera. + +Required properties: +- compatible: shall be "snps,dw-mipi-csi" +- reg : physical base address and size of the device memory mapped + registers; +- interrupts : CSI-2 Host interrupt +- output-type : Core output to be used (IPI-> 0 or IDI->1 or BOTH->2) These + values choose which of the Core outputs will be used, it can be Image Data + Interface or Image Pixel Interface. +- phys: List of one PHY specifier (as defined in + Documentation/devicetree/bindings/phy/phy-bindings.txt). This PHY is a MIPI + DPHY working in RX mode. +- resets: Reference to a reset controller (optional) + +Optional properties(if in IPI mode): +- ipi-mode : Mode to be used when in IPI(Camera -> 0 or Controller -> 1) + This property defines if the controller will use the video timings available + in the video stream or if it will use pre-defined ones. +- ipi-color-mode: Bus depth to be used in IPI (48 bits -> 0 or 16 bits -> 1) + This property defines the width of the IPI bus. +- ipi-auto-flush: Data auto-flush (1 -> Yes or 0 -> No). This property defines + if the data is automatically flushed in each vsync or if this process is done + manually +- virtual-channel: Virtual channel where data is present when in IPI mode. This + property chooses the virtual channel which IPI will use to retrieve the video + stream. + +The per-board settings: + - port sub-node describing a single endpoint connected to the camera as + described in video-interfaces.txt[1]. -- 2.11.0
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web