Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1737548ybh; Mon, 20 Jul 2020 06:08:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw40JEYjzN7pNCsB9bkIFNQLwg4D1lMcA4aNrzvBOtuA1xXbx39XJNVJBvM7f4lTfmgv3RG X-Received: by 2002:aa7:da58:: with SMTP id w24mr21789070eds.385.1595250483377; Mon, 20 Jul 2020 06:08:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595250483; cv=none; d=google.com; s=arc-20160816; b=OSLtT/iD87uc3rKu8iMwzI7fqGk2De1yWqkARGxxSHqU5T+JN7hZWtSa1zPlZZ2EAi XTO1PAz7IuS50muYBL+C8Ir6I3yLb+3HWEj09M3nZlX+FvyCXSaVmkfpEGgHsns6Rp7F 8xxFWlyqRq39RL4Iu3gpTsmG+AZNDAwt49W5lUvKtFsKormJ8Py6V7n9dL59qAu55Mhn swEvZKuozOb9ABVu5Tu/bNKckMjtqXs7fH4zzWJgQH8uyxucq+SSkT5B1OaDX9DqX8QE CEe7HElVow7K9PtOLed0ly9jZBn4k8WFxPoRkR4y61rqf3iiCNeQTtR1HACKdFBV0rvp OPKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ymY7bvSHAJPgttfYe/X0Y958NcBp8ONSAlYkWgs6kvk=; b=u2uhTYZS40jm055NPzHRmLSzXU2gJ3zJI3157mHWTpAqNQtdZBiHq6HgIFJhsZ7FGR BmCv5Jw2A4V7s4CUN+jC4B9GB2vk4YrgidAcN7jVCfQ/X5IGJXZIe32mCzz+AnP4sE1f MKPS7nmbLGsYaEM+WoyBd9JcJyUMiwgr+H9HDViKdIB22GsHSsjnkYEqu7/TqPoT2/O8 iioE9O2CbqdJbeo/XAc9HDVHlahCBXK51dQMhnVH7AAaF6KFL8JW/TCWIq5djgMkEBNr BCfGrP+oPimyxOC8x8BzBW6xvTgXz5BwdYu6uY2FtlSjUufqMOpwm6G81PV38v/TDsuD KvhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q9du8Pou; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id n8si9943699edo.580.2020.07.20.06.07.31; Mon, 20 Jul 2020 06:08:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q9du8Pou; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726619AbgGTNHR (ORCPT + 99 others); Mon, 20 Jul 2020 09:07:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbgGTNHR (ORCPT ); Mon, 20 Jul 2020 09:07:17 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99C7DC061794; Mon, 20 Jul 2020 06:07:16 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id q7so20197035ljm.1; Mon, 20 Jul 2020 06:07:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ymY7bvSHAJPgttfYe/X0Y958NcBp8ONSAlYkWgs6kvk=; b=Q9du8PourQ/zCbj715sh6bkHP0KiwBKVtf9jaoIN+pCmnzRhXok7nZPbYAV6MNgY7y GaKxflvweVHAvqaNS5DFlZA1GPN41u4di8H/uTdZKCbGZN8LEHxIjO0htBnbk+m/c+VE HSxImCxDS8sj4+PXqWldH0KnCpR/qYuK+abWQRJsafV7/lNdldYzReOeHW6q1Lyu7cpI yn9wVq4hHm/9lqCMI1+T9DJvkdNZFkWqwH26pUSAbo0hYRztU94cRavLrgKY1x73BlNy xeqEHzYhYm4ZuKYaLJwWpyixuTWu4dGIAUCaXYIUDX6usVVeNPnwvUrZT1W1rUCGfX9E twwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ymY7bvSHAJPgttfYe/X0Y958NcBp8ONSAlYkWgs6kvk=; b=U5ovYzjj5DtqWKtF9E7X50xGKHJrFRAVlae8Q6RP+CUGcCkPHs1DYVdnaBbt+zyvRP SNXxDVZEg6UKkBKKbqaQiL6wdrOGAj4G+DJEUHAYZpEwcZq3LOQSjj2vXPlI/3+xVxbc cmDUQ5PyOlzVSw3DqPEhvGWYtBxvlx9/sEE+Tr6HbAKbykP5oIK93kvWhvtBRczAqYHB 5XKsZJqtiUPdv5UdLuk0l7He4Gbz8D4/8R4F7OGXV56+kpB7bmzBdoqVr3wKROP9QVj1 GwB9wp+cd4KefcL6+9eBbhe/Ipd2pLOkJ8WQFoWv+Oo1Ca64qJaLlt43uumBmoCYDHne VQNg== X-Gm-Message-State: AOAM530ONf6UBzarj5qPX6ZoT+qbW7CwaOPYoBnEEn/GA/UIhIo/PtYz u0i0n6D2sZamShvtj4Dmv3Ziog/36w+Xqkvpt2s= X-Received: by 2002:a2e:a16e:: with SMTP id u14mr10050313ljl.321.1595250434734; Mon, 20 Jul 2020 06:07:14 -0700 (PDT) MIME-Version: 1.0 References: <20200713134114.137265-1-gnurou@gmail.com> <20200714223344.GA20740@amd> <17fe52a2-73ff-b547-8a59-5df009c929c8@gmail.com> <20200717074410.GA8895@amd> <756fa49f-bf67-0447-cf45-1358b66c40f8@gmail.com> In-Reply-To: <756fa49f-bf67-0447-cf45-1358b66c40f8@gmail.com> From: Alexandre Courbot Date: Mon, 20 Jul 2020 22:07:03 +0900 Message-ID: Subject: Re: [PATCH] leds: add NCT6795D driver To: Jacek Anaszewski Cc: Pavel Machek , Dan Murphy , Linux Kernel Mailing List , linux-leds@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 18, 2020 at 4:25 AM Jacek Anaszewski wrote: > > > >> The reason for not having a function at the moment is that I took a > >> look at include/dt-bindings/leds/common.h and could not find any > >> function that could reasonably apply. This basically controls a RGB > >> connector on the motherboard which serves no particular function - you > >> can plug a RGB fan or anything else you want and control it in any > >> fashion. Is there a function that applies to this use-case? > > According to common LED bindings you should propose a new function > if none of the existing ones fits your needs. > > > This is normally used for motherboard lightning, right? I believe this > > is getting common on gaming boards, and we want common support for > > that. > > I agree. These boards are indeed far from being a rarity so having a function for them (maybe named LED_FUNCTION_RGB_HEADER?) makes sense IMHO. I'll submit a patch for that with the next revision. Speaking of which, after looking at the multicolor patchset it is pretty obvious that it would be a much better way to expose this RGB header, so I think I will wait until it is merged and adapt the driver to use it. Thanks for the feedback! Alex.