]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: Import the BCM2835 MMAL-based V4L2 camera driver.
authorEric Anholt <eric@anholt.net>
Fri, 27 Jan 2017 21:54:58 +0000 (13:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Jan 2017 09:44:27 +0000 (10:44 +0100)
commit7b3ad5abf027b7643b38c4006d7f4ce47a86dd3a
tree6869f582ae3576e4da1886262a184b183a3367c3
parent50e66ccbb72d50edc25844bb476f0e4645e12f7a
staging: Import the BCM2835 MMAL-based V4L2 camera driver.

- Supports raw YUV capture, preview, JPEG and H264.
- Uses videobuf2 for data transfer, using dma_buf.
- Uses 3.6.10 timestamping
- Camera power based on use
- Uses immutable input mode on video encoder

This code comes from the Raspberry Pi kernel tree (rpi-4.9.y) as of
a15ba877dab4e61ea3fc7b006e2a73828b083c52.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 files changed:
drivers/staging/media/platform/bcm2835/bcm2835-camera.c [new file with mode: 0644]
drivers/staging/media/platform/bcm2835/bcm2835-camera.h [new file with mode: 0644]
drivers/staging/media/platform/bcm2835/controls.c [new file with mode: 0644]
drivers/staging/media/platform/bcm2835/mmal-common.h [new file with mode: 0644]
drivers/staging/media/platform/bcm2835/mmal-encodings.h [new file with mode: 0644]
drivers/staging/media/platform/bcm2835/mmal-msg-common.h [new file with mode: 0644]
drivers/staging/media/platform/bcm2835/mmal-msg-format.h [new file with mode: 0644]
drivers/staging/media/platform/bcm2835/mmal-msg-port.h [new file with mode: 0644]
drivers/staging/media/platform/bcm2835/mmal-msg.h [new file with mode: 0644]
drivers/staging/media/platform/bcm2835/mmal-parameters.h [new file with mode: 0644]
drivers/staging/media/platform/bcm2835/mmal-vchiq.c [new file with mode: 0644]
drivers/staging/media/platform/bcm2835/mmal-vchiq.h [new file with mode: 0644]