Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1592335pxb; Thu, 4 Feb 2021 17:55:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwjk8EKb/y+TXCIflq65hbUtrJSyYmwT58wVYLg2CRvzFQV4JI1JGd/gh4XdrJK/z6HfNq3 X-Received: by 2002:a17:906:16d0:: with SMTP id t16mr1749247ejd.259.1612490119751; Thu, 04 Feb 2021 17:55:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612490119; cv=none; d=google.com; s=arc-20160816; b=D2DZ+q6tGpqsZCN1vnA8OjyoEkjqjPh2sifdAzZQqj1aykxUTCXGZFL5UiUAKJmdg+ idc2fGiapGFJm5ApirnWMLQL8m+PX+ATpF8uUHH83s2TwtJXoFJ6cpGg5BRO3SMW36Fy 6nwXs6WTYfPhNM7nDAgXa1TKS00trFjmo8jk+sKXoG+IqnV7WZPpB60pQBC1S7H9NsNh XNNiK+4y4Uo2INmatnSPTIGLSW+PKa5sv0b+J6zx48DeDLN0qccSdxyT8zqEZHq5n2te bE+vPS6NRJKiVOTxps8Ulg+hzTkunsB4JZJ3pXP9Jr/4WPtDr4NYRC/6cWxKSm5Mdszh JjdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=sRxGWIrKp1PiiNE2aPyYhP5zdwwk1cSyu8KOryvKUPQ=; b=xvdZbq8FHaCYJfyoA9hw+8h1qUqmxqafk2kmqKzxzgIbyVubOvjBfW/IDP9/pFXUQo gDZstXOtA0YqgY5SFPRPFSxyJyyAotltqVvlUcNR7RQN4NO45ine7sgW96X9nQDU57Az omFbEAQwd4mwXwgOuCCSgKP0yEJ3UcN36GwgwpXiZoQHIiiDZwt8g6kjflxMpPGqs/1V VXnoS+0ZM/R0/UbiWG1qC7ndOR4Z02z5sXPGXypDfhFxgQtZxpHhtfX3oxSKWDl0AQM7 9fwP1SjEzAU0fk/3+SMykO2HtdKWCg7OwR4AMEUPAneu1tL4hqSHbJ+bUjyOlUjqWwfr jqYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=TKhPWTpa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c5si4596673edk.64.2021.02.04.17.54.55; Thu, 04 Feb 2021 17:55:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=TKhPWTpa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231354AbhBDX7O (ORCPT + 99 others); Thu, 4 Feb 2021 18:59:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231239AbhBDX7M (ORCPT ); Thu, 4 Feb 2021 18:59:12 -0500 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E579C0613D6 for ; Thu, 4 Feb 2021 15:58:32 -0800 (PST) Received: by mail-yb1-xb2e.google.com with SMTP id b187so4973834ybg.9 for ; Thu, 04 Feb 2021 15:58:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sRxGWIrKp1PiiNE2aPyYhP5zdwwk1cSyu8KOryvKUPQ=; b=TKhPWTpaTvOnyBD60RbbXGIuBDnICpBM3/EqjgWfwHUrtPaAwFXI3SXOs7YcFPlDzB NNw0aRN6rONGv8sh2gKKkG1zpL92q+rnRftsR090uroS7lQV/YubBZwRBrvXLWbZ0rnR +PYkx85pLnShq7Wyw0PX/ex1J8RIkuaoiF7RE= 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=sRxGWIrKp1PiiNE2aPyYhP5zdwwk1cSyu8KOryvKUPQ=; b=GwJ+xlLx033gyZyH6zWIOPtw9KSEDEtIvqBKARQzjp+du5f/T5LPY5Asq3wkTDE3P0 4uNx60n4fuLNHRwVXx65vhXuVKfhIIxBz352Ld4LCAp7Ci3U8DAq7yu6IkuPqcpqrNWB y/3A+vDBNanNxNaUP1ACSEjI0HbzC6O7QKC499HiZThX85SvEprT0nsEGwel9YEps/gB XAhXlP+ef0B8s5FKV/W9SNMU86c+4mXXr4qAs9GUSoGb8Xzs8bfj08iQyAE/meTHdAJ5 JJnX75cfqlFXTcE6lqyqcIbLFzCging1EpTT+6GS0uzd5lnTu32TN0xk3KB+kgkgXPvB 8zgQ== X-Gm-Message-State: AOAM533B1WOL/wy++nAV+DpuQEaMBfVNHqeLKmzFJOy3q0zvgd4S/Awn WoFQ0S7jRE+aq/6pOSIbUvwb33k7tOA7T7xa8ZA2Hg== X-Received: by 2002:a25:da47:: with SMTP id n68mr2333879ybf.75.1612483111393; Thu, 04 Feb 2021 15:58:31 -0800 (PST) MIME-Version: 1.0 References: <20210115122412.v7.1.I025fb861cd5fa0ef5286b7dce514728e9df7ae74@changeid> <20210115122412.v7.2.I6542d7d9d0b246e7079bb16b41e697b2ac4b4e39@changeid> <161074288129.3661239.8671522224671695448@swboyd.mtv.corp.google.com> In-Reply-To: <161074288129.3661239.8671522224671695448@swboyd.mtv.corp.google.com> From: Philip Chen Date: Thu, 4 Feb 2021 15:58:20 -0800 Message-ID: Subject: Re: [PATCH v7 2/2] Input: cros-ec-keyb - Expose function row physical map to userspace To: Stephen Boyd Cc: LKML , Dmitry Torokhov , Douglas Anderson , Benson Leung , Enric Balletbo i Serra , Guenter Roeck , Lee Jones , Rajat Jain , linux-input@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi maintainers, Friendly ping - can we actually land patch series v7? Or do you expect any update from me? On Fri, Jan 15, 2021 at 12:34 PM Stephen Boyd wrote: > > Quoting Philip Chen (2021-01-15 12:24:30) > > The top-row keys in a keyboard usually have dual functionalities. > > E.g. A function key "F1" is also an action key "Browser back". > > > > Therefore, when an application receives an action key code from > > a top-row key press, the application needs to know how to correlate > > the action key code with the function key code and do the conversion > > whenever necessary. > > > > Since the userpace already knows the key scanlines (row/column) > > associated with a received key code. Essentially, the userspace only > > needs a mapping between the key row/column and the matching physical > > location in the top row. > > > > So, enhance the cros-ec-keyb driver to create such a mapping > > and expose it to userspace in the form of a function_row_physmap > > attribute. The attribute would be a space separated ordered list of > > row/column codes for the keys in the function row, in a left-to-right > > order. > > > > The attribute will only be present when the device has a custom design > > for the top-row keys. > > > > Signed-off-by: Philip Chen > > --- > > Reviewed-by: Stephen Boyd