From patchwork Sun Jan 23 17:37:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 12721021 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 EFAB3C4332F for ; Sun, 23 Jan 2022 17:37:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8980F10E239; Sun, 23 Jan 2022 17:37:33 +0000 (UTC) Received: from mail-4321.protonmail.ch (mail-4321.protonmail.ch [185.70.43.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6D29810E239 for ; Sun, 23 Jan 2022 17:37:32 +0000 (UTC) Received: from mail-0301.mail-europe.com (mail-0301.mail-europe.com [188.165.51.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by mail-4321.protonmail.ch (Postfix) with ESMTPS id 4JhgL25fB9z4x1KJ for ; Sun, 23 Jan 2022 17:37:30 +0000 (UTC) Authentication-Results: mail-4321.protonmail.ch; dkim=pass (1024-bit key) header.d=connolly.tech header.i=@connolly.tech header.b="no9GFqAe" Date: Sun, 23 Jan 2022 17:37:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1642959445; bh=EG8WM13QcPrV2AZ3laZQJnqld2O70XozKuQoHTXOykA=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=no9GFqAecOd2zVW/NKbjqQ6dAkxhAnyQVsIpGamsco/5BHwbufZ584C65Y/k4QVNC gC1vLEs+2VpeXG3F4EKWfU4ZKpMwl6q45GE1X8CP8uJ/6qP46AttvNokVDVjBzrGjV 23pJqhjXzQQ/EsMvnOe7VGQBYY9A2fAHyoPFJr9U= To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Dmitry Torokhov , Andy Gross , Bjorn Andersson , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , Henrik Rydberg , Harigovindan P , Caleb Connolly , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Alexander Martinz From: Caleb Connolly Subject: [PATCH 0/6] Add support for the SHIFT SHIFT6mq Message-ID: <20220123173650.290349-1-caleb@connolly.tech> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Caleb Connolly Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This series adds initial support for the SHIFT6mq. SHIFT are a sustainably oriented device manufacturer who aim to build repairable devices with long lifespans. The SHIFT6mq is a Snapdragon 845 based device, it features a 1080p OLED panel, 8GB of RAM, 128GB of UFS storage and display port alt mode. The device also ships with secure-boot off, potentially allowing end-users to modify usually inaccesible parts of the device like the bootloader. They've been keen to see their devices supported upstream kernels! This brings up initial support for the device, with all core features working: * Display / GPU / touch * WIFI * Modem (sms and mobile data are supported with ModemManager) - Caleb Alexander Martinz (1): arm64: dts: qcom: sdm845: add device tree for SHIFT6mq Caleb Connolly (5): dt-bindings: input: touchscreen: add bindings for focaltech,fts input: touchscreen: add focaltech FTS driver dt-bindings: display: visionox-rm69299: document new compatible string drm/panel: visionox-rm69299: support the variant found in the SHIFT6mq dt-bindings: vendor-prefixes: add vendor prefix for SHIFT .../display/panel/visionox,rm69299.yaml | 4 +- .../input/touchscreen/focaltech,fts.yaml | 78 ++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sdm845-shift-axolotl.dts | 736 +++++++++++++++ .../gpu/drm/panel/panel-visionox-rm69299.c | 281 ++++-- drivers/input/touchscreen/Kconfig | 9 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/focaltech_fts.c | 870 ++++++++++++++++++ 9 files changed, 1921 insertions(+), 61 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/focaltech,fts.yaml create mode 100644 arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts create mode 100644 drivers/input/touchscreen/focaltech_fts.c --- 2.34.1