Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/i2c put the one out-of-order register info in its pr...



details:   https://anonhg.NetBSD.org/src/rev/20def7200053
branches:  trunk
changeset: 786409:20def7200053
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sun Apr 28 00:47:20 2013 +0000

description:
put the one out-of-order register info in its proper sequence

diffstat:

 sys/dev/i2c/tps65217pmicreg.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 1067933a838c -r 20def7200053 sys/dev/i2c/tps65217pmicreg.h
--- a/sys/dev/i2c/tps65217pmicreg.h     Sun Apr 28 00:45:45 2013 +0000
+++ b/sys/dev/i2c/tps65217pmicreg.h     Sun Apr 28 00:47:20 2013 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index