i2c: pca954x: Fix reset GPIO property name

The DT bindings for the pca954x document that the reset GPIO is
specified through the "reset-gpios" property. However, the driver
erroneously uses a property name of "reset-gpio".

The GPIO DT bindings documentation mentions that

"GPIO properties should be named "[<name>-]gpios". The exact meaning of
each gpios property must be documented in the device tree binding for
each device."

The correct reset GPIO property name is thus "reset-gpios". Fix the
driver accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drm: adv7511: Add regcache_mark_dirty() in probe()

Mark the register cache as dirty in probe(), otherwise the regcache doesn't
get synced properly in adv7511_encoder_dpms(). This results in some issue,
such as output format mismatch between adv7511 and some monitor.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Revert "media: xilinx: dma: Workaround for bytesperline"

This reverts commit b4859c939e1febb638e23accc1c3a66b72e10ccc.
Zynq Base TRD LogiCVC DRM integration requires programming
bytesperline field i.e stride is not same as width.
So we need to get rid of this workaround and send mplayer
fix to its mailing list.

Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
media: xilinx: Added DMA error handling

Validate dma tx descriptor returned from
dmaengine_prep_slave_single() and reports
error if any.
Next dequeue operation fails with -ENODEV

Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
media: xilinx: Fix error handling

Fix error handling in xvip_graph_dma_init()
Avoid multiple free of vb2 dma context

Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
media: xilinx: Reordered mutexes initialization

Moved mutexes initialization up and modified error handling
for media_entity_init.

Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
media: xilinx: Set format description in enum_fmt

Add a description field to the xvip_video_format structure and use it to
fill the format description during format enumeration.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
media: xilinx: vipp: Add devicetree bindings documentation

Add devicetree bindings documentation for the Xilinx Video IP pipeline driver.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[HACK] media: xilinx: Apply TPG reset on stop.

Added hack to apply TPG reset on
pipeline stop.
In current setup both vdma and TPG
are resetted. Since vdma is synced
with SOF of TPG ideally we shouldnt
need a reset.
It needs to be fixed!

Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com>
[HACK] media: xilinx: Fix VTC timing for 1080p.

Temporary fix for programming VTC timing
generator.
TODO:
Need to explore if we can extract kernel
timing info and program it generically for
the other resolutions.

Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com>
v4l: xilinx: Add HLS core driver

Follow Up Flag: Follow up
Flag Status: Flagged

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[HACK] v4l: xilinx: Program HLS filter coefficients.

Program filter coefficients for now till
we get v4l2 user plugin implemented.

Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com>
zynq: config: add vdf defconfig

enable sobel driver
zynq: dt: add devicetrees for base trd and vdf designs