Commit Graph

123 Commits

Author SHA1 Message Date
Ricardo Pardini
5880559b0c rockchip64-6.18: .config: CONFIG_DRM_ACCEL_ROCKET=m 2025-10-19 01:43:30 +02:00
Paolo
35629f641e
Bump rockchip64-edge kernel to 6.17 (#8703)
* bump rockchip64 edge kernel to 6.17

* update rockchip64 edge kernel config to 6.17

* Fixes for wireless drivers for rockchip64-edge 6.17

Patches for:
* uwe5622
* rtl8723ds
* rtl8852bs

* update rtl8852bs and rtl8723ds repository commit hashes
2025-10-03 18:36:42 +02:00
SuperKali
badbc99594
rockchip64-edge: Enable UFS and add power regulators for NanoPi M5 (#8691)
* rockchip64-edge: Enable UFS and add power regulators for NanoPi M5
* rockchip64-edge: cleanup and rewrite using kernel-config
2025-09-29 19:52:05 +02:00
SuperKali
412f67c20d
rockchip: Add NanoPi M5 board support to edge kernel (#8684)
* rockchip: Add NanoPi M5 board support to edge kernel

* rockchip64: enable Rockchip ASoC drivers and codecs in kernel config

* config: Fix audio Kconfig tristate hierarchy

Set CONFIG_SOUND, CONFIG_SND, and CONFIG_SND_SOC to built-in (y)
to allow Rockchip audio drivers to be built-in instead of being
silently downgraded to modules by olddefconfig.

* nanopi-m5: Add asound.state for audio configuration

* nanopi-m5: Fix SAI2 clock output
2025-09-28 12:46:45 +02:00
Paolo
343df94818
rockchip64: update tm16xx driver from kenrel mailing list (#8679) 2025-09-28 06:44:03 +02:00
Jianfeng Liu
e2f274e1c0 rockchip64-6.16: enable RTL8852BS 2025-09-08 20:02:28 +02:00
Muhammed Efe Cetin
1523d9e9f8 nanopi-m6: add YX35 lcd support to edge kernel 2025-08-20 15:50:10 +08:00
Paolo Sabatino
9e30758977 Implement innosilicon phy usb3 driver for rk3328
source: https://patchwork.kernel.org/project/linux-rockchip/cover/20250115012628.1035928-1-pgwipeout@gmail.com/
2025-08-17 13:56:49 +02:00
hyx0329
6e39531b62 rockchip64-6.16: Partial fix of DP alt mode on some rk3399 boards
The old method carried along with board-pbp-add-dp-alt-mode.patch only
makes typec work in one(normal) orientation. This patch introduces a
proper extcon driver and makes the workaround cleaner, so orientation
switch is working.

Improvements:
- type-c DP on rk3399 works with both orientations
- type-c USB 3.0 on rk3399 works with both orientations, with minor
  issues, see below

Caveats:
- Powered USB-C hubs may be not recognized, and can be worked around by
  loading a gadget driver, or manually toggling the mode once for each
  connection.
- Some dual-role devices(phone, tablet) may be not recognized.

Affected boards:
- TinkerBoard 2/2S
- Pinebook Pro
- NanoPC T4
- Orange Pi 4
- Orange Pi 4 LTS

Tested on tinkerboard 2s. This patch contains other minor fixes for
tinker2's device tree, including adding a missing fan node, adding color
labels to leds.

The 2 patches adding dp support for nanopc t4 and pinebook pro are also
updated accordingly.

The device trees of Orange Pi 4 / 4 LTS are also updated to match the
new implementation.
2025-07-02 12:12:05 +02:00
Patrick Yavitz
ce02695915 Rockchip64: Defconfig: CONFIG_RTC_DRV_HYM8563=m
Change from "y" to "m"

Before
[    2.423992] rtc-hym8563 1-0051: no valid clock/calendar values available
[    2.424718] rtc-hym8563 1-0051: registered as rtc0
[    2.425770] rtc-hym8563 1-0051: no valid clock/calendar values available
[    2.425789] rtc-hym8563 1-0051: hctosys: unable to read the hardware clock
[    3.817166] rk808-rtc rk808-rtc.5.auto: registered as rtc1

After
[    3.790107] rk808-rtc rk808-rtc.5.auto: registered as rtc0
[    3.801742] rk808-rtc rk808-rtc.5.auto: setting system clock to 2017-08-05T09:48:13 UTC (1501926493)
[    3.919628] rtc-hym8563 1-0051: registered as rtc1

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-06-15 14:11:00 -04:00
Ricardo Pardini
a268b2dd69 rockchip64-6.15: edge: CONFIG_NETKIT=y
- because, well, Cilium: https://isovalent.com/blog/post/cilium-netkit-a-new-container-networking-paradigm-for-the-ai-era/
  - nb: nas nothing to do with "ai"
2025-05-29 18:50:10 +02:00
Ricardo Pardini
6e67114ced rockchip64-6.15(edge): .config: enable VIDEO_SYNOPSYS_HDMIRX_LOAD_DEFAULT_EDID
From the Kconfig:

```
Preload default EDID (Extended Display Identification Data)
branded by Linux Foundation that exposes display modes up
to 4k@30Hz, which have best compatibility with HDMI transmitters.
Enabling this option is recommended for a non-production use-cases.
It will make driver usable out-of-the-box.
For a higher display modes you will need to load customized EDID
from userspace using v4l2-ctl tool or by other means.
Without enabling this option driver will be practically
non-functional until EDID will be loaded from userspace.
Which is a wanted behavior when using this driver in a
commercial product that should utilize own branded EDID.
```
2025-05-29 09:33:29 +02:00
Micke Prag
34fa6db522 rockchip64: Enable CAN FD driver MCP251XFD 2025-04-29 00:25:49 +02:00
amazingfate
6fc7b7a41b rockchip64-edge: enable CONFIG_DRM_PANEL_MIPI_DBI and toggle CONFIG_DRM to builtin 2025-03-03 12:56:02 +01:00
Ricardo Pardini
c4a8ef49b0 rockchip64/edge: rewrite-kernel-config, no changes 2025-01-05 10:15:14 +01:00
amazingfate
bff12a6c42 rockchip64: current/edge: build rockchip pmic drivers as built-in 2024-12-21 11:04:31 +08:00
amazingfate
aee268c7a7 rockchip64: current/edge: remove unnecessary kernel configs 2024-12-21 11:04:31 +08:00
amazingfate
b0cb8f7c26 rockchip64-edge: merge configs from rockchip-rk3588-edge 2024-12-21 11:04:31 +08:00
amazingfate
f5659c4198 rockchip64-edge: rewrite kernel config with kernel 6.12.4 2024-12-21 11:04:31 +08:00
Maxim Medvedev
06c9c2dbe5 feat: add ST7796 kernel module (fbtft)
Add support for ST7796 based LCD module (connected via SPI interface). One of real device example is [MKS PI-TS35 display](https://github.com/makerbase-mks/MKS-TFT-Hardware/tree/master/MKS%20PI-TS35).
2024-12-08 10:50:48 +01:00
amazingfate
92e4ba979f rockchip64-edge: enable rtw89 driver 2024-11-25 11:32:17 +01:00
amazingfate
47dc9334d1 rockchip64-edge: rewrite kernel config up to 6.12
With command:
./compile.sh rewrite-kernel-config BOARD=rock-3a BRANCH=edge KERNEL_CONFIGURE=no KERNEL_GIT=shallow
2024-11-25 11:32:17 +01:00
halfa
439abc7fc8 Enable CONFIG_VHOST_VSOCK on rockchip64 2024-11-25 11:32:02 +01:00
Alex Shumsky
922f656332 rockchip64: make rockchip64 bootable in VM 2024-10-20 18:22:39 +02:00
Paolo Sabatino
8b9fd1507e [rockchip64] add tm16xx led driver for display panels 2024-10-05 19:07:58 +02:00
Paolo Sabatino
21a1b73051 rockchip64: enable i2c-gpio bitbang driver 2024-10-05 12:25:22 +02:00
Paolo Sabatino
1c79daddc0 bump rockchip64 edge kernel to v6.11 2024-09-21 14:18:19 +02:00
Leonidas P. Papadakos
06aa0e9c15 Enable ksmbd consistently across configurations 2024-09-03 18:26:21 +02:00
Alex
544e0c505e
rockchip64: Enable CONFIG_SECURITY_DMESG_RESTRICT kernel option (#7080)
* rockchip64: edge: rewrite kernel config

* rockchip64: edge: set CONFIG_SECURITY_DMESG_RESTRICT=y
Advised for KASLR-enabled kernels - no side effect for non-KASLR

* rockchip64: current: rewrite kernel config

* rockchip64: current: set CONFIG_SECURITY_DMESG_RESTRICT=y
Advised for KASLR-enabled kernels - no side effect for non-KASLR
2024-08-15 13:43:36 +02:00
Alessandro Lannocca
b6ae30043d nanopi-r5c: set CONFIG_RANDOMIZE_BASE=y (kaslr) 2024-08-08 07:38:23 +02:00
Alessandro Lannocca
21d3307f8e nanopi-r5c: rewrite-kernel-config 2024-08-08 07:38:23 +02:00
amazingfate
e1a64270fa rockchip64-edge: add rkvdec2 for rk356x 2024-07-28 14:35:34 +08:00
Paolo Sabatino
4ae0a95814 rockchip64: bump edge kernel to 6.10 2024-07-22 19:17:52 +02:00
Igor Pecovnik
d7db1cd26b Add 6.9 compatibility fix for UWE and rewrite rockchip64 kernel config 2024-06-06 15:35:08 +02:00
Lane Jennison
1a4083fce8 kernel config: revert default governor change back on ondemand 2024-04-26 18:18:03 +08:00
Brent Roman
7343ca42f7 Restore WiFi functionality to the RockPi-S
Reverts the part of 7b2c985363 that deprecated the RTL8723 driver.
The RTW88 driver for the RTL8723DS **does not work**
See issue Jira AR-2121
2024-04-16 00:36:19 +08:00
ColorfulRhino
3b73b5fd81 kernel-config: Fix forced option IKCONFIG
Also rewrite some kernel configs to reflect this fix
2024-03-29 15:57:40 +00:00
ColorfulRhino
d504aa1be2 rockchip64-edge: rewrite kernel config 2024-03-29 15:57:40 +00:00
Ricardo Pardini
4c3f878bb4 rockchip64-edge (6.8.y): enable CONFIG_RTW88_PCI and all the RTW88 PCI cards
- needed for the Tinkerboard-2 (8822CE)
- didn't touch SDIO or USB ones
2024-03-29 13:11:25 +01:00
Paolo Sabatino
e4d413b916 rockchip64: bump edge kernel to 6.8 2024-03-26 13:46:35 +01:00
ColorfulRhino
093955e788 rk35xx/rk3588/rockchip64/uefi/wsl: Enable NVMe-over-TCP
- Enable NVMe over TCP kernel support for the board families `rk35xx` (vendor), `rockchip-rk3588` (edge), `rockchip64` (current, edge) as well as the generic `uefi` target (current, edge) and `wsl` (current, edge)

- Note: for `wsl` only host-mode is supported, target-mode is not available

- Support for `legacy` kernels not added due to incompatibilities between kernel versions <5.14 and >=5.14. Kernels <5.14 need to patch in this commit to be compatible: https://github.com/torvalds/linux/commit/3c3ee16532c1

- NVMe over TCP specs and slides: https://nvmexpress.org/wp-content/uploads/March-2019-NVMe-TCP-What-You-Need-to-Know-About-the-Specification.pdf

- Guides: https://www.linuxjournal.com/content/data-flash-part-iii-nvme-over-fabrics-using-tcp and https://blogs.oracle.com/linux/post/nvme-over-tcp

- NVMe-oF authentication support: https://blogs.oracle.com/linux/post/nvme-inband-authentication

- NVMe-oF TLS support (kernel >=6.7 required): https://lwn.net/Articles/942817/
2024-03-07 19:46:49 +01:00
Paolo Sabatino
99836c47df rockchip64: reenable rtw88 usb/sdio wifi devices (except 8723ds) 2024-01-27 19:16:00 +01:00
Paolo Sabatino
f3db251acf rockchip64: reinstate sane kernel configurations 2024-01-27 19:16:00 +01:00
Brent Roman
96caa18e95 Boot script overrides u-boot's fdt_addr_r to ensure the
ever expanding Linux kernel will not overlap the device tree load area
2024-01-26 08:39:10 +01:00
Paolo Sabatino
1c54806da5 rockchip64: import RFC patch for rockchip TRNG 2024-01-22 21:18:31 +01:00
Paolo Sabatino
12b53d8828 rockchip64: update kernel configs 2024-01-14 14:14:50 +01:00
lanefu
a4d3dcb879
switch default cpu governor to schedutil (#6120)
* switch schedutil to default cpu governor
* rollback 3 governors on 3 edge cases
2024-01-01 15:14:02 +01:00
Igor
fae4f66439
Merge Odroid M1 into rockchip64 family (#6015) 2023-12-07 09:22:42 +01:00
Igor Pecovnik
f9528c6ec4 Update Waydroid (Android) kernel dependencies 2023-12-06 20:54:32 +01:00
msdos03
004d5190ef
rockchip64: enable ARM_PSCI_CPUIDLE for current and edge branch (#5594)
* rockchip64: refresh kernel config of current and edge branch
* rockchip64: enable ARM_PSCI_CPUIDLE for current and edge branch
---------

Co-authored-by: Igor <igor@armbian.com>
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2023-11-26 19:14:52 +01:00