******************************************************************
The following informations are for the phyCORE-STM32MP1 PHYTEC BSP 
******************************************************************

The following phytec cameras are currently supported:
- VM-016-BW (@50MHz)
- VM-016-COL (@50MHz)

Please read the Hardware Manual L-748e of "phyCAM-P / phyCAM-S".
Please read the Guide L-874e for "phyCAM-P VM-016"


********************************************************************
camera configuration
********************************************************************

The STM32MP1 processor comes with one parallel interface (DCMI) to connect one camera.
- phyCORE-STM32MP1 with a DCMI interface (up to 14-Bit)
  * phyCORE-STM32MP1 on phyBOARD-Sargas Development Kit with a DCMI interface
    to connect phyCAM-P cameras (up to 8 or 10 bits).

The BSP includes drivers to support connected phytec-cameras.

The drivers are compatible with v4l2 and the gstreamer scripts give examples of
the usage and functionality.

camera typ (defaults)
=====================
VM-016-BW or VM-016-COL at i2c adress 0x10


set new camera i2c adress or new camera typ
===========================================
To use the cameras with different i2c adresses or to add a new camera, you have to compile a new image
(or add new device tree overlays).
See instruction manual for YOCTO-BSPs.


First steps:
============
1) Check the jumper settings, read "hardware manual" (only at first start necessary).
2) Setup device tree, for the connected camera (only at first start necessary), applying
   the available device tree overlays on target (under /boot/overlays/):

To activate phyCAM-P VM-016:
- phyboard-stm32mp1-pcm939l-phycam-vm016-8bits.dts - activate VM-016 on PCM939L baseboard
- phyboard-stm32mp1-pcm939-phycam-vm016-8bits.dts  - activate VM-016 on PCM939 baseboard

The procedure to apply device tree overlays can be found in the following file on target: 
/boot/overlays/README.md

3) Start gstreamer Demos
   - after login
   - go to the directory  /gstreamer_examples -> cd gstreamer_examples <ENTER>
   - start "bwcam-wayland_640x480.sh" / "colcam-wayland_640x480.sh" (depending on your camera type)
     or start any other available demo.
