From patchwork Tue Dec 21 13:40:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Eckert X-Patchwork-Id: 526751 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20FE5C433EF for ; Tue, 21 Dec 2021 13:41:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235298AbhLUNlQ (ORCPT ); Tue, 21 Dec 2021 08:41:16 -0500 Received: from mxout70.expurgate.net ([91.198.224.70]:11310 "EHLO mxout70.expurgate.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233952AbhLUNlQ (ORCPT ); Tue, 21 Dec 2021 08:41:16 -0500 Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.92) (envelope-from ) id 1mzfOB-000URt-Sj; Tue, 21 Dec 2021 14:41:11 +0100 Received: from [195.243.126.94] (helo=securemail.tdt.de) by relay.expurgate.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mzfOA-000UVt-TI; Tue, 21 Dec 2021 14:41:11 +0100 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id 90A3F240041; Tue, 21 Dec 2021 14:41:10 +0100 (CET) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id 1D741240040; Tue, 21 Dec 2021 14:41:10 +0100 (CET) Received: from localhost.localdomain (unknown [10.2.3.40]) by mail.dev.tdt.de (Postfix) with ESMTPSA id 987E920331; Tue, 21 Dec 2021 14:41:02 +0100 (CET) From: Florian Eckert To: pavel@ucw.cz, robh+dt@kernel.org Cc: Eckert.Florian@googlemail.com, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, Florian Eckert Subject: [PATCH v2 0/2] leds: add ktd20xx LED driver support Date: Tue, 21 Dec 2021 14:40:50 +0100 Message-ID: <20211221134052.22387-1-fe@dev.tdt.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-purgate-type: clean X-purgate: clean X-purgate-ID: 151534::1640094071-0001D852-ED5A8F86/0/0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Introducing the KTD2061/58/59/60 RGB LED drivers. The difference in these are the address numbers on the I2C bus that the device listens to. Due to the hardware limitation, we can only set 7 colors and the color black (LED off) for each LED independently and not the full RGB range. v1: Inital send v2: Remove variant 1 from source Florian Eckert (2): leds: ktd20xx: Extension of the KTD20xx family of LED drivers from Kinetic dt: bindings: KTD20xx: Introduce the ktd20xx family of RGB drivers .../bindings/leds/leds-ktd20xx.yaml | 130 ++++ MAINTAINERS | 7 + drivers/leds/Kconfig | 13 + drivers/leds/Makefile | 1 + drivers/leds/leds-ktd20xx.c | 614 ++++++++++++++++++ 5 files changed, 765 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-ktd20xx.yaml create mode 100644 drivers/leds/leds-ktd20xx.c Reviewed-by: Rob Herring