Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1705718imu; Sat, 5 Jan 2019 05:18:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN7C+v57sEVE2Ne5mloWomVVkeZlBVFKUNFEnb+Lv3dxDn96PMLb8aKZP421Fc0V8Kqjkg6B X-Received: by 2002:a63:4a0a:: with SMTP id x10mr23854795pga.237.1546694335367; Sat, 05 Jan 2019 05:18:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546694335; cv=none; d=google.com; s=arc-20160816; b=C+bdTzAUmalaZoJFBUhRTImEvOm5lH+PXQ6EsWHbO7/zctNsAg/WVSFlSlRTz6owyF lI7pZNeGh357geiSIV/upVCHJUuI66kKzRr7/5UWtZE0q6k/H3VuF4/GHLq0/KlVL+3U P9h2T55H1lvrgLWl0qPi3v6ej/JtwXaR+PbFD3DirlifbBXWR1N7gC7agaPg8dHvKf+K iFHAhHv64yZq4heSdtqND/XneURF9v9FpVWYLU0BMhgm4r9+aAi/JrtGfhmQ2LjW10Y0 h/iXoMRyAMznfvCF9tSdphw+WpYSw2hknAMb4sCc/h/8j9J9n11hM7KS3PyfZNrpmNjx wX9A== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=0MJ0iuKCYn0ZvnRPx3DFVYfWs6x1JIAmy6Ml4pmaTq0=; b=zCqocvLsO2Nz/mNjTLox4FokcqfqY2SWGRgL7h0tAZqu8e3kbfQT1RbXlATTIE/6+j kueD8S2Ie87HNswXWqFPsEGC/EAEH6XHrMENTf/IihXNN4jidMkBIEkAUUcc00EjttNN f2oHbr4gb5Khei83xHeHOG3LoM0y9hXNAqla3vcG//OAC4+usaW1vDJ0XUYwbtNFSqCQ oZ559fJ7iUa5JF3bTj6YwSNhDOiEudWpQ+0NIfcDtGFha9Z+5PBfjIeagT12WEbbZup2 GhrAffOHlr0wNyO2nWxyhr7QXD/CfURsZQIyTn42hyRAbWy1wJyCDgP5ui7cZHI7niOr qvdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=r+NpqmJK; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s191si37567970pfs.53.2019.01.05.05.18.27; Sat, 05 Jan 2019 05:18:55 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=r+NpqmJK; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726248AbfAENQY (ORCPT + 99 others); Sat, 5 Jan 2019 08:16:24 -0500 Received: from mail-lj1-f180.google.com ([209.85.208.180]:46717 "EHLO mail-lj1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726203AbfAENQY (ORCPT ); Sat, 5 Jan 2019 08:16:24 -0500 Received: by mail-lj1-f180.google.com with SMTP id v15-v6so34579840ljh.13; Sat, 05 Jan 2019 05:16:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0MJ0iuKCYn0ZvnRPx3DFVYfWs6x1JIAmy6Ml4pmaTq0=; b=r+NpqmJKiVYZtRnD6iBw+ht29mz3s7ZtAnTzrLn0dAF5wSbcrC/ciq8YTpiqK2VOjD gJV3ON4f0bDP/v79Z2CSDS7vwbPYtFsU+M0THH4iclSHBqytunN+fgzKLHmqopgEdBmu N5oJwbJKnEhIOzYYJcEy4bqeSqMqnr75X/f6Ljfpw5CrkNCbWvTw53KwXlW40fqcEzPt lAkgc/U+5IKTOJeGwwy44BK46PsKdiHRVGXrH8jJTlaWpnvn7+ang8FDcMUtqjEUjoT2 c4J4+mtyA9G2ZaNsgYdoww+d7MbxIZ2zd7nGkohrFn9E2F5P/X6Rd8XeB57vDRx/SO4f RhOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0MJ0iuKCYn0ZvnRPx3DFVYfWs6x1JIAmy6Ml4pmaTq0=; b=tEA6gHl4zh445W0wsMIsFrMSU6Jeo83xc3QRZ9nqM9cee2Sdc9/qrDuTNq2DE3QThB NpwZ/p4/CDP7CcbitEgHRSFSLEn0VPXIK5YV7Dcb/pgIPvflDVvMU2z4Omp8bMMljYma w4Psv2aw90cE/houBeKU15BjFiFbqOGeOPaOi3O1gWkmy2p3l5lSV27n2GGKn6ceaGfo 6MNt/8UPFfNdncjlLWU0oZwdqObERm6J2GhfIqwmomxS5shnKeLvgH6lEP412JZwefbR Cen9O2OnJFoVRa2z1Cj7K63Gyt+F82YlrxbSDgxGKGpo9GXaKSKezmJIkByCQfCryCeJ LbXQ== X-Gm-Message-State: AJcUukc2G6D//FZWlbVODg5egT2l51PB2tmJoJuBT9yYnW5hLPHP0AzF wgQdjSvsyMcVvHNucdeWbZAKvd5v X-Received: by 2002:a2e:8596:: with SMTP id b22-v6mr31092433lji.122.1546694180926; Sat, 05 Jan 2019 05:16:20 -0800 (PST) Received: from [192.168.1.18] (ciw155.neoplus.adsl.tpnet.pl. [83.31.46.155]) by smtp.gmail.com with ESMTPSA id h3sm11482325lfj.25.2019.01.05.05.16.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Jan 2019 05:16:20 -0800 (PST) Subject: Re: [PATCH 2/2] leds: lp5024: Add the LP5024/18 RGB LED driver To: Pavel Machek Cc: =?UTF-8?B?VmVzYSBKw6TDpHNrZWzDpGluZW4=?= , Dan Murphy , robh+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org References: <986b5105-2fdb-bd25-7c8a-ca8fd1ade821@gmail.com> <7f205102-e854-f1cb-cc03-1307d1cddc87@gmail.com> <20190104201256.GA2931@amd> <20190104220726.GA12395@amd> <4cf79414-578e-eea7-4f46-fc8789206988@gmail.com> <20190105123146.GA16354@amd> From: Jacek Anaszewski Message-ID: <8044cdd9-b9b3-fddd-6106-184b906859e2@gmail.com> Date: Sat, 5 Jan 2019 14:16:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190105123146.GA16354@amd> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/5/19 1:31 PM, Pavel Machek wrote: >>> We will need to solve RGB leds somehow, hopefully this is solved with >>> it. >> >> When? With this attitude we will procrastinate it forever. >> It's been almost 3 years since first HSV patches. >> >> I proposed rough design of LED RGB class interface in [0]. >> If you find it totally flawed, then please spot the problems. >> If not, let's improve it and implement. > > That is fatally flawed, and inferior to the HSV patches, sorry... Please spot the problems. > Grab yourself an RGB LED and play with it; you'll see what the > problems are. It is hard to explain colors over email... Video [0] gives some overview of lp5024 capabilities. I don't see any problems in exposing separate red,green,blue files and brightness for the devices with hardware support for that. I want to push things forward and I'm going to ask Dan to give this design a try. [0] https://www.youtube.com/watch?v=qdt-alh8i6E -- Best regards, Jacek Anaszewski