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>
Merge branch 'devel/fromlist' into devel/workbench
rk3xxx: remove obsolete bus-index property
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>
Merge branch 'devel/fromlist' into devel/workbench
rk808-regulator: fixup a small mistake from the last submission