Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3196285ybc; Thu, 14 Nov 2019 05:33:38 -0800 (PST) X-Google-Smtp-Source: APXvYqzezvzFxBp1lGaPhbF7mr651O3sPL74/ZlpEIrALXbDyWLWgSwgWd7eRaC4A47cAugEYiRb X-Received: by 2002:aa7:d0c1:: with SMTP id u1mr1270916edo.27.1573738418518; Thu, 14 Nov 2019 05:33:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573738418; cv=none; d=google.com; s=arc-20160816; b=A+3EO2woMXfCIbdfLh+71y8ys7WOpLz/78IQTdJneSy3ucd7sDktPbgGCRa6YN1Fmv m1REZu6Lhe3DC+buc4CLuPzTMahB+92WlXsYI8izDg8dPsSlA39pEBlbSF166XmZio43 ORigWxp+QS0c9/M3BHZzwEpOIqMDCCq2Xj9B1n0YJSGKdyNdb9nxl/y2jjKHww9i2K/m 4rZUJyoLALrZNabXSu7s9SvxdGNMmB2Q839Wg1hHcRHE02Xr/s/u0puiHDNfHTqDVrhR Xw78gp4obt7G1bwVTs568pkMshOPNy/3qNSRdJDGhgQ2n53hDE9o6QjU1eXK53FnxBLK UyWg== 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=8/wDtcVdVvs/3Umxwe1T1r5l+aLgUb89v9tZMmz7QOg=; b=0VSs4JDAMHDWNJfZ2v2q4DiXIQlWOAveIB2UHq6EvtL79xamnqEF9Mz3MtpZc4bm1m HLywfikZZmBo6SqWkkj4WJhH6m9Q0gp45QrPL2y60m/T6o8Zkl1J4QIUZ1nBy+DTixKf exrm3xUi2ELWjXXGxuqcR6bsTPqy6xltpn7PUWZVPrP2W9LovDP8unzWHAJsq/TFJg5l yb0kMzt4hnPkmFfpWrWiZkw/pXLqrUV6XGKPmhz47hs7wrVzVNY+fVqcqj4f6Exe7xO+ z2yh8hdFAoOCTmCcG0Wnng7RsRpruVB2GrojNLsL+L1cs6Ts4Y27tKuU+ZHCjyWdVPGw 1uUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RwnHzEIw; 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 y2si4231378ede.431.2019.11.14.05.33.12; Thu, 14 Nov 2019 05:33:38 -0800 (PST) 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=RwnHzEIw; 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 S1726995AbfKNNbi (ORCPT + 99 others); Thu, 14 Nov 2019 08:31:38 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:40536 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726528AbfKNNbg (ORCPT ); Thu, 14 Nov 2019 08:31:36 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id xAEDVVOg103614; Thu, 14 Nov 2019 07:31:31 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573738291; bh=8/wDtcVdVvs/3Umxwe1T1r5l+aLgUb89v9tZMmz7QOg=; h=From:To:CC:Subject:Date; b=RwnHzEIwdzmGjys3ZG55uaMqTpvMZyZM19yAN4OIRRPVMcMIQTKUUK33LmcYFPYLW i096IYlrwKkuiLZFU6vEVINCwrpwFuSr7WVS9K8CWcxRaTi1SPzDjDMe8/L9vaDzbT HyELQpoQXcefA7+KLVIesPrZ+bozcT3+NtzNSgvg= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xAEDVVUK019254 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Nov 2019 07:31:31 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 14 Nov 2019 07:31:30 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 14 Nov 2019 07:31:30 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id xAEDVUPb079289; Thu, 14 Nov 2019 07:31:30 -0600 From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH v17 00/19] Multicolor Framework Date: Thu, 14 Nov 2019 07:30:04 -0600 Message-ID: <20191114133023.32185-1-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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 Simple fix in the multicolor code where the extended registration call was not called in the devm_* function Thanks Martin F. for finding this issue. Hopefully this will be pulled in for the 5.5 merge window. Dan Dan Murphy (19): 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 dt: bindings: lp55xx: Be consistent in the document with LED acronym dt: bindings: lp55xx: Update binding for Multicolor Framework ARM: dts: n900: Add reg property to the LP5523 channel node ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node ARM: dts: ste-href: Add reg property to the LP5521 channel nodes leds: lp55xx: Convert LED class registration to devm_* leds: lp55xx: Add multicolor framework support to lp55xx leds: lp5523: Update the lp5523 code to add multicolor brightness function leds: lp5521: Add multicolor framework multicolor brightness support leds: lp55xx: Fix checkpatch file permissions issues leds: lp5523: Fix checkpatch issues in the code dt: bindings: Update lp55xx binding to recommended LED naming leds: lp55xx-common: Remove extern from lp55xx-common header .../ABI/testing/sysfs-class-led-multicolor | 36 + .../bindings/leds/leds-class-multicolor.txt | 98 +++ .../devicetree/bindings/leds/leds-lp50xx.txt | 148 ++++ .../devicetree/bindings/leds/leds-lp55xx.txt | 163 +++- Documentation/leds/index.rst | 1 + Documentation/leds/leds-class-multicolor.rst | 100 +++ arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 14 +- arch/arm/boot/dts/omap3-n900.dts | 29 +- arch/arm/boot/dts/ste-href.dtsi | 22 +- drivers/leds/Kconfig | 22 + drivers/leds/Makefile | 2 + drivers/leds/led-class-multicolor.c | 272 ++++++ drivers/leds/led-core.c | 1 + drivers/leds/leds-lp50xx.c | 799 ++++++++++++++++++ drivers/leds/leds-lp5521.c | 43 +- drivers/leds/leds-lp5523.c | 62 +- drivers/leds/leds-lp5562.c | 22 +- drivers/leds/leds-lp55xx-common.c | 235 ++++-- drivers/leds/leds-lp55xx-common.h | 36 +- drivers/leds/leds-lp8501.c | 23 +- include/dt-bindings/leds/common.h | 3 +- include/linux/led-class-multicolor.h | 139 +++ include/linux/platform_data/leds-lp55xx.h | 8 + 23 files changed, 2106 insertions(+), 172 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 -- 2.22.0.214.g8dca754b1e