diff options
author | Tom Rini <trini@konsulko.com> | 2019-08-23 17:03:13 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-23 17:03:13 +0300 |
commit | b242d1b13e43906af288d8a8bdf396ba2cfbf2d1 (patch) | |
tree | 8746e9a5a9966b3df3a695814e1291c07b768c21 /include | |
parent | c399dca83434290ac502207f2d6db13c59d89267 (diff) | |
parent | f62ec5c4bba2556202523b0f48655dacbe90753a (diff) | |
download | u-boot-b242d1b13e43906af288d8a8bdf396ba2cfbf2d1.tar.xz |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-clk
Diffstat (limited to 'include')
-rw-r--r-- | include/clk.h | 1 | ||||
-rw-r--r-- | include/sandbox-clk.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/clk.h b/include/clk.h index 3ca2796b57..18b2e3ca54 100644 --- a/include/clk.h +++ b/include/clk.h @@ -61,6 +61,7 @@ struct clk { struct udevice *dev; long long rate; /* in HZ */ u32 flags; + int enable_count; /* * Written by of_xlate. In the future, we might add more fields here. */ diff --git a/include/sandbox-clk.h b/include/sandbox-clk.h index f449de1364..296cddfbb0 100644 --- a/include/sandbox-clk.h +++ b/include/sandbox-clk.h @@ -20,6 +20,7 @@ enum { SANDBOX_CLK_USDHC1_SEL, SANDBOX_CLK_USDHC2_SEL, SANDBOX_CLK_I2C, + SANDBOX_CLK_I2C_ROOT, }; enum sandbox_pllv3_type { @@ -74,4 +75,6 @@ static inline struct clk *sandbox_clk_mux(const char *name, void __iomem *reg, width, 0); } +int sandbox_clk_enable_count(struct clk *clk); + #endif /* __SANDBOX_CLK_H__ */ |