Commit Graph

63 Commits

Author SHA1 Message Date
Igor Pečovnik
dccb076019
Adding Neo3 with I2S and SPDIF enabled by default (#2193)
Moving from wip to conf. We have dedicated DT and probably not much left.
2020-09-08 21:47:27 +02:00
Igor Pečovnik
1a49ad7c3d
Adjust patch to meet upstream code changes (#2194) 2020-09-08 00:07:06 +02:00
Piotr Szczepanik
4d4c3f58ff
Switched rockchip64 curent to kernel 5.8.y (#2175)
* Switched rockchip64 curent to kernel 5.8.y
* Enforce CRLF in one of the wifi patches for rockchip64-current
* Removed uneeded wifi patches for rtl8189fs from rockchip64-current
2020-09-02 23:22:09 +02:00
Piotr Szczepanik
e6e8294b63
Fixed sd card detection for Helios64 (#2179) 2020-09-02 21:55:01 +02:00
Piotr Szczepanik
5a24dad1e7
Workaround Helios64 SD reboot issues by disabling sdr104 mode (#2177)
The SD is slower now but it reboots.
2020-09-01 12:47:57 +02:00
Piotr Szczepanik
6d47709de2
Disable hs400 modes of Helios64's emmc (#2174) 2020-08-31 23:16:32 +02:00
Igor Pečovnik
36405e3397
Add Rockpi 4C (#2129)
* Add Rockpi 4C

* Update config/boards/rockpi-4c.conf

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>

* Change backward compatibility link to B model

* Various changes - tested for building.

 - add Radxa overlays
 - update naming with mainline
 - add Rockpi-E

* Reverting improvements for rockpi legacy and create a link to new DT only

* Copied ROCK Pi 4 device treesplitting patches to dev which was broken

* Add Rockpi 4c targets

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-08-29 00:16:28 +02:00
Piotr Szczepanik
42e76b9277
Switch RockPro64 work led to heartbeat trigger 2020-08-24 22:47:03 +02:00
Piotr Szczepanik
403651b986
Adjusted hci quirk patch for 5.7.16+ in rockchip64-current 2020-08-19 23:52:38 +02:00
Piotr Szczepanik
da58bb7997
Disable rk3399-bluetooth service in dev/current (#2140)
* Enable bluetooth node in Firefly RK3399 device tree in dev/current
* Deprecate rk3399-bluetooth service in dev/current, keep in legacy
2020-08-15 22:13:28 +02:00
Aditya Prayoga
c27379e93f
Add Helios64 support (#2126)
* Add initial Helios64 configuration

Add ethernet udev rules
Added disable auto power on script during shutdown
Configure ALSA to output audio to (DisplayPort) USB type-C

armbian-firstrun: exclude helios64 from generating fixed_mac

Each network interface on Helios64 already assigned to unique MAC
address in factory. Assigning Network Manager with cloned MAC is not
needed.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: rk3399: Add Helios64

Use rockchip propriettary loader

* kernel: rk3399-legacy: Update r8152 to support 2.5GbE USB RTL8156

Required for Helios64

* kernel: rk3399-legacy: update Rockchip PCIe driver

Port changes by ayufan on rockchip64.

* kernel: rk3399-legacy: Add support for Helios64

Add Helios64 device tree.
Enable missing driver/kernel module.
Auto load lm75 modules

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: rk3399-legacy: rework roc-rk3399-pc patch

the patch broken due to additional line added by helios64 on
arch/arm64/boot/dts/rockchip/Makefile

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: rk3399-legacy: update Rockchip PCIe driver

Backport bugfix from mainline
refer to
https://patchwork.kernel.org/patch/11561979/
and
https://patchwork.kernel.org/patch/11561977/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: rockchip64-current: Add support for Helios64

Add Helios64 device tree.
Enable missing driver/kernel module.

* config: helios64: use mainline ATF on current branch

and u-boot TPL/SPL instead of Rockchip proprietary loader

* helios64: u-boot v2020.07 update

* Add Helios64 target

* kernel: rk3399-legacy: update Rockchip PCIe driver

Removed unrelated changes from porting ayufan fixes

Signed-off-by: Piotr Szczepanik <piter75@gmail.com>

* helios64: make use of PACKAGE_LIST* variables

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-08-10 18:22:48 +02:00
Piotr Szczepanik
54deed57ce Ignore also bcm43456 by btsdio (ROCK Pi 4, OrangePi 3/4 with new firmware) 2020-07-27 22:16:31 +02:00
Piotr Szczepanik
b661be0afe
Cleaned up ROC-RK3399-PC after switching current to 5.7.y (#2104) 2020-07-22 23:35:49 +02:00
Werner
812245def3
Move rockchip/64 current to 5.7.y (#2099)
* Move current to 5.7.x
* Update linux-rockchip-current.config
* Move dev patches to current
* copy dev to current
* move dev patches to current
* move rockchip64-current to 5.7.x
2020-07-18 23:07:01 +02:00
Piotr Szczepanik
f7859e861f
Ignore BCM4345 and derivatives which are UART based in btsdio (#2068) 2020-06-27 12:13:15 +02:00
Piotr Szczepanik
72257bd064
Make USB3 support of ROCK Pi E on par with other rk3328 boards (#2050) 2020-06-23 16:37:54 +02:00
Igor Pečovnik
e1ecb09833
Initial ROCK Pi E support (as WIP) (#2042)
* WIP: Adding RockpiE config

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Mainline u-boot for ROCK Pi E

* Initial ROCK Pi E device tree in kernel

* Fixed supplies for ROCK Pi E device tree

* Adjusted u-boot load address for rockchip64 boards with 256MB eg. ROCK Pi E

* Blacklisted lima on ROCK Pi E

* Fixed ROCK Pi E patch after merge from master

* Removed mode settings from rk805 regulators

* Fixed issues with offloading for gigabit interface of RockPi E

* Adjusted ROCK Pi E board config

* Added dev branch for ROCK Pi E

* Add build targets

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Exchange legacy to current in ROCK Pi E build targets

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-06-20 22:39:57 +02:00
Piotr Szczepanik
df0083d395
Enabled HDMI audio for OrangePi 4 (#2009) 2020-06-06 19:52:47 +02:00
MarkoBursic
4fc10487f4
tested, working (#2008)
Author: @martinayotte
2020-06-05 10:08:03 +02:00
Jayantajit Gogoi
7efb5014a2
Enable vcc_sd regulator on boot for NanoPi R2S (#1990)
NanoPi R2S has the same issue as ROC-RK3328-CC.
With working GPIO, during init the GPIO state s reset.
This causes the sdmmc regulator to shut down, preventing detection.
Removing and replacing the card will allow it to be detected, but that should not be necessary.
Fix this by setting the regulator on at boot.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Link: 75aa567803
Signed-off-by: Jayantajit Gogoi <jayanta.gogoi525@gmail.com>
2020-05-26 22:20:31 +02:00
Piotr Szczepanik
40a3d4ecb9
Fixed rt5651 codec probing after its driver was changed to module (#1969) 2020-05-17 18:42:24 +02:00
Piotr Szczepanik
d479e98a56
Added dev target support for NanoPi R2S (#1953) 2020-05-08 23:09:11 +02:00
Tony
cec6d242df
Merge pull request #1842 from armbian/roc-rk3328-cc-enable-dmc
Enable DMC for roc-rk3328-cc (renegade) in current

No stability issues with this enabled, no reason not to merge, enables higher clockrates via manual setting for now.
2020-05-05 22:11:18 -04:00
Piotr Szczepanik
5e37270da5 Removed unused wlan and blootooth from OrangePi 4 modern targets 2020-04-17 08:37:41 +02:00
Piotr Szczepanik
af2b7127b1 Fixed OrangePi 4 bluetooth and mic in current - based on https://github.com/armbian/build/pull/1888 2020-04-17 08:37:12 +02:00
Igor Pecovnik
bd486c7562
Enable es8316 on RockPi4 for Rockchip64 current too https://github.com/armbian/build/pull/1885 2020-04-14 20:14:24 +02:00
Piotr Szczepanik
00bd87c1f4 Merge remote-tracking branch 'origin/master' into roc-rk3328-cc-enable-dmc 2020-04-07 09:12:58 +02:00
Piotr Szczepanik
38e99c76e3 Fixed errornous status names for dmc and dfi of roc-rk3328-cc in current 2020-04-07 09:11:54 +02:00
Piotr Szczepanik
dc2b43562e Added more specific "compatible" string for OrangePi 4 2020-04-05 23:27:22 +02:00
Piotr Szczepanik
e14a61c229
Fixed sound from rt5651 on OrangePi 4 (#1870) 2020-04-05 18:15:06 +02:00
tonymac32
edd9568314 [ rockchip64 ] RK3399-ROC-PC enable PCIE
Enables PCIE PHY, with Mezzanine NVME is now available.
2020-04-05 02:45:01 -04:00
tonymac32
b767385d4c [ rockchip64 ] Add mp8859 regulator to Current for RK3399-ROC-PC
This enables the 12V buck/boost converter to provide the 12V rail
2020-04-05 01:35:28 -04:00
Piotr Szczepanik
aa1b639535
Fixed slow boot of rk3399 with mainline (#1852) 2020-03-23 18:44:03 +01:00
Igor Pečovnik
1516616c2d
Rockchip and Odroid XU4 upstream fixes (#1855) 2020-03-23 00:41:45 +01:00
Piotr Szczepanik
ba80dbc93e
OrangePi 4 device tree cleanup part 1 (#1809)
* Cleaned up OrangePi 4 device tree (with help from @chwe17)

* Reconfigured OrangePi 4's usb-c power input

* Powertree fixes for OrangePi 4

* Removed unnecessary xin32k clock in OrangePi 4's device tree

* Reverted fusb302 change for OrangePi 4

* Removed uart4 in OrangePi 4's device tree

* Synced OrangePi 4's DTS from current to dev

* Synced OrangePi 4's DTS from current to legacy

* Minor fixups for OrangePi 4 DTS in legacy
2020-03-19 20:41:04 +01:00
Piotr Szczepanik
ea35add113 Enable DMC for roc-rk3328-cc (renegade) in current 2020-03-13 21:29:14 +01:00
Piotr Szczepanik
b31ebbea77
Fixed eMMC hs400es mode init on some rockchip64 boards in current and dev (#1823) 2020-03-09 20:28:03 +01:00
Igor Pečovnik
a0e009a73e
WIP: Add initial support for FriendlyARM Nanopi R2S (#1793)
* Add initial support for FriendlyARM Nanopi R2s

One net port not working yet.

* Enable 2nd network, rename it to lan0, adjust motd to see lan*

* Added rk3328 dmc devfreq driver

* Fixed SD card issues for NanoPi R2s

* Added usb serial gadget console for NanoPi R2s

Co-authored-by: Piotr Szczepanik <piter75@gmail.com>
2020-03-09 00:03:27 +01:00
tonymac32
dc75fea037 [ rockchip64 ] fix SD card voltage toggling vis codec on rk3328 2020-02-09 17:09:37 -05:00
Tony
0dc58c1109
fix typo
noticed missing HDMI audio Rock64.  Oops.
2020-02-05 23:54:47 -05:00
tonymac32
7084a2d457 [ rockchip64 ] Rock64 add audio 2020-02-03 00:28:23 -05:00
tonymac32
18b24717be [ rockchip64 ] rk3328 and renegade sound and dts clean
Adds k5.5 audio pipeline dts entries, adds audio to Renegade, cleans up some dts mess in renegade

- Note:  PulseAudio seems to need to toggle a couple times before audio will play.  That is not addressed in this patch.
2020-02-02 18:26:29 -05:00
tonymac32
1f95a0086e [ rockchip64 ] clean out disabled patch 2020-01-27 23:12:19 -05:00
Piotr Szczepanik
720959e43e Fixed the codec probe crash in "dev" for OrangePi 4 2020-01-24 22:52:41 +01:00
Piotr Szczepanik
027c3f1a0a OrangePi 4 preliminary support (current and dev kernels) 2020-01-24 19:04:42 +01:00
tonymac32
b3fc6df52e [ rockchip64 ] Set OTG mode to host on Renegade USB2 2020-01-20 23:40:42 -05:00
tonymac32
d230c3d15d [ rockchip64 ] add USB3 PHY RK3328
Adds the USB3 PHY driver currently under consideration upstream.

Tested:

 - Renegade
 - Rock64
2020-01-20 22:22:55 -05:00
Piotr Szczepanik
8c93385a84
Adjusted txpbl for rk3399 to fix network issues with MTU 1500 (#1736) 2020-01-12 21:51:52 +01:00
Piotr Szczepanik
f059569a1a
Reverted workaround for ethernet in rockchip64-current (fixed in 5.4.11) (#1737) 2020-01-12 19:35:05 +01:00
m][sko
7bf126caf1 fix gpu power on firefly rk3399 (#1724) 2020-01-07 00:43:04 +01:00