Jump to content

[Armbian build PR] - rockchip64: switch orangepi 4/LTS to mainline USB3 Type-C controller driver


RSS Bot

Recommended Posts

Description

Orange Pi 4 and Orange Pi 4 LTS were the last boards using staging USB3 Type-C controller.

This PR moves both of them to use mainline driver, so staging driver can be removed from patchset (as suggested by @Tonymac32 here: https://github.com/armbian/build/pull/3953#issuecomment-1172962963)

Most of the changes have been adapted upon the same nodes from tinkerboard 2 device tree and GPIOs have been adjusted.

Since both opi4 and opi4 LTS share the same hardware, I felt it could be useful to change on both boards. Probably if it works for my opi4 LTS also works for regular opi4; I will do my tests, if @piter75 wants to do private tests, in compatibility with his free time and will, I guess it is very welcome, but as long as the USB3 hardware is the same I guess mine would be enough.

As side note, this also fixes the "active" -> "default" pinctrl for pwm2 on edge kernel device tree (https://github.com/armbian/build/pull/3935)

Jira reference number AR-1256

How Has This Been Tested?

  • [ ] Build an image for Orange Pi 4 and test USB Type C functionality
  • [ ] Build an image for Orange Pi 4 LTS and test USB Type C functionality

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] Any dependent changes have been merged and published in downstream modules

View the full article

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines