From patchwork Fri Dec 1 16:56:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 120360 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1383584qgn; Fri, 1 Dec 2017 08:57:32 -0800 (PST) X-Google-Smtp-Source: AGs4zMbmvrB+LOsBEimW3n6gL2uM+ciFQq9z6Q1uaWZRbfQywEwX+i4HjHCbBdnveH9zEi5AMvjZ X-Received: by 10.84.143.162 with SMTP id 31mr6726212plz.254.1512147452243; Fri, 01 Dec 2017 08:57:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512147452; cv=none; d=google.com; s=arc-20160816; b=fYzqlEOQMrZgwWaWK8zk8crbZD8lKklpIqjvCDaDZK85NTKyXoXRyPlqxqwQz/Wq2X Sd6ukIQruwNesX/UuiyJs9s5+RBGTXPQ0SEGORFBfJ+SQ/5gHsORA4nUNt2qPkvWhDmV KUYUDlGQVTEXjVNm47NJ/lvaP6Q4M2fw78coW2E5+4RO318jFVWQOfBKSVIQ2I4ADACN rB+CwjNsvCEBGtUKpmcewgBALBVX+qQiVkQjHhfdZC65JuwA9D1fMLONv/apM1uRqWot lbGR8fhBEUShhzepfz9Xi9glJs8mycCO0O7dC42t/Sp69l2xb8L+z0iscNSC6H2xCfc3 u41g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=5sq0mxem9aXnwP1Ja+W1wSG2Bzv5Hb47VDD9PPke2Zg=; b=o0+RvqQbCHCHz8dwiwYO1Yuo2D4+mhQYVIQrvXnomDsVh0PsYLGXqCmz7He3R7dmvn Pkt2aqAoW6DQqT8e0j9sgcjE/ZQJPJgWUdbnZszZ+1QTqXznUEOFbyJimFxiAn2C6uzn kGoc4Hu1qRcR8/36SXIHACQYS3Vn95YXjRAuX5uC0KiYhavJYRUU8eHEmPgHjqvkCOUD u29lBbzcCSmiHC0m5LtQoUUEskVTvoig8FVaRcnPHsaGrZm+3xO4uhx/chqdlnXMdWBw iPHoSoKOZFReXtweBOcN3RrVBvwrshu2CTdApOcL4F6Dn0M4q/eh85LgPy4V+T8LsCUV tT5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dZL4r5fc; 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 j6si1825365pgs.459.2017.12.01.08.57.31; Fri, 01 Dec 2017 08:57:32 -0800 (PST) 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=dZL4r5fc; 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 S1751848AbdLAQ5a (ORCPT + 28 others); Fri, 1 Dec 2017 11:57:30 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:28291 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751790AbdLAQ52 (ORCPT ); Fri, 1 Dec 2017 11:57:28 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id vB1GuTeo032694; Fri, 1 Dec 2017 10:56:29 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1512147389; bh=E50lepu+DkALMOeBfdzvLm3luZBNbm9RtyMoY4I933A=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=dZL4r5fcERP4WdQXXGYRtaOuidLhUtWCUuN9Yltpb1XQsEWe6osQobUkmOhyo3s+S bVokj2EniDrrBEZTMpUHq2KTDr9xU9zQ0jqnOE1CyG6zkqmBH5dUJWFIvtGsLpBIyI ynHINkIbpI8QAiX37zsfPsP9rvnjTOb1vJbx6agg= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB1GuOiV016928; Fri, 1 Dec 2017 10:56:24 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Fri, 1 Dec 2017 10:56:24 -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; Fri, 1 Dec 2017 10:56:24 -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 vB1GuO19013206; Fri, 1 Dec 2017 10:56:24 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.70.55]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vB1GuN303173; Fri, 1 Dec 2017 10:56:24 -0600 (CST) From: Dan Murphy To: , , CC: , , Dan Murphy Subject: [PATCH v6 2/6] dt: bindings: lm3692x: Add bindings for lm3692x LED driver Date: Fri, 1 Dec 2017 10:56:09 -0600 Message-ID: <20171201165613.10358-2-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20171201165613.10358-1-dmurphy@ti.com> References: <20171201165613.10358-1-dmurphy@ti.com> 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 This adds the devicetree bindings for the LM3692x I2C LED string driver. Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- .../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