Skip to content
Commit 87f3ab94 authored by David Plowman's avatar David Plowman Committed by popcornmix
Browse files

media: ov5647: Add basic support for multiple sensor modes.



Specifically:

Added a structure ov5647_mode and a list of supported_modes (though no
actual new modes as yet). The state object points to the "current mode".

ov5647_enum_mbus_code, ov5647_enum_frame_size, ov5647_set_fmt and
ov5647_get_fmt all needed upgrading to cope with multiple modes.

__sensor_init (which writes all the registers) is now called by
ov5647_stream_on (once the mode is known) rather than by
ov5647_sensor_power.

Signed-off-by: default avatarDavid Plowman <david.plowman@raspberrypi.com>
Signed-off-by: default avatarNaushir Patuck <naush@raspberrypi.com>
parent a272b281
  • mirror @mirror

    mentioned in commit d3108c4a07f6cad6831369e4401d470bb0784080

    ·

    mentioned in commit d3108c4a07f6cad6831369e4401d470bb0784080

    Toggle commit list
  • mirror @mirror

    mentioned in commit e24b56ec9cd886d7f76b1589fedabdf3b6be9fc0

    ·

    mentioned in commit e24b56ec9cd886d7f76b1589fedabdf3b6be9fc0

    Toggle commit list
  • mirror @mirror

    mentioned in commit 9a088e75370cfbbc28590aad678e656ba9837eee

    ·

    mentioned in commit 9a088e75370cfbbc28590aad678e656ba9837eee

    Toggle commit list
  • mirror @mirror

    mentioned in commit 0c447a38

    ·

    mentioned in commit 0c447a38

    Toggle commit list
  • mirror @mirror

    mentioned in commit c6f652717008db5b653cb6f7ad5e8c69ef562ad7

    ·

    mentioned in commit c6f652717008db5b653cb6f7ad5e8c69ef562ad7

    Toggle commit list
  • mirror @mirror

    mentioned in commit 370054e365284f0ca7826b70b386b89478c72fd6

    ·

    mentioned in commit 370054e365284f0ca7826b70b386b89478c72fd6

    Toggle commit list
  • mirror @mirror

    mentioned in commit 6b72a0a552843112976478531974b33f681b5ccd

    ·

    mentioned in commit 6b72a0a552843112976478531974b33f681b5ccd

    Toggle commit list
  • mirror @mirror

    mentioned in commit dbc11174f9384241a1247b21ea9d6eadf71be55e

    ·

    mentioned in commit dbc11174f9384241a1247b21ea9d6eadf71be55e

    Toggle commit list
  • mirror @mirror

    mentioned in commit 6df4ce86

    ·

    mentioned in commit 6df4ce86

    Toggle commit list
  • mirror @mirror

    mentioned in commit 09a20178c1340726a82065b38c4ea1cce6e489f7

    ·

    mentioned in commit 09a20178c1340726a82065b38c4ea1cce6e489f7

    Toggle commit list
  • mirror @mirror

    mentioned in commit 7b61c5dc85f9bbe296fb7ea5aee3eb9140d70ab3

    ·

    mentioned in commit 7b61c5dc85f9bbe296fb7ea5aee3eb9140d70ab3

    Toggle commit list
  • mirror @mirror

    mentioned in commit 190a27ad6e6c7e705d1eaeee14abcf4d93eb2aed

    ·

    mentioned in commit 190a27ad6e6c7e705d1eaeee14abcf4d93eb2aed

    Toggle commit list
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment