Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp959739pxb; Wed, 3 Mar 2021 22:34:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwnQMmEk/2KZRfWPXGaRLHetfBQLiS6jHWaGPAH005hvUcqW5i9N0VNN1a2eLv62ADvIVu8 X-Received: by 2002:a17:906:abcd:: with SMTP id kq13mr2618329ejb.477.1614839673130; Wed, 03 Mar 2021 22:34:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614839673; cv=none; d=google.com; s=arc-20160816; b=L0bMySUdvEiwb/o9V+FMBKqymjrmXlV6PjFgTNIlxQtH3+OKTXrqsj2XrPmEMw5qgI u59fhxePuKXwYIrjoFAI5QA35+bMh5I16LqL6RSaVyfEUkfH4UPvVz9A0gLvRw8XxwX+ 3Ma32N+XSZ4HECktqYERv4PQnGB/qmqIvRvW7BG7zj9nE/zlp/u06ClL72jR6E9QzWvn i5M8jli1DbiRKlIykKMuqIZ1Z0SVNDS8tiH57rAJLW0Xi6dvzQh8yfJiZ8y4D3I6METO wpA8cybDthHlwlR8ayc1DQNp0UQxLfg2GUc1smyB66izw7d3UqWKAOhnQgBl6d34JKdr fz8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=6EoC6xCPLCEPOs1JYvHkCtIdBvfrgcH8OxWPEJdpELw=; b=sSDyzQo+Dtc2y3sv/B4ybVkIZ9W7+ykB5a5jhLdXKo9xiJPdxBKudywrK3nuZskZx8 lqhlj4EIz2HKG/PVAmnujdJryzI+HCGFRz9o4WD4YP/VxvWyu3zBcwN/cR8u+YcWYjvG hRoBi4EBTaE8BTgo/Yeww8EyUWgBU3kdpFfzqhw+PfGI3pvFPOKaLX0L3rGbtPcVAyhs Aaz1Y5UoM5k1sDo26F3hvBHj0+YKPqhmDQZ62RbnHBYz9auMd92w1J7mwK1jfaU/9HwH cyeNXlz0EgsdvbdxKh2Dhp5SWi5fCTRc8kgGCR0WelPmjZDy+od/yXL+1WBBatG9XQOo dnGA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si6049083edm.126.2021.03.03.22.34.10; Wed, 03 Mar 2021 22:34:33 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1581353AbhCBSum (ORCPT + 99 others); Tue, 2 Mar 2021 13:50:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1449013AbhCBQDc (ORCPT ); Tue, 2 Mar 2021 11:03:32 -0500 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [IPv6:2a00:da80:fff0:2::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8987BC0617A9 for ; Tue, 2 Mar 2021 08:02:25 -0800 (PST) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id D755D1C0B88; Tue, 2 Mar 2021 16:55:34 +0100 (CET) Date: Tue, 2 Mar 2021 16:55:34 +0100 From: Pavel Machek To: Geert Uytterhoeven Cc: Amireddy Mallikarjuna reddy , linux-leds , Dan Murphy , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Rob Herring , Linux Kernel Mailing List , cheol.yong.kim@intel.com, qi-ming.wu@intel.com, malliamireddy009@gmail.com, yixin.zhu@intel.com Subject: Re: [PATCH v3 2/2] leds: lgm: Add LED controller driver for LGM SoC Message-ID: <20210302155534.GA19849@duo.ucw.cz> References: <49ebc8e27958cb77cde36e5f95ad530803259907.1607591119.git.mallikarjunax.reddy@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > --- /dev/null > > +++ b/drivers/leds/blink/Kconfig > > @@ -0,0 +1,20 @@ > > +menuconfig LEDS_BLINK > > + bool "LED Blink support" > > + depends on LEDS_CLASS > > + help > > + This option enables blink support for the leds class. > > + If unsure, say Y. >=20 > What is the purpose of the LEDS_BLINK config symbol? > Blink support for the leds class is always available, regardless of the > value of this symbol, and controlled for individual drivers by filling > in the led_classdev.blink_set() callback. We don't really need the symbol. > > +if LEDS_BLINK > > + > > +config LEDS_BLINK_LGM > > + tristate "LED support for Intel LGM SoC series" > > + depends on LEDS_CLASS > > + depends on MFD_SYSCON > > + depends on OF > > + help > > + Parallel to serial conversion, which is also called SSO contr= oller, > > + can drive external shift register for LED outputs. > > + This enables LED support for Serial Shift Output controller(S= SO). >=20 > What's so special about this driver that it needs a new "blink" subdir? > Isn't it an ordinary LED driver? > Looking at the code filling in the .blink_set() callback, the hardware > blink feature seems to be even optional? So idea is to start putting drivers into subdirectories, because we have too many of them at the moment. simple/blink/flash/rgb, or something like that. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --KsGdsel6WgEHnImy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYD5f9gAKCRAw5/Bqldv6 8l5kAJ9h0LDI6czkDFin/4mLftjT1OgocACgh0SaQO7AXg+i11GYB3ZAl8Zzmrs= =brLz -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--