From patchwork Tue Sep 11 17:08:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 10595969 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6FDFE13B8 for ; Tue, 11 Sep 2018 17:09:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 582AC29AC8 for ; Tue, 11 Sep 2018 17:09:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CA7F29ACA; Tue, 11 Sep 2018 17:09:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E70A629AC8 for ; Tue, 11 Sep 2018 17:09:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726989AbeIKWIz (ORCPT ); Tue, 11 Sep 2018 18:08:55 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:55096 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727246AbeIKWIy (ORCPT ); Tue, 11 Sep 2018 18:08:54 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8BH8YBu036275; Tue, 11 Sep 2018 12:08:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1536685714; bh=jIEKUb4Td+cQ6AwjCG+5Y5mrHSrf1qG8gMHsR3DD7T4=; h=From:To:CC:Subject:Date; b=Of9pgjyuORmqoMwAuVKf8RJ0vkSV0DHCveU5Tu2DvtkC/25wQwk5p/X4gaGnd8l++ RB6NwmsVm7B1jlmtRvkNEbYeQkWnEXS99DIUJiXbCeVyv2JRz0Dd8L3zi3XCN4+Vej WAQT+hJUMSXsEhyiIAol8OOqaZA3rd0QIKYhaJDE= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8BH8Y0R031409; Tue, 11 Sep 2018 12:08:34 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) 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.1466.3; Tue, 11 Sep 2018 12:08:34 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 11 Sep 2018 12:08:34 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8BH8YpI015281; Tue, 11 Sep 2018 12:08:34 -0500 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.156.248]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w8BH8Xx21184; Tue, 11 Sep 2018 12:08:33 -0500 (CDT) From: Dan Murphy To: , , CC: , , , , , Dan Murphy Subject: [PATCH v7 0/6] LM3697 dedicated LED driver Date: Tue, 11 Sep 2018 12:08:19 -0500 Message-ID: <20180911170825.17789-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: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP All The LM3697 LED driver has two opportunities to be included in the Linux kernel source. The ti-lmu MFD driver and the leds-lm3697 driver contained in this series. This LED driver is basic in nature and is not really suitable for the MFD inclusion. This device has no other function than to control the LEDs. So this series will remove the lm3697 from the ti-lmu and add the driver in the LEDs directory. Dan Murphy Dan Murphy (6): dt-bindings: ti-lmu: Remove LM3697 mfd: ti-lmu: Remove support for LM3697 dt-bindings: leds: Add bindings for lm3697 driver leds: lm3697: Introduce the lm3697 driver dt-bindings: leds: Add runtime ramp node for LM3697 leds: lm3697: Add ramp rate feature .../devicetree/bindings/leds/leds-lm3697.txt | 98 ++++ .../devicetree/bindings/mfd/ti-lmu.txt | 26 +- drivers/leds/Kconfig | 9 + drivers/leds/Makefile | 1 + drivers/leds/leds-lm3697.c | 449 ++++++++++++++++++ drivers/mfd/Kconfig | 2 +- drivers/mfd/ti-lmu.c | 17 - include/linux/mfd/ti-lmu-register.h | 44 -- include/linux/mfd/ti-lmu.h | 1 - 9 files changed, 559 insertions(+), 88 deletions(-) create mode 100644 Documentation/devicetree/bindings/leds/leds-lm3697.txt create mode 100644 drivers/leds/leds-lm3697.c