From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79973C41604 for ; Wed, 7 Oct 2020 17:48:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2328921707 for ; Wed, 7 Oct 2020 17:48:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=connolly.tech header.i=@connolly.tech header.b="kbTB0Iu5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728291AbgJGRso (ORCPT ); Wed, 7 Oct 2020 13:48:44 -0400 Received: from mail-02.mail-europe.com ([51.89.119.103]:46624 "EHLO mail-02.mail-europe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727828AbgJGRso (ORCPT ); Wed, 7 Oct 2020 13:48:44 -0400 X-Greylist: delayed 1655 seconds by postgrey-1.27 at vger.kernel.org; Wed, 07 Oct 2020 13:48:43 EDT Date: Wed, 07 Oct 2020 17:48:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1602092920; bh=rf+Xk6M62tcgJFPQJh5BhQJs2oPURENWrXphLmq9bLA=; h=Date:To:From:Cc:Reply-To:Subject:From; b=kbTB0Iu5A+GCp6/09j4UG/qFmN9ibFqqpi55QDu0oj06hnCQDI8CrdYg2lCzHGsxc mUJndPYhF7982SqRGYaUOEw0GvCdzDmVlr1YI7z2EhiBNA2Ezy1q0DuRqCn2Airs7d quCO6q5fAA5OMWXytlNqcgijqpg2tfFKdAflJ20I= To: linux-arm-msm@vger.kernel.org From: Caleb Connolly Cc: ~postmarketos/upstreaming@lists.sr.ht Reply-To: Caleb Connolly Subject: Add support for the OnePlus 6 and 6T SDM845 devices Message-ID: <20201007174736.292968-1-caleb@connolly.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The OnePlus 6/T handsets are based on the SDM845 platform and were released in late 2017. Add a device tree with support for the following: * Display panel (with the oneplus-6 panel driver) * Hardware accelerated graphics * Touch screen support with Synaptics rmi4 * RTC support * Remoteprocessors boot and can be interacted with over QRTR. * ath10k WLAN using pd-mapper, rmts and tqftpserv daemons * Bluetooth * Volume / power buttons and OnePlus Tri-State switch are functional * USB The only differences between the devices is the different panels, fingerprint readers and that the 6T lacks a headphone jack and notification LED. Current limitations: * Bluetooth does not appear in rfkill, this is most likely the reason it doesn't appear in UI bluetooth settings, it can be interacted with using bluez-utils bluetoothctl. * USB is forced to peripheral mode as cable type detection is broken drm/panel/oneplus6: Add panel-oneplus6 dt-bindings: panel: add documentation for oneplus6 panel arm64: dts: sdm845: add oneplus 6/t devices dt-bindings: add vendor bindings for OnePlus i2c: geni: sdm845: dont perform DMA for the oneplus6 Documentation/devicetree/bindings/arm/oneplus/oneplus-boards.yaml | 25 -= - Documentation/devicetree/bindings/display/panel/panel-oneplus6.yaml | 73 -= --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 - arch/arm64/boot/dts/qcom/Makefile | 2 - arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 860 -= -------------------------------------- arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts | 19 - arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts | 19 - drivers/gpu/drm/panel/Kconfig | 10 - drivers/gpu/drm/panel/Makefile | 1 -