Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1239981imj; Thu, 7 Feb 2019 20:57:22 -0800 (PST) X-Google-Smtp-Source: AHgI3IZHHhhxFnsnp/Gm4UhORMlHG5THS2cuFvM+AmK+Xl3JUO95euWMUOfXUqrCZN2SZzC8JvtZ X-Received: by 2002:a62:a209:: with SMTP id m9mr20505458pff.218.1549601842650; Thu, 07 Feb 2019 20:57:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549601842; cv=none; d=google.com; s=arc-20160816; b=T/xney/7tJT+o1ONnEMZkpISyqk/dBdMV03HsJoaKzgNe1dmlZs/VQwsC7F4986hPC 2dXu9TQtC3zkavHZ9+CDu5Lddlni4CkRzPKWGFxdj0CxstV57L8TsVk67nTn4VQOP3kG jNmQmQFFZxl7zqQr9EmisH0JqvMvQKMZhmr0o3BUJZcvAD+U0O/oTaX7YkXf0jYR9igA GUz5BSEzoHYlY5fR5lgAJ8uRsKxN0yXKR2NN2b2N6FufJ99NMursfdU24tLsFq1AuQne hb7szXiSGTJmwb/Wck6MV3EYZuz5dIKjMENCMb9cF4VeSlE8rmJA70D72kMf88ePDT+4 TEIA== 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=EcEG7vkZKJD4FnnKCZ+M3KBDCk304ATizi8OJA3NLb8=; b=BlcJ4BDugKqZenI0sL7+d2ViimV89R1AOxTD7QwNsnJf7cvQKnxx3SdOt3F39hXRWY oafPhf4HPEAi+LQxvpp1diY6TWbZvqoduFJjYzEnymrqZx5rnvQSKB8qOoSMpsnKdILz aN3eVPKeWbgqMH/v0F113XXcDReCN4/pAzTankzFmD+4zbO8sWbYe/J1+LSMREvrSdcF wHfmGJLFlOjUTkCkqO0e1LcL/+KqMNuVRUkFuLLik3F7W5zj6QvB/H/B2ayuG/cc8PQ8 geDFCpHsO9yFgABFvS9vvrNZENinq1U6zmpVKAcuC1MUSBVIncJFm+fmIx6DRYpmoF5Y FiJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n8aI3XXX; 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 l85si1227646pfi.272.2019.02.07.20.57.06; Thu, 07 Feb 2019 20:57:22 -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=n8aI3XXX; 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 S1726985AbfBHEzj (ORCPT + 99 others); Thu, 7 Feb 2019 23:55:39 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:38210 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726832AbfBHEzj (ORCPT ); Thu, 7 Feb 2019 23:55:39 -0500 Received: by mail-lj1-f195.google.com with SMTP id c19-v6so1881916lja.5; Thu, 07 Feb 2019 20:55:37 -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=EcEG7vkZKJD4FnnKCZ+M3KBDCk304ATizi8OJA3NLb8=; b=n8aI3XXXebPN6GkFyE0rh/HZ9yNBCYLHC05Fub0lcWOjUCM+yXRuN4m6oAJiRybX+/ VMqNXoWHpxNE1VN1X2L/UTCjKtw9HZp6muVYW6w9VBSqTEe/Sq8VxXmr7zpbRoH3DIDH LZZw+M7ObB+BPyy2s57HO32iTfS54QnG5pnhxLmv4Mu56yIKB59YZSdqgRJxxpnn+sGT jfIVTjh2ie6IdhI1LjbVCDf4nysuys9T1Hvv8eubydW2U9gN1EmsxvJV7oVwXELeN128 5hiUnuUNguVilXE1WsdfR1zcJCAIJL/7cPgobwujQFjtATCgcMvQgrUGruZqhiAjRiH4 saIg== 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=EcEG7vkZKJD4FnnKCZ+M3KBDCk304ATizi8OJA3NLb8=; b=nYXmJ2PltznIF6OI6+l3g1yd5d10xwF9frDX4A9zShle0rOg3F8AX1ooGAFKI5DLuF PhlausIRNo8oFLpB19ST/mCstP7/7w4qbv8uzmoQQs+lG3dAwFsEcI5/4sEDlAo9Keou vSza6bukW3IvkZ2snRw2SpA6H2sKLCZRKGT6RBalUl8EqrTOKGUjq1Re4gboMwsRPRbS 5FJLbKuBNKZsfV5/69ZfAtrpEJB9xTJT3GrDXMG2QSxWBnFnqVIQmsGKZc3P8IgjuY70 gMlxdNHLnTOIg8xrFjeTTyUHra5PGRVAev7jFHcz+5cyJqLFijjBeGvAQUGiEuux8Xdo RfkA== X-Gm-Message-State: AHQUAuZSYFoYN0Yv/k8t6fPdfSkaAr6bh6F957TSwyaOeRF+/nb2MAY4 /GEW82hNlilZdzQoOuzCgRDf3qi6IwE= X-Received: by 2002:a2e:9b52:: with SMTP id o18-v6mr11902432ljj.108.1549601736316; Thu, 07 Feb 2019 20:55:36 -0800 (PST) Received: from ?IPv6:2001:14ba:8017:3300:554b:539:3415:5da3? (dtynxhyc1lpcxwqy1n2vt-3.rev.dnainternet.fi. [2001:14ba:8017:3300:554b:539:3415:5da3]) by smtp.googlemail.com with ESMTPSA id h82sm150373lfg.94.2019.02.07.20.55.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Feb 2019 20:55:35 -0800 (PST) Subject: Re: [RFC PATCH] leds: multicolor: Add sysfs interface definition To: Pavel Machek , Dan Murphy Cc: robh+dt@kernel.org, jacek.anaszewski@gmail.com, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org References: <20190130183005.833-1-dmurphy@ti.com> <20190130223542.GA22040@amd> From: =?UTF-8?B?VmVzYSBKw6TDpHNrZWzDpGluZW4=?= Message-ID: <6afa674b-9c4e-2568-c758-030e93aebd06@gmail.com> Date: Fri, 8 Feb 2019 06:55:34 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <20190130223542.GA22040@amd> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, On 31/01/2019 0.35, Pavel Machek wrote: > On Wed 2019-01-30 12:30:05, Dan Murphy wrote: >> Add a documentation of LED Multicolor LED class specific >> sysfs attributes. > > No, sorry. This does not most of the requirements. > > Pavel > > Requirements for RGB LED interface: ... I have tried to capture relevant parts of ideas and requirements and usage in a wiki page in github: https://github.com/vesajaaskelainen/linux-multicolor-leds/wiki I believe the discussion is good to perform in mailing list -- I am happy to update or give you access to update the wiki so we could have easy to use summary/details source during discussions. Ideas on the interface seem to be a bit drifting so I apologize if some of Your ideas were not captured. There has been at least two direct proposals for userspace interface and I tried to provide usage example also for Dan's proposal. Feel free to correct me if I made a mistake. I believe it is a good to create summary page as there seems to many aspects to be though out. What do you feel on this approach? Thanks, Vesa Jääskeläinen