lkml.org 
[lkml]   [2017]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
This patchset enables OV9655 camera support of STM32F4DIS-CAM extension
board plugged on connector P1 of STM32F746G-DISCO board.

Tested by doing a fullscreen preview with a modified version of yavta [1]
which redirects captured frames to framebuffer:
yavta -s 480x272 -n 1 --capture=-1 /dev/video0 -D (note the unofficial
"-D" option for "Display output")

First part of patches brings few fixes in DCMI driver and introduces
internal crop support in order to enable fullscreen preview (480x272)
by cropping VGA sensor output.

Second part relates to devicetree and configuration to enable DCMI on
STM32F746 MCU then enable DCMI and OV9655 support on STM32F746G-DISCO [2].

[1] http://git.ideasonboard.org/?p=yavta.git;a=summary
[2] due to STM32F746G-DISCO support not yet in media tree (4.13-rc1),
devicetree patches related to STM32F746G-DISCO are not yet provided.

===========
= history =
===========
version 1:
- Initial submission for code review with restrictions [2].


Hugues Fruchet (5):
[media] stm32-dcmi: catch dma submission error
[media] stm32-dcmi: revisit control register handling
[media] stm32-dcmi: crop sensor image to match user resolution
ARM: dts: stm32: Enable DCMI support on STM32F746 MCU
ARM: configs: stm32: DCMI + OV9655 camera support

arch/arm/boot/dts/stm32f746.dtsi | 31 +++++++++++++
arch/arm/configs/stm32_defconfig | 9 ++++
drivers/media/platform/stm32/stm32-dcmi.c | 72 ++++++++++++++++++++++++++-----
3 files changed, 101 insertions(+), 11 deletions(-)

--
1.9.1

\
 
 \ /
  Last update: 2017-06-22 20:04    [W:0.106 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site