Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp144466ybi; Thu, 1 Aug 2019 16:18:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqz42qWwSReTTmlQrG4s4nopr+oM9QfsFa0GA3RxX72CtfmHt9oobSjJs+TFcL8JtAB5zjby X-Received: by 2002:a63:6f81:: with SMTP id k123mr123774791pgc.12.1564701494700; Thu, 01 Aug 2019 16:18:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564701494; cv=none; d=google.com; s=arc-20160816; b=0ZtSBykaRoR4OVX/BhrTCVltzVGbGSFV4Q1yqa7kmNI/lOYiuxhaWPgPa+Vqa2YONR b9lLbiAxe93RVbsVi9MuE0PvLtz5JY+w3dXqcEEX1qGcX4Q17vD4n7kK+KR8y1tZmRQD RMTfPnpmeeFIpVynkL7L4YypgizksmvaryACdGTv1IF+sq/v1KJ3f1LGXNdgI9wQksz/ TtCGPCQkGSY8iDrffS62vVUTeYPgj7xdRlP2SzRgHiRjKDYM3161tkAnOULf+1jssZIp Aw5hAXo/ULV8wmP11/I6vWDCxmLMMtVe0LZ/YHKaepO5SSRuiniUDgdAnR6Uk4XocOVT IGbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=n+W1i+7kfv4vYrkPoC4pIrwHXKJ0yL1bnKOV95y6GAQ=; b=pXto6SrcpVbnlOPdpY+AAX+FsVEpKdEMPScWps5HWD3kdV75qHM+z1FvcJ4hgjydzW HoPIy2bDoV5cMjb3KWyoTgAe/GtDomi+wrGH5vWbTSS7qwVDaQlao+n8KnT80tFZORWC hDzBo6awt5Cgz0vo5yBST5OSHc9lra2uyhdq5diX9VVGUcK0hxMZxI9/9vC9FW1OOjM1 E8zvJHC5mvkYwaFvPWYdJjyGRglCnZD9Y4A1cMv5S/rbcIJCoCx3sscqfZYfQSRr6s+O OLLbrGM1/cJ/P+2+D/Yx/7smfuYMPhW0LVyHCeB/V13X3wtEvAEL5Inigmbqyp1Xbd5c 357g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lAk6aqqr; 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 i10si35422080pfd.226.2019.08.01.16.17.59; Thu, 01 Aug 2019 16:18:14 -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=lAk6aqqr; 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 S2388520AbfHATMN (ORCPT + 99 others); Thu, 1 Aug 2019 15:12:13 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:36476 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727899AbfHATMN (ORCPT ); Thu, 1 Aug 2019 15:12:13 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x71JC3lg032175; Thu, 1 Aug 2019 14:12:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1564686723; bh=n+W1i+7kfv4vYrkPoC4pIrwHXKJ0yL1bnKOV95y6GAQ=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=lAk6aqqrZ82svaBSjBNq/wF03p1vPyjqwBIVaDlyOg8bashGxSGe0WhGJZqEBVJ2y e5yBKJIq5qh4lpjjmV7V6aUodHUxUyHI6IOHaF9xY+lOcCSIbw+pjU3AWk07kCBntx fgq0tTrOKmMHC11FLBOZaC+HzIVpl7TFJhAoAh3c= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x71JC3Rt093267 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Aug 2019 14:12:03 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE101.ent.ti.com (10.64.6.22) 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 14:12:02 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE113.ent.ti.com (10.64.6.34) 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 14:12:02 -0500 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x71JC1M0072703; Thu, 1 Aug 2019 14:12:01 -0500 Subject: Re: [PATCH 2/3] dt: lm3532: Add property for full scale current. To: Jacek Anaszewski , , , , , , CC: , References: <20190801151421.21486-1-dmurphy@ti.com> <20190801151421.21486-2-dmurphy@ti.com> <2c486267-e0b4-25f3-0a3e-189447adf8b5@gmail.com> From: Dan Murphy Message-ID: <73134d05-7422-8f4e-01d1-63a80a5bb87e@ti.com> Date: Thu, 1 Aug 2019 14:12:02 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <2c486267-e0b4-25f3-0a3e-189447adf8b5@gmail.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US 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 Jacek On 8/1/19 1:53 PM, Jacek Anaszewski wrote: > Dan, > > On 8/1/19 5:14 PM, Dan Murphy wrote: >> 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(+) >> >> 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. > Wouldn't led-max-microamp fit here? Ah thats what I was looking for.  I would rather use existing properties. I will change that. Dan