linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add DT support for netxbig LEDs
@ 2015-06-18 14:59 Simon Guinot
  2015-06-18 14:59 ` [PATCH v3 1/3] leds: netxbig: add device tree binding Simon Guinot
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Simon Guinot @ 2015-06-18 14:59 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

This patch series adds DT support for the LEDs found on the Kirkwood-based
LaCie boards 2Big and 5Big Network v2.

Changes since v1:
- Check timer mode value retrieved from DT.
- In netxbig_leds_get_of_pdata, don't use unsigned long variables to get
  timer delay values from DT with function of_property_read_u32_index.
  Instead, use a temporary u32 variable. This allows to silence a static
  checker warning.
- Make timer property optional in the binding documentation. It is now
  aligned with the driver code.

Changes since v2:
- Fix pointer usage with the temporary u32 variable while calling
  of_property_read_u32_index.
 
Simon

Simon Guinot (3):
  leds: netxbig: add device tree binding
  ARM: Kirkwood: add LED DT entries for netxbig boards
  ARM: mvebu: remove static LED setup for netxbig boards

 .../devicetree/bindings/gpio/netxbig-gpio-ext.txt  |  22 ++
 .../devicetree/bindings/leds/leds-netxbig.txt      |  92 ++++++++
 arch/arm/boot/dts/kirkwood-net5big.dts             |  60 +++++
 arch/arm/boot/dts/kirkwood-netxbig.dtsi            |  80 +++++++
 arch/arm/mach-mvebu/Kconfig                        |   7 -
 arch/arm/mach-mvebu/Makefile                       |   1 -
 arch/arm/mach-mvebu/board.h                        |  21 --
 arch/arm/mach-mvebu/kirkwood.c                     |   4 -
 arch/arm/mach-mvebu/netxbig.c                      | 191 ----------------
 drivers/leds/leds-netxbig.c                        | 250 +++++++++++++++++++--
 include/dt-bindings/leds/leds-netxbig.h            |  18 ++
 11 files changed, 501 insertions(+), 245 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/gpio/netxbig-gpio-ext.txt
 create mode 100644 Documentation/devicetree/bindings/leds/leds-netxbig.txt
 delete mode 100644 arch/arm/mach-mvebu/board.h
 delete mode 100644 arch/arm/mach-mvebu/netxbig.c
 create mode 100644 include/dt-bindings/leds/leds-netxbig.h

-- 
2.1.4

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

end of thread, other threads:[~2015-07-16  8:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-18 14:59 [PATCH v3 0/3] Add DT support for netxbig LEDs Simon Guinot
2015-06-18 14:59 ` [PATCH v3 1/3] leds: netxbig: add device tree binding Simon Guinot
2015-06-23 12:11   ` Jacek Anaszewski
2015-06-23 21:17     ` Simon Guinot
2015-06-24  9:07       ` Jacek Anaszewski
2015-06-25  8:46         ` Simon Guinot
2015-07-16  8:25       ` Linus Walleij
2015-06-18 14:59 ` [PATCH v3 2/3] ARM: Kirkwood: add LED DT entries for netxbig boards Simon Guinot
2015-06-18 14:59 ` [PATCH v3 3/3] ARM: mvebu: remove static LED setup " Simon Guinot

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).