rockchip: dm: convert fdt_get to dev_read
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 7 Jun 2017 16:46:03 +0000 (18:46 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 10:13:44 +0000 (12:13 +0200)
commit8f1034e627f1af3940d92cab3bc9cacc81df4779
treeb56ff07f6dcaa1f651a022f175fb3d58dc4752c1
parent3d40479f00c9406463b716d1874de0d2f4a31a02
rockchip: dm: convert fdt_get to dev_read

With the new dev_read functions available, we can convert the rockchip
architecture-specific drivers and common drivers used by these devices
over to the dev_read family of calls.

This covers the DRAM controller initialisation for the RK3188, RK3288
and RK3399... all of these read some of the tuning/setup/timing
parameters from the device-tree.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk3188/sdram_rk3188.c
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c
arch/arm/mach-rockchip/rk3399/sdram_rk3399.c