From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Subject: [PATCH v2 0/2] BCM6328 LED driver Date: Sun, 5 Apr 2015 17:08:03 +0200 Message-ID: <1428246485-32305-1-git-send-email-noltari@gmail.com> References: <1427975661-29964-1-git-send-email-noltari@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-wi0-f175.google.com ([209.85.212.175]:38796 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751913AbbDEPIF (ORCPT ); Sun, 5 Apr 2015 11:08:05 -0400 Received: by wiun10 with SMTP id n10so13213863wiu.1 for ; Sun, 05 Apr 2015 08:08:04 -0700 (PDT) In-Reply-To: <1427975661-29964-1-git-send-email-noltari@gmail.com> Sender: linux-leds-owner@vger.kernel.org List-Id: linux-leds@vger.kernel.org To: linux-leds@vger.kernel.org, cooloney@gmail.com, jogo@openwrt.org, f.fainelli@gmail.com, cernekee@gmail.com Cc: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= These patches add support and documentation for the BCM6328 LED driver,= which is present on BCM6318, BCM6328, BCM6362 and BCM63268. In these SoCs it's possible to control LEDs both as GPIOs or by hardwar= e. However, on some devices there are Serial LEDs (LEDs connected to a 74h= c controller), which can either be controlled by software (exporting th= e 74hc as spi-gpio) or hardware using this driver. The problem is some of these serial LEDs are hardware controlled (ether= net LEDs) and exporting the 74hc as spi-gpio prevents those LEDs to be = hardware controlled, so the only chance to keep them working is by usin= g this driver. v1->v2: Introduce changes suggested by Florian and Jonas. =C3=81lvaro Fern=C3=A1ndez Rojas (2): leds: add DT binding for BCM6328 LED controller leds: add BCM6328 LED driver .../devicetree/bindings/leds/leds-bcm6328.txt | 162 ++++++++ drivers/leds/Kconfig | 8 + drivers/leds/Makefile | 1 + drivers/leds/leds-bcm6328.c | 409 +++++++++++++= ++++++++ 4 files changed, 580 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-bcm6328= =2Etxt create mode 100644 drivers/leds/leds-bcm6328.c --=20 1.9.1