From patchwork Tue Apr 30 19:17:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 163154 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp3626902ill; Tue, 30 Apr 2019 12:17:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOBPLg5dSt3FMTA+fwuCTNiwvi8M1N20vRZCCi0/6yzy+ODw8NFHOAykyie7Uhtw859Tns X-Received: by 2002:aa7:8252:: with SMTP id e18mr15422547pfn.105.1556651861247; Tue, 30 Apr 2019 12:17:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556651861; cv=none; d=google.com; s=arc-20160816; b=f5+KlY7e9Tgl/0L1D5dc44G7etEhctaidDhdBbnxYahcWLQwPh86Jmf7v5uKnKexBa CtnDw3wMlhlagOVgxBIexdtvAWn8DbW6/7JtrhmWlniurZajz26z7MAhMMaxDDsukxyQ QYKCPknZHcNk586FxM7NX59UJssyUEGdlDuuOFJ4HHPEXGmpyQ8bkluyWJBEcCQ07EJE mWuFKdqoo2F/GlxMLZsrUrWXYIw4YjEz6hk83XrVuR2qbq4Iue04nC/3W+SGWFKZ96Hk 1LBCx9yAFbDlvGomTC+reJFOYXn878EHa4txFx+0IgxuYhfUGfd15jU2tJHDBFlCA5GC 5bmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oIAzHTI5a+s+b5rzRKIA6SvH4UyhyshCDOofvkrccxU=; b=UV3QpKxfDALFuZslo0nS5eo/HfBa4+RGneT35utXDbPre0anVhX1jQTssTsRa/ZYtB UkMWs4aBZZf+jNLlZNq71eQBNAICtHn7vUDZXx093+fivjg5gaLhHT6xRXnqCNhy6q3W HUR4goQpFM2gy8khaLBy/DohPBap6QmyXuUcRRDvcv/zHUOGz2mi4ydOo4rXA/Mjhhvo PPHVihUYVir+QIQOJBnmu2YE3E3caDC4D8U54hf98HLnqU7ZRAp3zEdOuxNdrwFrojhy JgtgaLuSNAbp5BtoDWrWMxHSK66j7rn9xzpXpwyf2bLQqWltkjyuhPDi4GVULsIwU7gz ia8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=zGnwgo8b; 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 b66si26524154pfa.104.2019.04.30.12.17.40; Tue, 30 Apr 2019 12:17:41 -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=zGnwgo8b; 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 S1727179AbfD3TRk (ORCPT + 30 others); Tue, 30 Apr 2019 15:17:40 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:35650 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726923AbfD3TRi (ORCPT ); Tue, 30 Apr 2019 15:17:38 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x3UJHY16074213; Tue, 30 Apr 2019 14:17:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1556651854; bh=oIAzHTI5a+s+b5rzRKIA6SvH4UyhyshCDOofvkrccxU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=zGnwgo8bXMjs6EkTDv9xo9fF3VRvqJxfL5ebyMNnZ7rPqbdrMMCelyw+7Jrp+ipQA PwRIP4SlVAeiAWx/b5Papk7xMruNKyQuxGo+Sidf7VpVWHu1yabTvvsydbhV+2rSGO 4XO9DRQZ5WXCdrPksiJdaXfguiToAlLjzd4PK8SU= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x3UJHYHC005516 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 30 Apr 2019 14:17:34 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 30 Apr 2019 14:17:33 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE101.ent.ti.com (157.170.170.31) 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; Tue, 30 Apr 2019 14:17:33 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x3UJHXpE007868; Tue, 30 Apr 2019 14:17:33 -0500 From: Dan Murphy To: , CC: , , Dan Murphy , Rob Herring Subject: [PATCH v3 2/7] dt-bindings: mfd: LMU: Add the ramp up/down property Date: Tue, 30 Apr 2019 14:17:25 -0500 Message-ID: <20190430191730.19450-3-dmurphy@ti.com> X-Mailer: git-send-email 2.21.0.5.gaeb582a983 In-Reply-To: <20190430191730.19450-1-dmurphy@ti.com> References: <20190430191730.19450-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 Document the ramp-up and ramp-down property in the binding. Removing the "sec" from the property definition as seconds is implied. Reviewed-by: Rob Herring Signed-off-by: Dan Murphy --- v3 - No changes added Reviewed-by Rob - https://lore.kernel.org/patchwork/patch/1058759/ 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.21.0.5.gaeb582a983 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>; }; };