[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1399467644-27222-3-git-send-email-guido@vanguardiasur.com.ar>
Date: Wed, 7 May 2014 10:00:43 -0300
From: Guido Martínez <guido@...guardiasur.com.ar>
To: robh+dt@...nel.org
Cc: devicetree@...r.kernel.org,
Ezequiel García <ezequiel@...guardiasur.com.ar>,
dmitry.torokhov@...il.com, linux-input@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
Guido Martínez <guido@...guardiasur.com.ar>
Subject: [RFC/PATCH 2/3] DT: input: adp5589: add adp5589 include file
Add include file with macros ADP_COL and ADP_ROW, used to specify pull
configuration for the adp5589.
Signed-off-by: Guido Martínez <guido@...guardiasur.com.ar>
---
include/dt-bindings/input/adp5589.h | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 include/dt-bindings/input/adp5589.h
diff --git a/include/dt-bindings/input/adp5589.h b/include/dt-bindings/input/adp5589.h
new file mode 100644
index 0000000..5285003
--- /dev/null
+++ b/include/dt-bindings/input/adp5589.h
@@ -0,0 +1,7 @@
+#ifndef _DT_BINDINGS_INPUT_ADP5589_H
+#define _DT_BINDINGS_INPUT_ADP5589_H
+
+#define ADP_ROW(x) (1 << (x))
+#define ADP_COL(x) (1 << (8+(x)))
+
+#endif
--
2.0.0.rc0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists