Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1501538yba; Thu, 4 Apr 2019 12:04:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwpQGil2pN/cXuH5cc02vEI2MPgji+eFXTJUuB0ENlks1YDQDXCQHm/xCsTkSIqjHTT5iYY X-Received: by 2002:a65:6659:: with SMTP id z25mr7252125pgv.10.1554404693075; Thu, 04 Apr 2019 12:04:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554404693; cv=none; d=google.com; s=arc-20160816; b=coX6eLlzXLerhHe4ASMc7ysPpVr9e80iEGqekHH04HWdKf8et8Nj+KAZj8JrJooQdh Co8GCNi6dNRO3jRw6yxtyVUES4wbdqNCsJ9jsdJXJfHk9S+ife/nAiVDjm1pfF9PR/wn d4KWoSk56d+xzWtFDqhkPOJUO73HiKgynLOWl+6V6DTIgFVyXWDWa/8Io+ee09jHMKZU eNOV3gwrS90AZiIGw9M4pVn0nEcFHCpvZt5uWA61IkUachwCtcdjL2GkrM9IKLyUtYSv kd0+H1Fqy7PRleZDxQcbpFHbkqdL6s4+wkevcQE2YqD1fHZzzK1OoXQKt3Yf1hQg8J8z c/LA== 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=qnZ7r2OixbLMq599vKpiDtez/Xxixpn+wLF/FW3b1yk=; b=Qb4D344EPOF3ukb6N7NScE2XoHBoCw2pC60TF571tKD8OkG6r8U2jw631HhTB7EMYr x5dzIijoBO5xqvY2vXvx1/1sUSm9Cus9HBqm2x6PvdnvAkLxZDJizwKuET5oSNAEJKYE 0hsWxN0cojAR5p1fN/lVckVavFqqjmJwb6M9LX0IF2UAUPOGzQcsXlEdELSqs+osESG3 H3iBObQqO1YBqlDNpOLwoz+UUXNyg2SO4wxAd3CPu+3JMN1DeJ3xPPnbyzDU571jPLlj /u6387J+pHIIezceI+sCGqL3kowg7ItQWER88KoCTPAAYQPbfZQr4l5jwB89ve7zkSE8 djgw== 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 e36si16730390pgm.89.2019.04.04.12.04.36; Thu, 04 Apr 2019 12:04:53 -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 S1730115AbfDDTD2 (ORCPT + 99 others); Thu, 4 Apr 2019 15:03:28 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:60026 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729818AbfDDTD1 (ORCPT ); Thu, 4 Apr 2019 15:03:27 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id EB3CB802DD; Thu, 4 Apr 2019 21:03:15 +0200 (CEST) Date: Thu, 4 Apr 2019 21:03:26 +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: <20190404190326.GC27340@amd> References: <20190308203801.57920-1-ncrews@chromium.org> <20190308210843.GA16125@amd> <20190404112415.GB18653@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bKyqfOwhbdpXa4YI" 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 --bKyqfOwhbdpXa4YI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu 2019-04-04 09:13:27, Dmitry Torokhov wrote: > On Thu, Apr 4, 2019 at 4:24 AM Pavel Machek wrote: > > > > On Mon 2019-03-11 09:29:06, Nick Crews wrote: > > > Thanks for looking this over. I will fix most of your concerns, but > > > have one question. > > > > > > On Fri, Mar 8, 2019 at 2:08 PM Pavel Machek wrote: > > > > > > > > On Fri 2019-03-08 13:38:02, Nick Crews wrote: > > > > > This patch is meant to be applied on top of the for-next > > > > > branch of the platform/chrome repository, as it uses some of > > > > > the code staged there. > > > > > > > > > > The EC is in charge of controlling the keyboard backlight on > > > > > the Wilco platform. We expose a standard LED class device at > > > > > /sys/class/leds/wilco::kbd_backlight. This driver is modeled > > > > > after the standard Chrome OS keyboard backlight driver at > > > > > drivers/platform/chrome/cros_kbd_led_backlight.c > > > > > > > > Can you make it "platform::kbd_backlight"? We want some consistency > > > > there. > > > > > > The analogous name in the standard driver > > > drivers/platform/chrome/cros_kbd_led_backlight.c is > > > "chromeos::kbd_backlight", and I thought "wilco" was a better > > > substitute for "chromeos" than "platform" would be. What other thing > > > are you saying "platform" would be consistent with? > > > > Yeah, well, we not let the cros_kbd_led_backlight.c use chromeos:: 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. >=20 > Pavel, who exactly wants this and why? Looking at today's -next I see: >=20 > 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 >=20 > 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 have 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. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --bKyqfOwhbdpXa4YI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlymVP4ACgkQMOfwapXb+vJ8iQCeNEvn/1nF28e8kOOtj+8fFCoI nHgAniQXBdkEeprilLGs6A11hHMOYOHn =gWZD -----END PGP SIGNATURE----- --bKyqfOwhbdpXa4YI--