Revert "mxc: gpu_viv: Add better v4 support for dmabuf handling"

This reverts commit aa1093ef0268d27e996db97e690ceb1b3e4db32a.
mxc: gpu_viv: Fix possible race when setting PM state

Previously we moved the state check up further in the function
so we could bail out quicker if we already had the state we wanted.
This didn't take into effect the possibility that another process
had set the state but not exited the function yet.  We have to
grab the lock to make sure no other changes are currently happening.
mxc: gpu_viv: Update VG PM routines

This patch updates the SetPowerManagement() routine to match the
changes made for the 2D/3D hardware.
mxc: gpu_viv: Change default logging for Integer tracking

_AllocateIntegerId and _QueryIntegerId are both tracing at the
ERROR level.  These are not errors, so bump them up to the INFO
level of verbosity.
drivers: staging: imx-drm: Add PM support to hdmi

The HDMI display sometimes does not recover after a suspend/resume
event without unplugging and reinserting the HDMI cable.  This patch
solves the problem by placing the PHY into reset during suspend, and
taking the PHY out of reset during resume.

Signed-off-by: Sean Cross <xobs@kosagi.com>
arm: dts: Add Novena to Makefile
arm: Add novena_defconfig
fs: pstore: add eeprom-based pstore backend

Some boards ship with an onboard I2C EEPROM that can be used to log
crashes and such in between reboots.  This can be more reliable,
especially when performing cold boots where the RAM contents can be lost.
drivers: gpu: i2c: Add it6251 LVDS to DP converter
pwm: imx: Support very long period lengths

The IMX PWM block supports using both the system clock and a 32 kHz
clock for driving PWM events.  For very long period lengths, use the
32 kHz clock instead of the high-speed clock.

Signed-off-by: Sean Cross <xobs@kosagi.com>
drivers: staging: imx-drm: Hack to work around LDB

The connector system tries to connect the device
/soc/aips-bus@02000000/ldb@020e0008/lvds-channel@1 which doesn't exist
on a dual-lane LVDS system.  Ignore this failure.
hid: Add custom driver for Lenovo ThinkPad Compact Bluetooth Keyboard

This keyboard requires some custom mappings for all keys to be
available, and the Fn-lock toggle needs to be controlled in software.

Signed-off-by: Jamie Lentin <jm@lentin.co.uk>
mfd: stmpe: Add OF support for irq-over-gpio

irq-over-gpio allows for using a GPIO as an IRQ source.  This patch allows
you to specify the GPIO to use via OF.
devicetree: bindings: Add Everest Semicodunctor

Everest Semiconductor makes audio codecs.

Signed-off-by: Sean Cross <xobs@kosagi.com>
clk: respect the clock dependencies in of_clk_init

Until now the clock providers were initialized in the order found in
the device tree. This led to have the dependencies between the clocks
not respected: children clocks could be initialized before their
parent clocks.

Instead of forcing each platform to manage its own initialization order,
this patch adds this work inside the framework itself.

Using the data of the device tree the of_clk_init function now delayed
the initialization of a clock provider if its parent provider was not
ready yet.

The strict dependency check (all parents of a given clk must be
initialized) was added by Boris BREZILLON

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
clk: reverse default clk provider initialization order in of_clk_init()

This restores the default clocks registration order as parsed from
devicetree, i.e. as before commit 1771b10d605d26ccee771a7fb4b08718
"clk: respect the clock dependencies in of_clk_init", for when there
is no explicit parent clock dependencies between clock providers
specified in the device tree.

It prevents regressions (boot failure, division by 0 errors) on
imx and exynos platforms.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
clk: Add of_clk_get_by_clkspec() helper

This patch adds of_clk_get_by_clkspec() helper function, which does only
a struct clk lookup from the clock providers. It is used in the subsequent
patch where parsing of a clock from device tree and the lookup from
providers needed to be split.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
clk: Support for clock parents and rates assigned from device tree

This patch adds helper functions to configure clock parents and rates
as specified through 'assigned-clock-parents', 'assigned-clock-rates'
DT properties for a clock provider or clock consumer device.
The helpers are now being called by the bus code for the platform, I2C
and SPI busses, before the driver probing and also in the clock core
after registration of a clock provider.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
ASoC: add es8328 codec driver

Add a codec driver for the Everest ES8328.  It supports two separate audio
outputs and two separate audio inputs.

Signed-off-by: Sean Cross <xobs@kosagi.com>
ASoC: fsl: add imx-es8328 machine driver

This adds an initial machine driver for the ES8328 audio codec on Freescale
boards.  The driver supports headphones and an audio regulator for an onboard
speaker amp.

Signed-off-by: Sean Cross <xobs@kosagi.com>