Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1177893lqt; Fri, 7 Jun 2024 10:04:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXOWN4zVMEIr56pJtR+RydG3QdnRZaY2gcMu2v1N8BewQ/Ngc1alh0VqhF15ymlbVWlWgC23MTw6zAZZBSCoGLR1a0LPkNAFYhsmRpH/A== X-Google-Smtp-Source: AGHT+IFaofHjd7JgxRN2oQDVxNrl180khhlpxLP6KvNSkxxrYB63KH8noj+AiFHi4qxhmDq9ioAQ X-Received: by 2002:a17:90a:8d06:b0:2c1:ae86:1437 with SMTP id 98e67ed59e1d1-2c2b89f0852mr5012398a91.19.1717779841666; Fri, 07 Jun 2024 10:04:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717779841; cv=pass; d=google.com; s=arc-20160816; b=FDBhJimoq29dGkltw0WfsSCelMnEr+x4Q31lP/6YTtaBcgR9Kmn1ZeRt23mKmL8ZQ8 j91pP4K8Kz3TNmAWEEP1VdNisEuLRs8xk3hE6KzFNtIpnS2s6UukaWrewZmPaFiKcTZT duZ6TNTIMXJ0ufyAxtCETU/596LuUCmzNy7qjDChVNiqwu3/KJZDzI2qxXK/qfciMhsb 5v5YfFllKW1DR90vbf08o5YCQUnS3B6O9uaV/+E7ZolZt5bUdvEHhlb4ZJABw1nJiRYf 5SKyIgDRNaFrTaIHCEcnXWdlab4Kmwmr2O9ZrObrFe8j251MT1Z4iFKIjOgvDTOPFtsC c1MQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=SPh1XG7OKPHXmVBg8lSEqInQF90UPXcUP7a+mw0fwSY=; fh=AjLkmapGfIs4KAiD82WxBqJVEjvxtLCR32BhGyb6+Lk=; b=fpualb1OkrDFq4PBvQZTF65E3YklRzJ+Bwqlvxy9g23c/TQ3ZyOt2NqrcV8B0qv6rT mFOFVOK0oHSo6uNMkhyYO2c+OzbHR7UtH+Z2gz1NzV2lUjUe80QtlxugSCl3F696w3NL suUOtx1N+wXm6PJZneZpecBUIAEbvjSQYloEUyj6smHCFxF64JraX29xZ2W5uMHyGr9V gaQWND93jwbzcXsDpqppv2MMUnBtdcoq83NVV8lMx8dME0EIaxm9qBlDqzYbV3c2M9Nh fC6DE4etezzfeGB5A7RxWXr4QCStOVBRC5qrCxxqjiCU/oslMmc9hh8qH+cFLX9K5dcc icAQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dqm2uRLl; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-206522-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206522-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c2806ef659si5190062a91.167.2024.06.07.10.04.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 10:04:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206522-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dqm2uRLl; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-206522-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206522-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4855A286C16 for ; Fri, 7 Jun 2024 17:03:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 47CC519AA77; Fri, 7 Jun 2024 17:03:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="dqm2uRLl" Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F918196444 for ; Fri, 7 Jun 2024 17:03:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717779815; cv=none; b=j7MbHTZG/+fXIWtyzMJ6JBqq6E8QStFmnl7sl5ckfkpE2uMuFpr4LPNyOk/Rnxvbh6LcOHlA0mWOC0pEvZ2AYEjb64iU5MU27qS3KHJThYyXLf6gsOSiL78qqylpZwFpPmFs3zph3idEn9V4EX1J0ikjv2vIg8WGvxA3vHE8+iM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717779815; c=relaxed/simple; bh=i0v3Pgeq+IMesWEB6AQSP9LER2FNbxR1ZCqootTAEFA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VXVH8g+xaem6qtK7d33V5qS50MpWwisyiB1g9DWYQ9y5sSq+IvGH2ElpeG5m4o9Vm9XFktgHt0ma26O6x6XrUDF+DwyBlGfIIqqCpneYOUNOKfuw3/eTJjWDqRQfJkxyiUvGfb5k6TKxW94HZpJv4cVNHujv8l3BOqD9qFuSTdA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=dqm2uRLl; arc=none smtp.client-ip=209.85.210.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6f4603237e0so1499826b3a.0 for ; Fri, 07 Jun 2024 10:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1717779813; x=1718384613; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=SPh1XG7OKPHXmVBg8lSEqInQF90UPXcUP7a+mw0fwSY=; b=dqm2uRLlP+dDS9NGeAAzAn3O3bxbg6u5UvgZlvtUR5nEf9LUA7GZYgDfgQzDqbJ1g6 KvTrITrDbVbZyRjg9VYagobRPQdsUXye3HhkhRmKbuoPxgAXVhmkBh0PcomWxQAnLUIy Oz1bwZMUDvszIHN06rXw8CRVjAw6zmpy8zXBg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717779813; x=1718384613; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SPh1XG7OKPHXmVBg8lSEqInQF90UPXcUP7a+mw0fwSY=; b=r3ZiYaZMDY1vZGHjVZB94qRySnIT1ndgYTmi0B41TnOnGaqCO7q4DFz9J5V8bvPrQt 2EsvBD/CeqtXkN5tEE8hIqxAO/+s7rXs0xxSSG11B8+qSeVmdXHzGikVEcO/5DmCID8K IIdhMksPsZmyeJWw2P+KfCY/+rU9Zh4QyVaQxbu2nlpEXHCbf65K96mzaYc+sMswDUFr lNP8+AGW0WDKUK7CX4h5H4XXA54WU/ZxI1FMLK+EQGTwUMVsM7EIpQdKoWNI6dKq6dDs Ua8BPjWYhkVPG3fVd6b+ekFeSq6U/WG7N7Yy3FnDk8ZhgiSuvMivCUYsQKs2Vs893GwD md6Q== X-Forwarded-Encrypted: i=1; AJvYcCXAhtJd7bnPIuL9xBjLPIEYIdYTmRDP24DnEN078aCdcZGThVzIWeio37tDa2eNVi7GLe0QRRIwVzdIQhUZO7xOyTVkgHAV256PXQdt X-Gm-Message-State: AOJu0Yxg8e97T0mtTU9XhAioipOQRcEiNP/J+jic4CzuDEIUFAbLXSIO tsHw9SsquWeJfIZ/g/7a0RdAy5MFUjnaJETXBdkuJ+OTRYlPgq//s4buefkbqg== X-Received: by 2002:a05:6a00:18aa:b0:702:496d:d8b5 with SMTP id d2e1a72fcca58-703f8622841mr10847793b3a.6.1717779813394; Fri, 07 Jun 2024 10:03:33 -0700 (PDT) Received: from pc98uv11.mtv.corp.google.com ([2620:15c:9d:2:98ef:4953:160:1c67]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6e439d12cf5sm970705a12.67.2024.06.07.10.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 10:03:32 -0700 (PDT) From: Daisuke Nojiri To: Cc: Benson Leung , Tzung-Bi Shih , Guenter Roeck , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Reka Norman , Hans Verkuil , Pavan Holla , Gwendal Grignou , Lukasz Majczak , Daisuke Nojiri , Ching-Kang Yen , Stephen Boyd , Prashant Malani , chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v4 0/3] Add cros-ec-keyboard v3.0 Date: Fri, 7 Jun 2024 10:02:55 -0700 Message-ID: X-Mailer: git-send-email 2.45.2.505.gda0bf45e8d-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch series adds a support for cros-ec-keyboard v3.0, which uses a reorganized and larger keyboard matrix thus also requires a protocol update. --- Changes in v4: - Change subject line: ARM:... to dt-bindings:... - Add description about keyboard matrix v3.0. - Add cover letter. --- Changes in v3: - Remove CROS_KBD_V30 in Kconfig and macros conditionally set in cros-ec-keyboard.dtsi. --- Changes in v2: - Separate cros_ec_commands.h from cros_ec_proto.{c.h}. - Remove Change-Id, TEST=, BUG= lines. --- Daisuke Nojiri (3): platform/chrome: Add struct ec_response_get_next_event_v3 platform/chrome: cros_ec_proto: Upgrade get_next_event to v3 dt-bindings: cros-ec-keyboard: Add keyboard matrix v3.0 drivers/platform/chrome/cros_ec_proto.c | 27 +++-- include/dt-bindings/input/cros-ec-keyboard.h | 104 ++++++++++++++++++ .../linux/platform_data/cros_ec_commands.h | 34 ++++++ include/linux/platform_data/cros_ec_proto.h | 2 +- 4 files changed, 157 insertions(+), 10 deletions(-) -- 2.45.2.505.gda0bf45e8d-goog