diff options
author | Milo Kim <woogyom.kim@gmail.com> | 2016-10-28 15:36:59 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-11-10 00:31:43 +0300 |
commit | 98af5958044e01b683b5aff6a19b4af411531f27 (patch) | |
tree | 99697b132566c0da5b4283aa0b531d51898f7133 /include/dt-bindings | |
parent | 2d63b9ce21363e9f545463221a94262ec6ab8430 (diff) | |
download | linux-98af5958044e01b683b5aff6a19b4af411531f27.tar.xz |
dt-bindings: mfd: Provide human readable defines for TPS65217 interrupts
TPS65217 supports three interrupt sources. This patch enables assigning
each IRQ number in the charger and power button node. Then corresponding
IRQ will be requested by each driver.
Signed-off-by: Milo Kim <woogyom.kim@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/mfd/tps65217.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/dt-bindings/mfd/tps65217.h b/include/dt-bindings/mfd/tps65217.h new file mode 100644 index 000000000000..cafb9e60cf12 --- /dev/null +++ b/include/dt-bindings/mfd/tps65217.h @@ -0,0 +1,26 @@ +/* + * This header provides macros for TI TPS65217 DT bindings. + * + * Copyright (C) 2016 Texas Instruments + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with + * this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef __DT_BINDINGS_TPS65217_H__ +#define __DT_BINDINGS_TPS65217_H__ + +#define TPS65217_IRQ_USB 0 +#define TPS65217_IRQ_AC 1 +#define TPS65217_IRQ_PB 2 + +#endif |