All of lore.kernel.org
 help / color / mirror / Atom feed
* Add support for the OnePlus 6 and 6T SDM845 devices
@ 2020-11-12 16:21 Caleb Connolly
  2020-11-12 16:21   ` Caleb Connolly
                   ` (5 more replies)
  0 siblings, 6 replies; 27+ messages in thread
From: Caleb Connolly @ 2020-11-12 16:21 UTC (permalink / raw)
  To: linux-arm-msm; +Cc: phone-devel, ~postmarketos/upstreaming

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(-)




^ permalink raw reply	[flat|nested] 27+ messages in thread
* Add support for the OnePlus 6 and 6T SDM845 devices
@ 2020-10-07 17:48 Caleb Connolly
  2020-10-07 17:49 ` [PATCH 4/5] dt-bindings: add vendor bindings for OnePlus Caleb Connolly
  0 siblings, 1 reply; 27+ messages in thread
From: Caleb Connolly @ 2020-10-07 17:48 UTC (permalink / raw)
  To: linux-arm-msm; +Cc: ~postmarketos/upstreaming

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 -



^ permalink raw reply	[flat|nested] 27+ messages in thread
* Add support for the OnePlus 6 and 6T SDM845 devices
@ 2020-10-07 17:19 Caleb Connolly
  2020-10-07 17:20 ` [PATCH 4/5] dt-bindings: add vendor bindings for OnePlus Caleb Connolly
  0 siblings, 1 reply; 27+ messages in thread
From: Caleb Connolly @ 2020-10-07 17:19 UTC (permalink / raw)
  To: linux-arm-msm; +Cc: ~postmarketos/upstreaming

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 -




^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2020-12-02 20:22 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-12 16:21 Add support for the OnePlus 6 and 6T SDM845 devices Caleb Connolly
2020-11-12 16:21 ` [PATCH 1/5] drm/panel/samsung-sofef00: Add panel for OnePlus 6/T devices Caleb Connolly
2020-11-12 16:21   ` Caleb Connolly
2020-11-14 19:58   ` Sam Ravnborg
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-12 16:21   ` Caleb Connolly
2020-11-14 19:59   ` Sam Ravnborg
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-07 17:49 ` [PATCH 4/5] dt-bindings: add vendor bindings for OnePlus Caleb Connolly
2020-10-07 17:19 Add support for the OnePlus 6 and 6T SDM845 devices Caleb Connolly
2020-10-07 17:20 ` [PATCH 4/5] dt-bindings: add vendor bindings for OnePlus Caleb Connolly

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.