Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp137453pxb; Tue, 12 Jan 2021 22:56:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmBXwU1Nvj1KY1+6PxAnacikNKZiLBDw99a2dRs/UzQ2e+fMKmWIOtO6JeTyNvMxDSvf3h X-Received: by 2002:a17:906:94d2:: with SMTP id d18mr546695ejy.94.1610520982660; Tue, 12 Jan 2021 22:56:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610520982; cv=none; d=google.com; s=arc-20160816; b=EChdRH+NC5UUmlZTh6JzI1j4SURNw2QuHDy8NJ1pirNWAqKxNTf3AmsF/+iDd6rLlP zZlw7gpTE1rFJXQuzmYKPYwcAJ99pjIw4ZL28c0s+zJhaslTtfmNG8fEaVCfrPbu3MH0 e0FgNvCGjSVPD9alh9/tulCAHWeF2c0roQilxTxPGaJ5WxXxELxnkUukiy1kpzSp8J2h W4FYKPbUmlx6tM5k66qjoBOTKnqej4boFsMyPVZt5/tLIVymWh0GSJVpYZyrO7CTmV67 6WZhMlWfxvjyHtipNyKb0cSN5paggFX7fyuYC+pwDqSguDvTHWIYdWwBI4N1G2XpBFT2 n16w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=Szy2uZ5NZovRd/6XFMzWNhLQaVCstjvtDliO/4bcg+s=; b=hsq9zoIJ+DQ4Rfvh9hM8juFmq9Qzt8OS4BnqGa5lfC9eWjKM145ZiaY7LMI9mu79Lk F6ES+AuJMg8x7B/kJAg8Ewfix1/YxvWuYaM7JrrW2/NNvmIEWyjjMeQ2j6LYf+YqJimd kK4Ilc1rNTIGvtX8Y+8J4c7tH6pGaq/7TsLvBd4WMqaVYU9LCRbUGiQz4rLxQsNYLtz4 Z9HcEWa8uRqo47IoF+kchxCOaXD63NTj5dAJrHFGSrAUlGFfZtWAMvbRnF8oMbsawBIJ rx2qy0Lk4yFQBBGZU5oGYzaYLILQtlFV5FjW7ooNKr63lUPf42IzUXMcNgN50hQA5ar3 vcRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NWwn0UVA; 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 f11si507927eje.349.2021.01.12.22.55.59; Tue, 12 Jan 2021 22:56:22 -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=NWwn0UVA; 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 S1726526AbhAMGwt (ORCPT + 99 others); Wed, 13 Jan 2021 01:52:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726426AbhAMGws (ORCPT ); Wed, 13 Jan 2021 01:52:48 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD81CC061794 for ; Tue, 12 Jan 2021 22:52:08 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id m5so552794pjv.5 for ; Tue, 12 Jan 2021 22:52:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=Szy2uZ5NZovRd/6XFMzWNhLQaVCstjvtDliO/4bcg+s=; b=NWwn0UVAS3xi6JgU1GcK9Tv8PzurOJA7EKIdVkV46r9L00wXmJAIVw9/EQNTLDVyEt hN3ksk0pdgUnZHHB/jelh4G+aItRYL9PAxO+NYborTZ3fzn8iWj7Swf3GotBYaHHcNrG GxaTwXcfn7T8COV76xfNCz4LWWyMbrYWYFSp0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=Szy2uZ5NZovRd/6XFMzWNhLQaVCstjvtDliO/4bcg+s=; b=B/UFUuFrPMgYGiwTmzk2/k+v2mYzS+Ge2nxUyybANntoL60Dp7jKjOdA3jT34ehGgG hnh0nqMtJ4QnhlhxT5ywfYy7q26VsIk8IbJEBJS1w47GIBLNS6mQhnt78l+bZYvwVB++ QY/fD3SYyuGMN4gLQ1leik3J56Q0U1wWIrt8IaehHnsm06CuJ8P/8TXCEtwQkB2xM12K wdn5iFkn5MN2sYf5eounjvrBGjlOIsoPYr3F1FLxoQczP7R8igbKoX1AM7MpKHPDVBNW Wq+QGlKr9jurI2ANJSpgGq3eg8FnLD8eZ3xY9M2jyxu7uiVHhRUyoUZidYYf9LJf7DnI UyPA== X-Gm-Message-State: AOAM530j63lhles6LohPfcEvsGzJMI3v5HjCAxRNX1WPoqGQz/uOytv2 j+cieDM/xGB6Z89/5SOHz6gKQewer7QP7w== X-Received: by 2002:a17:90a:de94:: with SMTP id n20mr748448pjv.196.1610520728049; Tue, 12 Jan 2021 22:52:08 -0800 (PST) Received: from chromium.org ([2620:15c:202:201:3e52:82ff:fe6c:83ab]) by smtp.gmail.com with ESMTPSA id u126sm1201536pfu.113.2021.01.12.22.52.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 22:52:07 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20210107154200.v4.1.I025fb861cd5fa0ef5286b7dce514728e9df7ae74@changeid> <161041741167.3661239.13546059654424804588@swboyd.mtv.corp.google.com> Subject: Re: [PATCH v4 1/2] dt-bindings: input: cros-ec-keyb: Add a new property From: Stephen Boyd Cc: LKML , Dmitry Torokhov , Douglas Anderson , Benson Leung , Enric Balletbo i Serra , Guenter Roeck , Rob Herring , Simon Glass , devicetree@vger.kernel.org, linux-input@vger.kernel.org To: Philip Chen Date: Tue, 12 Jan 2021 22:52:06 -0800 Message-ID: <161052072608.3661239.3835950564432313633@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Philip Chen (2021-01-12 15:29:11) > On Mon, Jan 11, 2021 at 6:10 PM Stephen Boyd wrote: > > Quoting Philip Chen (2021-01-07 15:42:08) > > > --- > > > diff --git a/Documentation/devicetree/bindings/input/google,cros-ec-k= eyb.yaml b/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml > > > index 8e50c14a9d778..7acdb33781d30 100644 > > > --- a/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml > > > +++ b/Documentation/devicetree/bindings/input/google,cros-ec-keyb.yaml > > > @@ -31,6 +31,16 @@ properties: > > > if the EC does not have its own logic or hardware for this. > > > type: boolean > > > > > > + function-row-physmap: > > > > Is there any minimum/maximum number of elements possible? > The maximum is 15. > There is no definition for the minimum - we can probably say the minimum = is 1. Ok cool. Please add min/max of 1 to 15 to the binding. > > > > > + $ref: '/schemas/types.yaml#/definitions/uint32-array' > > > + description: | > > > + An ordered u32 array describing the rows/columns (in the scan = matrix) > > > + of top row keys from physical left (KEY_F1) to right. Each ent= ry > > > + encodes the row/column as: > > > + (((row) & 0xFF) << 24) | (((column) & 0xFF) << 16) > > > + where the lower 16 bits are reserved. This property is specifi= ed only > > > + when the keyboard has a custom design for the top row keys. > > > +