lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 31 May 2017 14:14:36 +0800
From:   fenglinw@...eaurora.org
To:     linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:     subbaram@...cinc.com, aghayal@....qualcomm.com, wruan@...cinc.com,
        kgunda@....qualcomm.com, Fenglin Wu <fenglinw@...eaurora.org>
Subject: [PATCH V1 0/2] *** Add support for QTI TRI_LED and LPG module ***

From: Fenglin Wu <fenglinw@...eaurora.org>

QTI TRI_LED module and LPG modules are existing in some Qualcomm PMICs
like PMI8998, PM660, etc. TRI_LED module has 3 LED drivers and each is
controlled by a PWM channel used for LED dimming or blinking. LPG (Light
Pulse Generator) module can be configured to operate in PWM mode to
output PWM signal with a fixed amplitude or in LUT (Look Up Table) mode
to output PWM signal with a modulated amplitude. Normally, each LED driver
in TRI_LED module is controlled by the output of a LPG module.

This patchset adds the support of registering TRI_LED as LED devices and
adding LPGs as PWM devices, but only the LPG PWM mode is supported. LUT mode
is not included because current PWM driver framework doesn't support hardware
autonomously modulating amplitude with vary duties. This is going to be
supported in next patchset with some PWM framework change.

Fenglin Wu (2):
  leds: leds-qti-rgb: Add LED driver for QTI TRI_LED module
  pwm: pwm-qti-lpg: Add PWM driver for QTI LPG module

 .../devicetree/bindings/leds/leds-qti-rgb.txt      |  66 +++
 .../devicetree/bindings/pwm/pwm-qti-lpg.txt        |  39 ++
 drivers/leds/Kconfig                               |   8 +
 drivers/leds/Makefile                              |   1 +
 drivers/leds/leds-qti-rgb.c                        | 634 +++++++++++++++++++++
 drivers/pwm/Kconfig                                |  10 +
 drivers/pwm/Makefile                               |   1 +
 drivers/pwm/pwm-qti-lpg.c                          | 578 +++++++++++++++++++
 8 files changed, 1337 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-qti-rgb.txt
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-qti-lpg.txt
 create mode 100644 drivers/leds/leds-qti-rgb.c
 create mode 100644 drivers/pwm/pwm-qti-lpg.c

-- 
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ