greybus: camera: add semiplanar and planar formats
authorGjorgji Rosikopulos <grosikopulos@mm-sol.com>
Fri, 22 Jan 2016 15:59:44 +0000 (17:59 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 22 Jan 2016 23:47:27 +0000 (15:47 -0800)
commit7c154711a6705bbc3036d8f64944e8882fe3fd84
treec027425d6e005737ea4a9e99c455f0068e3e2da9
parentf3e6c0971af62c81d0a9f0b408ae0e97248e2976
greybus: camera: add semiplanar and planar formats

This change adds missing planar and semiplanar
formats from gb specification.

Mbus to Gb format map:
V4L2_MBUS_FMT_NV12_1x8 -> 0x12
V4L2_MBUS_FMT_NV21_1x8 -> 0x13
V4L2_MBUS_FMT_YV12_1x8 -> 0x16
V4L2_MBUS_FMT_YU12_1x8 -> 0x17

Change depends on:
"media: add new mediabus format enums for ara camera"

Signed-off-by: Gjorgji Rosikopulos <grosikopulos@mm-sol.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/camera.c