From patchwork Wed Sep 11 18:01:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 173626 Delivered-To: patch@linaro.org Received: by 2002:ac9:19ad:0:0:0:0:0 with SMTP id d45csp1102154oce; Wed, 11 Sep 2019 11:01:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqyUc9bcuYhWV7BoSpPhDzB1cWFi7XpaEkDhJkAb6yjXvt6QBvV6Y+fcPv99CAkhGJYr0r5L X-Received: by 2002:a05:6402:397:: with SMTP id o23mr37942445edv.206.1568224888396; Wed, 11 Sep 2019 11:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568224888; cv=none; d=google.com; s=arc-20160816; b=V6QylmlcZnIky+mXiQzDnBy91h+eUOMx/cwOry3IsKHVuXBSCiKRmJWwVbLUDM3VjE mh9kqV3DVdxSjPbZDtAmfPhWitDQoFP1OkGlkYKCqkusm7BTvyNOO/7t3KgJHYiB+VR5 0BBZvTMehZ2FgNDBwLKmcfSqBB+N1PKSh/B5P/LK9xEnW15EiFMJpgmNbdyDEtwCuQLr k/E7D8zDqu+hNTnkOMKawH4z+Zzl7U8iTopHFgj/pgpU6YK4OvURv6cmBEz5VecoVjmp P84DBr3EbXOKm0mzopoMBL9vJMZMAKuM+l0kXfhsMvszRDfSUufk7YwmFYyHdh+wBULA IwIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/wxi3Ble2IRwzoGt/NZ3bTLxzbC82fxNt8d4oO8Smtk=; b=xTLFpDi92Ikz7FRI9BNNCXN3+sRnMiFz4r58WrRjLo1zhB6BjJlN9ZGRZJf5pD/zkL V6fvpG+38lxaFPOLObTw1g7+f0oalX1NGapJcSw1SvTbCyR4JYjCJBwvMKlXNG9h6vSu Fkb86nhRRnJB4vEYhUCxTwow21M4inXL2aUYBzikE5vSWlS+0KUdvI0r05WEsUdHrmE1 JpyJCwgPyM5mH6NL2CSjfKaRghr8DXLeMjGzvV8mSfcbXdo6unrP8Sfcwz3PDUqX7znU Wa6v9d4F6P3U1xEPhk6DofB8IhSV2KtCBSENV+AAUaM5XhBRMoyjutboToUxzLxp00/9 WqRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="aGnQ/XE6"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gy24si11079999ejb.166.2019.09.11.11.01.28; Wed, 11 Sep 2019 11:01:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="aGnQ/XE6"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729893AbfIKSBY (ORCPT + 27 others); Wed, 11 Sep 2019 14:01:24 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:36754 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729753AbfIKSBW (ORCPT ); Wed, 11 Sep 2019 14:01:22 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8BI1Gam040429; Wed, 11 Sep 2019 13:01:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1568224877; bh=/wxi3Ble2IRwzoGt/NZ3bTLxzbC82fxNt8d4oO8Smtk=; h=From:To:CC:Subject:Date; b=aGnQ/XE6OA4Ow8uQqTXjdvexhRxGup+lawV4ZYY5QvTKnCcoZ2ZVxykMTf4+o//B4 Sho7GX75gYbXwAH88mlLPPBu5I+ni9uzU8eDJnOp4OKuRp29kCBEenvGvk/VRAC51x yuVivbzfhF+FGPbRpkjGZV98tGS9B3iFj0IJSxXo= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8BI1Gbl102520; Wed, 11 Sep 2019 13:01:16 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 11 Sep 2019 13:01:16 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 11 Sep 2019 13:01:16 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8BI1GeY011087; Wed, 11 Sep 2019 13:01:16 -0500 From: Dan Murphy To: , CC: , , , Dan Murphy Subject: [PATCH v5 0/9] Multicolor FW update Date: Wed, 11 Sep 2019 13:01:06 -0500 Message-ID: <20190911180115.21035-1-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Lots of changes went into this update. The main change was that when writing to the colors/intensity or colors/color_mix file for a specific color the LED intensity will not change until the brightness file is written. Added the LP5012/9 LED devices to the LP50xx code. Converted the class doc to rst format. Dan Dan Murphy (9): leds: multicolor: Add sysfs interface definition documention: leds: Add multicolor class documentation dt: bindings: Add multicolor class dt bindings documention dt-bindings: leds: Add multicolor ID to the color ID list leds: Add multicolor ID to the color ID list leds: multicolor: Introduce a multicolor class definition dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers leds: lp50xx: Add the LP50XX family of the RGB LED driver leds: Update the lp55xx to use the multi color framework .../ABI/testing/sysfs-class-led-multicolor | 73 ++ .../bindings/leds/leds-class-multicolor.txt | 96 +++ .../devicetree/bindings/leds/leds-lp50xx.txt | 148 ++++ Documentation/leds/index.rst | 1 + Documentation/leds/leds-class-multicolor.rst | 149 ++++ drivers/leds/Kconfig | 17 + drivers/leds/Makefile | 2 + drivers/leds/led-class-multicolor.c | 387 +++++++++ drivers/leds/led-core.c | 1 + drivers/leds/leds-lp50xx.c | 807 ++++++++++++++++++ drivers/leds/leds-lp5523.c | 13 + drivers/leds/leds-lp55xx-common.c | 131 ++- drivers/leds/leds-lp55xx-common.h | 9 + include/dt-bindings/leds/common.h | 3 +- include/linux/led-class-multicolor.h | 96 +++ include/linux/platform_data/leds-lp55xx.h | 6 + modules.builtin.modinfo | Bin 0 -> 43550 bytes 17 files changed, 1916 insertions(+), 23 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-class-led-multicolor create mode 100644 Documentation/devicetree/bindings/leds/leds-class-multicolor.txt create mode 100644 Documentation/devicetree/bindings/leds/leds-lp50xx.txt create mode 100644 Documentation/leds/leds-class-multicolor.rst create mode 100644 drivers/leds/led-class-multicolor.c create mode 100644 drivers/leds/leds-lp50xx.c create mode 100644 include/linux/led-class-multicolor.h create mode 100644 modules.builtin.modinfo -- 2.22.0.214.g8dca754b1e