Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1521693
| From | Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] Add Documentation for Media Device, Video Device, and Synopsys DW MIPI CSI-2 Host |
| Date | 2016-11-14 15:30 +0100 |
| Message-ID | <sDqqJ-892-13@gated-at.bofh.it> (permalink) |
| References | <sDqqJ-892-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Add documentation for Media and Video Device, as well as the DW MIPI CSI-2 Host. Signed-off-by: Ramiro Oliveira <roliveir@synopsys.com> --- .../devicetree/bindings/media/snps,dw-mipi-csi.txt | 27 ++++++++++++++++++++++ .../devicetree/bindings/media/snps,plat-ipk.txt | 9 ++++++++ .../bindings/media/snps,video-device.txt | 12 ++++++++++ 3 files changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/snps,dw-mipi-csi.txt create mode 100644 Documentation/devicetree/bindings/media/snps,plat-ipk.txt create mode 100644 Documentation/devicetree/bindings/media/snps,video-device.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 0000000..bec7441 --- /dev/null +++ b/Documentation/devicetree/bindings/media/snps,dw-mipi-csi.txt @@ -0,0 +1,27 @@ +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 +- data-lanes : Number of lanes to be used +- output-type : Core output to be used (IPI-> 0 or IDI->1 or BOTH->2) +- phys, phy-names: List of one PHY specifier and identifier string (as defined + in Documentation/devicetree/bindings/phy/phy-bindings.txt). + +Optional properties(if in IPI mode): +- ipi-mode : Mode to be used when in IPI(Camera -> 0 or Automatic -> 1) +- ipi-color-mode: Color depth to be used in IPI (48 bits -> 0 or 16 bits -> 1) +- ipi-auto-flush: Data auto-flush (1 -> Yes or 0 -> No) +- virtual-channel: Virtual channel where data is present when in IPI + +The per-board settings: + - port sub-node describing a single endpoint connected to the dw-mipi-csi + as described in video-interfaces.txt[1]. diff --git a/Documentation/devicetree/bindings/media/snps,plat-ipk.txt b/Documentation/devicetree/bindings/media/snps,plat-ipk.txt new file mode 100644 index 0000000..2d51541 --- /dev/null +++ b/Documentation/devicetree/bindings/media/snps,plat-ipk.txt @@ -0,0 +1,9 @@ +Synopsys DesignWare CSI-2 Host IPK Media Device + +This Media Device at the moment is not totally functional, however it is a base +for the future. + +Required properties: + +- compatible: Must be "snps,plat-ipk". + diff --git a/Documentation/devicetree/bindings/media/snps,video-device.txt b/Documentation/devicetree/bindings/media/snps,video-device.txt new file mode 100644 index 0000000..d467092 --- /dev/null +++ b/Documentation/devicetree/bindings/media/snps,video-device.txt @@ -0,0 +1,12 @@ +Synopsys DesignWare CSI-2 Host video device + +This driver handles all the video handling part of this platform. + +Required properties: + +- compatible: Must be "snps,video-device". + +- dmas, dma-names: List of one DMA specifier and identifier string (as defined + in Documentation/devicetree/bindings/dma/dma.txt) per port. Each port + requires a DMA channel with the identifier string set to "port" followed by + the port index. -- 2.10.2
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] Add support for the DW IP Prototyping Kits for MIPI CSI-2 Host Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> - 2016-11-14 15:30 +0100
[PATCH 1/2] Add Documentation for Media Device, Video Device, and Synopsys DW MIPI CSI-2 Host Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> - 2016-11-14 15:30 +0100
Re: [PATCH 1/2] Add Documentation for Media Device, Video Device, and Synopsys DW MIPI CSI-2 Host Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-11-14 15:50 +0100
Re: [PATCH 1/2] Add Documentation for Media Device, Video Device, and Synopsys DW MIPI CSI-2 Host Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> - 2016-11-14 16:40 +0100
csiph-web