summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-rockchip/clock.h
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2018-11-30 11:34:12 -0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2018-11-30 21:56:44 +0100
commit5d2cb15c7737e51f669f80d82ad7286d0f573097 (patch)
tree328774cf1678c5ed5d97610a49056188190a43d3 /arch/arm/include/asm/arch-rockchip/clock.h
parent765246a18c9e9971632327488097b63d60a1943e (diff)
ARM: rockchip: rv1108: Sync clock with vendor tree
Make adjustments to the rv1108 clock driver in order to align it with the internal Rockchip version. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'arch/arm/include/asm/arch-rockchip/clock.h')
-rw-r--r--arch/arm/include/asm/arch-rockchip/clock.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/clock.h b/arch/arm/include/asm/arch-rockchip/clock.h
index 1d5b3a07d0..0eb19ca86f 100644
--- a/arch/arm/include/asm/arch-rockchip/clock.h
+++ b/arch/arm/include/asm/arch-rockchip/clock.h
@@ -43,6 +43,12 @@ struct sysreset_reg {
unsigned int glb_srst_snd_value;
};
+struct softreset_reg {
+ void __iomem *base;
+ unsigned int sf_reset_offset;
+ unsigned int sf_reset_num;
+};
+
/**
* clk_get_divisor() - Calculate the required clock divisior
*