Commit Graph

55 Commits

Author SHA1 Message Date
Alban Browaeys
93fb7498c0 Fix helios64 vdd-log supply
vdd-log supply is pwm-supply, not vin-supply.
Fixes vdd-log supply ending up the dummy regulator.

[    1.783479] pwm-regulator vdd-log: Looking up pwm-supply from device tree
[    1.783505] pwm-regulator vdd-log: Looking up pwm-supply property in node /vdd-log failed
[    1.783556] vdd_log: supplied by regulator-dummy

Per https://lore.kernel.org/all/20211227234529.1970281-2-heiko@sntech.de/
there will be no functional change as the supplying regulator is an always-on
fixed-regulator.
2023-04-22 09:57:11 +02:00
Ricardo Pardini
ac974ac132
rockchip64: current/5.15: fix bad unidiff/lack of mbox of wifi-hf-lps170-bl602.patch & makefile 2023-02-18 07:46:28 -03:00
Ricardo Pardini
608a5b779a
rockchip64: current/5.15: remove IPX revert patch that's already in drivers now 2023-02-18 07:46:27 -03:00
schwar3kat
72a505d061
Merge pull request #4778 from schwar3kat/Tweak-orangepi-r1plus-lts-LEDs-and-networking
Tweak orangepi-r1plus-lts LEDs and networking.
2023-02-02 11:29:10 +13:00
schwar3kat
219bbfcf8a
add-rk3328-device-tree-overlay-uart1-i2c0 (#4776)
RK3328 UART1 and I2C0 are available on Orange Pi R1 Plus LTS 13 pin connector. Add device tree overlay files for rk3328 uart1 and i2c0.

Co-authored-by: schwar3kat <schwar3kat@armbian.com>
2023-02-01 20:22:26 +01:00
schwar3kat
9cd5c76b2e
Tweak orangepi-r1plus-lts LEDs and networking.
Add sys-triggered LED's, fix LAN LEDS, and improve Debian dual network function.
2023-02-01 17:52:18 +13:00
Paolo Sabatino
66cc120dad fix SPDIF for x88pro/mxq rk3328 tvbox boards 2023-01-31 15:58:08 +01:00
Paolo
79019296d8
rockchip64: consolidation for uwe5622 driver, v6.1 kernel compatibility (#4766) 2023-01-30 17:28:37 +01:00
Paolo Sabatino
973b3c0610 rockchip64: rework pbp patch including usb type-c extcon services 2023-01-24 20:55:38 +01:00
schwar3kat
73f4776bf2
Clean_up_mbox_format_in_general-add-overlay-configfs.patch (#4705)
For rockchip64 all applicable versions. No code changes. Prevents patching errors in armbian-next.
2023-01-17 19:30:22 +01:00
Hannes Braun
f13fc83465
RockPro64: add thermal fan control (#4702) 2023-01-16 10:32:48 +01:00
Konstantin Litvinov
44c4cdf865
Fixed issue with NVMe identification in rk3399-rock-pi-4.dts (#4627)
Co-authored-by: Konstantin Litvinov <klitvinov@piesoft.us>
2022-12-30 21:17:33 +01:00
Konstantin Litvinov
6d20fa48ac
This code was added to the sources, which creates a mess in rk3399-rock-pi-4.dts (#4619)
Co-authored-by: Konstantin Litvinov <klitvinov@piesoft.us>
2022-12-28 17:28:55 +01:00
Konstantin Litvinov
68802d5c78
Disable patch breaks Bluetooth (#4620)
Co-authored-by: Konstantin Litvinov <klitvinov@piesoft.us>
2022-12-28 17:28:19 +01:00
Ricardo Pardini
eb4c090a38
tinkerboard-2: move to "legacy" 21.07 u-boot; firmware & kernel DTS fixes (5.18/19,6.0) (#4449)
- notes in the board file about the RAM issues (tested, confirmed working blob change of #4383 by @pinhaozhang working with u-boot 21.07; `blobless` also works with ATF v2.7 on my known-good-RAM boards)
- tinkerboard-2: add full firmware, for the rtl8822ce PCIe Wifi default card in the tb2 as shipped by ASUS
- tinkerboard-2: uboot: rename `TARGET_TINKER-2_RK3399` to `TARGET_TINKER2_RK3399` to avoid warnings all over
- tinkerboard-2: slower but working Tinkerboard 2S eMMC (HS400+ES to HS200)
  - both for u-boot and kernel.
  - should not affect 2, only 2S
2022-11-16 22:04:38 +01:00
RadxaNaoki
c3db31bde2
enable es8316 audio properly (#4433)
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Co-authored-by: Igor <igor@armbian.com>
2022-11-16 11:32:03 +01:00
Igor Pečovnik
9780da320e
Add Radxa ROCK Pi 4C Plus (#4129)
* Add Rockpi 4C+

* add newer patches:

- apply patches from RadxaNaoki <noaki@radxa.com>
  - ref 5652d6f9c2a4e2c50ac1040c0388859381b0616f: arm64: dts: rockchip: add gmac for ROCK 4C+ (#17)
- apply latest patches from Marcone <marco.nelissen@gmail.com>
  - ref e39da181b099a86f5440ed1c08fc699d4a65aed7: arm64: dts: rockchip: Make Rock Pi 4C+ ethernet actually work
  - ref 8c519612eeb852268371b3c596eec4622460e5bf: arm64: dts: rockchip: add Rock Pi 4C+ LEDs
  - ref 726441afe687ea6059bac37f145ff204b75430f7: arm64: dts: rockchip: enable Rock Pi 4C+ wifi
  - ref caad7bef3b5558e2598480c0a0089e2ac3cedcdd: arm64: dts: rockchip: enable Rock Pi 4C+ nvme
  - ref 6cdc3215d1691bcd2a407a30e88efa0cec179eb2: arm64: dts: rockchip: enable Rock Pi 4C+ OTG

* default top USB3 port to host mode

* get 2nd HDMI port to work at least. :)

* revert OTG USB3.1 port back to otg mode

* [rockpi4c+] update board def.  add usb host overlay.

* remove redundant HDMI clocks and voltages

* enable test builds for Rock PI 4 C+

* [rockpi4c+] add USB host overlay

Co-authored-by: Joe Khoobyar <fourheads@gmail.com>
2022-11-02 06:58:31 +01:00
Igor Pečovnik
224b784d6c
Revert "Add an attempt counter, which helps buggy PCIe links. (#4308)" (#4369)
This reverts commit 27bbf8bbaa.
2022-10-30 10:55:13 +01:00
David Manouchehri
27bbf8bbaa
Add an attempt counter, which helps buggy PCIe links. (#4308)
* Add an attempt counter, which helps buggy PCIe links.

* Adjust patches

* Add PCIe retry patch for rockchip64-6.0.

Co-authored-by: Igor <igor@armbian.com>
2022-10-26 21:32:42 +02:00
Igor Pečovnik
63fa7cb0cc
Bump sunxi to latest and remove deprecated patch (#4351) 2022-10-26 18:00:36 +02:00
Paolo
f2ddee56a1
fix orangepi4-lts rk808 interrupt line, sdcard detection and wifi freq (#4278) 2022-10-13 18:17:46 +02:00
Paolo
e799495de9
reinstate ipx.h header file for rockchip64 current 5.15 kernel (#4268) 2022-10-12 11:22:44 +02:00
Paolo
78bbdf44d0
rockchip64: add ssv6051p wifi driver for current and edge kernel (#4269)
* Add ssv6051p wifi driver for rockchip64 current and edge kernel

 * also reorders and tidies device tree overlays for rk3318-box

* increase ssv6051 sdio bus to 50MHz in the driver
2022-10-12 11:22:33 +02:00
aiamadeus
8648dde23f
rockchip: fixes support for orangepi-r1plus (#4215)
* rockchip: replace r8152 patches with openwrt

* rockchip: fixes support for orangepi-r1plus

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2022-09-22 10:25:28 +02:00
Igor Pečovnik
03dbd9d3a7
Move header revert patch under misc patches (#4128)
* Move header revert patch under misc patches as its only related to extra wifi drivers

* Update text
2022-08-29 08:44:21 +02:00
Igor Pecovnik
7a9991a650 Fix the same in lps170 driver and refresh kernel config 2022-08-21 14:40:58 +02:00
Paolo Sabatino
6ba9883baa rockchip64: switch orangepi 4/LTS to mainline USB3 Type-C controller driver 2022-07-31 01:10:00 +02:00
Tony
44ac745ae3
Rockchip64-current: fix nanoPi NEO 3 DTS makefile (#3979)
Changes to the add-board patch did not get added to the makefile patch.  Fixed.
2022-07-10 02:14:03 -04:00
schwar3kat
bbc63edae8
Merge pull request #3969 from schwar3kat/orangepi-r1-lts-refactored-dts
Refactored orangepi-r1plus-lts dts in kernel add board patch
2022-07-10 16:07:13 +12:00
Paolo
0310f95505
rockchip64: fix rk3318-box cpu voltages (#3976) 2022-07-09 16:30:16 +02:00
schwar3kat
a16699260f
Refactored orangepi-r1plus-lts dts in kernel add board patch
Renamed patch to match rockchip64 boards

Nanopi dependencies removed
2022-07-08 22:35:59 +12:00
Tony
76192f1fa8
RK3328 cleanup (#3963)
* Rockchip64 rk3328 cleanup

* Rockchip64 remove unneeded RK3328 USB3 PHY driver
2022-07-06 10:38:09 -04:00
Tony
1077af2d98
RK3328 fix USB3 5.15 (#3957) 2022-07-04 09:28:32 -04:00
Tony
9680fc46a0
Roc rk3399 pc enable type C (#3953)
* roc-rk3399-pc remove outdated patch

* roc-rk3399-pc enable type-c
2022-07-02 19:51:26 -04:00
Paolo Sabatino
19d1ce656e rockchip64: fix pwm regulators that use pinctrl "active" configuration 2022-06-26 15:14:53 +02:00
Paolo
2ca6a9381d
rockchip64: add rk3318-box tvbox board patch and configurations (#3921)
* rockchip64: add rk3318-box tvbox board patch and configurations
* rockchip64: add missing bcm43342 patch for edge kernel
2022-06-23 08:30:54 +02:00
Paolo Sabatino
8ab3567c81 rockchip64: fix orangepi4 LTS bluetooth initialization 2022-06-17 10:07:06 +02:00
Paolo Sabatino
b88a8a7dce rockchip64: orangepi4 LTS sdmmc bus pins strength increased for better stability with UHS modes 2022-06-17 10:07:06 +02:00
Paolo
388e9bbf5e
Support for OrangePi4 LTS board (#3770)
* orange pi 4 LTS support added (uwe5622 wifi driver, es8316c codec)

* add orangepi 4 LTS device tree
* add uwe5622 driver to 5.15 and 5.18 rockchip64 patches
* add wpasupplicant to jammy cli packages
* fix es8316c asound.state (zeroing stereo enhancement which causes distortion)

* Add build targets

* Move from WIP state

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-06-14 12:11:33 +02:00
Paolo Sabatino
17b4fb913c rockchip64: bump edge kernel config to 5.18, disable csgpio patch due to mainline clashing 2022-06-14 09:33:41 +02:00
Tony
e7bd9b8f13
Add Spidev workarounds and clean patches (WIP) (#3812)
* [ Meson64 ] Add Spidev workaround for 5.15+, remove unnecessary patch

* [ Rockchip64 ] Add spidev workaround for 5.15+

* [ Rockchip ] Add spidev workaround for 5.15+

* [ overlays ] align overlays to new spidev device handle
2022-05-28 08:56:19 +02:00
CXM
1f54bc33b8
Add clockworkpi-a06 support (#3768)
* feat: add clockworkpi-a06 support

* fix: disable dpms & screensaver
2022-05-11 21:47:28 +02:00
schwar3kat
5e477fd42c
Enable rockchip64: XHCI HCD USB TRB ENT quirk for RK3328 (#3763)
This resolves a bug that affects r8153b USB network interface causing the RX interface to hang on load.

On some xHCI controllers (e.g. Rockchip RK3399/RK3328/RK1808),
they need to enable the ENT flag in the TRB data structure
to force xHC to prefetch the next TRB of a TD.
The quirk patch is already applied to dwc3 xhci usb on rockchip64.

Enable the quirk on RK3328 through device tree node properties in rk3328.dtsi
2022-05-07 15:51:38 +02:00
Paolo Sabatino
bbe4414786 Remove mainlined RGA trivial patch for rk322x, rockchip, rockchip64 2022-04-25 22:28:00 +02:00
schwar3kat
6ff15fe54f
Add orangepi r1 plus lts (#3514)
* Rockchip64 Linux-5.10y - drivers for Motorcomm YT8531
renamed the previous "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" to "net-phy-Add-driver-for-Motorcomm-1-YT85xx-PHYs.patch" to fix patch order and added a new patch "net-phy-Add-driver-for-Motorcomm-2-YT8531-PHYs.patch"
The new YT8531 patch is sourced from from Lean's OpenWrt source rockchip/patches-5.10/601-net-phy-Add-driver-for-Motorcomm-YT8531-PHYs.patch.
It is intended to extend a patch identical to Armbian's "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" and is used without alteration.

* Add new board OrangePi R1 LTS (rk3328)
Includes uBoot and support for Linux-5.10y

* Rockchip64 Linux-5.15y drivers for YT8531 and other Motorcomm chips

YT8010, YT8510, YT8511, YT8512, YT8521. The driver patch set is sourced from Xunlong-OrangePi OpenWRT and is used as is, with only a name and makefile change.
A single patch set uses the same underlying source code as the Armbian Linux-5.10y set, but uses inbuilt logic to apply tweaks that depend on the Linux kernel version.
The patch is renamed similarly to the 5.10 patch set, net-phy-Add-driver-for-Motorcomm-T85xx+PHYs.patch to imply code base continuity with the previous similar Armbian patch sets.

* Rockchip64 Linux-5.15y support for Orange Pi R1 Plus LTS

Includes DTS and makefile changes. A driver for net phy YT8531C is in a separate commit

* change orangepi-r1plus-lts.csc to orangepi-r1plus-lts.conf

board is now supported

* - add patch also to 5.16.y
- fix wrong patch permission

* Fix Makefile patch

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 15:03:33 +01:00
Piotr Szczepanik
ac8fc43855
Switch rockchip64 current to linux 5.15.y (#3489)
* Switched rockchip64-current to linux 5.15

* Backported and adjusted patches from rockchip64-current

* Switched rockchip64 edge to 5.16.y (#3499)

* Initial rockchip64-edge at 5.16.y
* Bunch of fixes for rockchip64-edge at 5.16.y

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2022-02-26 07:46:44 +01:00
Leif
27771d0e8a
Remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays (#3495)
* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

* remove incorrectly duplicated GPIO pins from I2C7, name I2C7/I2C8 bus, from README.rockchip-overlays

Co-authored-by: Leif Sawyer <leif@akhepcat.com>
2022-02-17 22:06:54 +01:00
Paolo Sabatino
ce0899e1e5
rockchip64: add broadcom bluetooth serdev workaround against default MAC address for edge 5.15 kernel 2022-01-27 14:21:09 +00:00
Paolo
d1e8c0d27b
rockchip64: add realtek rtl8723cs and rtl8703bs wifi and serdev bluetooth support for edge 5.15 kernel (#3422) 2022-01-22 19:48:34 +01:00
Igor Pečovnik
2b8fc08eeb
Adjust broken patches and remove deprecated (#3403) 2022-01-16 14:53:14 +01:00