Skip to content

Commit

Permalink
usb3 driver not work
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxiaoyu committed Sep 27, 2024
1 parent 11bb73c commit 86bcdc5
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/openwrt-builder-Latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ jobs:
run: |
git checkout .
[ -e $R1_Plus_LTS_PATCH ] && mv $R1_Plus_LTS_PATCH openwrt/target/linux/rockchip/patches-6.6
#[ -e $R1_Plus_LTS_PATCH ] && mv $R1_Plus_LTS_PATCH openwrt/target/linux/rockchip/patches-6.6
[ -e "$PATCHES_DIR" ] && mv "$PATCHES_DIR" openwrt/patches && cd openwrt && git apply --ignore-whitespace patches/*.patch && rm -rf patches
rm -rf target/linux/rockchip/patches-6.6/991-arm64-dts-rockchip-add-more-cpu-operating-points-for.patch
wget -O target/linux/rockchip/patches-6.6/991-arm64-dts-rockchip-add-more-cpu-operating-points-for.patch https://raw.githubusercontent.com/mingxiaoyu/Actions-OpenWrt/main/991-arm64-dts-rockchip-add-more-cpu-operating-points-for.patch

- name: Load custom feeds
run: |
Expand Down
39 changes: 39 additions & 0 deletions 991-arm64-dts-rockchip-add-more-cpu-operating-points-for.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Leonidas P. Papadakos <[email protected]>
Date: Fri, 1 Mar 2019 21:55:53 +0200
Subject: [PATCH v2] arm64: dts: rockchip: add more cpu operating points for
RK3328

This allows for greater max frequency on rk3328 boards,
increasing performance.

It has been included in Armbian (a linux distibution for ARM boards)
for a while now without any reported issues

https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1392mhz-opp.patch
https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1512mhz-opp.patch

Signed-off-by: Leonidas P. Papadakos <[email protected]>
---
arch/arm64/boot/dts/rockchip/rk3328.dtsi | 15 +++++++++++++++
1 files changed, 15 insertions(+)

--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
@@ -143,6 +143,16 @@
opp-microvolt = <1300000>;
clock-latency-ns = <40000>;
};
+ opp-1392000000 {
+ opp-hz = /bits/ 64 <1392000000>;
+ opp-microvolt = <1350000>;
+ clock-latency-ns = <40000>;
+ };
+ opp-1512000000 {
+ opp-hz = /bits/ 64 <1512000000>;
+ opp-microvolt = <1450000>;
+ clock-latency-ns = <40000>;
+ };
};

analog_sound: analog-sound {
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,3 @@
+ };
};

&dmc_opp_table {
@@ -19,6 +53,7 @@
/delete-node/ opp-840000000;
/delete-node/ opp-924000000;
/delete-node/ opp-1056000000;
+ /delete-node/ opp-1608000000;
};

&gmac2io {

0 comments on commit 86bcdc5

Please sign in to comment.