User:Aren/PinePhone Mainline Status

From PINE64
Jump to navigation Jump to search

Overview

Feature status notes
Serial port (in the headphone jack) Upstream Subject to hardware issues [1]

Extra patches:

  • 7fe2f541f9336 arm64: dts: sun50i-a64: Set fifo-size for uarts[2]
  • da34508bae5de tty: serial: 8250-dw: Use fifo-size from DTS[3]

Both patches go together, and appear to be a performance optimization only.

Display Partial doesn't run at 60hZ (TODO: add link to megi's patches)
Touch Input untested
Fromt camera in progress Front camera driver should be upstream in 6.8-rc1, but will need testing and dts parts to activate[4]. (TODO: track them down links to source & lkml threads)
Rear camera untested driver should be upsream
Wifi in progress[5] The current driver has very poor code quality and will not be suitable for mainline. Work on a replacement is in progress.
Usb partial see #Usb
Leds Functional Extra patches:
  • 6d9b8f17502e2 leds: sgm3140: Add missing timer cleanup and flash gpio control[6]
  • 27e977e01cc32 arm64: dts: sun50i-a64-pinephone: Retain leds state in suspend[7]
Modem untested
Modem Audio untested
Bluetooth untested
Audio untested
Accelerometer untested
Proximity sensor untested
Charging Partial See usb section

Usb

Feature status notes
Role Switch / Gadget mode out of tree See #ANX7688
Host mode e.g. external storage or input Partial It appears that usb devices don't get power from the phone. They only work when plugged into the dock with external power.
DisplayPort alt mode out of tree See #ANX7688
USB-C Power Delivery out of tree See #ANX7688
USB BC Upstream BC1.2 is mostly handled by the axp803 pmic. This is usually what handles current negotiation when using A-to-C cables and dumb chargers.

ANX7688

There is an out of tree driver for the anx7688 chip, but it was written specifically for the PinePhone. This driver may require non trivial refactoring to be acceptable upstream.