]> git.sur5r.net Git - u-boot/commit
rockchip: syscon: Update to work with of-platdata
authorSimon Glass <sjg@chromium.org>
Mon, 4 Jul 2016 17:58:33 +0000 (11:58 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Jul 2016 02:40:24 +0000 (20:40 -0600)
commit5ce4bb2709cea7bde2196ad5f3af11f8f3aa3375
tree979c291f3f9d86c10875c1b5df2325fc5e1cd8a9
parent6afc4661e0a2daa655096702171c420518f8c2a8
rockchip: syscon: Update to work with of-platdata

The syscon devices all end up having diffent driver names with of-platdata,
since the driver name comes from the first string in the compatible list.
Add separate device declarations for each one, and add a bind method to set
up driver_data correctly.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk3288/syscon_rk3288.c