From patchwork Mon Dec 4 18:41:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 120579 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp1229462edb; Mon, 4 Dec 2017 10:41:31 -0800 (PST) X-Google-Smtp-Source: AGs4zMa9gL5n6AtOM1OKv6Ly7C/SV0XlzkLiArlIUykWy7UPSMQ4bQRNtauKLeM/9zVNzsJewhbS X-Received: by 10.99.3.88 with SMTP id 85mr15031627pgd.111.1512412890940; Mon, 04 Dec 2017 10:41:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512412890; cv=none; d=google.com; s=arc-20160816; b=sEonJiLTvNVljJzXQgvmmvQF8fZiTrD7Zr8x3vIj3GdTPtanlyYmTumjp5vVqWhb18 FtVcDnklDP5AreBF0KrW7kFDJfi2olZvYyYtXns/B5D03uJ6Y+Ph/mnp5hlxsNHN9HSU nob3nbHhw7aZQna41vnhCnmhXZXz9dRoB/3q2lCsnq69EmiGj2DLQb1BxFYRJY4MRV3p Z+AohPtkcg+Y/dCJ5PjRdJPSoimhawoluAKtoIx3OiPNExEJPCykeAnxpb+wlzJtWlrd t83153Zet5OBrFmguWtQ7m7j+JjPSpXx7cV83At+6cFKmub4uVNPBsFYoLjLmMvy6Lmr RvrA== 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=mLaujsaS0gLhw+ZJIutTj6UtvNQhXEsWlz/i5n5Qp8s=; b=XrZ+IjoFlhv/otD5vWzaOJ70lh3m7I8RNm6cTDogTU0qNm5V1gMInUsCTc67pgjcNG MDNYH3KBwDLFe9gVneKp8yIoP+9NxWdEHVdeVvEZQePLDfFIlbtEDOVIewWJGSf4qSgE sdU7maAksFNT4ZkIxopt6U+JVqDWZvFZVW572Djmip0Us0NLcDf3Y5e0fQrHO8/TZfqO NoQU2bxcXY/5QN8i+7umguM9cM3GV3oGmFBNAQNa+vf/HmCucPSwH4pnOW/OGdCupxX+ UDlSbMS1aC/dPOl8x7KLZoHyX1TLthp2L9ZZcr95WyXb2/oZ6pQrWSpSvT/ctiecMjSY blNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=rJHE6nMu; 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 f3si2012822pgn.718.2017.12.04.10.41.30 for ; Mon, 04 Dec 2017 10:41:30 -0800 (PST) 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=rJHE6nMu; 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 S1751718AbdLDSla (ORCPT ); Mon, 4 Dec 2017 13:41:30 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:35365 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751405AbdLDSl3 (ORCPT ); Mon, 4 Dec 2017 13:41:29 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id vB4If9XJ022297; Mon, 4 Dec 2017 12:41:09 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1512412869; bh=s99FC3Q7rwwM8m1V0t0dKzorwbCzl27DSji6oZciXWU=; h=From:To:CC:Subject:Date; b=rJHE6nMuj4lw+6ZyEzyBTpv8oz+UscTQza6DeKwi8ia5hPM23BqSkZNNkHg/gtfBs rICExUQx8eptowSYNI6RIQhc8jRj/WBF2HWGZbUqv0jAjrc8YM0xe7ARJXph2mgVDh HqAUmUlK7xVYJ3qkdY2LH4PmyBMkF1P+/eeeaHXk= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB4If9EW003103; Mon, 4 Dec 2017 12:41:09 -0600 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Mon, 4 Dec 2017 12:41:08 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Mon, 4 Dec 2017 12:41:08 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB4If8N8020335; Mon, 4 Dec 2017 12:41:08 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.100.5]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vB4If8309790; Mon, 4 Dec 2017 12:41:08 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH v7 1/2] dt: bindings: lm3692x: Add bindings for lm3692x LED driver Date: Mon, 4 Dec 2017 12:41:06 -0600 Message-ID: <20171204184107.682-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-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org This adds the devicetree bindings for the LM3692x I2C LED string driver. Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- v7 - No changes - https://patchwork.kernel.org/patch/10087475/ v6 - No changes -https://patchwork.kernel.org/patch/10085567/ v5 - No Changes - https://patchwork.kernel.org/patch/10081071/ v4 - Fix example node, added trigger entry, removed ambiguous x for compatible and added common.txt pointer for label - https://patchwork.kernel.org/patch/10060107 v3 - No changes v2 - No changes - https://patchwork.kernel.org/patch/10056677/ .../devicetree/bindings/leds/leds-lm3692x.txt | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-lm3692x.txt -- 2.15.0.124.g7668cbc60 diff --git a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt new file mode 100644 index 000000000000..c259cde2226f --- /dev/null +++ b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt @@ -0,0 +1,39 @@ +* Texas Instruments - LM3692x Highly Efficient White LED Driver + +The LM3692x is an ultra-compact, highly efficient, +white-LED driver designed for LCD display backlighting. + +The main difference between the LM36922 and LM36923 is the number of +LED strings it supports. The LM36922 supports two strings while the LM36923 +supports three strings. + +Required properties: + - compatible: + "ti,lm36922" + "ti,lm36923" + - reg : I2C slave address + +Optional properties: + - label : see Documentation/devicetree/bindings/leds/common.txt + - enable-gpios : gpio pin to enable/disable the device. + - vled-supply : LED supply + - linux,default-trigger : (optional) + see Documentation/devicetree/bindings/leds/common.txt + +Example: + +lm3692x@36 { + compatible = "ti,lm3692x"; + reg = <0x36>; + + enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; + vled-supply = <&vbatt>; + + backlight: backlight@0 { + label = "backlight_cluster"; + linux,default-trigger = "backlight"; + }; +} + +For more product information please see the link below: +http://www.ti.com/lit/ds/snvsa29/snvsa29.pdf