Module Name: src
Committed By: jakllsch
Date: Sun Apr 28 00:47:21 UTC 2013
Modified Files:
src/sys/dev/i2c: tps65217pmicreg.h
Log Message:
put the one out-of-order register info in its proper sequence
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/tps65217pmicreg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/i2c/tps65217pmicreg.h
diff -u src/sys/dev/i2c/tps65217pmicreg.h:1.3 src/sys/dev/i2c/tps65217pmicreg.h:1.4
--- src/sys/dev/i2c/tps65217pmicreg.h:1.3 Sun Apr 28 00:41:22 2013
+++ src/sys/dev/i2c/tps65217pmicreg.h Sun Apr 28 00:47:20 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: tps65217pmicreg.h,v 1.3 2013/04/28 00:41:22 jakllsch Exp $ */
+/* $NetBSD: tps65217pmicreg.h,v 1.4 2013/04/28 00:47:20 jakllsch Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -44,10 +44,6 @@
#define TPS65217PMIC_CHIPID_VER_C 0xE0
#define TPS65217PMIC_CHIPID_VER_D 0x60
-#define TPS65217PMIC_STATUS 0x0A
-#define TPS65217PMIC_STATUS_USBPWR __BIT(2)
-#define TPS65217PMIC_STATUS_ACPWR __BIT(3)
-
#define TPS65217PMIC_PPATH 0x01
#define TPS65217PMIC_PPATH_IUSB __BITS(0,1)
#define TPS65217PMIC_PPATH_IUSB_100MA 0
@@ -63,6 +59,10 @@
#define TPS65217PMIC_PPATH_USB_EN __BIT(4)
#define TPS65217PMIC_PPATH_AC_EN __BIT(5)
+#define TPS65217PMIC_STATUS 0x0A
+#define TPS65217PMIC_STATUS_USBPWR __BIT(2)
+#define TPS65217PMIC_STATUS_ACPWR __BIT(3)
+
#define TPS65217PMIC_PGOOD 0x0C
#define TPS65217PMIC_PGOOD_LDO3PG __BIT(0)
#define TPS65217PMIC_PGOOD_LDO4PG __BIT(1)