From patchwork Tue Aug 13 18:11:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 171204 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp1236858ily; Tue, 13 Aug 2019 11:12:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfiNYwIuTLmd4tYKX8Kf5YSeEfjea0vwpPltHtXZJI8FYsawSkSY9p0xzkMxzU5Fj4lwsF X-Received: by 2002:aa7:9197:: with SMTP id x23mr41779183pfa.95.1565719930760; Tue, 13 Aug 2019 11:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565719930; cv=none; d=google.com; s=arc-20160816; b=X5X7FM+1d45fC5q4bcND+kz+mO1c5bPEkKTndDvq95t34wzUAjNf19JeT9rQdOQYI2 d6Tkssi3cVc4nJ0vjct9dvPuzK49r0tAyjwZDo9zwwc4bWVyeO0uxkctq3RuEHT/hrxU aAhPGNKAn/mTiuV+IrmKTRmXgzFZzaZzI4CpF0USiuZUWxU3m1HF2v0h6tkkzfqWHhMm csDe/BR0khAsbo7hzOh1IeZSoQrGnFcEAmlf9Ur+XA8JA3vf6zGGPEbR+HGnd400TB6K IK/CxRxEHTYcNG7RS5AuBLiTQ2MxeA0UuQNq0vQUQ5H8EyxXX0H5h2v/dPDDZevVn+8i q2Fw== 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=rcJORkZ6Sdyk2JGl2jXoFIyuGmwVg+r6vi7peaiEtlw=; b=Pd0nTqLuorWZBDCpiyDVa4S4nZDjKeaj0dnNXUKSLEd8s7SJeEzuKFm07Jetxvd7Qc 0TluTIz2/alK+AEVn/uEpB9vSXWrbyB5YCl8av39Ygs+/WVYFLrEl/o/OSpTTjE9k1bI JII8uq6Y4uUUIcJrAPY/+PbiXStEfYrqqDB4KjlZRZ2tOYSP/Y3+xIz5nYtXJHDj6o8L 4kTDxanUUditK42l+OpPIClFgnh8HWPXduQudIEiGD2KXueH9QfGX3QBjUEYuaSg2wac MQ6vBILLPiChTBFENM/mv+UZE2+KVqlmuTBk8vUbSC9+blYg1bAaSUxR59Fe6u2FRodz 5IEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=IcH5DOon; 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 p4si64715998pgh.350.2019.08.13.11.12.10; Tue, 13 Aug 2019 11:12:10 -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=IcH5DOon; 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 S1728393AbfHMSMK (ORCPT + 1 other); Tue, 13 Aug 2019 14:12:10 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:39772 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728345AbfHMSMJ (ORCPT ); Tue, 13 Aug 2019 14:12:09 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x7DIC0Ih061504; Tue, 13 Aug 2019 13:12:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1565719920; bh=rcJORkZ6Sdyk2JGl2jXoFIyuGmwVg+r6vi7peaiEtlw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=IcH5DOonvzv3nLDM3nm1vW+BUC0irajM0A9YqwmHZa+LIzbOfEjHwrdFn/Rrk9L2T ekD2KMtoXmjE95vzRZVTO3yF+iwXryCu4MVwEJF45c3h2qE4xOf/0ErrPdTFTHU2/K whAHXPbqHlmuEEkEg6V80NZATq+cLAN3M1StgEYw= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x7DIC0QR004387 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 13 Aug 2019 13:12:00 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 13 Aug 2019 13:11:59 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE113.ent.ti.com (157.170.170.24) 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, 13 Aug 2019 13:11:59 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x7DIBxNe051021; Tue, 13 Aug 2019 13:11:59 -0500 From: Dan Murphy To: , , , , , , CC: , , Dan Murphy Subject: [PATCH v2 3/4] dt: lm3532: Add property for full scale current. Date: Tue, 13 Aug 2019 13:11:53 -0500 Message-ID: <20190813181154.6614-3-dmurphy@ti.com> X-Mailer: git-send-email 2.22.0.214.g8dca754b1e In-Reply-To: <20190813181154.6614-1-dmurphy@ti.com> References: <20190813181154.6614-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 --- v2 - Change ti,fs-current to led-max-microamp - https://lore.kernel.org/patchwork/patch/1109501/ 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..53793213dd52 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 + - led-max-microamp : 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>; + led-max-microamp = <21800>; label = ":backlight"; linux,default-trigger = "backlight"; };