-
Notifications
You must be signed in to change notification settings - Fork 19.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rockchip: fix build issue with linux 5.15
- Loading branch information
1 parent
55b08d2
commit ad43ee0
Showing
11 changed files
with
9,340 additions
and
0 deletions.
There are no files selected for viewing
3,447 changes: 3,447 additions & 0 deletions
3,447
target/linux/rockchip/files-5.15/arch/arm64/boot/dts/rockchip/rk3588-base-pinctrl.dtsi
Large diffs are not rendered by default.
Oops, something went wrong.
2,911 changes: 2,911 additions & 0 deletions
2,911
target/linux/rockchip/files-5.15/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi
Large diffs are not rendered by default.
Oops, something went wrong.
516 changes: 516 additions & 0 deletions
516
target/linux/rockchip/files-5.15/arch/arm64/boot/dts/rockchip/rk3588-extra-pinctrl.dtsi
Large diffs are not rendered by default.
Oops, something went wrong.
448 changes: 448 additions & 0 deletions
448
target/linux/rockchip/files-5.15/arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi
Large diffs are not rendered by default.
Oops, something went wrong.
190 changes: 190 additions & 0 deletions
190
target/linux/rockchip/files-5.15/arch/arm64/boot/dts/rockchip/rk3588-opp.dtsi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
|
||
/ { | ||
cluster0_opp_table: opp-table-cluster0 { | ||
compatible = "operating-points-v2"; | ||
opp-shared; | ||
|
||
opp-1008000000 { | ||
opp-hz = /bits/ 64 <1008000000>; | ||
opp-microvolt = <675000 675000 950000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-1200000000 { | ||
opp-hz = /bits/ 64 <1200000000>; | ||
opp-microvolt = <712500 712500 950000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-1416000000 { | ||
opp-hz = /bits/ 64 <1416000000>; | ||
opp-microvolt = <762500 762500 950000>; | ||
clock-latency-ns = <40000>; | ||
opp-suspend; | ||
}; | ||
opp-1608000000 { | ||
opp-hz = /bits/ 64 <1608000000>; | ||
opp-microvolt = <850000 850000 950000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-1800000000 { | ||
opp-hz = /bits/ 64 <1800000000>; | ||
opp-microvolt = <950000 950000 950000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
}; | ||
|
||
cluster1_opp_table: opp-table-cluster1 { | ||
compatible = "operating-points-v2"; | ||
opp-shared; | ||
|
||
opp-1200000000 { | ||
opp-hz = /bits/ 64 <1200000000>; | ||
opp-microvolt = <675000 675000 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-1416000000 { | ||
opp-hz = /bits/ 64 <1416000000>; | ||
opp-microvolt = <725000 725000 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-1608000000 { | ||
opp-hz = /bits/ 64 <1608000000>; | ||
opp-microvolt = <762500 762500 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-1800000000 { | ||
opp-hz = /bits/ 64 <1800000000>; | ||
opp-microvolt = <850000 850000 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-2016000000 { | ||
opp-hz = /bits/ 64 <2016000000>; | ||
opp-microvolt = <925000 925000 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-2208000000 { | ||
opp-hz = /bits/ 64 <2208000000>; | ||
opp-microvolt = <987500 987500 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-2400000000 { | ||
opp-hz = /bits/ 64 <2400000000>; | ||
opp-microvolt = <1000000 1000000 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
}; | ||
|
||
cluster2_opp_table: opp-table-cluster2 { | ||
compatible = "operating-points-v2"; | ||
opp-shared; | ||
|
||
opp-1200000000 { | ||
opp-hz = /bits/ 64 <1200000000>; | ||
opp-microvolt = <675000 675000 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-1416000000 { | ||
opp-hz = /bits/ 64 <1416000000>; | ||
opp-microvolt = <725000 725000 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-1608000000 { | ||
opp-hz = /bits/ 64 <1608000000>; | ||
opp-microvolt = <762500 762500 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-1800000000 { | ||
opp-hz = /bits/ 64 <1800000000>; | ||
opp-microvolt = <850000 850000 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-2016000000 { | ||
opp-hz = /bits/ 64 <2016000000>; | ||
opp-microvolt = <925000 925000 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-2208000000 { | ||
opp-hz = /bits/ 64 <2208000000>; | ||
opp-microvolt = <987500 987500 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
opp-2400000000 { | ||
opp-hz = /bits/ 64 <2400000000>; | ||
opp-microvolt = <1000000 1000000 1000000>; | ||
clock-latency-ns = <40000>; | ||
}; | ||
}; | ||
|
||
gpu_opp_table: opp-table { | ||
compatible = "operating-points-v2"; | ||
|
||
opp-300000000 { | ||
opp-hz = /bits/ 64 <300000000>; | ||
opp-microvolt = <675000 675000 850000>; | ||
}; | ||
opp-400000000 { | ||
opp-hz = /bits/ 64 <400000000>; | ||
opp-microvolt = <675000 675000 850000>; | ||
}; | ||
opp-500000000 { | ||
opp-hz = /bits/ 64 <500000000>; | ||
opp-microvolt = <675000 675000 850000>; | ||
}; | ||
opp-600000000 { | ||
opp-hz = /bits/ 64 <600000000>; | ||
opp-microvolt = <675000 675000 850000>; | ||
}; | ||
opp-700000000 { | ||
opp-hz = /bits/ 64 <700000000>; | ||
opp-microvolt = <700000 700000 850000>; | ||
}; | ||
opp-800000000 { | ||
opp-hz = /bits/ 64 <800000000>; | ||
opp-microvolt = <750000 750000 850000>; | ||
}; | ||
opp-900000000 { | ||
opp-hz = /bits/ 64 <900000000>; | ||
opp-microvolt = <800000 800000 850000>; | ||
}; | ||
opp-1000000000 { | ||
opp-hz = /bits/ 64 <1000000000>; | ||
opp-microvolt = <850000 850000 850000>; | ||
}; | ||
}; | ||
}; | ||
|
||
&cpu_b0 { | ||
operating-points-v2 = <&cluster1_opp_table>; | ||
}; | ||
|
||
&cpu_b1 { | ||
operating-points-v2 = <&cluster1_opp_table>; | ||
}; | ||
|
||
&cpu_b2 { | ||
operating-points-v2 = <&cluster2_opp_table>; | ||
}; | ||
|
||
&cpu_b3 { | ||
operating-points-v2 = <&cluster2_opp_table>; | ||
}; | ||
|
||
&cpu_l0 { | ||
operating-points-v2 = <&cluster0_opp_table>; | ||
}; | ||
|
||
&cpu_l1 { | ||
operating-points-v2 = <&cluster0_opp_table>; | ||
}; | ||
|
||
&cpu_l2 { | ||
operating-points-v2 = <&cluster0_opp_table>; | ||
}; | ||
|
||
&cpu_l3 { | ||
operating-points-v2 = <&cluster0_opp_table>; | ||
}; | ||
|
||
&gpu { | ||
operating-points-v2 = <&gpu_opp_table>; | ||
}; |
8 changes: 8 additions & 0 deletions
8
target/linux/rockchip/files-5.15/arch/arm64/boot/dts/rockchip/rk3588.dtsi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
* Copyright (c) 2022 Rockchip Electronics Co., Ltd. | ||
* | ||
*/ | ||
|
||
#include "rk3588-extra.dtsi" | ||
#include "rk3588-opp.dtsi" |
20 changes: 20 additions & 0 deletions
20
target/linux/rockchip/files-5.15/include/dt-bindings/ata/ahci.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */ | ||
/* | ||
* This header provides constants for most AHCI bindings. | ||
*/ | ||
|
||
#ifndef _DT_BINDINGS_ATA_AHCI_H | ||
#define _DT_BINDINGS_ATA_AHCI_H | ||
|
||
/* Host Bus Adapter generic platform capabilities */ | ||
#define HBA_SSS (1 << 27) | ||
#define HBA_SMPS (1 << 28) | ||
|
||
/* Host Bus Adapter port-specific platform capabilities */ | ||
#define HBA_PORT_HPCP (1 << 18) | ||
#define HBA_PORT_MPSP (1 << 19) | ||
#define HBA_PORT_CPD (1 << 20) | ||
#define HBA_PORT_ESP (1 << 21) | ||
#define HBA_PORT_FBSCP (1 << 22) | ||
|
||
#endif |
Oops, something went wrong.