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: 146472 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3867997ljw; Tue, 11 Sep 2018 10:08:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ7Y4keYpCorjWrTNmEomD6d0bj8Vz9vJm6OXFTURiA13sdz6HwFDtCI6WV6u9ih0oM3dSJ X-Received: by 2002:a62:225d:: with SMTP id i90-v6mr30489052pfi.246.1536685729606; Tue, 11 Sep 2018 10:08:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536685729; cv=none; d=google.com; s=arc-20160816; b=FfBQA15ro94C76f0ay9NR1cVHMI3i8V5md6Zbf5NQxw7TWOI4wFGyeU7TcfXVbUvp5 rNOgPVybU/wAUx0JvlIVF03moDu+jDNu3qZNxYoH/h8RA9DuY18Wkb1nqx1ylTHd4EhD 88uboJarQd3pGC5k/k7PBxlKlx4k9rTEfHiUInDbjlxisTZTdqcLgCC3reJxlgfnNrJT RlEMFlg2uImJoYol0o2gvtGTcWT8vCXTqMgkNmRxUV+LLKJD3T/+jxVHV9oAPptPGtVV Te5ZYb1NRYRcM+xV02qfuLjyTbP17oDW9DzZGdq5GoR1UaqXrl4fsh0jU3l3ZcNXfyKb og/w== 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; bh=jIEKUb4Td+cQ6AwjCG+5Y5mrHSrf1qG8gMHsR3DD7T4=; b=nwSXZaEqMf9WLr8JrXzsets5YJE9kZ+X+QD2zSqbEe5h8SliLaDU7llh3z9RAvTlB8 PYEI+VuT7xbGx/8WWBu37qvX1tjwu7R3o6+w/ydZG8pm2V/Ql1+tubn0nfCdPwOIQjnp DhOBm1otCe0ULKgtRX9DgJ92OW4BKyfum+B145Ddhqj1oMIXMieK/5ysjhEZ9U9CeCLO JGcolVj9r6V0885S4TqF0TramnBy0w98L36jUXoMOW6IeEf8bZAMok353reUIUsoqz/F lwaDciXm7SNQ19t/lH1MWRVMILsDJRX6+WCRADI+tVlGJqP8knJ1NBlLPjtWPaOIyHN5 JMqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Of9pgjyu; 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 d13-v6si21819463plj.286.2018.09.11.10.08.48; Tue, 11 Sep 2018 10:08:49 -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=Of9pgjyu; 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 S1728197AbeIKWI4 (ORCPT + 32 others); Tue, 11 Sep 2018 18:08:56 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.0.1855.g63749b2dea