]> git.sur5r.net Git - u-boot/commitdiff
rk3399: syscon: add support for pmugrf
authorKever Yang <kever.yang@rock-chips.com>
Tue, 16 Aug 2016 09:58:10 +0000 (17:58 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 22 Sep 2016 13:32:22 +0000 (07:32 -0600)
pmugrf is a module like grf which contain some of the iomux registers
and other registers.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/clock.h
arch/arm/mach-rockchip/rk3399/syscon_rk3399.c

index 21edbc2f8989705b1b84c9b1b3d03706a72907bc..804c77beaac833cccd027817f3d5780880af45c3 100644 (file)
@@ -16,6 +16,7 @@ enum {
        ROCKCHIP_SYSCON_GRF,
        ROCKCHIP_SYSCON_SGRF,
        ROCKCHIP_SYSCON_PMU,
+       ROCKCHIP_SYSCON_PMUGRF,
 };
 
 /* Standard Rockchip clock numbers */
index 2d81c55cd23f44169d9f3ae4f5a3048d34364ec2..2cef68bc4df45c56e49dd2a686242dba642e6de1 100644 (file)
@@ -11,6 +11,7 @@
 
 static const struct udevice_id rk3399_syscon_ids[] = {
        { .compatible = "rockchip,rk3399-grf", .data = ROCKCHIP_SYSCON_GRF },
+       { .compatible = "rockchip,rk3399-pmugrf", .data = ROCKCHIP_SYSCON_PMUGRF },
 };
 
 U_BOOT_DRIVER(syscon_rk3399) = {