diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-10-14 10:15:20 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-10-14 10:15:20 +1100 |
commit | 07023867bcd5f305ce5a3868fd7c76ef79241c9e (patch) | |
tree | 1e703bd10b77797183bbd20904b802d8b9f3d92c /drivers | |
parent | 658d259db1188410faf6d1c9455a842544435215 (diff) | |
parent | 429823087fec3d3138c72f2910d36d3d8d0733a7 (diff) |
Merge remote-tracking branch 'sunxi/sunxi/for-next'
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/clk/sunxi/clk-sunxi.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c index b654b7b1d137..2cf6581329a6 100644 --- a/drivers/clk/sunxi/clk-sunxi.c +++ b/drivers/clk/sunxi/clk-sunxi.c @@ -762,10 +762,19 @@ static const struct div_data sun4i_ahb_data __initconst = { .width = 2, }; +static const struct clk_div_table sun4i_apb0_table[] __initconst = { + { .val = 0, .div = 2 }, + { .val = 1, .div = 2 }, + { .val = 2, .div = 4 }, + { .val = 3, .div = 8 }, + { } /* sentinel */ +}; + static const struct div_data sun4i_apb0_data __initconst = { .shift = 8, .pow = 1, .width = 2, + .table = sun4i_apb0_table, }; static const struct div_data sun6i_a31_apb2_div_data __initconst = { |