From patchwork Thu Nov 30 19:22:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 120276 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp300020edl; Thu, 30 Nov 2017 11:23:23 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ60PYz2n2tdj+TDZMJxz7vveG+3IKU6vfvBlOHP94G6iI5muC3So/hXLwjcGWm9QNRn+IT X-Received: by 10.99.120.73 with SMTP id t70mr3284282pgc.402.1512069803535; Thu, 30 Nov 2017 11:23:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512069803; cv=none; d=google.com; s=arc-20160816; b=CY+ZHhz2HbEpvL/oDjrvGCu+HacrR5QmGNL94mMhH5eI1VJqjN8f8/fPP7WA98jRgF GTvTYLWH47JV5NUSw9jN6vsiUV4B/VkOXNHTMNkOZ7R54FTBu2mAB6w89FL+qfC0WzGg KRogGPrikkwHyrOwr2z2HMCY17Q6R6s4q4G5Up8nY6lW5h9KW9nSNeAzdCJAEOq7ZbrC GiHgJiKi2sNZcptf7eyjmhvuhX8A67wo1muQojC5nlik4+3u1U+wVVgkD2s3VNnkkftg JgnaS20yahIPqnWN9Mx084czPropJLYeqOD3t34LSS8n4Np5wtaVXye5R4RCfZsyNW7e hkdQ== 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=/bjTIcyUQb9QGumE4pUV9X+bUJivIaOJaRMk9OcR6+c=; b=nFXLF9Xaqv8yc87QEXpmPhElNHL1cWgJDr0ppHwmZ9uIZ3F1cKIMgw7U2upkp1cHzO nWx/YbGKN0OKRM3xwlgdso+Ab/S6GMmcpmUq8m1p++oU8rMlj5W+uM+MHY1lk3EykzzL M2zL6VrsGz/I4JoN7iuWiMB1x2gB7pOXznYE5eyUa3aL+poC/HwN/tw9sfdB5FVKxJ5d anJj1QAWmH/w2kAfwJN1S+LoD8RDFQnGakZk4C0XEQ2O93u89ev5wXH8yLTkMllFsuCW IF98zfOF5AWv/8IWSc88OszF5sbrfHloIBYhJ8TdwJG/sMvipHu3dUeQYBIPGTE6NW+R JNfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=yH5DOMlw; 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 t19si3554681plo.295.2017.11.30.11.23.23; Thu, 30 Nov 2017 11:23:23 -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=yH5DOMlw; 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 S1751786AbdK3TXW (ORCPT + 28 others); Thu, 30 Nov 2017 14:23:22 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:19859 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751367AbdK3TXB (ORCPT ); Thu, 30 Nov 2017 14:23:01 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id vAUJMiwp011158; Thu, 30 Nov 2017 13:22:44 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1512069764; bh=TLg7LMcmZE++ojRV6WJGKEGvLNphjppKp1ctafoUfRM=; h=From:To:CC:Subject:Date; b=yH5DOMlwNxQwL/FckTK6Cic/thlanTRFdm5lbvc4caoK7UgffxNjgl0uizR/UieMt gVOXWQsAw6Pf/X01CMdhGnnpxdItwe+d0NiCSCAFwbkZ7jzlQ55e4oRP4OVPWj+qwK dFVvb2IbFc2CJN2lA0gpaGwuXnAu/nghTSIQ6moA= 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 vAUJMigL032379; Thu, 30 Nov 2017 13:22:44 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Thu, 30 Nov 2017 13:22:44 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Thu, 30 Nov 2017 13:22:44 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vAUJMi7b016809; Thu, 30 Nov 2017 13:22:44 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.78.113]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vAUJMh302028; Thu, 30 Nov 2017 13:22:43 -0600 (CST) From: Dan Murphy To: , , CC: , , Dan Murphy Subject: [PATCH v5 1/2] dt: bindings: lm3692x: Add bindings for lm3692x LED driver Date: Thu, 30 Nov 2017 13:22:38 -0600 Message-ID: <20171130192239.7575-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 This adds the devicetree bindings for the LM3692x I2C LED string driver. Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- 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