drm: Fix EDID color fromat parsing

The code should obviously check the EDID feature field for EDID feature flags
and not the color_formats field of the drm_display_info struct. Also update the
color_formats field with new modes instead of overwriting the current mode.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
drm: Parse color format information in CEA blocks

The CEA extension block has a field which describes which YCbCr modes are
supported by the device, use it to fill the drm_display_info color_formats
fields. Also the existence of a CEA extension block is used as indication
that the device supports RGB.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
DMA: Fix dmaengine_prep_slave_single

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
drm: Decouple edid parsing from i2c adapter

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
DRM: Add adv7511 encoder driver

This patch adds a driver for the Analog Devices adv7511. The adv7511 is a
standalone HDMI transmitter chip. It features a HDMI output interface on one end
and video and audio input interfaces on the other.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
DRM: Add driver for Analog Devices FPGA platforms

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
DRM: Enabled debugging by default

Enable DRM debugging by default for now.
ASoC: Add dmaengine PCM helper functions

This patch adds a set of functions which are intended to be used when
implementing a dmaengine based sound PCM driver.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
ASoC: Add support for Xilinx FPGA based boards

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
ASoC: Add SPDIF DAI format

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
ASoC: Xilinx: Add AXI SPDIF driver

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
ASoC: Xilinx: Add ADV7511 HDMI board driver

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
regmap: rbtree: Fix register default look-up in sync

The code currently passes the register offset in the current block to
regcache_lookup_reg. This works fine as long as there is only one block and with
base register of 0, but in all other cases it will look-up the default for a
wrong register, which can cause unnecessary register writes. This patch fixes
it by passing the actual register number to regcache_lookup_reg.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: <stable@vger.kernel.org>
Increase DMA memory region

We need this for now to be able to allocate the framebuffer memory region
until we have CMA support.
Do not register I2C devices from board file

We do this from the device tree.
Configure the I2C pins for GPIO functionality

The I2C core really likes to act up, so fall back to GPIO I2C bitbanging for now.
of: introduce helper to manage boolean

of_property_read_bool

Search for a property in a device node.
Returns true if the property exist false otherwise.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
i2c/gpio: add DT support

To achieve DT support, we need to populate a custom platform_data in a
private struct from DT information. To simplify code, the adapter and
algorithm are also put into the private struct.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Add ZC702 + ADV7511 device tree
I2C: xiic: Add OF binding support

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>