Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1525441 > unrolled thread
| Started by | Lee Jones <lee.jones@linaro.org> |
|---|---|
| First post | 2016-11-18 16:00 +0100 |
| Last post | 2016-11-21 14:10 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v2 5/8] dt-bindings: mfd: Provide human readable defines for TPS65217 interrupts Lee Jones <lee.jones@linaro.org> - 2016-11-18 16:00 +0100
Re: [PATCH v2 5/8] dt-bindings: mfd: Provide human readable defines for TPS65217 interrupts Tony Lindgren <tony@atomide.com> - 2016-11-18 16:20 +0100
Re: [PATCH v2 5/8] dt-bindings: mfd: Provide human readable defines for TPS65217 interrupts Milo Kim <woogyom.kim@gmail.com> - 2016-11-21 14:10 +0100
| From | Lee Jones <lee.jones@linaro.org> |
|---|---|
| Date | 2016-11-18 16:00 +0100 |
| Subject | Re: [PATCH v2 5/8] dt-bindings: mfd: Provide human readable defines for TPS65217 interrupts |
| Message-ID | <sESNY-8ud-47@gated-at.bofh.it> |
On Fri, 28 Oct 2016, Milo Kim wrote: > 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> > --- > include/dt-bindings/mfd/tps65217.h | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > create mode 100644 include/dt-bindings/mfd/tps65217.h > > diff --git a/include/dt-bindings/mfd/tps65217.h b/include/dt-bindings/mfd/tps65217.h > new file mode 100644 > index 0000000..cafb9e6 > --- /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 What are "AC" and "PB". Seeing as these are meant to be "human readable", let's make them more human friendly. > +#endif -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
[toc] | [next] | [standalone]
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Date | 2016-11-18 16:20 +0100 |
| Message-ID | <sET7j-oi-5@gated-at.bofh.it> |
| In reply to | #1525441 |
* Lee Jones <lee.jones@linaro.org> [161118 06:51]: > On Fri, 28 Oct 2016, Milo Kim wrote: > > > 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> > > --- > > include/dt-bindings/mfd/tps65217.h | 26 ++++++++++++++++++++++++++ > > 1 file changed, 26 insertions(+) > > create mode 100644 include/dt-bindings/mfd/tps65217.h > > > > diff --git a/include/dt-bindings/mfd/tps65217.h b/include/dt-bindings/mfd/tps65217.h > > new file mode 100644 > > index 0000000..cafb9e6 > > --- /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 > > What are "AC" and "PB". Seeing as these are meant to be "human > readable", let's make them more human friendly. Good idea. Milo, please do an incremental single follow-up patch as I already have applied this and the dts changes using it. Regards, Tony
[toc] | [prev] | [next] | [standalone]
| From | Milo Kim <woogyom.kim@gmail.com> |
|---|---|
| Date | 2016-11-21 14:10 +0100 |
| Message-ID | <sFWwa-1AV-9@gated-at.bofh.it> |
| In reply to | #1525454 |
On 11/19/2016 12:10 AM, Tony Lindgren wrote: >>> +#define TPS65217_IRQ_USB 0 >>> > > +#define TPS65217_IRQ_AC 1 >>> > > +#define TPS65217_IRQ_PB 2 >> > >> > What are "AC" and "PB". Seeing as these are meant to be "human >> > readable", let's make them more human friendly. > Good idea. Milo, please do an incremental single follow-up patch as > I already have applied this and the dts changes using it. Thanks for catching this. Let me send a patch soon. Best regards, Milo
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web