Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1377645ybe; Wed, 11 Sep 2019 14:03:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQBy2rEecbhoIWGI64/bhXAdnty2JWV/Fp2OaWyslc8/ihEBnZ5PSQnHsLYv1NsUpDoZOh X-Received: by 2002:a50:d718:: with SMTP id t24mr35859430edi.168.1568235819239; Wed, 11 Sep 2019 14:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568235819; cv=none; d=google.com; s=arc-20160816; b=q57GF2mgPrkHlN8unt6cDC3HYRbRTyPgkZW+1Gr9UY6Cbw7GP7V0GBIf3ZKZ20ziS5 0UV49k9+ApAXBUeltacaRpGNb/Ik0REMPNCTYs0RVgDvdjE2kKZ9orCxcGRc25k/Z17X XOL3z+rRw12qeiAdjRdxFRoooSqNFyOusU7l5oytv9TUR8oljb+g2Q4S8XBqpMLtEfeN thv1XlNz21wIPuDnQ0w8bQVxgsW26uV4lOa6irndwt44IqI5dFRR8aEjyVvBKWhA8V5C lf575UZpTRFihVvULDFvlPV+HxxQiow+rXAIcBZht/J1cp6y+Z9FpgbxKe0Y1Ugnvt4U wbaw== 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 jo11si12074753ejb.51.2019.09.11.14.03.08; Wed, 11 Sep 2019 14:03:39 -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 S1729885AbfIKSBY (ORCPT + 99 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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