Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1651935yba; Thu, 4 Apr 2019 15:24:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzq/sZVCxeKHoCF+/BlkJa+VjFdI+wQvnohgZdmRWA15PtBaDeoGZCAYSJAvAbohlcWu7TH X-Received: by 2002:a63:2b4c:: with SMTP id r73mr8525273pgr.181.1554416671702; Thu, 04 Apr 2019 15:24:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554416671; cv=none; d=google.com; s=arc-20160816; b=gOLQT4CWGYCEuHrq9+TlGIoA2IF0cFCW/iDCOiro7itn/NeaS8YScSj07H6THA1lTg iw9zekolO4WKa3dguNzsej71qLFiNAuiGD8nnzNmGOIXgigUFj7+0Gagv+KIKtSwrqeC bY/qO6UxmK1jyYWMJ/lFyuLLvEnHcBFy/OToyMxAi1An/TswkVEDK2jo5mwxjWsJq9mO NCcgWgGKGGP8yupASNpbQL/OB3VokuESHjdMYjkd32MN9+kyUbuX3TGpYwzaBzK6FIGm UyWwL/B8jexJu0M9PGJMeS/kUHzzg4vCrU4om0sni+YZLlZLCdhb7jlLe4gulmy42hxN O6/g== 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=4NL2wFngJeYxpz6Nuof0cDUZu2d0op4kBsiYhG2y8Is=; b=V1+mACZ/njUmZGXbbhtEIwq60NK2+rOt3tkRfNpOLzx2iZWARH428loGWnJ8sjzOLI qU0Bawszv1SUvL/dvQ6sKhgJSUNp1dS8ljOvca8YZRsAkg8kdwhy2S15kVLLn+2fIQcR 0PJQQWr7Q+bI8acW6Lwib9MZ5w8UQaNSnu6wI1uzl8O3bM9xcmth1F+Cbzb45HRH1Ogh hzorDvhdGn2Ty0TOzVaQb8Q0m6F6mSatnY1DefzhRHASNJPlaK8ITZ1fctkWNfI3B5in iNi/2wjw1+YxNuFUk8mayRbPSR499k+yKrp+RVwd5untf8Ifp44jMDIowLxNwinQFcPh fVSQ== 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 q185si17514476pga.135.2019.04.04.15.24.13; Thu, 04 Apr 2019 15:24:31 -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 S1730505AbfDDULD (ORCPT + 99 others); Thu, 4 Apr 2019 16:11:03 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:33631 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729497AbfDDULD (ORCPT ); Thu, 4 Apr 2019 16:11:03 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id E142F802F6; Thu, 4 Apr 2019 22:10:52 +0200 (CEST) Date: Thu, 4 Apr 2019 22:11:03 +0200 From: Pavel Machek To: Dmitry Torokhov Cc: Nick Crews , Enric Balletbo i Serra , Benson Leung , linux-leds@vger.kernel.org, jacek.anaszewski@gmail.com, linux-kernel , Duncan Laurie , Daniel Erat , Guenter Roeck Subject: Re: [PATCH] platform/chrome: Add Wilco EC keyboard backlight LEDs support Message-ID: <20190404201103.GE29984@amd> References: <20190308203801.57920-1-ncrews@chromium.org> <20190308210843.GA16125@amd> <20190404112415.GB18653@amd> <20190404190326.GC27340@amd> <20190404192331.GB29984@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Oiv9uiLrevHtW1RS" Content-Disposition: inline In-Reply-To: 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 --Oiv9uiLrevHtW1RS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu 2019-04-04 13:07:39, Dmitry Torokhov wrote: > On Thu, Apr 4, 2019 at 12:23 PM Pavel Machek wrote: > > > > Hi! > > > > > > > > Yeah, well, we not let the cros_kbd_led_backlight.c use chromeo= s:: in > > > > > > the first place. But it happened. We want all backlights for the > > > > > > system keyboard to use common name, and "chromeos" is not really > > > > > > suitable for that. "platform" is. > > > > > > > > > > Pavel, who exactly wants this and why? Looking at today's -next I= see: > > > > > > > > > > dtor@dtor-ws:~/kernel/linux-next ((next-20190404))$ git grep > > > > > "::kbd_backlight" | wc -l > > > > > 18 > > > > > dtor@dtor-ws:~/kernel/linux-next ((next-20190404))$ git grep > > > > > "platform::kbd_backlight" | wc -l > > > > > 0 > > > > > > > > > > so there isn't a single instance of "platform::kbd_backlight" and= we > > > > > definitely not changing existing names. > > > > > > > > Yeah, we made mistakes in the past. We _don't_ want userspace to ha= ve > > > > ever growing list of names for userspace to follow. > > > > > > > > Backlight of internal keyboard is pretty common concept and there > > > > should be one name for it. > > > > > > It is the *function* that is interesting to userspace, not full name, > > > and we have proper standardization there. > > > > Well, if full name is not interesting, as you argue, why do we have > > this discussion? >=20 > Because I need to understand why you believe that device name for > kbd_backlight matters, and having wilco::kbd_backlight is a bad idea, > but, for example, having max77650::kbd_backlight is perfectly fine if > somebody decided to wire it in this way. max77650::kbd_backlight is not fine and we'll try to prevent that in future. We want one name for internal keyboard backlight. What exactly that name is is not _that_ important, but platform::kbd_backlight seems like reasonable choice. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --Oiv9uiLrevHtW1RS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlymZNcACgkQMOfwapXb+vJMuQCgtpXHKiya8+IaL3HEtsjJ0nwK vB0An3F53T4uI6dDdvkfyntFVdX6tY5Y =Ex99 -----END PGP SIGNATURE----- --Oiv9uiLrevHtW1RS--