Difference between revisions of "User:Aren/PinePhone Mainline Status"

From PINE64
Jump to navigation Jump to search
(fill out information on the serial port)
Line 50: Line 50:
| Role Switch / Gadget mode || out of tree || See [[#ANX7688]]
| Role Switch / Gadget mode || out of tree || See [[#ANX7688]]
|-
|-
| Host mode e.g. external storage or input || untested
| 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.
|-
|-
| Display output (TODO: which spec? usb dp alt mode?) || out of tree || See [[#ANX7688]]
| DisplayPort alt mode || out of tree || See [[#ANX7688]]
|-
|-
| USB-C Power Delivery || out of tree || See [[#ANX7688]]
| USB-C Power Delivery || out of tree || See [[#ANX7688]]

Revision as of 18:06, 20 January 2024

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 untested iirc just uses gpio driver, should be generic. Status led doesn't have keep power in suspend enabled in upstream device tree.
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.