From patchwork Tue Jun 4 17:43:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 165808 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp6160363ili; Tue, 4 Jun 2019 10:44:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqygV9X8h3YfVKl9qYs11U2W/In5TfR2tILrycHzEjI8HzxG7zXqj98BeaW4zypI0BzAcswu X-Received: by 2002:a65:490e:: with SMTP id p14mr20706227pgs.287.1559670259854; Tue, 04 Jun 2019 10:44:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559670259; cv=none; d=google.com; s=arc-20160816; b=wKcNQw4u2Lwe2glpOywFR8Hd1UO3+4R0eopBZ4DJJO4DccVW+/0TCaKROl0Q7PuoIY KWXxpwYf9yHgQPrxSbRsc+Gz01aq6T0TeQ/5y1R5pXCYcSZc92jbnFYEMfXiHNZFkPlw r5kSqHZ74B9D6GYKPyeokcpYwDbZrkYWCklZK6LyN+H8vvgM9Gv/IrP29ADkgdE+JZmL h4R5I7ydljRVy9NNApKEkltFclLCty1ktQWsypTtXRLqvfdLtIaoGL3OtRKzyV0Huu7N 6euaRXg8sg3Op5/IG5JjT4WxD6uhYIAQuzbCoWvgJSjPOsDkrhympr4fKa1VOCwkYJ4o 4egg== 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=HtfMt2uOW+klYRskuwW/3O5vVBGnGwm8wRY2nAEaw3I=; b=TMSYsrFv/Tb8yktLvx1z0VX60eLnkARWA0Q6eXutQsYhEPMq2vWaPW8OIX1Lcwxxv8 pnp9FEh2krHdM3GXBlsbiuu5ETNuTpdBTm7AWGpMK7nxig7NItcjt7MjUGRQ1Lg67z+4 c/V+bxMhbLlJ5Wd3gp/7ea9OcKwWfdQOSZQSXbFLnDT6rpFTGRKcsD9RVeB0bT8GlXO/ QUp5W8XmsJWtMzCxdWnq1vGWBgSMtvAlUIGsznw6v+3d4dDxV8FvBWJVJN1tZ+VE9/l/ M0cepW0zLU2Wu7EVSUbnZuwwNl7HqYd3+Itr09cJi2Pfdx0dx2+574KhuCay04yDNkBz IKFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Xd+W/Ugd"; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-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 99si24956963pla.397.2019.06.04.10.44.19; Tue, 04 Jun 2019 10:44:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-leds-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="Xd+W/Ugd"; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-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 S1726605AbfFDRoT (ORCPT + 1 other); Tue, 4 Jun 2019 13:44:19 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:44320 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726460AbfFDRny (ORCPT ); Tue, 4 Jun 2019 13:43:54 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x54HhlH4058566; Tue, 4 Jun 2019 12:43:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559670228; bh=HtfMt2uOW+klYRskuwW/3O5vVBGnGwm8wRY2nAEaw3I=; h=From:To:CC:Subject:Date; b=Xd+W/Ugd8scVYteI97TYB1W+ZW/PCqDr6rotKP0wrB+q40QfaEnIkqkN6viWJg7dP Xm1/zlB/bh3Z2gbJg/lYU42drisKZ/Rfiv69iWJFeI4dSklqg/9OZgq00yjlV8Rq54 FS5fzMKlceTyIsdSplGNtlveVstTCBEEXrUV4zqg= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x54Hhlc8064375 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 4 Jun 2019 12:43:47 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 4 Jun 2019 12:43:47 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE115.ent.ti.com (10.64.6.36) 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; Tue, 4 Jun 2019 12:43:47 -0500 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 x54Hhlti110641; Tue, 4 Jun 2019 12:43:47 -0500 From: Dan Murphy To: , , , CC: , , , Dan Murphy Subject: [PATCH v5 0/6] LM36274 Introduction Date: Tue, 4 Jun 2019 12:43:39 -0500 Message-ID: <20190604174345.14841-1-dmurphy@ti.com> X-Mailer: git-send-email 2.21.0.5.gaeb582a983 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Hello This is v5 of the patchset. There is only one patch that has changed in the series and that is the regulator: lm363x: Add support for LM36274 patch. This patch was updated to add flexibility in setting the bit to enable GPIO regulator control. This change was made on top of the branch repo: https://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git branch: ti-lmu-led-drivers Dan Dan Murphy (6): regulator: lm363x: Make the gpio register enable flexible dt-bindings: mfd: Add lm36274 bindings to ti-lmu mfd: ti-lmu: Add LM36274 support to the ti-lmu regulator: lm363x: Add support for LM36274 dt-bindings: leds: Add LED bindings for the LM36274 leds: lm36274: Introduce the TI LM36274 LED driver .../devicetree/bindings/leds/leds-lm36274.txt | 82 +++++++++ .../devicetree/bindings/mfd/ti-lmu.txt | 54 ++++++ drivers/leds/Kconfig | 8 + drivers/leds/Makefile | 1 + drivers/leds/leds-lm36274.c | 174 ++++++++++++++++++ drivers/mfd/Kconfig | 5 +- drivers/mfd/ti-lmu.c | 14 ++ drivers/regulator/Kconfig | 2 +- drivers/regulator/lm363x-regulator.c | 56 +++++- include/linux/mfd/ti-lmu-register.h | 23 +++ include/linux/mfd/ti-lmu.h | 4 + 11 files changed, 417 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/leds/leds-lm36274.txt create mode 100644 drivers/leds/leds-lm36274.c -- 2.21.0.5.gaeb582a983 Acked-by: Pavel Machek