Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1591630yba; Thu, 4 Apr 2019 14:00:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqyY2GmQd1ii6Iqkxd1mZ+5TihxUyopKFsF+riM/J5vrfxPbFf9sidjopvGC2FJz/rPEcn/k X-Received: by 2002:a63:2b41:: with SMTP id r62mr7604045pgr.403.1554411647658; Thu, 04 Apr 2019 14:00:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554411647; cv=none; d=google.com; s=arc-20160816; b=tMLcwGRd6K2NhLotelkLfBFI/xG0Dlj6DVL/f3UXS0Yhm5TxlGUivnuiOvsYgGSZNW DyrPo4CPs0jRY1htDRyNWeoY5ztJcxqsQj5lKjFi22Uf2EzuGcf2JSsLasVxlaJkFlEj 9VYnis0lFXa7s/Le8uEt4vRw3j0uX2sSCYgIfKga/mPqsOO9n+bEpwQBsjiYx+JnT+mU Mm38qtCGbnWViYG5Pq0s9/l1tiV8XarAa7VWCgVh2bBhp7ptfw5TLW6hm7tZgrFZl6YS vuRmDnLXdOSGy5gid9mLBPWp4YIliNpqFJ65bJ7bHs0uJ0WpTadOJS4XbRLD2qUXvpcF jptQ== 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=L+xjG3YPBm1kYGvDC+JNaQ016wsr4jS4tHZQmV0IMqY=; b=ZxiRRNTNn+SL6OWyvgZMEGxiFj+uWBO0v7AU30ZBkEdZZTiqNRj29F8ufN62zoK4bM gt9o6Ut/xB6uZP0tf+34LsI4i4gMGj90Z5iKdhJeKxTjwS6a5GLA+Sy4BJ6MpbefI4t6 zSXU56XJjFh9C6n+Jby2VT0ah7nSfvEZDAib4t+EN6bbVHFHq9mDgUsmsYkEQ8NKYgTW kzut0ZSsWUlIpTMiW0g9RKgGxxx5MU2SE0k5g4A5KqXX7Bf6Xu9sQaHYzZuAeZSJfPsi +F/IMWhEKty4SqP6gTfODxbkh7GNDrpxsSkhZ7nQqu3qfgGxfOnEsAKv1/pfFfeopTiu fNlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=fpyL4lJ+; 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 p10si16891296plr.137.2019.04.04.14.00.31; Thu, 04 Apr 2019 14:00:47 -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=fpyL4lJ+; 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 S1730512AbfDDUHy (ORCPT + 99 others); Thu, 4 Apr 2019 16:07:54 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:33081 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727108AbfDDUHx (ORCPT ); Thu, 4 Apr 2019 16:07:53 -0400 Received: by mail-lj1-f194.google.com with SMTP id f23so3255569ljc.0 for ; Thu, 04 Apr 2019 13:07:52 -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=L+xjG3YPBm1kYGvDC+JNaQ016wsr4jS4tHZQmV0IMqY=; b=fpyL4lJ+uAlP9gT13VXW39ahktAgdPe8WFM21XDrSvXnRLtfg74OzwfctDy9tpeMOw AynFsaxu9245CLqcEXy4lF0Qf9uq/kR7sV9u9gnyVXJ91ovHYW3/Cf2oSEShXz0zAbnG f2EPEMtRFAYYofFU3YrpIVIsBQOwbL+XK05r+Vj2OaIti7pqDIJkmE+qBWCFDaazqmOW wI5xViTKiykMa6CdLsK5PzN4LqEzENAw/YAxtigaMfQpZXSdbVxWuYcGD3OYouGDrqcC fsC3dSXEEYF3KsbyRsFAS+31OkcAHfmQEi5TpTH4aT2psPqoM1Dn112Jxf/O0XyMVkmH gd0w== 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=L+xjG3YPBm1kYGvDC+JNaQ016wsr4jS4tHZQmV0IMqY=; b=Y92+PgftvwvEPJfcgG2Vns2lYgN7RdBd8PXvPQMv6tQZO1ecmQPvkIC0LjREuSHyHw OOtBw8BnzLwbgFm+848wZMUG2HzTkznvF/g/9QoEv/T+qP5iRz5GeH0Poq62jCc4w/vh s36Vzv1Re0h6HSiWBO7TaFfesm0sEd7EwzfJfAkhnfEyG29/aOlgjiVVXUK12T5csd1O TFr9azBMpQU786ggBfXTICVsjXYq39YintJFej2GZ7/7Dg4BvC8F2Q6iRT1Z+uUIg9wh OlUl8Wt7yaNtJ77KOfesVF+h/IIuLuSTHCnkwnq40bUI1QgEt84YUoctPPr07su/W6px dnEA== X-Gm-Message-State: APjAAAXFOwraakdvSh1c77wdWBVi9N4kkEjCinEHFwmZqJkTkQgBxkBk VH+l8VJ9oizbr0SPX3+iodCmanVFsXvtNuqn58ThWA== X-Received: by 2002:a2e:219:: with SMTP id 25mr4530981ljc.34.1554408471130; Thu, 04 Apr 2019 13:07:51 -0700 (PDT) MIME-Version: 1.0 References: <20190308203801.57920-1-ncrews@chromium.org> <20190308210843.GA16125@amd> <20190404112415.GB18653@amd> <20190404190326.GC27340@amd> <20190404192331.GB29984@amd> In-Reply-To: <20190404192331.GB29984@amd> From: Dmitry Torokhov Date: Thu, 4 Apr 2019 13:07:39 -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 12:23 PM Pavel Machek wrote: > > Hi! > > > > > > 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. > > > > > > 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. > > > > 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? 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. Thanks. -- Dmitry