From patchwork Fri Feb 24 10:20:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Finkelstein via B4 Relay X-Patchwork-Id: 13151095 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BF771C64ED8 for ; Fri, 24 Feb 2023 10:21:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id :Date:Subject:From:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=eunUxDt6NUWZZoDCnCvdolswFc3qi7pW16eYBlVrhnE=; b=S6eHjHOgTMyTwL VruU44SVp3lKl/AkmJ71Ztw9bvbNVYwOZzc0IWv1YDzqBKsOZWxXjaL0Qf1KgzU7Cn+VLW3AYSsoC hDUTjfc9djWwPJ02GDUX9hhulz481hz2U2IEQtcco27pShBcxyUCEgAgciVuEoWYzpPrtIErUVZl4 jfXu8ewrAjFyzOtpSGPOKTqu1ER2pYwX03MOOW5yzAdvrdJyeGnyCLDQ71irY9CV9wbcW+eVFDBhW pIX/3ElTy4UxyjJV0gYsGmLsapw134mVdPesC3fxW0vSmwjm748beR92tcbrBgA+aNM4Wa9KoOELO zKY3di59bD41opEyRoWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pVVBY-001yMg-C8; Fri, 24 Feb 2023 10:20:16 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pVVBV-001yKg-MF for linux-arm-kernel@lists.infradead.org; Fri, 24 Feb 2023 10:20:15 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8883361882; Fri, 24 Feb 2023 10:20:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id E1E67C433EF; Fri, 24 Feb 2023 10:20:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677234012; bh=iO9PN0y1qjt6XxSGQL41NucjZnvl8Vrb0aCV9l4Baxw=; h=From:Subject:Date:To:Cc:Reply-To:From; b=OixR4bYwEQE7++QzTrIaH6fU7sSNYsijDXBgaK8GT2QmRNLs9gnHS31+DW6CLiQRt /jkVCvqf0/y7QqLQUj0NeCesSHQMGu12DYOQ36eOsqU4X8qCPlL/yAn95+nHI0n6Vj JpjvM7bWSDNBu85pKTSJud4RMYc9lcZPBzgqsLPCaHt7v7sbDCn827eDtcMeeiphE3 K52/peY3d7XWQWw17kuvZVNWy3zTrjJf5uGF8d6qA4+gpDaUXf6swfMPiAOzt8bVvp nLf7zNQcUBfR6fZZ9gNbQBaP9JfczmTHWEBzlekweU2ny/1Q5CSwMNzTncp2X98QiU ERO5kI/B1RKXA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C45FAC61DA3; Fri, 24 Feb 2023 10:20:11 +0000 (UTC) From: Sasha Finkelstein via B4 Relay Subject: [PATCH RFC 0/4] Driver for Apple Z2 touchscreens. Date: Fri, 24 Feb 2023 11:20:05 +0100 Message-Id: <20230223-z2-for-ml-v1-0-028f2b85dc15@gmail.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAFWP+GMC/x2NQQqDQAxFryJZN6DRFum20AO4LS5mbKYG6iiJF FG8u2OXj/8+bwNjFTa4Zxso/8RkjAmKSwZd7+KHUd6JgXIqc6ISV8IwKg5fLOrgr1TdQuVrSL5 3xujVxa4/H4OzmfUcJuUgyz/ygub5gHbfD/nmbFF5AAAA To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , - , Henrik Rydberg Cc: linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sasha Finkelstein X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677234010; l=1467; i=fnkl.kernel@gmail.com; s=20230213; h=from:subject:message-id; bh=iO9PN0y1qjt6XxSGQL41NucjZnvl8Vrb0aCV9l4Baxw=; b=dImDJPnm2PjAzixKlaYbuO+xXG0Y6YZ4B4bWEsmaK9XI/9tzCa8+2bLT0yto9OtWiqh83pRqY qM6HrTIDAOcArxJFYMyemiDG6YVmwXVJgxx8kVAqt5UfoTFGbwNqHHn X-Developer-Key: i=fnkl.kernel@gmail.com; a=ed25519; pk=7LFSAJtxIWAs9LzCIyX0sSvCZy2wQTyEIu1zch6o804= X-Endpoint-Received: by B4 Relay for fnkl.kernel@gmail.com/20230213 with auth_id=28 X-Original-From: Sasha Finkelstein X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230224_022013_842879_C7779F93 X-CRM114-Status: GOOD ( 11.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: fnkl.kernel@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi. This series adds support for Apple touchscreens using the Z2 protocol. Those are used as the primary touchscreen on mobile Apple devices, and for the touchbar on laptops using the M-series chips. (T1/T2 laptops have a coprocessor in charge of speaking Z2 to the touchbar). Sending this as a RFC for now, since this series requires the SPI controller support which is not upstream yet: https://lore.kernel.org/all/20211212034726.26306-1-marcan@marcan.st/ Signed-off-by: Sasha Finkelstein --- Sasha Finkelstein (4): dt-bindings: input: touchscreen: Add Z2 controller bindings. input: apple_z2: Add a driver for Apple Z2 touchscreens arm64: dts: apple: t8103: Add touchbar bindings MAINTAINERS: Add entries for Apple Z2 touchscreen driver .../input/touchscreen/apple,z2-touchscreen.yaml | 81 ++++ MAINTAINERS | 2 + arch/arm64/boot/dts/apple/t8103-j293.dts | 20 + arch/arm64/boot/dts/apple/t8103.dtsi | 12 + drivers/input/touchscreen/Kconfig | 13 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/apple_z2.c | 465 +++++++++++++++++++++ 7 files changed, 594 insertions(+) --- base-commit: c9c3395d5e3dcc6daee66c6908354d47bf98cb0c change-id: 20230223-z2-for-ml-18fb5246f4b8 Best regards,