Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2016 14:09:30 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307963 - head/sys/arm/allwinner/clk
Message-ID:  <201610261409.u9QE9UPV055726@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Wed Oct 26 14:09:30 2016
New Revision: 307963
URL: https://svnweb.freebsd.org/changeset/base/307963

Log:
  Define the Allwinner PLL FDT constants in the file that uses them rather
  than including a file from under sys/gnu.
  
  Sponsored by:	DARPA, AFRL

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	Wed Oct 26 12:41:44 2016	(r307962)
+++ head/sys/arm/allwinner/clk/aw_pll.c	Wed Oct 26 14:09:30 2016	(r307963)
@@ -47,12 +47,15 @@ __FBSDID("$FreeBSD$");
 
 #include <dev/extres/clk/clk.h>
 
-#include <dt-bindings/clock/sun4i-a10-pll2.h>
-
 #include <arm/allwinner/aw_machdep.h>
 
 #include "clkdev_if.h"
 
+#define	SUN4I_A10_PLL2_1X		0
+#define	SUN4I_A10_PLL2_2X		1
+#define	SUN4I_A10_PLL2_4X		2
+#define	SUN4I_A10_PLL2_8X		3
+
 #define	AW_PLL_ENABLE			(1 << 31)
 
 #define	A10_PLL1_OUT_EXT_DIVP		(0x3 << 16)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610261409.u9QE9UPV055726>