linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Caleb Connolly <caleb@connolly.tech>
To: linux-arm-msm@vger.kernel.org
Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht
Subject: Add support for the OnePlus 6 and 6T SDM845 devices
Date: Thu, 12 Nov 2020 16:21:00 +0000	[thread overview]
Message-ID: <20201112161920.2671430-1-caleb@connolly.tech> (raw)

The OnePlus 6/T handsets are based on the SDM845 platform and were
released in late 2017. Add support for booting with core
functionality including:

 * Display panels and hardware accelerated graphics
 * Touch screen with Synaptics RMI4
 * Modem and other remoteprocessors
 * WiFi / Bluetooth
 * Buttons and OnePlus Tri-State key
 * USB gadget mode

Both devices are almost identical, but use different display panels,
with the 6T lacking a headphone jack and notification LED.

This series depends on the SMMU stream mapping patches which can be
found here:
https://lore.kernel.org/linux-iommu/20201017043907.2656013-1-bjorn.andersson@linaro.org/

The devices will fail early in the boot process otherwise.

  drm/panel/samsung-sofef00: Add panel for OnePlus 6/T devices
  dt-bindings: panel-simple-dsi: add samsung panels for OnePlus 6/T
  arm64: dts: sdm845: add oneplus 6/t devices
  dt-bindings: add vendor bindings for OnePlus
  i2c: geni: sdm845: dont perform DMA for OnePlus 6 devices

 .../bindings/arm/oneplus/oneplus-boards.yaml          |  25 +
 .../bindings/display/panel/panel-simple-dsi.yaml      |   4 +
 .../devicetree/bindings/vendor-prefixes.yaml          |   2 +
 arch/arm64/boot/dts/qcom/Makefile                     |   2 +
 arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi   | 822 ++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts |  19 +
 arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts    |  23 +
 drivers/gpu/drm/panel/Kconfig                         |  12 +
 drivers/gpu/drm/panel/Makefile                        |   1 +
 drivers/gpu/drm/panel/panel-samsung-sofef00.c         | 353 ++++++++++
 drivers/i2c/busses/i2c-qcom-geni.c                    |   6 +-
 11 files changed, 1267 insertions(+), 2 deletions(-)




             reply	other threads:[~2020-11-12 16:21 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-12 16:21 Caleb Connolly [this message]
2020-11-12 16:21 ` [PATCH 1/5] drm/panel/samsung-sofef00: Add panel for OnePlus 6/T devices Caleb Connolly
2020-11-14 19:58   ` Sam Ravnborg
2020-11-12 16:21 ` [PATCH 2/5] dt-bindings: panel-simple-dsi: add samsung panels for OnePlus 6/T Caleb Connolly
2020-11-14 19:59   ` Sam Ravnborg
2020-11-12 16:21 ` [PATCH 3/5] arm64: dts: sdm845: add oneplus 6/t devices Caleb Connolly
2020-11-16 22:01   ` Pavel Machek
2020-11-16 23:49     ` Caleb Connolly
2020-11-21 17:44       ` Pavel Machek
2020-11-21  4:28   ` Bjorn Andersson
2020-11-12 16:21 ` [PATCH 4/5] dt-bindings: add vendor bindings for OnePlus Caleb Connolly
2020-11-16 14:47   ` Rob Herring
2020-11-16 14:53   ` Rob Herring
2020-11-12 16:22 ` [PATCH 5/5] i2c: geni: sdm845: dont perform DMA for OnePlus 6 devices Caleb Connolly
2020-11-17 11:47   ` Akash Asthana
2020-11-22  3:47   ` Bjorn Andersson
2020-11-22 17:59     ` Caleb Connolly
2020-12-02 15:39       ` Wolfram Sang
2020-12-02 16:36         ` Bjorn Andersson
2020-12-02 20:21           ` Wolfram Sang
2020-11-12 16:28 ` Add support for the OnePlus 6 and 6T SDM845 devices Caleb Connolly
  -- strict thread matches above, loose matches on Subject: below --
2020-10-07 17:48 Caleb Connolly
2020-10-08  9:20 ` Caleb Connolly
2020-10-07 17:19 Caleb Connolly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201112161920.2671430-1-caleb@connolly.tech \
    --to=caleb@connolly.tech \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).