From patchwork Tue Nov 28 20:40:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 119902 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2193280qgn; Tue, 28 Nov 2017 12:41:04 -0800 (PST) X-Google-Smtp-Source: AGs4zMaItqrVnaAhSrxHb34Sls039PEmbFx39266qS/6tWbT2Wfu5xzff98tmbx2YkHHCCtnPLRa X-Received: by 10.84.169.4 with SMTP id g4mr389886plb.393.1511901664540; Tue, 28 Nov 2017 12:41:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511901664; cv=none; d=google.com; s=arc-20160816; b=nDi+V7DSNdOmUdl03ZMw5Evz6sryhGGE0HFQsoRBjOTejdckrF5IWlDd4JSc8M2VwX oticZGzjQgA8WK7sCvIPAu/SSUNQfd9sJzRTgmDoDNAAYNjuA8NC4TvtsrTfzhQSwe/e 6HVZAv9ZXhnKA5y2EGfO+EVkBshLTrGKCNAE2Loz3PHCwIqshzCBpPJc7e9U0mRE6ClO ou++b+rickD3SYWRzC29qtBU+STZ7iKEwcmYvVAUxwMsxoan9BymGr8D1IRDujoNScAE axmXuRE+b3nHUZ6cwB+5JjuFFFGjyj74w3bXHQjoOUoHwTfjaJ5cpCbB1auJRNJ12NgS Pnng== 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=2Wsax0E9XcF6rQm17EIqGLSHioms+qJU2yf1Gu4v0zQ=; b=p4TRVutxT5pACLCP5c3bu/Na+m2sFksvSzb0UYz8W/zU5ycJ3Xwkh/NjRlqLumLUfm /Q8KNLEdiLPPYVCqBL3jSTusxoFpEtWyyfVHAamszNmK5re9O56zK7gluvDdroZvJwGo k7FW7ePJ+viKgo0TmDbOohO5KcqDgz8Kbv6VsRiYWzvc+lapYbe25A88onNPAmPCMFoW PnJmz75MqSzWUmSl52FwReJiK7n/WWwbILM6Mlw2eiROHfQifQAy+d4XQD6Opewz6Z+J WiCpk81l5bsdqmy2T6xGzvrZ+PdjG60/VzZ3WNvk4MEWVcm64OeF2Qd/Bxv50qrG4GHN G4Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=R//ee/Kk; 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 m1si11330pld.808.2017.11.28.12.41.04; Tue, 28 Nov 2017 12:41:04 -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=R//ee/Kk; 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 S932289AbdK1Uk4 (ORCPT + 28 others); Tue, 28 Nov 2017 15:40:56 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:47906 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754320AbdK1Ukf (ORCPT ); Tue, 28 Nov 2017 15:40:35 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id vASKeN67011050; Tue, 28 Nov 2017 14:40:23 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1511901623; bh=0s1c9zaeGoVHPPOmBs9o1m4xeIxYpiuh3c7PMRGPkZk=; h=From:To:CC:Subject:Date; b=R//ee/KkW+vGyEEhkHTJOuqvrj0+MXYiDDUitms8Y2CF5QxuqmrR3HpdZLbK92dL9 nihxD0+JIBs4yUQQNRqoVeHQ8zFrb6WkFyDPCOjZrAdg8UEtIBJaSm3EP6Xx0n3/fz 9v1AqnMXHmREfggNifbkFWKYAmLmUCiQm7wBj1j8= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vASKeNT5029239; Tue, 28 Nov 2017 14:40:23 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) 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; Tue, 28 Nov 2017 14:40:22 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 28 Nov 2017 14:40:22 -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 vASKeMQi026855; Tue, 28 Nov 2017 14:40:22 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.160.127]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vASKeM322735; Tue, 28 Nov 2017 14:40:22 -0600 (CST) From: Dan Murphy To: , , CC: , , Dan Murphy Subject: [PATCH v4 1/2] dt: bindings: lm3692x: Add bindings for lm3692x LED driver Date: Tue, 28 Nov 2017 14:40:20 -0600 Message-ID: <20171128204021.12699-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 --- 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