Author: jmcneill
Date: Sat Oct 15 12:23:54 2016
New Revision: 307354
URL: https://svnweb.freebsd.org/changeset/base/307354

Log:
  Provide a complete A23 PLL1 factor table, from 60MHz to 1872MHz.

Modified:
  head/sys/arm/allwinner/clk/aw_pll.c

Modified: head/sys/arm/allwinner/clk/aw_pll.c
==============================================================================
--- head/sys/arm/allwinner/clk/aw_pll.c Sat Oct 15 12:22:06 2016        
(r307353)
+++ head/sys/arm/allwinner/clk/aw_pll.c Sat Oct 15 12:23:54 2016        
(r307354)
@@ -193,12 +193,76 @@ struct aw_pll_factor {
        { .n = (_n), .k = (_k), .m = (_m), .p = (_p), .freq = (_freq) }
 
 static struct aw_pll_factor aw_a23_pll1_factors[] = {
+       PLLFACTOR(9, 0, 0, 2, 60000000),
+       PLLFACTOR(10, 0, 0, 2, 66000000),
+       PLLFACTOR(11, 0, 0, 2, 72000000),
+       PLLFACTOR(12, 0, 0, 2, 78000000),
+       PLLFACTOR(13, 0, 0, 2, 84000000),
+       PLLFACTOR(14, 0, 0, 2, 90000000),
+       PLLFACTOR(15, 0, 0, 2, 96000000),
+       PLLFACTOR(16, 0, 0, 2, 102000000),
+       PLLFACTOR(17, 0, 0, 2, 108000000),
+       PLLFACTOR(18, 0, 0, 2, 114000000),
+       PLLFACTOR(9, 0, 0, 1, 120000000),
+       PLLFACTOR(10, 0, 0, 1, 132000000),
+       PLLFACTOR(11, 0, 0, 1, 144000000),
+       PLLFACTOR(12, 0, 0, 1, 156000000),
+       PLLFACTOR(13, 0, 0, 1, 168000000),
+       PLLFACTOR(14, 0, 0, 1, 180000000),
+       PLLFACTOR(15, 0, 0, 1, 192000000),
+       PLLFACTOR(16, 0, 0, 1, 204000000),
+       PLLFACTOR(17, 0, 0, 1, 216000000),
+       PLLFACTOR(18, 0, 0, 1, 228000000),
+       PLLFACTOR(9, 0, 0, 0, 240000000),
+       PLLFACTOR(10, 0, 0, 0, 264000000),
+       PLLFACTOR(11, 0, 0, 0, 288000000),
+       PLLFACTOR(12, 0, 0, 0, 312000000),
+       PLLFACTOR(13, 0, 0, 0, 336000000),
+       PLLFACTOR(14, 0, 0, 0, 360000000),
+       PLLFACTOR(15, 0, 0, 0, 384000000),
        PLLFACTOR(16, 0, 0, 0, 408000000),
+       PLLFACTOR(17, 0, 0, 0, 432000000),
+       PLLFACTOR(18, 0, 0, 0, 456000000),
+       PLLFACTOR(19, 0, 0, 0, 480000000),
+       PLLFACTOR(20, 0, 0, 0, 504000000),
+       PLLFACTOR(21, 0, 0, 0, 528000000),
+       PLLFACTOR(22, 0, 0, 0, 552000000),
+       PLLFACTOR(23, 0, 0, 0, 576000000),
+       PLLFACTOR(24, 0, 0, 0, 600000000),
+       PLLFACTOR(25, 0, 0, 0, 624000000),
        PLLFACTOR(26, 0, 0, 0, 648000000),
+       PLLFACTOR(27, 0, 0, 0, 672000000),
+       PLLFACTOR(28, 0, 0, 0, 696000000),
+       PLLFACTOR(29, 0, 0, 0, 720000000),
+       PLLFACTOR(15, 1, 0, 0, 768000000),
+       PLLFACTOR(10, 2, 0, 0, 792000000),
        PLLFACTOR(16, 1, 0, 0, 816000000),
+       PLLFACTOR(17, 1, 0, 0, 864000000),
+       PLLFACTOR(18, 1, 0, 0, 912000000),
+       PLLFACTOR(12, 2, 0, 0, 936000000),
+       PLLFACTOR(19, 1, 0, 0, 960000000),
        PLLFACTOR(20, 1, 0, 0, 1008000000),
+       PLLFACTOR(21, 1, 0, 0, 1056000000),
+       PLLFACTOR(14, 2, 0, 0, 1080000000),
+       PLLFACTOR(22, 1, 0, 0, 1104000000),
+       PLLFACTOR(23, 1, 0, 0, 1152000000),
        PLLFACTOR(24, 1, 0, 0, 1200000000),
+       PLLFACTOR(16, 2, 0, 0, 1224000000),
+       PLLFACTOR(25, 1, 0, 0, 1248000000),
        PLLFACTOR(26, 1, 0, 0, 1296000000),
+       PLLFACTOR(27, 1, 0, 0, 1344000000),
+       PLLFACTOR(18, 2, 0, 0, 1368000000),
+       PLLFACTOR(28, 1, 0, 0, 1392000000),
+       PLLFACTOR(29, 1, 0, 0, 1440000000),
+       PLLFACTOR(20, 2, 0, 0, 1512000000),
+       PLLFACTOR(15, 3, 0, 0, 1536000000),
+       PLLFACTOR(21, 2, 0, 0, 1584000000),
+       PLLFACTOR(16, 3, 0, 0, 1632000000),
+       PLLFACTOR(22, 2, 0, 0, 1656000000),
+       PLLFACTOR(23, 2, 0, 0, 1728000000),
+       PLLFACTOR(24, 2, 0, 0, 1800000000),
+       PLLFACTOR(18, 3, 0, 0, 1824000000),
+       PLLFACTOR(25, 2, 0, 0, 1872000000),
 };
 
 enum aw_pll_type {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to