Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1146032pxb; Thu, 4 Mar 2021 04:40:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyv5mBGCo3hR6VrWV9VgEWWz/pZ522uWEeix6M9DLeZfs3gnXDjocnGL3mPh9r7zEW+rk+p X-Received: by 2002:aa7:d0cb:: with SMTP id u11mr4060111edo.163.1614861654167; Thu, 04 Mar 2021 04:40:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614861654; cv=none; d=google.com; s=arc-20160816; b=H8FqEQAxzWm638482VO748nb+vuRMX1CWbcDvKd7JdwBqGkM0CJSrzvpjb5NhOyKYW fqrEUcXAq0R2p0Htazlzh7WvsGvw7vDWCbPUH6gK11KKlIh/YhnvfLN3Ka9K/GcJ7q+V 9LmMWJT16SkRM+XW9Ihb36MuplYmXYD2Ynq5jiEEP1szmIp7Val5Ecb1uHAbhjZthF5g yDraJbBHj5zEae8GBiw5JBR8v1RI3oGTU5+BBjv473/wqwClTswN5QVjcjG32DOGSmAn fzrN6JXZCNa8n/NEL9fx/WEvCIgF60aH2x/QRcQCHFc6zjD+A1gQtG6q5hancvw5yY54 w/7Q== 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=LnOfZTVQitljPna/WCYRZs5a1RBN54EtJB2d4wn9xLI=; b=w3TWDSAE5N3n7q2d0xTsHAaDj5ll4VCxcmRkJ2BkOESCCpE2xR/EOY14rdZu8fWs5V KLguwbTT8DNzNK0bVnJRvqYC/h1c0Zp/X5Iz5CJ78uVBgGl/jafCy18rf+nKy/h23Njw AiTP7DJyiYNB4bMB+uoQnFKqgE/J0C+G3Y0KBaYI9CZpDKheS3nbOU7CTkjtCMeFbuK1 H1fwufgKrX8f7zMxVy0DJzC+rHfT7kICxbi/5quBCtZ6mjpkT3Xhbnti0ROrG/BnsCx1 Km78y1V1neRG+kTGlqzO0GVP25/4UZCm9TRC2H01SLbrOkS0bPh8NeRKTtvK+ugZM/RH jlBQ== 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 h26si14652610edv.198.2021.03.04.04.40.30; Thu, 04 Mar 2021 04:40:54 -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 S230124AbhCCX7f (ORCPT + 99 others); Wed, 3 Mar 2021 18:59:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1387775AbhCCTe3 (ORCPT ); Wed, 3 Mar 2021 14:34:29 -0500 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [IPv6:2a00:da80:fff0:2::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B14C0C061760; Wed, 3 Mar 2021 11:33:04 -0800 (PST) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id CA9061C0B81; Wed, 3 Mar 2021 20:27:33 +0100 (CET) Date: Wed, 3 Mar 2021 20:27:33 +0100 From: Pavel Machek To: Henning Schild Cc: linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-watchdog@vger.kernel.org, Srikanth Krishnakar , Jan Kiszka , Gerd Haeussler , Guenter Roeck , Wim Van Sebroeck , Mark Gross , Hans de Goede Subject: Re: [PATCH 2/4] leds: simatic-ipc-leds: add new driver for Siemens Industial PCs Message-ID: <20210303192733.GA8720@amd> References: <20210302163309.25528-1-henning.schild@siemens.com> <20210302163309.25528-3-henning.schild@siemens.com> <20210302205452.GA32573@duo.ucw.cz> <20210303183714.62c0f06f@md1za8fc.ad001.siemens.net> <20210303174040.GA3305@amd> <20210303194956.5b36a73c@md1za8fc.ad001.siemens.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <20210303194956.5b36a73c@md1za8fc.ad001.siemens.net> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed 2021-03-03 19:49:56, Henning Schild wrote: > Am Wed, 3 Mar 2021 18:40:40 +0100 > schrieb Pavel Machek : >=20 > > Hi! > >=20 > > > > > diff --git a/drivers/leds/Makefile b/drivers/leds/Makefile > > > > > index 2a698df9da57..c15e1e3c5958 100644 > > > > > --- a/drivers/leds/Makefile > > > > > +++ b/drivers/leds/Makefile > > > > > @@ -93,6 +93,7 @@ obj-$(CONFIG_LEDS_TURRIS_OMNIA) > > > > > +=3D leds-turris-omnia.o > > > > > obj-$(CONFIG_LEDS_WM831X_STATUS) +=3D leds-wm831x-status.o > > > > > obj-$(CONFIG_LEDS_WM8350) +=3D leds-wm8350.o > > > > > obj-$(CONFIG_LEDS_WRAP) +=3D leds-wrap.o > > > > > +obj-$(CONFIG_LEDS_SIEMENS_SIMATIC_IPC) +=3D > > > > > simatic-ipc-leds.o =20 > > > >=20 > > > > Let's put this into drivers/leds/simple. You'll have to create > > > > it. =20 > > >=20 > > > Can you please go into detail why? We plan to add more devices in > > > the future, which might in fact make this a little less simple. But > > > we can discuss that when the time is right and start with simple. =20 > >=20 > > There's already way too many drivers in the directory, and your driver > > is very different from drivers for camera flash (for example). >=20 > Understood, the whole Makefile Kconfig thingy? You'll need Makefile + Kconfig, yes. No need for CONFIG_LEDS_SIMPLE. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmA/4yUACgkQMOfwapXb+vK/tgCgqwLKOLfYmIuhh5QZrkHIfSET FuoAoI5etED7qEWaPIdY61h5hp+n7gXG =i6mJ -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--