From patchwork Tue Dec 12 18:58:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 121622 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4501047qgn; Tue, 12 Dec 2017 10:58:29 -0800 (PST) X-Google-Smtp-Source: ACJfBosWTHDKhNhyS+b2mrkfw8LRQRU4ior2jKkqzNmQRdmXvCKE/2xKmzxT3dhY6guOqfw0Nv9y X-Received: by 10.99.177.8 with SMTP id r8mr2876040pgf.365.1513105109444; Tue, 12 Dec 2017 10:58:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513105109; cv=none; d=google.com; s=arc-20160816; b=EmPKef8B5gRg0F/AXwM1bNyEjEVvUaUNZyZ7EVnb2Vaa5xLSQgqwJS/FtTHB2DKKUE TSVArTmAWB6zRbRaEBXTQfsFMGX8zQKiUWfkeqiVdIIuOxMmjVzW9o1U+7VSo6uYmS4+ 1bBzNW9Fi5Ku8pt6d+SDGOFY1SGwXdfaH6xGoeVkmxvXNBX3JEAs6uM9cXDh0GiwSuim V0P3JDDmXZMJgRT1O3pKEVBWaEIsByGvWSbIZly7OspLYfOJfNajfpZ/W/Tadx7cQYwY 4WIcwb2DLjYEsUduJmTo/Lfe6dHS/m94bUG/d2VpUqY4y1tuFZD79tqT2xgn0pUX/kJV WS/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=dZrRTF0Ex/y32f4nr7RqQekM3bpc+VYE/y1H2sXz/gU=; b=UGgnOVzc/36y0pgCZi7mNWFg/c/NNWIydD/X+qVq6Cnk+Na+t3SSOxGNN/6+fG+yJt Pu/iPaiLr/gZpIHPK2idl3890wVnw0Likp2i2jrR3W0qp/gsKapfIjMBfwPEwlIfN80m PJlAs+B1eVfZ7aPGhCMHD2zzB57asKERVDSFVwTo1frDpUlvDc7covWdWJSkRyEdYBoO vcztYYS+vpoRaB1XVrQ+ZtdRMKVgBl8fUMbzZm8W5LCZi5luNkHxqim/VOB0LaBtTQrk rPAsdrk303oDI5OyQcGjU8NVg+JWOOZyqr4L6PkEEj4Z0NkEONo6dcdBrN0ynhb3XoSx 1I5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=AEc8KjAa; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (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 i7si11939951plt.396.2017.12.12.10.58.29; Tue, 12 Dec 2017 10:58:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=AEc8KjAa; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752152AbdLLS62 (ORCPT + 6 others); Tue, 12 Dec 2017 13:58:28 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:30784 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751566AbdLLS61 (ORCPT ); Tue, 12 Dec 2017 13:58:27 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBCIwDUg027849; Tue, 12 Dec 2017 12:58:13 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513105093; bh=AycjIcAPViYIP80jF9jBYmT/BVGqWHJxXAghs906xwE=; h=From:To:CC:Subject:Date; b=AEc8KjAaGjP9I6hpGFdv7AUB6NmqxBcoQEWBkvMV0vWoU56zc6bUGSf4uRe54P5M/ a3DTjtwQBpqW1a/Ig5kezEc38n3QmUXu/PYFxvmlLZwXepdRnEtBAoyx0nAWJv6kEt OZOPRVBE8kEnngmsUI1193J/pwHAcY8sH5q/vn08= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBCIwDFw019014; Tue, 12 Dec 2017 12:58:13 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Tue, 12 Dec 2017 12:58:13 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 12 Dec 2017 12:58:13 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBCIwDXR029533; Tue, 12 Dec 2017 12:58:13 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.69.253]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vBCIwCx25356; Tue, 12 Dec 2017 12:58:12 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH v3 0/6] Updated LP8860 driver series Date: Tue, 12 Dec 2017 12:58:02 -0600 Message-ID: <20171212185809.23880-1-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org All v3 - Made changes to the patch set to address concerns on DT node naming conventions based on discussion in the RFC patch https://patchwork.kernel.org/patch/10089047/ also made requested changes to the DT and driver based on feedback. Patchworks links in each patch. v2 - Added an initial patch to bring the DT binding up to standard prior to adding the changes for the label and triggers. v1 Cover letter repeat below After creating a new LED driver for the LM3692x device I went back to the LP8860 driver that I authored and found some updates that need to be applied. First the way the LP8860 retrieved the label from the DT was incorrect as the label should have been from a child node as opposed to the parent. This is now fixed with this series. Second, since that device can be used to as either a backlight driver or as a string agnostic driver a trigger to the backlight needed to be added. Finally there are changes to the driver that need to be made as either unnoticed bugs or updates to the driver to align with the current LED framework. For instance moving to the devm LED class registration, destroying the mutex upon driver removal and removing the in driver dependency on CONFIG_OF and moving it to the Kconfig. With these changes this should at least bring the driver into a better shape. There are additional changes coming for this driver but I wanted to get the driver up to snuff before adding a feature to it. Dan Dan Murphy (6): dt: bindings: lp8860: Update bindings for lp8860 dt: bindings: lp8860: Update DT label binding leds: lp8860: Update the dt parsing for LED labeling dt: bindings: lp8860: Add trigger binding to the lp8860 leds: lp8860: Add DT parsing to retrieve the trigger node leds: lp8860: Various fixes to align with LED framework .../devicetree/bindings/leds/leds-lp8860.txt | 32 ++++++++++++----- drivers/leds/Kconfig | 2 +- drivers/leds/leds-lp8860.c | 40 ++++++++++++---------- 3 files changed, 46 insertions(+), 28 deletions(-) -- 2.15.0.124.g7668cbc60 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html