From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) (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 A70332262B for ; Sat, 29 Jun 2024 20:11:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719691914; cv=none; b=W2HbaI0ATZyxv7WRoT9IxafXm4mUmZ5evpjByBEb4C3f27CgJ8cPxDB+7wiIawlQIwpb1n7oi01muFqf4tzL/VLEjOJdqenpT868riMpglwYqN6D/N8YDzUVrIu2fPQlNjFdLf1sBQx++kqzk0zelznsVixVCv7Z4zSiPd6x9s8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719691914; c=relaxed/simple; bh=u9U4agHQZz3arjZWc8+RAjrm4Zn3fIFdm40yJ0V+gEY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=s7MbLE+RkgOyZqkQYxbp/qG4BYQ+kLfYLV07Ul5mJ7x5WJWETUsNvIGuNlLOMGLmUgxidu9d7OTK7dDViefpyVyzTOZE8Bgjg+jWlokPQ4m282YiRRTcTtL00MnsBY8lbytVwnseqKMUVO/TwFN14h17wf8rFqXyrWzP3fOf6u4= 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=YYK4nMoS; arc=none smtp.client-ip=209.85.161.53 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="YYK4nMoS" Received: by mail-oo1-f53.google.com with SMTP id 006d021491bc7-5c2201ffb1bso838777eaf.2 for ; Sat, 29 Jun 2024 13:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1719691912; x=1720296712; 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=sdgbjN/cTZJIT1mYXthvN3kyWcUGS/sAJ/m/sKyDdu0=; b=YYK4nMoSncOes4VDmfWwKN6ESQV+UiApDOVU41aMCoFPosvalaTsMunWlS7w3HTwaV Mpy43s2yoSZygTzLBIABkQ/YY7+3b5FcfPncdZcpALuOtfX0qyQsQMDpw36ZLkO/Sqop 8j27re1/pgW6tvdxz0a86HUyJgYvol0U4NeBI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719691912; x=1720296712; 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=sdgbjN/cTZJIT1mYXthvN3kyWcUGS/sAJ/m/sKyDdu0=; b=K7UYM85wYBcJYpBt1D1Yh/jtUvMF2t5cVgqcYRVy7ujKKnyTBDGjcNRnbOcj1YzYHZ IuSMtuHJb7OgdM5biyCWdXZY9Pm2HZttntFr0tXLNAnOj0tRyoss27INZxzI5HHB1m2Y UHOAZzpVBSfjJW3OQi2r48cTkK9twj/bNitZ3OJx7/T7NWxf5mIYkARHykZ1Q+pv4sIR 1QbfEMDgJY3+aBuRsb1oQnI16zFhfPtcqx/Rqh2opShTeUPoAZj6zdfp4fPME2j5k57i tXeusW/8sRFhEtc4X/wuCXA5jZsfQMsRRKWj5x/5dVj7PTEM6X0tEPyjBYDB3BGWWevz qrww== X-Forwarded-Encrypted: i=1; AJvYcCXUmjNLCqsugFeuXhpl897KLltT7iUlmQ1B2vlYuH7AoLdEBdIXnzwkPLUMIe+GLcouJK20M741POb8tMHr9xf53MbR2s+7uxkzvKjV X-Gm-Message-State: AOJu0Yx5ZU7gS44Y94+Lx2K9GmdpGyQUgtHoaAC+4uCp1C4p/2jvtc6h /9QA+OQB4ZqLPRVQZkcHhXjze/CenaBRYTYjK5piIrLT+SMVPMj0bP7PbScixg== X-Google-Smtp-Source: AGHT+IE4/DvMGIOavH9gdBcHblnF3ArmID6l3D9wIO4XmA6a6lYa/7qYXZO7zaibUCKcBvTBtvBF2g== X-Received: by 2002:a05:6358:b10e:b0:19b:5c37:3616 with SMTP id e5c5f4694b2df-1a6acc7e15bmr157191555d.13.1719691911692; Sat, 29 Jun 2024 13:11:51 -0700 (PDT) Received: from pc98uv11.mtv.corp.google.com ([2620:15c:9d:2:db78:5dbf:8bdd:601d]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c91ce43460sm3750412a91.20.2024.06.29.13.11.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jun 2024 13:11:51 -0700 (PDT) From: Daisuke Nojiri To: Cc: Benson Leung , Tzung-Bi Shih , Guenter Roeck , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hans Verkuil , Reka Norman , Pavan Holla , Abhishek Pandit-Subedi , Gwendal Grignou , Daisuke Nojiri , Ching-Kang Yen , Lukasz Majczak , Prashant Malani , Stephen Boyd , chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v6 0/2] Consolidate ec_response_get_next_event Date: Sat, 29 Jun 2024 13:11:29 -0700 Message-ID: X-Mailer: git-send-email 2.45.2.803.g4e1b14247a-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 --- Changes in v6: - Fix cros_ec_proto_test.c. Changes in v5: - Merged changes in cros_ec_commands.h and cros_ec_proto.c 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 (2): cros_ec_proto: Consolidate ec_response_get_next_event dt-bindings: cros-ec-keyboard: Add keyboard matrix v3.0 drivers/platform/chrome/cros_ec_proto.c | 16 +-- drivers/platform/chrome/cros_ec_proto_test.c | 28 ++--- 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 +- 5 files changed, 128 insertions(+), 56 deletions(-) -- 2.45.2.803.g4e1b14247a-goog