devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] leds: pca9532: Add device tree binding
@ 2016-04-07  7:22 Phil Reid
  2016-04-07  7:22 ` [PATCH v2 1/1] " Phil Reid
  0 siblings, 1 reply; 6+ messages in thread
From: Phil Reid @ 2016-04-07  7:22 UTC (permalink / raw)
  To: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	riku.voipio, rpurdie, j.anaszewski, devicetree, linux-leds
  Cc: Phil Reid

This patch adds very basic device tree binding support to the
pca9532 driver. Sufficent to load driver and enable LEDs.

Changes for v2:
- Fixup device tree documentation
- Use label propert and fall back to node name,
- Call of_node_put when breaking loop iterating leds.
- Increment the loop counter.
- Add initial state and default-trigger.


Phil Reid (1):
  leds: pca9532: Add device tree binding

 .../devicetree/bindings/leds/leds-pca9532.txt      | 42 +++++++++++++
 drivers/leds/leds-pca9532.c                        | 69 ++++++++++++++++++++--
 include/dt-bindings/leds/leds-pca9532.h            | 23 ++++++++
 include/linux/leds-pca9532.h                       | 18 ++----
 4 files changed, 135 insertions(+), 17 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-pca9532.txt
 create mode 100644 include/dt-bindings/leds/leds-pca9532.h

-- 
1.8.3.1

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

end of thread, other threads:[~2016-04-11  9:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-07  7:22 [PATCH v2 0/1] leds: pca9532: Add device tree binding Phil Reid
2016-04-07  7:22 ` [PATCH v2 1/1] " Phil Reid
2016-04-07 14:02   ` Jacek Anaszewski
     [not found]     ` <5706686F.7070102-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-04-11  6:23       ` Phil Reid
2016-04-11  8:38         ` Jacek Anaszewski
     [not found]           ` <570B628A.4090406-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-04-11  9:25             ` Phil Reid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).