Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1287240ybi; Tue, 16 Jul 2019 12:31:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqziU8F9FcglVueIgTJqT7acLMXmk1/U2ql0kq0ALbtYUgSEZtOfGSHBM8d+sIvThMmtEE1K X-Received: by 2002:a17:90a:3270:: with SMTP id k103mr37375338pjb.54.1563305478044; Tue, 16 Jul 2019 12:31:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563305478; cv=none; d=google.com; s=arc-20160816; b=QgI9zPp9Apch1mAXn0VWPPBxabgtac2qXG6Fg7tJy8Hk6EZJ183WLlsCM7TpT2gzYT 4Bz0KgjuctTBBFKugUc7ZkXTQ+TQ+hRV5vYnLaglvZC3e4xJgoLnJ9ilSBXu4jtWwHMD FbOi56Aqv6CubpUPxgk5+9RApHuYz8TujqvoPLRg6S3YZVFBwl9d1RsuFyyyRH2lJNDv 3UWyXLoq0TwVrbWf7fjuJxztD/0XMnF7FI2Fy0EWwtPh1867jrsgek5Ku/3nmqTFHW/G /s7YCMEFJ4oOoDAYeL5FfOLTok0fBIbHmXh9EeRKzYrx4XMZ0j6ErOrAEobsvzaItiZ2 4D1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=EGx0v1frCU8qnmRZUomh3RlBzdAsu11JmmZ9qpwZmGg=; b=0SoXCarZZzBF+BBQ/V3Cc5Z+9+OdPfkfAIE38X1U7xiqP/1d7Hvtls+RlM9/MjRVpD j3XlGYeB/o3bLol3542Tq7FuvWdm++Az9NVbd/2ZUxofPh+7D21MqpGCwAtw+ZZY4dzr 45ETqQ8HJxzVFtW2KGeNJsKGjfArYh1rZpsg+sdOrzep2LJugWC49HQdhDfVssJG+Vyv Zo+h5X44+i8AY+GiJQ5NgbUVGwylfXhup2H/LOL3hJOG8gEwMoN79UccZlo7GCxsfWGc cGoSdn98biB8c6jF2VRTqHRpy+S2C1c1n2VB/nOWDFakRZcThEiT9e846Ng+Iwba6vhG UafQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si19675270plh.265.2019.07.16.12.31.01; Tue, 16 Jul 2019 12:31:18 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388604AbfGPTaE (ORCPT + 99 others); Tue, 16 Jul 2019 15:30:04 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:47375 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728699AbfGPTaE (ORCPT ); Tue, 16 Jul 2019 15:30:04 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 5FE218058B; Tue, 16 Jul 2019 21:29:50 +0200 (CEST) Date: Tue, 16 Jul 2019 21:30:01 +0200 From: Pavel Machek To: "Enrico Weigelt, metux IT consult" Cc: linux-kernel@vger.kernel.org, jacek.anaszewski@gmail.com, dmurphy@ti.com, linux-leds@vger.kernel.org Subject: Re: [PATCH 1/6] leds: apu: drop superseeded apu2/3 led support Message-ID: <20190716193001.GG10400@amd> References: <1563202653-20994-1-git-send-email-info@metux.net> <1563202653-20994-2-git-send-email-info@metux.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NPukt5Otb9an/u20" Content-Disposition: inline In-Reply-To: <1563202653-20994-2-git-send-email-info@metux.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --NPukt5Otb9an/u20 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2019-07-15 16:57:28, Enrico Weigelt, metux IT consult wrote: > From: Enrico Weigelt >=20 > This driver only supports gpio-attached LEDs on apu1/2/3 boards, > but neither gpio's themselves, nor other gpio-attached devices > (eg. front button). >=20 > For apu2+ a newer, more complete driver exists, based on a generic > driver for the AMD SOCs gpio-controller, supporting LEDs as well > other devices. Therefore these boards don't need legacy support > from this driver anymore. >=20 > Both drivers claim the same device, so only one driver may exist > in a system, putting distros in the position to decide between > either apu2+ keys or apu1 led support. >=20 > Therefore drop the apu2+ led support from the old driver, solve > the conflict and reduce unnecessary code. >=20 > Signed-off-by: Enrico Weigelt > --- > drivers/leds/Kconfig | 5 +- > drivers/leds/leds-apu.c | 124 +++---------------------------------------= ------ > 2 files changed, 10 insertions(+), 119 deletions(-) >=20 > diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig > index b0fdeef..f7a3dd7 100644 > --- a/drivers/leds/Kconfig > +++ b/drivers/leds/Kconfig > @@ -74,9 +74,12 @@ config LEDS_APU > depends on LEDS_CLASS > depends on X86 && DMI > help > - This driver makes the PC Engines APU/APU2/APU3 front panel LEDs > + This driver makes the PC Engines APU1 front panel LEDs > accessible from userspace programs through the LED subsystem. > =20 > + If you're looking for APU2/3, use the pcengines-apu2 driver. > + (symbol CONFIG_PCENGINES_APU2) > + > To compile this driver as a module, choose M here: the > module will be called leds-apu. > =20 Ok, so I understand the reasons, but people updating from old kernels (make oldconfig) will see nothing and their LEDs will stop working. Can we do something to help them? Rest is ok. Acked-by: Pavel Machek Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --NPukt5Otb9an/u20 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl0uJbkACgkQMOfwapXb+vJinQCgwRl5ed75Fdyxo+6W2ijBiMDS Pc0An2UzFuvrMmY7nvINhfNApS6FxUXD =wc14 -----END PGP SIGNATURE----- --NPukt5Otb9an/u20--