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

From PINE64
Jump to navigation Jump to search
(work on the front camera is in progress)
(fill out information on the serial port)
Line 5: Line 5:
! Feature !! status !! notes
! Feature !! status !! notes
|-
|-
| Serial debugging || Working || Subject to hardware issues [https://xnux.eu/log/075.html]
| Serial port (in the headphone jack)
| style="background:LightGreen;"| Upstream
| Subject to hardware issues [https://xnux.eu/log/075.html]
Extra patches:
* 7fe2f541f9336 arm64: dts: sun50i-a64: Set fifo-size for uarts[https://xff.cz/git/linux/commit/?h=speed-6.7&id=2bbc4d840e74c240c781b21fab15ebee73e07682]
* da34508bae5de tty: serial: 8250-dw: Use fifo-size from DTS[https://xff.cz/git/linux/commit/?h=speed-6.7&id=e4e9bcd9854d2697a1e5c6717a02597e7775dd7e]
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)
| Display || Partial || doesn't run at 60hZ (TODO: add link to megi's patches)

Revision as of 17:45, 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 untested
Display output (TODO: which spec? usb dp 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.