Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1361787yba; Thu, 4 Apr 2019 09:14:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1TS0NxG01iq7jK3WI74oA4EmwC83umIWA9E1q/USROB9g+fzXPjDK3wGtx5rpiMLRFsos X-Received: by 2002:a17:902:2ac3:: with SMTP id j61mr7436234plb.112.1554394482882; Thu, 04 Apr 2019 09:14:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554394482; cv=none; d=google.com; s=arc-20160816; b=hYy49NYzDUmXIJ/LahhWX44iBi+Q1gnb3WYnFDkOh/DXv/yLO1ylvCpEW6m0RwjAe7 9DM7+xkdGQuBuJqB+11I0rcLoa5zIlo0bc5qbMbDU3ETj3bnn9apGFH7SszZ9XscLvC9 bwRhNv1ev9zFK0C1SGs5BT/DL0Xqq5HJ0EIDpxC2HJU837eQiD6IJrzwPy6NGVtIncQ+ gVVuZC7FUEcNY/Vw/GiTMNB8H7CTgEzjq+wkNRHqWnWySUnDgW0eH5dUwFBviNYJjQKg nlLRsH/xFm1xfCx4cOyfK/O2iGWIcPm/tCvUd/Jpr7KCGdTsDMyAQfkePxXkkCQTYtfY qS8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=w7cqMoh/o/5tquQe82yVz0UF1UW9cmylA3d/Z3b+co8=; b=RKMb0tlxeO7lI/RJ/Bi53PxN1F17tTL7d2YKDF62SWwoBrOVbbFa9zyDQz8Roq6ofl d7GhsWaCSAmge4pLJo0F90ZjdLpFlqTRbwBj+A5dMjULA/Tbpjkt5z2/nOcNSC2290xq Eq/LnQmMIFt2tZQ1bGbWwAJi7uL1SPqrBYkRhYhHf340m2Ap3XVttiDoW4nOcoC/hkhh KbChNfl/sMcrB+UZSvqdZ3B2nKZTIA4zhDD10h6/xJQd2D5ypNFsoYdUngMvuQESJoce /WuipshS9io4gBoww1VaFGUY2y1ryeLeasazH7eqrYU6zeDxwzZC2niXKuFGq/YIlb/6 bKfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=OTRZOngC; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 77si3845310pft.72.2019.04.04.09.14.27; Thu, 04 Apr 2019 09:14:42 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=OTRZOngC; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728921AbfDDQNl (ORCPT + 99 others); Thu, 4 Apr 2019 12:13:41 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:45369 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728803AbfDDQNl (ORCPT ); Thu, 4 Apr 2019 12:13:41 -0400 Received: by mail-lf1-f66.google.com with SMTP id 5so2189095lft.12 for ; Thu, 04 Apr 2019 09:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w7cqMoh/o/5tquQe82yVz0UF1UW9cmylA3d/Z3b+co8=; b=OTRZOngCg0aOonpHNoOqaoSbmnkYrjCvrhoB+grs4kKkC83w0G+OGlXSaMZf3VJi0f fTBZmLlNrRkAX0XtFEFsx+CNQrUL7LXop2xTbAvI3K0Po+ukkfqCbxqNF/l3BuKbVPCZ PGoAX/KHxSJEiIoX7UpD3HA1Nm1WGoik0EBEY6dYlahio0Vqnk0XVJhwXOX677pWOE2G pen+lZ7WY/qPyMao/o/BKa5zXn7CO01Xp7gOXNj3UEEiMfqQ7onhFK8xJjG7sEzxBpD1 /ESQ36hS/Lh+9iACGiDJww9SnmAyQGVSlwUT/on6bgdUXOj9X7IM5A0ZEZdVXHzrV/M3 Pw0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=w7cqMoh/o/5tquQe82yVz0UF1UW9cmylA3d/Z3b+co8=; b=ucYcMsMBSpaAURHi0DEZlX0VFUuLMs2T2huqPN9joP/hvReaJDV8eMQg+Hg3cEF1rz P3baIw6RCizmwzJmrWHcC8j+jnwx609Wfn3DOyHcnJfE4Ovhyu9yO3/PJc1hkTn4ZUMN vLoeVd6bA01YzuWIPRa3BBra5kTh8e6vlY3B9S5TsiWZ3UYVv4ZQCrw6zjJJgUwoCEa8 brZIvG/0y8Hlh2In9WLYqOJ8T39kRaC0V+QdAw/9czJ9uW0p0RSFjRgEeWpGQk9cj5+L 11Lxh/yJ7Acff+yEO9hQX+Q6BaPGexpM9VUYA2N8M0/9DaWCkYxHsK/Mlqf2CqnRumyD nW6A== X-Gm-Message-State: APjAAAViHn7BxEtAFjq+0R36H8j2KAB7GZA9j4xGEW5pezNQqzhnTxnv 1YYDjPHfLgKIpoRhAEC7zjbFPbmbVCQgKncLtMDAYQ== X-Received: by 2002:a19:ae0a:: with SMTP id f10mr3488781lfc.118.1554394418516; Thu, 04 Apr 2019 09:13:38 -0700 (PDT) MIME-Version: 1.0 References: <20190308203801.57920-1-ncrews@chromium.org> <20190308210843.GA16125@amd> <20190404112415.GB18653@amd> In-Reply-To: <20190404112415.GB18653@amd> From: Dmitry Torokhov Date: Thu, 4 Apr 2019 09:13:27 -0700 Message-ID: Subject: Re: [PATCH] platform/chrome: Add Wilco EC keyboard backlight LEDs support To: Pavel Machek 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. Thanks. -- Dmitry