mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
dt-bindings: mfd: Remove TPS65217 interrupts
Interrupt numbers are from the datasheet, so no need to keep them in the ABI. Use the number in the DT file. Signed-off-by: Milo Kim <woogyom.kim@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
30aa2e4896
commit
be53e38f0d
2 changed files with 3 additions and 31 deletions
|
@ -6,8 +6,6 @@
|
||||||
* published by the Free Software Foundation.
|
* published by the Free Software Foundation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dt-bindings/mfd/tps65217.h>
|
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
cpus {
|
cpus {
|
||||||
cpu@0 {
|
cpu@0 {
|
||||||
|
@ -319,13 +317,13 @@ &tps {
|
||||||
ti,pmic-shutdown-controller;
|
ti,pmic-shutdown-controller;
|
||||||
|
|
||||||
charger {
|
charger {
|
||||||
interrupts = <TPS65217_IRQ_AC>, <TPS65217_IRQ_USB>;
|
interrupts = <0>, <1>;
|
||||||
interrupt-names = "AC", "USB";
|
interrupt-names = "USB", "AC";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
pwrbutton {
|
pwrbutton {
|
||||||
interrupts = <TPS65217_IRQ_PB>;
|
interrupts = <2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
/*
|
|
||||||
* 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
|
|
Loading…
Reference in a new issue