From patchwork Fri Apr 5 14:28:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 161868 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp506638jan; Fri, 5 Apr 2019 07:29:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzL10boejPWj3Gu00jLEiVqDt5JGoozZK+QYel2FRROw7ET8HwALbX/JzlMXwH9M24qClq4 X-Received: by 2002:a17:902:8f92:: with SMTP id z18mr13558032plo.123.1554474547475; Fri, 05 Apr 2019 07:29:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554474547; cv=none; d=google.com; s=arc-20160816; b=I3VxeBvQLH+vYJqm0zNiGd2DQD1ja62NBrQV6zYZyVUdgMQV0P4oIZAO9EeFxToCRd 5tM6fsFS9qFbjRJLKHN4a6Ia/ak9IC2YFJarnY5RjwigG42PPDu/vbLJarhiW8U92zji heGAnpzte59wPMeDQkSenuoA8HjsakK13MLwRzICYoano6SYxhbznpVjQNSnzzv5dsTG xeAgGrBw4WAJvvmQf4tZC69D04KxNQozm+l1D8mvKjocuea2zwhXTnyUr38ShE5qWPbg 5KPKs32RP4ziCXZbYdpq/NFsAidn8CdZ9VBeakDRebbrWS7hFE3rKeG2dEFAA+m7ZElg pDQg== 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; bh=NBktdYTIazawuNMPKbEferZ57VgJ9abP0lXcSPPbEMg=; b=RAdGeTnqH//z/DSLjY4Kce0JKhbnRHnOG8PTGb3GBLwsnGm9IxiVvPGeYZspvanN0L IJzV+9TOcJSIWg9ysuDv2Nt5V0zU8Can1lS1KMKEmbZQ69qfuGfU9C6bSbFVgSS/+cpK atI4Vba5c8elb38bAzm1s8JBPEEp03QtOePK+7fTp7XySAzxsmu90ZQo7JyRNTkkkCgk 7RCbeM5Xw34WfYBWc2aNrrDexdi2Daw13KDQ7C5wi3a2uOCwswK4lAc//J3sQQjWNh2S 9ocRwusIbh7V1pT6U3/X9MBgNd7b7tSm6kRAcLBPgaxQZ19QcwEI7iKeIqOA0BTZPrbW YR4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kxkfH5Wu; 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 c5si18743473plr.5.2019.04.05.07.29.07; Fri, 05 Apr 2019 07:29:07 -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=kxkfH5Wu; 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 S1731215AbfDEO3F (ORCPT + 31 others); Fri, 5 Apr 2019 10:29:05 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:34880 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726594AbfDEO3E (ORCPT ); Fri, 5 Apr 2019 10:29:04 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x35ESxjc027163; Fri, 5 Apr 2019 09:28:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1554474539; bh=NBktdYTIazawuNMPKbEferZ57VgJ9abP0lXcSPPbEMg=; h=From:To:CC:Subject:Date; b=kxkfH5WufgacBgDiDIqRWljhJlZRgYqowDFel8fnjVozq3OWTM3c5XUtYZMxjRX6e sYLQPo5Z5XUirv2IOdtAzA8/zmPMrq9pA1KbP56S/boZLMe/nNXhY1WgBwjytycnQu 2uHpK9i1f8aSI8MH5CM7fdqCVLlxX7wb9Z0W1Dnw= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x35ESxog083462 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 Apr 2019 09:28:59 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 5 Apr 2019 09:28:59 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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.1713.5 via Frontend Transport; Fri, 5 Apr 2019 09:28:59 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x35ESw5Q038934; Fri, 5 Apr 2019 09:28:59 -0500 From: Dan Murphy To: , , , CC: , , , Dan Murphy Subject: [PATCH v2 1/6] dt-bindings: mfd: LMU: Add the ramp up/down property Date: Fri, 5 Apr 2019 09:28:50 -0500 Message-ID: <20190405142855.3969-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 Document the ramp-up and ramp-down property in the binding. Removing the "sec" from the property definition as seconds is implied. Signed-off-by: Dan Murphy --- v2 - Fixed commit message as this was not just a modification but adding documentation https://lore.kernel.org/patchwork/patch/1054504/ .../devicetree/bindings/mfd/ti-lmu.txt | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) -- 2.19.0 diff --git a/Documentation/devicetree/bindings/mfd/ti-lmu.txt b/Documentation/devicetree/bindings/mfd/ti-lmu.txt index 86ca786d54fc..adae96c79d39 100644 --- a/Documentation/devicetree/bindings/mfd/ti-lmu.txt +++ b/Documentation/devicetree/bindings/mfd/ti-lmu.txt @@ -25,6 +25,12 @@ Required properties: Optional property: - enable-gpios: A GPIO specifier for hardware enable pin. + - ramp-up-ms: Current ramping from one brightness level to + the a higher brightness level. + Range from 2048 us - 117.44 s + - ramp-down-ms: Current ramping from one brightness level to + the a lower brightness level. + Range from 2048 us - 117.44 s Required node: - backlight: All LMU devices have backlight child nodes. @@ -90,7 +96,7 @@ lm3631@29 { lcd_bl { led-sources = <0 1>; - ramp-up-msec = <300>; + ramp-up-ms = <300>; }; }; }; @@ -152,15 +158,15 @@ lm3633@36 { main { label = "main_lcd"; led-sources = <1 2>; - ramp-up-msec = <500>; - ramp-down-msec = <500>; + ramp-up-ms = <500>; + ramp-down-ms = <500>; }; front { label = "front_lcd"; led-sources = <0>; - ramp-up-msec = <1000>; - ramp-down-msec = <0>; + ramp-up-ms = <1000>; + ramp-down-ms = <0>; }; }; @@ -212,8 +218,8 @@ lm3697@36 { lcd { led-sources = <0 1 2>; - ramp-up-msec = <200>; - ramp-down-msec = <200>; + ramp-up-ms = <200>; + ramp-down-ms = <200>; }; };