Commit 0b77f8e
committed
drivers: video: hm01b0 - add missing pieces
Adding some of the missing pieces to the HM01b0 video class.
changed the VIDEO define to match all of the other video drivers
that I have tried:
That is CONFIG_VIDEO_HIMAX_HM01B0 to CONFIG_VIDEO_HM01B0
Added PWDN and RESET pins, to yaml, plus code.
Added a few more format sizes: 324x324 to 324x244 164x122
match the spec.
Added BAYER format for the color camera (VIDEO_PIX_FMT_SBGGR8)
Only for Full, and QVGA, as cameras with BAYER filter do
not support the binning mode.
Added 4 data bit support, using new format: VIDEO_PIX_FMT_Y4
Support for hflip/vflip controls.
Added the frmival set/get/enum functions, to allow us better
control of how many frames are generated per second.
Used the reset register enumeration similar to other implementions,
such as Arduino library, Teensy Library, and OpenME
Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>1 parent d1f4dc4 commit 0b77f8e
File tree
4 files changed
+418
-31
lines changed- drivers/video
- dts/bindings/video
4 files changed
+418
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments