Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98af5958 authored by Milo Kim's avatar Milo Kim Committed by Tony Lindgren
Browse files

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: default avatarMilo Kim <woogyom.kim@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 2d63b9ce
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
/*
 * 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