summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorjakllsch <jakllsch@NetBSD.org>2013-04-28 00:47:20 +0000
committerjakllsch <jakllsch@NetBSD.org>2013-04-28 00:47:20 +0000
commit3c7f652f7996bb4c411209548eb96be2fe548452 (patch)
treebd122262bfdde9f495f17a40626f642d0f16b5a0 /sys/dev
parente78d4c07364e770d1e576c4d3aa4c79829928b16 (diff)
put the one out-of-order register info in its proper sequence
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/i2c/tps65217pmicreg.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/i2c/tps65217pmicreg.h b/sys/dev/i2c/tps65217pmicreg.h
index ec8e0d8338d..667c746f79d 100644
--- a/sys/dev/i2c/tps65217pmicreg.h
+++ b/sys/dev/i2c/tps65217pmicreg.h
@@ -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)