Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5367365ybi; Tue, 28 May 2019 11:48:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaAHrSGeGfxb8iQo9EnBIP4nyZQ7KwHzXMkk7qCECJdJSR4NmfwJRTTljja6g9fmcEnUEV X-Received: by 2002:a17:90a:b398:: with SMTP id e24mr7366083pjr.83.1559069335737; Tue, 28 May 2019 11:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559069335; cv=none; d=google.com; s=arc-20160816; b=hY5FPqObKx4LjAi+tHaigX+XlHx0Pvpsudh0jDytLh1rh16P4JoiEgpKWXGfL5hfnF NLdSg1DbNlpEmc73FDJRqd5ssuUNqns24ASDInHHFPZ4elEjOI9/oGA8j0btUPxGJ3Sp yXrWv2BcC6sHHmKH5kqSkiUMqNCt6bT4mcAq7dXg2rNs8WIwwhJNOxuREXmmA9VpYn56 g6mAIOml1Qcg/a6CKaMcT2yEOnpsC6aTdEghhwFNoj+hYv1/UgDffLlkR55V8Zg2fnix lZ+0SNvsbOlEnCcxgRqW0MwFtXx/GEgFXf14G4PVxZmYDWO7U4tmAghV2r08aWc0J5x9 5GSA== 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=+XAh1rn1DmZmFVkCu8Os6B8Nn8qFNsfps9mYhSpW/OU=; b=q/Fy/OUtSyu/DxZ9N/ChDhSYsCLH71x9hQRKMFvkVsfxEwpL2tCIUfYCypL00fX2hY 8CTdgRIrrBLWkb3ozGqavVK8u6OdlLl1OnqZKzIVPgx87sfUN2iQ/KFFt9NVa84TDGJ8 YPahYQyyTF4jAfvoUmNVWvXcQ6uUU8rzZqL1AsR23pbQWDVzMbI96ZVvZdb6sy/rIfHl hCmHJuMnuv1DUBujUF72uhnX9FOM8c0P9v4YWnXTQmxLwbS0hbmbWTuZ8Aw23XcrLeNv rh8mDaBu/s+WpXNRKRwRyWC8f7AsD3XOSj8CsqV/Zcd4SGL2eRhClCtGlLj+8jtzdCNT +QRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="BjzA/Baj"; 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 g31si19116783plb.241.2019.05.28.11.48.39; Tue, 28 May 2019 11:48:55 -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="BjzA/Baj"; 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 S1727239AbfE1Rc2 (ORCPT + 99 others); Tue, 28 May 2019 13:32:28 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:52630 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726602AbfE1Rc1 (ORCPT ); Tue, 28 May 2019 13:32:27 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x4SHWLEc125462; Tue, 28 May 2019 12:32:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559064741; bh=+XAh1rn1DmZmFVkCu8Os6B8Nn8qFNsfps9mYhSpW/OU=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=BjzA/Baj5LeyaDfxIOsk6yuJaPFhKP7auVMPihrW5GVeZrTjtI4OdylSyEMgWgGlx ayb6HtHqmiM/zUqTd66v/ZihbcRlP6/UiUU4YBkwW0lt/cuK/THxHKKLKsKyPpjSZU KZuS0j9dpa7RJ5OFzFeYIrt3MHaTdJPLuPPOo+Js= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x4SHWLeG073786 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 28 May 2019 12:32:21 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 28 May 2019 12:32:21 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE107.ent.ti.com (157.170.170.37) 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, 28 May 2019 12:32:21 -0500 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x4SHWLho064319; Tue, 28 May 2019 12:32:21 -0500 Subject: Re: [PATCH v3 1/9] leds: multicolor: Add sysfs interface definition To: Jacek Anaszewski , , CC: , , References: <20190523190820.29375-1-dmurphy@ti.com> <20190523190820.29375-2-dmurphy@ti.com> From: Dan Murphy Message-ID: <185abdd6-100c-0a71-2da9-8f556d8ea701@ti.com> Date: Tue, 28 May 2019 12:32:21 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit 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 5/27/19 3:00 PM, Jacek Anaszewski wrote: > Hi Dan, > > Thank you for the update. > > One thing is missing here - we need to document how legacy brightness > levels map to the sub-LED color levels, i.e. what you do in > multicolor_set_brightness(). Ok so i will need to document the algorithm that is used to determine the color LED brightness. Dan > > Best regards, > Jacek Anaszewski > >