All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] dt-bindings: leds: adopt Linux PCA9532 binding constants
@ 2017-12-28 17:06 Felix Brack
  2018-01-19 21:12 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Brack @ 2017-12-28 17:06 UTC (permalink / raw)
  To: u-boot

I'm working on a v2 patch to add support for a board named pdu001. Its
Linux DTS file uses the include file added by this patch. To keep Linux
and U-Boot DTS files in sync U-Boot requires a copy of this file,
although there is no driver for NXP's PCA9532 i2c LED driver chip (yet).

Signed-off-by: Felix Brack <fb@ltec.ch>
---

 include/dt-bindings/leds/leds-pca9532.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 include/dt-bindings/leds/leds-pca9532.h

diff --git a/include/dt-bindings/leds/leds-pca9532.h b/include/dt-bindings/leds/leds-pca9532.h
new file mode 100644
index 0000000..4d917aa
--- /dev/null
+++ b/include/dt-bindings/leds/leds-pca9532.h
@@ -0,0 +1,18 @@
+/*
+ * This header provides constants for pca9532 LED bindings.
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2.  This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#ifndef _DT_BINDINGS_LEDS_PCA9532_H
+#define _DT_BINDINGS_LEDS_PCA9532_H
+
+#define PCA9532_TYPE_NONE         0
+#define PCA9532_TYPE_LED          1
+#define PCA9532_TYPE_N2100_BEEP   2
+#define PCA9532_TYPE_GPIO         3
+#define PCA9532_LED_TIMER2        4
+
+#endif /* _DT_BINDINGS_LEDS_PCA9532_H */
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] dt-bindings: leds: adopt Linux PCA9532 binding constants
  2017-12-28 17:06 [U-Boot] [PATCH] dt-bindings: leds: adopt Linux PCA9532 binding constants Felix Brack
@ 2018-01-19 21:12 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2018-01-19 21:12 UTC (permalink / raw)
  To: u-boot

On Thu, Dec 28, 2017 at 06:06:50PM +0100, Felix Brack wrote:

> I'm working on a v2 patch to add support for a board named pdu001. Its
> Linux DTS file uses the include file added by this patch. To keep Linux
> and U-Boot DTS files in sync U-Boot requires a copy of this file,
> although there is no driver for NXP's PCA9532 i2c LED driver chip (yet).
> 
> Signed-off-by: Felix Brack <fb@ltec.ch>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180119/69e67c44/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-19 21:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-28 17:06 [U-Boot] [PATCH] dt-bindings: leds: adopt Linux PCA9532 binding constants Felix Brack
2018-01-19 21:12 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.