From patchwork Thu Jun 27 23:53:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daisuke Nojiri X-Patchwork-Id: 13715185 Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (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 3830C1A2FB7 for ; Thu, 27 Jun 2024 23:53:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719532426; cv=none; b=ZpcwCew6uwlSnc+Z7yxGE2uNOnlaqiYA8hE3eN8lIXvEfRFpVW7enogM1do8YZiogH9dcoQoqUcQPx5oFDsu4fgLJUzYIcthIO95tyH4s4lbt+4vCWXfkZH8y1QtD6Mbs5cqK4y46PAAdqnb1xMXC+mMu61jdsBXOgJEvUnLU/Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719532426; c=relaxed/simple; bh=8TDzL4LG+A2ddCLi6fgg9V+G2E1PrISrQcbK/zNYedM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rcAka5z1UThvuHUCTwVxoSANszMvWyI4Cxq7YSUUdJADsZ04r2VqMBmiFT/UmsAX3wzc63CYD83uYXk7R7IhExfOsxW/XUAEqrRNFB88cQCyln/WqKb6nkcR8MGPIM53ZJVYhWWc49jxJCo4AvZ71jLI0Nq+PmBW6ub0vu3VDSw= 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=IT3qla6f; arc=none smtp.client-ip=209.85.214.182 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="IT3qla6f" Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1fa2ea1c443so88645ad.0 for ; Thu, 27 Jun 2024 16:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1719532424; x=1720137224; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=GvgNRfUrYC3vDPSHgELOXCgco+1ty8Hri5LXWyU0EuU=; b=IT3qla6fNsqIGHBZ3wHqztJjpkDm2SeYuEYUMOtcz+WmqqY4XYX2el+1jolcz9n0/c PHgllFvZXQwGELgL3b+uk26MCyzpzWJOHJPTjcrwWilsvO1wQgrDl3PizwQSfaIbdLTC kd/YCgD2fHBIdpFGZiKEJfO8sc/fwAMg5d80s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719532424; x=1720137224; 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=GvgNRfUrYC3vDPSHgELOXCgco+1ty8Hri5LXWyU0EuU=; b=W/Ftz8J/gk3YUUGp+MrNjMIS21uggM9UF7kHo9+a4wAhUEyQiJVCgVFQsXPDV59mmd 1hfVOyXiA3XLdiqGtmDqVNHdp72Yu8a+SdGZnyz9JET5CCwPmp/lyRoxVX+kRzQ4fiRH wN4BqYSsGz5Dluhi8VYOaRFGR2bXFlUbG3p1of2kB+Y0Gc5B9KLTwVKGKJJ6OjQ2joGR 9dfkzLKRvuFDzvpNGgVBloh6fnvLwJbf1RGyefa3Dsj9WQdvdjfHZiOHBP+V6FuXGOl7 Gzlj5824zSraz0lk0D3lMDSZw40Y6bpEa2v7fojaSVdxM1kTf4+CXRT7kzu03jYDbeKM 9QsQ== X-Forwarded-Encrypted: i=1; AJvYcCWDmyueBcdiKxd133lSniBGXWWhTfmnatSaSz/xse6okkUbXQb8sMywsRC1UfJY3PU/jLfYm9xo1afIqs35oNzwckH0tJsJ+YAwKAFBKUT3 X-Gm-Message-State: AOJu0Yyfj28kvHVVsmkIj/OypWbXBRzpnynsgyRlzzj+8VuahoeePIAg J2O78A8aKGizQBIRKWf0xqtTh9a/mBlVl0rKjMwxGLcgFSXpK589IdE+sbuWhg== X-Google-Smtp-Source: AGHT+IFTGJHi0WhKn1jfdIqcqfPQxr8jYnm7Tq2RVmaHgug3fRpbKxlPiPDM9y6uifF4i205XhWnMg== X-Received: by 2002:a17:902:ea08:b0:1f6:5013:7842 with SMTP id d9443c01a7336-1fa23cd95edmr158375265ad.27.1719532424505; Thu, 27 Jun 2024 16:53:44 -0700 (PDT) Received: from pc98uv11.mtv.corp.google.com ([2620:15c:9d:2:cf5d:cb26:248e:ee00]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fac11d8cd2sm3366595ad.107.2024.06.27.16.53.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 16:53:44 -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 , Gwendal Grignou , Pavan Holla , Lukasz Majczak , Ching-Kang Yen , Daisuke Nojiri , 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 v5 0/2] Consolidate ec_response_get_next_event Date: Thu, 27 Jun 2024 16:53:06 -0700 Message-ID: X-Mailer: git-send-email 2.45.2.803.g4e1b14247a-goog Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 --- 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 +-- 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, 114 insertions(+), 42 deletions(-)