rockchip: update to handle PWMs for rk3399
authorCaesar Wang <wxt@rock-chips.com>
Wed, 10 Aug 2016 18:11:45 +0000 (02:11 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Thu, 11 Aug 2016 05:09:28 +0000 (13:09 +0800)
commit5d3b10675320aadbb1855a836d65bcd633581f7c
treed30e0c1cb1da1dbd7f16ff072e2c72b0dd3fcfa5
parentee3e93592547e78fc4ec5b88d93447e05e3b80c5
rockchip: update to handle PWMs for rk3399

This patch updates some things for rk3399, as following:

1) Add the new file to handle the pwm. (e.g. the pwm regulator)
Make sure that good deal with the pwm related things.
Also, remove some pwm setting for pmu.c.

2) Set the plls slow mode and bypass in suspend, and restore them.

Change-Id: I112806700bf433c87763aac23d22fa7e6a7f5264
plat/rockchip/rk3399/drivers/pmu/pmu.c
plat/rockchip/rk3399/drivers/pmu/pmu.h
plat/rockchip/rk3399/drivers/pwm/pwm.c [new file with mode: 0644]
plat/rockchip/rk3399/drivers/pwm/pwm.h [new file with mode: 0644]
plat/rockchip/rk3399/drivers/soc/soc.c
plat/rockchip/rk3399/drivers/soc/soc.h
plat/rockchip/rk3399/platform.mk
plat/rockchip/rk3399/rk3399_def.h