Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583108

[PATCH v3 0/4] leds: add leds-mt6323 support on MT7623 SoC

From <sean.wang@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v3 0/4] leds: add leds-mt6323 support on MT7623 SoC
Date 2017-02-17 07:10 +0100
Message-ID <tbJTX-s3-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Sean Wang <sean.wang@mediatek.com>

MT7623 SoC uses MT6323 PMIC as the default power supply
which has LED function insides. The patchset introduces
the LED support for MT6323 with on, off and hardware
dimmed and blinked and it should work on other similar
SoCs if also using MT6323.

Changes since v1:
- fixed typo in the comments
- sorted include directives alphabetically
- applied all register definitions with MT6323 prefix
- removed the redundant structure declaration
- fixed coding style defined in kernel doc format consistently
- added error handling into all the occurrences where regmap APIs
  are used
- removed loudly debug message
- made magic constant into meaningful macro
- added missing mutex_destroy when module removed called
- updated module license with GPL
- fixed sparse warnings

Changes since v2:
- fixed the typo in devicetree Documentation
- cleaned up the style and explanation in the comments
- applied all macro/struct/function definitions with MT6323 prefix
- put the logic about the setup from device tree into the function for simplicity

Sean Wang (4):
  Documentation: devicetree: Add document bindings for leds-mt6323
  Documentation: devicetree: Add LED subnode binding for MT6323 PMIC
  leds: Add LED support for MT6323 PMIC
  mfd: mt6397: Add MT6323 LED support into MT6397 driver

 .../devicetree/bindings/leds/leds-mt6323.txt       |  60 +++
 Documentation/devicetree/bindings/mfd/mt6397.txt   |   4 +
 drivers/leds/Kconfig                               |   8 +
 drivers/leds/Makefile                              |   1 +
 drivers/leds/leds-mt6323.c                         | 470 +++++++++++++++++++++
 drivers/mfd/mt6397-core.c                          |   4 +
 6 files changed, 547 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-mt6323.txt
 create mode 100644 drivers/leds/leds-mt6323.c

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/4] leds: add leds-mt6323 support on MT7623 SoC <sean.wang@mediatek.com> - 2017-02-17 07:10 +0100
  [PATCH v3 4/4] mfd: mt6397: Add MT6323 LED support into MT6397 driver <sean.wang@mediatek.com> - 2017-02-17 07:10 +0100
  [PATCH v3 1/4] Documentation: devicetree: Add document bindings for leds-mt6323 <sean.wang@mediatek.com> - 2017-02-17 07:10 +0100
    Re: [PATCH v3 1/4] Documentation: devicetree: Add document bindings  for leds-mt6323 Jacek Anaszewski <jacek.anaszewski@gmail.com> - 2017-02-17 23:00 +0100
  [PATCH v3 3/4] leds: Add LED support for MT6323 PMIC <sean.wang@mediatek.com> - 2017-02-17 07:10 +0100
    Re: [PATCH v3 3/4] leds: Add LED support for MT6323 PMIC Jacek Anaszewski <jacek.anaszewski@gmail.com> - 2017-02-17 23:00 +0100
  [PATCH v3 2/4] Documentation: devicetree: Add LED subnode binding for MT6323 PMIC <sean.wang@mediatek.com> - 2017-02-17 07:10 +0100

csiph-web