From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (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 DB58C3C456A for ; Tue, 24 Mar 2026 06:40:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774334407; cv=none; b=lYWltYv1rxvd1HjLUc6R0YVW7Jl/wT0H6dx/Dxd2MOsaFYfLqFvbaTrKMSdXSD9nnYc71F47G4rgCAmaK0s/Uf756jsMiA09usiuHoeUCkCqC80SHqn4rrBz++s5vu3Wso9pnulexm2OUp8rD5b7+9cwlhMr1/nII+eA9ZIFTng= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774334407; c=relaxed/simple; bh=kWMVHrbTgq59qsBF4CpPuynsRpdHuf4qfybAUgKcv1Y=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=Goh/umDi7CtH0utEsLUG5gm54AyvH6mC6Vg6ZChADwe7e3C1xNPYwealENyCSh8BTwjp2qnI9VnNdPLJASlgchuqGh/QkHX4PbC2ZYv98yYCk0GFlA8r3qNM9yi0M3y9ITpUpVVIsGcMmwMSKKKWL4bXE67LqAJ6DeDzcD3mfIk= 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=Bayty719; arc=none smtp.client-ip=209.85.214.174 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="Bayty719" Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-2ad21f437eeso43838355ad.0 for ; Mon, 23 Mar 2026 23:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1774334402; x=1774939202; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=M1IUdQ9vciBV4vtJJEjMhyajLdYSBJmzXHlAoFV09cM=; b=Bayty719eLyEssE+D+sV7sxnwd3YzJX/N2JvH6d1IMTp5T2Hc6FTt4RU3pi/uklzv7 1GRDTN5+KbE8hkEp5TbTp5rrxZ18TQXE07sTjhBK6E1+Hsnl9QCEh+E6jIIvB6bWoGZI f/u8lMsQU1Lg/5VFN2gEvR+UZDC1+WWGybCO4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774334402; x=1774939202; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=M1IUdQ9vciBV4vtJJEjMhyajLdYSBJmzXHlAoFV09cM=; b=n5tyvU/MrRqZAByJE0lU5PM2BrQT9DjPtm65teyy2k/EnxTHB2vw89XfwiZB6KMvkQ UxO65LBd8x6Du64ApbtAyxI6chSkBpSPkwMbJHKZnCaVTPDN85C+u2fnWOBZ//zHyrjq PcS6NeBrd/v4pEXlUGnE/DBr8sIftPSr4OCNHFU+/9vBQHnSIS048s7RgUXgqm+YBWvt Lptbkf/CkQaXobkgaUwpK9am5Pcw/0nX1MUjGOhsU+Gf6qiKnbqKpi7g3TLM3DrMc50c jD36fRW/EymCMTiO0YGuz8rDOJU4NnXgj1N+IElnK+5CpG1FCWyc4bdk3KnaHTRiwopE VZwQ== X-Forwarded-Encrypted: i=1; AJvYcCV284xywxz/QtAXXQoaaTk8SaeKhy4Eg2VL+XoFlrP0VH3uv8spwCT74R50fab7BWJ3WmQwLtv9iqoZZM4=@vger.kernel.org X-Gm-Message-State: AOJu0YwmR3mHij+0fTCPJhBZTfSrUMG/v+vygsNep5bDXme4Ko6Wu0u0 A0jAtswdYVOfzcbSA+26UPGlaMllziXrCaocks9WIugS/hlZP0F34HlvEuaJgAvAZw== X-Gm-Gg: ATEYQzx9e23rowpUtyvlIBSjmqjldurwO1lN+WqaHeMC4FwZuVFv+Y60sEN/W8rw+2v PPUHOKep8Uxl5Uqv+m6x69UBLWl1uKYVIFkDo4QOc2LJ54n9+N/m9Y6iObVKFFPCIpQSQYQnoRN eDygRIAKZUrr3p/4i2TlCPFXC89e6PBT1vQslpR/ZzjAAgfWFS73bVO7wP3sH4GIisfBNFfD8S+ 7Ui13EFggxJojXA2udtsXEPhBpl1rBmwP0VQYZ36lrPquJeEJdsh5ZAgV/ULfd8CIVrvr9szplg xvXs8cdQew+nEMGcFCdZj7aSlhjGE03zZfXDJs4i6uFRZOCdOPRf7nFZnRJFMhLcKLbDsYpj0YK N10HTYpldljsJ9XjjLjrotxAIjzREava+5Dx8H/saGFSyK+Q2jsHquZCJJrGSYbjYgINheqQrVo FkjKzvoJmdIeff5twP5e5bJVCcTr4U9QT0zNcKZgoNe/qQPNZWmDbnjNZ7MPQUMMPPjPVGk9azz 4YaI/iEeoJxEG+h7tEt5c7My3SUBniLvg== X-Received: by 2002:a17:902:e550:b0:2ae:a7e2:e80b with SMTP id d9443c01a7336-2b0a4e0e487mr23771835ad.19.1774334402101; Mon, 23 Mar 2026 23:40:02 -0700 (PDT) Received: from jingyliang-input-linux.c.googlers.com (111.169.168.34.bc.googleusercontent.com. [34.168.169.111]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2b0835429afsm128416545ad.26.2026.03.23.23.40.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2026 23:40:01 -0700 (PDT) From: Jingyuan Liang Subject: [PATCH v2 00/11] Add spi-hid transport driver Date: Tue, 24 Mar 2026 06:39:33 +0000 Message-Id: <20260324-send-upstream-v2-0-521ce8afff86@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAKUxwmkC/13MQQ6CMBCF4auQWVvTDimKK+9hWCCdwiygZApEQ 3p3K+5c/i953w6RhCnCrdhBaOPIYcqBpwK6oZ16UuxyA2qsNBpUkSan1jkuQu2oLtZX3tXkaiT In1nI8+vwHk3ugeMS5H3wm/muP6nU5Z+0GaWVscY+WzRXX7p7N0gYeR3PQXpoUkofx4Lc6a0AA AA= X-Change-ID: 20260212-send-upstream-75f6fd9ed92e To: Jiri Kosina , Benjamin Tissoires , Jonathan Corbet , Mark Brown , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-input@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-trace-kernel@vger.kernel.org, devicetree@vger.kernel.org, hbarnor@chromium.org, tfiga@chromium.org, Jingyuan Liang , Jarrett Schultz , Dmitry Antipov , Angela Czubak X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774334401; l=3002; i=jingyliang@chromium.org; s=20260213; h=from:subject:message-id; bh=kWMVHrbTgq59qsBF4CpPuynsRpdHuf4qfybAUgKcv1Y=; b=dfMXFcVFCiOJHI71GrEDcRWBXlTgiM2SynaQouSI8EGuy2k+Pi8LYvBDwf6lHmC0T/Yh23G15 5xiYrgKpCW+Bcn6RVOA6XgqL9LfcYcABPhbNEW7nCKYlr2kGEzFiAjH X-Developer-Key: i=jingyliang@chromium.org; a=ed25519; pk=VTYSdqslTtYOjWWoIGgYoWupGWqNSidrggReKMgfPo4= This series picks up the spi-hid driver work originally started by Microsoft. The patch breakdown has been modified and the implementation has been refactored to address upstream feedback and testing issues. We are submitting this as a new series while keeping the original sign-off chain to reflect the history. Same as the original series, there is a change to HID documentation, some HID core changes to support a SPI device, the SPI HID transport driver, and HID over SPI Device Tree binding. We have added the HID over SPI ACPI support, power management, panel follower, and quirks for Ilitek touch controllers. Original authors: Jarrett Schultz , Dmitry Antipov Link: https://lore.kernel.org/r/86b63b7b-afda-d7f4-7bfa-175085d5a8ef@gmail.com Signed-off-by: Jingyuan Liang --- Changes in v2: - Fix style problems and remove unnecessary fields from the DT binding file - Drop patch 12 as it is vendor specific - Add a lock to fix input/output concurrency race - Link to v1: https://lore.kernel.org/r/20260303-send-upstream-v1-0-1515ba218f3d@chromium.org --- Angela Czubak (2): HID: spi-hid: add transport driver skeleton for HID over SPI bus HID: spi_hid: add ACPI support for SPI over HID Jarrett Schultz (3): Documentation: Correction in HID output_report callback description. HID: Add BUS_SPI support and define HID_SPI_DEVICE macro HID: spi_hid: add device tree support for SPI over HID Jingyuan Liang (6): HID: spi-hid: add spi-hid driver HID layer HID: spi-hid: add HID SPI protocol implementation HID: spi_hid: add spi_hid traces dt-bindings: input: Document hid-over-spi DT schema HID: spi-hid: add power management implementation HID: spi-hid: add panel follower support .../devicetree/bindings/input/hid-over-spi.yaml | 126 ++ Documentation/hid/hid-transport.rst | 4 +- drivers/hid/Kconfig | 2 + drivers/hid/Makefile | 2 + drivers/hid/hid-core.c | 3 + drivers/hid/spi-hid/Kconfig | 45 + drivers/hid/spi-hid/Makefile | 11 + drivers/hid/spi-hid/spi-hid-acpi.c | 254 ++++ drivers/hid/spi-hid/spi-hid-core.c | 1417 ++++++++++++++++++++ drivers/hid/spi-hid/spi-hid-core.h | 93 ++ drivers/hid/spi-hid/spi-hid-of.c | 244 ++++ drivers/hid/spi-hid/spi-hid.h | 46 + include/linux/hid.h | 2 + include/trace/events/spi_hid.h | 156 +++ 14 files changed, 2403 insertions(+), 2 deletions(-) --- base-commit: 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b change-id: 20260212-send-upstream-75f6fd9ed92e Best regards, -- Jingyuan Liang