From patchwork Thu Aug 1 15:14:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 170388 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp5580236ile; Thu, 1 Aug 2019 08:14:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqztHZmsxJ6I/jk+BphjzVRiCOoPMz2MVRr4kuG8EdxHOOapBEIyiuE8+ll21EsSSFAmp88B X-Received: by 2002:a17:90a:bb01:: with SMTP id u1mr9066540pjr.92.1564672472648; Thu, 01 Aug 2019 08:14:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564672472; cv=none; d=google.com; s=arc-20160816; b=JOI08du5RqC4w7I7Ts7pXzAFPS00cggNWFcBRaEHKed5U4wQ4bAO+DwIVhikTS6ZgB avF7+bHNH4RV0TmJU5/UcGkBOz4j+KmuyTAJVoIbzUpFxoyXw20EqCQC87sorEyI8yO3 eaHU4PqA8qHxtZWKiNW+gkzvtugo/FqkFivOQ8TRTil5UIZ7DINopaL4a66w3JBKeWN0 WoTHKU/GFzTja275mxHQwKnEJND9Rds9xXZC8LxN0Fhbpl+zJO0e2rJjNg6Gi579CXem y6CRROcmLX5y/+IBLkmlARSiIB7zAn12de6UOMLoFQiRKj6fwC1syYP5u++togr3H1G9 izZw== 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=vT9TTA9+yJvY9rAaobu7P0YUoXflgY+8195JQIElkeU=; b=E/LZPpZbzLnRm7kI+K3H7fAMey8KnYQFsUnB+MOGcXusboAq27yKr2fYHiOqU/vyAf L1VlQqyttN9SAfAw3emtvtMXhG1KJauDy7pr9jZDcw40KyVhDTSgvP6OIqomC3aOcGwI +Y4tG+RQ94jknyytncJGHBvDpVMpI7VM1/NWRf4x18vFmOu36Gl35sSxc/bCxBQXGewm GMfNvQxdzxMdIrYVMtc0A4YtyACmBwYP/wKNv37SkJV9ebmS/2XW4fpmBXLa8qP1//D/ TKltozOqGHRQgbscVUmiVofALYdSy8Eqiv0xC/dtJiAy1b9RfRBW0rnYY7Nwl1D300Jp C0fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=M3Rtfh41; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-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 e18si12585502pgv.139.2019.08.01.08.14.32; Thu, 01 Aug 2019 08:14:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-leds-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=M3Rtfh41; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-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 S1732401AbfHAPOc (ORCPT + 1 other); Thu, 1 Aug 2019 11:14:32 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:33780 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727853AbfHAPOc (ORCPT ); Thu, 1 Aug 2019 11:14:32 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x71FENOn066123; Thu, 1 Aug 2019 10:14:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1564672463; bh=vT9TTA9+yJvY9rAaobu7P0YUoXflgY+8195JQIElkeU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=M3Rtfh41Py3G8PEm5bW+uyZWynRjC+FZyqNipU9MJlkycXPkxZP8xuXyw4b4gUztu J362/+p+7VkRdMeT1JXuCvyibQu3tkXPrDirP6dgG2KMY0GbgpS4NrAOrCO6q8kZwr +/FCW1w2VO6HpycPZQhuYiZIpNS1KGEldkPMmNOg= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x71FEN01121654 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Aug 2019 10:14:23 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 1 Aug 2019 10:14:22 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE110.ent.ti.com (10.64.6.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; Thu, 1 Aug 2019 10:14:22 -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 x71FEMNL089261; Thu, 1 Aug 2019 10:14:22 -0500 From: Dan Murphy To: , , , , , , CC: , , Dan Murphy Subject: [PATCH 2/3] dt: lm3532: Add property for full scale current. Date: Thu, 1 Aug 2019 10:14:20 -0500 Message-ID: <20190801151421.21486-2-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20190801151421.21486-1-dmurphy@ti.com> References: <20190801151421.21486-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Add a property for each control bank to configure the full scale current setting for the device. Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/leds/leds-lm3532.txt | 4 ++++ 1 file changed, 4 insertions(+) -- 2.22.0.214.g8dca754b1e diff --git a/Documentation/devicetree/bindings/leds/leds-lm3532.txt b/Documentation/devicetree/bindings/leds/leds-lm3532.txt index c087f85ddddc..d3498dd24e8e 100644 --- a/Documentation/devicetree/bindings/leds/leds-lm3532.txt +++ b/Documentation/devicetree/bindings/leds/leds-lm3532.txt @@ -62,6 +62,9 @@ Optional LED child properties: - label : see Documentation/devicetree/bindings/leds/common.txt - linux,default-trigger : see Documentation/devicetree/bindings/leds/common.txt + - ti,fs-current : Defines the full scale current value for each control + bank. The range is from 5000uA-29800uA in increments + of 800uA. Example: led-controller@38 { @@ -85,6 +88,7 @@ led-controller@38 { reg = <0>; led-sources = <2>; ti,led-mode = <1>; + ti,fs-current = <21800>; label = ":backlight"; linux,default-trigger = "backlight"; };