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]
Message-Id: <20230727160525.23312-1-matuszpd@gmail.com>
Date:   Thu, 27 Jul 2023 18:05:22 +0200
From:   Matus Gajdos <matuszpd@...il.com>
To:     Pavel Machek <pavel@....cz>, Lee Jones <lee@...nel.org>,
        Rob Herring <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Conor Dooley <conor+dt@...nel.org>
Cc:     linux-leds@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, Matus Gajdos <matuszpd@...il.com>
Subject: [PATCH 0/3] leds: Add Broadchip BCT3024 LED driver

Hi,

I'm sending a series of patches to add support for the Broadchip BCT3024
LED driver. The first adds Broadchip to the DT vendor prefixes, the
second is the DT bindings documentation and the third is the driver
itself.

The Broadchip BCT3024 is an I2C LED driver with 24 independent channels,
each with 256 brightness levels. It is targeted mainly for mobile phones
and other hand-held devices.

As we use the chip in a device that needs to keep its power consumption
to a minimum, I added support for the runtime PM to let the kernel
disable the chip and its power supply when brightness is set to zero.

Any comments are welcome.

Matus Gajdos (3):
  dt-bindings: Add vendor prefix for Broadchip Technology Group Co.,
    Ltd.
  dt-bindings: leds: Add binding for Broadchip BCT3024 LED driver
  leds: Add Broadchip BCT3024 LED driver

 .../bindings/leds/broadchip,bct3024.yaml      |  89 +++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 drivers/leds/Kconfig                          |   9 +
 drivers/leds/Makefile                         |   1 +
 drivers/leds/leds-bct3024.c                   | 564 ++++++++++++++++++
 5 files changed, 665 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/broadchip,bct3024.yaml
 create mode 100644 drivers/leds/leds-bct3024.c

-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ