Messages in this thread Patch in this message | | | From | Guido Martínez <> | Subject | [RFC/PATCH 2/3] DT: input: adp5589: add adp5589 include file | Date | Wed, 7 May 2014 10:00:43 -0300 |
| |
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@vanguardiasur.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |