/* * 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 . */ #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 form method='get'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYuan Yao <yao.yuan@nxp.com>2016-10-17 18:02:34 +0800
committerMark Brown <broonie@kernel.org>2016-10-29 12:51:29 -0600
commit5ee67b587a2b0092bdea3123349c8c3c43e8e46e (patch)
treeef87489bfc36118b99e15e5ac42ff06f83baed0d /include
parent1001354ca34179f3db924eb66672442a173147dc (diff)
spi: dspi: clear SPI_SR before enable interrupt
Once dspi is used in uboot, the SPI_SR have been set by some value. At this time, if kernel enable the interrupt before clear the status flag, that will trigger the wrong interrupt. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')