add chromeos scripts

make.sh:
1.run './make.sh evb' to build evb_rk808 kernel image
2.modify 'export CROSS_COMPILE=...' to use your own toolchains,
	when trying to build outside chroot environment
3.modify 'DTB=...' to specify your own dts

flash.sh:
run './flash.sh' to flash kernel.img

save_config.sh:
run './save_config.sh' to save current '.config'

Change-Id: I830f59024051bb3c3097e1fc69fa3441b20f0bc3
CHROMIUM: rk808: rockchip: add pmic rk808 driver.

Rk808 is a pmic used in rk3288 soc, it contains rtc, regulator

BUG=chrome-os-partner:30167
TEST=Build and boot on veyron. Set the regulator voltage, read the register.

Change-Id: I16988f96cc979cdf327df55a32645d97ffb7101a
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
CHROMIUM: config: rockchip: enable rk808 for rk3288

This amounts to:

 echo 'CONFIG_MFD_RK808=y' >> \
   chromeos/config/armel/chromiumos-rockchip.flavour.config
 echo 'CONFIG_REGULATOR_RK808=y' >> \
   chromeos/config/armel/chromiumos-rockchip.flavour.config
 echo 'CONFIG_RTC_DRV_RK808=y' >> \
   chromeos/config/armel/chromiumos-rockchip.flavour.config

 echo 'CONFIG_MFD_RK808=y' >> \
   chromeos/config/armel/chromiumos-arm.flavour.config
 echo 'CONFIG_REGULATOR_RK808=y' >> \
   chromeos/config/armel/chromiumos-arm.flavour.config
 echo 'CONFIG_RTC_DRV_RK808=y' >> \
   chromeos/config/armel/chromiumos-arm.flavour.config

 ./chromeos/scripts/kernelconfig oldconfig

 git show 1b3f7a0f16215acef99743bc595ef5b29dac4f65 | patch -p1

BUG=chrome-os-partner:30167
TEST=rk808 driver now gets built; future changes work

Change-Id: I993e3973cfa74b86eaaf1c2827b4fbfed8d2685e
Signed-off-by: Doug Anderson <dianders@chromium.org>
ARM: dts: Move the PMU interrupt pinctrl line to rk3288-evb common

The PMU interrupt pinctrl line was added to the rk3288-evb-act8846,
but it's the same line on both the ACT8846 version and the RK808
version.  This makes a lot of sense since they share the same SoC
daugherboard.  Move the pinctrl definition to the common file so we
can use it for the RK808 version.

BUG=chrome-os-partner:30167
TEST=Used by future change.

Change-Id: I7249b902f87a6e3c251a162ea9de5252c0f0cd3b
Signed-off-by: Doug Anderson <dianders@chromium.org>
ARM: dts: Add rk808 PMIC to the rk3288-evb-rk808 dts file

This adds initial support.  For now, regulators are always on and we
don't specify the input supply for the regulators.

BUG=chrome-os-partner:30167
TEST=grep "" /sys/class/regulator/*/name shows all regulators

Change-Id: I357b7c54e3a814451f1a76e6defcfe2fd660219a
Signed-off-by: huang lin <hl@rock-chips.com>
Signed-off-by: Doug Anderson <dianders@chromium.org>