regulator: RK808: Add proper input supplies for rk808

The original RK808 regulator driver didn't setup input supplies
properly.  Add them.

Signed-off-by: Doug Anderson <dianders@chromium.org>
dt-bindings: Add RK808 device tree bindings document

Add device tree bindings documentation and a header file
for rockchip's RK808 pmic.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Zhang Qing <zhangqing@rock-chips.com>

Tested-by: Heiko <heiko@sntech.de>
MFD: RK808: Add new mfd driver for RK808

The RK808 chip is a power management IC for multimedia and handheld
devices. It contains the following components:

- Regulators
- RTC
- Clkout

The RK808 core driver is registered as a platform driver and provides
communication through I2C with the host device for the different
components.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Zhang Qing <zhangqing@rock-chips.com>

Acked-by: Lee Jones <lee.jones@linaro.org>
Tested-by: Heiko <heiko@sntech.de>
Revert "regulator: RK808: Add proper input supplies for rk808"

This reverts commit f950831550be559552603409e88192b6066d5c6c.
Revert "regulator: RK808: Remove pdata from the regulator"

This reverts commit cc02b9db2bb9f734e77f19c3e8950627945bb3c2.
Revert "clk: RK808: Add clkout driver for RK808"

This reverts commit ad8c0c17143c8e8ffa1463fb3a07b4f1738c8020.
Revert "RTC: RK808: add RTC driver for RK808"

This reverts commit 2d001aaf903f5c952cee08f155c27ab049cff89d.
Revert "MFD: RK808: Add new mfd driver for RK808"

This reverts commit c35f406be02c55df97de3ea55595bcbae3880124.
Revert "dt-bindings: Add RK808 device tree bindings document"

This reverts commit 7a4a972e6025fd23e0ad5f5134b537eab943806d.
Merge branch 'devel/upstream' into devel/fromlist
RTC: RK808: add RTC driver for RK808

Adding RTC driver for supporting RTC device present inside RK808 PMIC.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Zhang Qing <zhangqing@rock-chips.com>

Tested-by: Heiko <heiko@sntech.de>
clk: RK808: Add clkout driver for RK808

Signed-off-by: Chris Zhong <zyw@rock-chips.com>

Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Tested-by: Heiko <heiko@sntech.de>
regulator: rk808: Fix n_voltages for DCDC4

The min_sel is 0, max_sel is 15, so n_voltages should be 16.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
regulator: RK808: Add proper input supplies for rk808

The original RK808 regulator driver didn't setup input supplies
properly.  Add them.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Merge branch 'devel/upstream' into devel/fromlist
regulator: RK808: Remove pdata from the regulator

Signed-off-by: Chris Zhong <zyw@rock-chips.com>

Tested-by: Heiko <heiko@sntech.de>
ethernet: arc: Add support for Rockchip SoC layer device tree bindings

This patch defines a platform glue layer for Rockchip SoCs which
support arc-emac driver. It ensures that regulator for the rmii is on
before trying to connect to the ethernet controller. It applies right
speed and mode changes to the grf when ethernet settings change.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
dt-bindings: Document EMAC Rockchip

This adds the necessary binding documentation for the EMAC Rockchip platform
driver found in RK3066 and RK3188 SoCs.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
ARM: dts: Add emac nodes to the rk3188 device tree

This adds support for EMAC Rockchip driver on RK3188 SoCs.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
ARM: dts: Enable emac node on the rk3188-radxarock boards

This enables EMAC Rockchip support on radxa rock boards.

Signed-off-by: Romain Perier <romain.perier@gmail.com>