From patchwork Tue Sep 11 17:08:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 146473 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3868067ljw; Tue, 11 Sep 2018 10:08:54 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbBPMFZEe3oBjbIXLmRgf84VLOnw6sMB0Z7YTJyatU2/xIBPJDeyEoQ2XI+qEBa18k3TpLx X-Received: by 2002:a62:e218:: with SMTP id a24-v6mr30164811pfi.75.1536685733928; Tue, 11 Sep 2018 10:08:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536685733; cv=none; d=google.com; s=arc-20160816; b=DfgE3uzbk6EZYTkfq/Eaf43eMwNY+9NdADsDbMzdKyt4X1M+ct471sXtfmg3Qqx7pU IToWGkrwWXgLJ8ayqjOO9/SFb/M51hrDu/x7WERwtc6/7hmKWTyHLL3KatQUG0lmBKXA rmPSkYoCN8xb9j+uFRqTTbb7X7JTKgHTW6Zr8AOBnbMOsxW204rlj2xaHvrdYx8Pn0vq TS3kqAy8qJG998d2r8ISuzOS4KtNBSAqBCzPITckWrDtDNM2/RjLMsINld6G7N5HWuiW bq1uTjjTIFUsa3IWO5jlX0XBegj0bzXMVwsgOwKxZ65w8HRAJExnhuMCK99b4nKvKAFF KhTQ== 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; bh=PK/7NWCVTG8nsW2kpAy3E+E5fedwIgzEJ4d1himThi8=; b=sHYFyubDhcMCXDNIZxzcvllQJmNPJ8jVPD7BurzwTo55HxOcn4jZVB7hW8I1oslo7v YRfZ2FUKUicfNQzfbyoMQYas7xndePGEmesUBDegiF0XihEa3rT0tuT1O6Njp8cvbc3a ak3Izf746K1ezbtgPZrPWT8UwCC7zARM48uxM/JWEhyQR8ie/ZR/N3hVpb0NhNXA25py kyhJ9lVZRseQ2kF+F7KRJIVXaNFwRRGSESmhkplNsewn8Di4Ov0dtUoM55xpifBO792v oc2elVJjhU6CsZmtDfSoV3BchNpQtKoU+RgqynKBP1rF8eTEgTVwnRwu8ZO/QyI2acCj zVxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bfgxvQG2; 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 d13-v6si21819463plj.286.2018.09.11.10.08.53; Tue, 11 Sep 2018 10:08:53 -0700 (PDT) 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=bfgxvQG2; 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 S1728261AbeIKWJG (ORCPT + 32 others); Tue, 11 Sep 2018 18:09:06 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:50216 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727034AbeIKWIz (ORCPT ); Tue, 11 Sep 2018 18:08:55 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8BH8bU3035774; Tue, 11 Sep 2018 12:08:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1536685717; bh=PK/7NWCVTG8nsW2kpAy3E+E5fedwIgzEJ4d1himThi8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=bfgxvQG2Wj2i+j5cvlEhJSTbKyf47MBoQgJnXcgrdNXfOHJZmG1SXY+5Zne0FDMpn d4CfD6x9unynLU6q0xLdbASqj01blfD5cwzmwUUB0Ult9CFymdtdG05xWfYKUi5LnL C7arf36H4AZjol3NXHZCJxhZu8n7oYiFkHjg19uc= 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 w8BH8bfq031485; Tue, 11 Sep 2018 12:08:37 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) 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.1466.3; Tue, 11 Sep 2018 12:08:37 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 11 Sep 2018 12:08:37 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8BH8aD1015313; Tue, 11 Sep 2018 12:08:36 -0500 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.156.248]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w8BH8ax21205; Tue, 11 Sep 2018 12:08:36 -0500 (CDT) From: Dan Murphy To: , , CC: , , , , , Dan Murphy Subject: [PATCH v7 5/6] dt-bindings: leds: Add runtime ramp node for LM3697 Date: Tue, 11 Sep 2018 12:08:24 -0500 Message-ID: <20180911170825.17789-6-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20180911170825.17789-1-dmurphy@ti.com> References: <20180911170825.17789-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 Add runtime ramp rates for the LM3697 LED driver. This LED driver supports separate runtime ramp rates for going from a higher or lower level of brightnesses Signed-off-by: Dan Murphy --- v7 - New change for the series to support feature in ti-lmu .../devicetree/bindings/leds/leds-lm3697.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.17.0.1855.g63749b2dea diff --git a/Documentation/devicetree/bindings/leds/leds-lm3697.txt b/Documentation/devicetree/bindings/leds/leds-lm3697.txt index 85ae075f6677..4bb2ed51025b 100644 --- a/Documentation/devicetree/bindings/leds/leds-lm3697.txt +++ b/Documentation/devicetree/bindings/leds/leds-lm3697.txt @@ -30,6 +30,12 @@ Required child properties: 1 - HVLED string is controlled by this control bank Optional child properties: + - runtime-ramp-up-msec: Current ramping from one brightness level to + the a higher brightness level. + Range from 2048 us - 117.44 s + - runtime-ramp-down-msec: Current ramping from one brightness level to + the a lower brightness level. + Range from 2048 us - 117.44 s - label : see Documentation/devicetree/bindings/leds/common.txt - linux,default-trigger : see Documentation/devicetree/bindings/leds/common.txt @@ -51,6 +57,8 @@ led-controller@36 { led@0 { reg = <0>; led-sources = <1 0 1>; + runtime-ramp-up-msec = <5000>; + runtime-ramp-down-msec = <1000>; label = "white:first_backlight_cluster"; linux,default-trigger = "backlight"; }; @@ -58,6 +66,8 @@ led-controller@36 { led@1 { reg = <1>; led-sources = <0 1 0>; + runtime-ramp-up-msec = <500>; + runtime-ramp-down-msec = <1000>; label = "white:second_backlight_cluster"; linux,default-trigger = "backlight"; }; @@ -77,6 +87,8 @@ led-controller@36 { led@0 { reg = <0>; led-sources = <1 1 1>; + runtime-ramp-up-msec = <500>; + runtime-ramp-down-msec = <1000>; label = "white:backlight_cluster"; linux,default-trigger = "backlight"; };