Jump to content

Qualcomm Snapdragon 600 (APQ8064): Difference between revisions

From postmarketOS Wiki
Wfranken (talk | contribs)
Added some additional documents regarding APQ8064 soc
Wfranken (talk | contribs)
Added all additional docs I could find and are potentially useful
Line 69: Line 69:
* Test, test test :)
* Test, test test :)


== Useful documentation ==
== Documentation ==
* [https://www.qualcomm.com/media/documents/files/snapdragon-600-apq-8064-data-sheet.pdf APQ8064 datasheet]
* APQ8064
* [https://developer.qualcomm.com/qfile/29143/lm80-p0598-5_c_apq8064_hrd.pdf APQ8064 Hardware Register description]
** [https://www.qualcomm.com/media/documents/files/snapdragon-600-apq-8064-data-sheet.pdf APQ8064 datasheet]
* [https://developer.qualcomm.com/download/sd600/gpio-pin-assignment-spreadsheet-apq8064.pdf APQ8064 GPIO pin assignment]
** [https://developer.qualcomm.com/qfile/29143/lm80-p0598-5_c_apq8064_hrd.pdf APQ8064 Hardware Register description]
* [https://developer.qualcomm.com/download/sd600/pmm8920-power-management-module-device-specification.pdf Power Management Module specification (PMM8920)]
** [https://developer.qualcomm.com/download/sd600/gpio-pin-assignment-spreadsheet-apq8064.pdf APQ8064 GPIO pin assignment]
** [https://developer.qualcomm.com/qfile/28875/lm80-p0598-6_b_apq8064_recmemcontrollerdevicesettingsappnote.pdf APQ8064E Recommended memory controller and device settings]
** [https://developer.qualcomm.com/qfile/28874/lm80-p0598-2_apq8064e_dsi_programing_gd.pdf APQ8064E DSI programming guide (downstream)]
** [https://developer.qualcomm.com/qfile/28868/lm80-p0598-3_b_wcd9311_audio_codec_device_spec.pdf WCD9311 Audio Codec]
* PMM892x
** [https://developer.qualcomm.com/download/sd600/pmm8920-power-management-module-device-specification.pdf Power Management Module specification (PMM8920)]
** [https://developer.qualcomm.com/qfile/28872/lm80-p0598-11_pmic_apss_isod.pdf PM8xxx API specification (downstream)]

Revision as of 11:40, 8 April 2022

Qualcomm APQ8064
APQ8064 SoC in ceramic BGA capsule
APQ8064 SoC in ceramic BGA capsule
Manufacturer Qualcomm
Name APQ8064
Architecture armv7
GPU Adreno 320
Year 2013
Process 28nm
Mainline yes
Components
CPU
Works
UART
Works
Storage
Works
USB
Works
Display
Works
GPU
Broken
Pinctrl
Works
I²C
Works
SPI
No data
Audio
Broken
Video
No data
Thermal
Works
WiFi
Works
Bluetooth
No data
Modem
Broken
GPS
No data
Camera
No data
NPU
No data
Suspend
No data
Ethernet
No data
SATA
No data


Devices

Snapdragon 600 (APQ8064[-AB])

No results

Status

  • 4.11 kernel in best shape, since it's not LTS, doesn't have security patches
  • ..IOMMU and DMA got broken since 4.12-rc1 [1]
  • 4.14 somehow work +- reliably [2] [3]
  • 4.19 some issues with wifi scanning, GPU sometimes work [4]
  • 5.4 seems to be working, has to be enabled manually Wi-Fi which kills usb
  • 5.10 working [5] thou there are issues with USB (must be connected at boot to get connection, when WiFi connects got lost, when connected WiFi is lost and usb still don't work)
  • 5.13+ kernel with APQ8064 you must pass to cmdline fw_devlink=permissive
  • -next working! needs 5.13+ hack and currently framebuffer freeze after while

Note:

  • for getting GPU to work you'll need firmware.
  • for WiFi you need also firmware and you can enable WiFi by running `echo start > /sys/class/remoteproc/remoteproc0/state`

Mainlining

Development

LTS

I'm trying to ensure that all relevant changes get backported at least to the latest LTS (at moment of writing 5.10).

If you have device DTS which works with any of these kernels, feel free to send MR!

To-do list for mainline

  • Check if drm/msm/adreno/a3xx is in line with latest downstream (this seems like a good reference)
  • Test, test test :)

Documentation