Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged rockpi-s dev info rockchip64-dev and moved to 5.6.y (#1874)
Added all patches from @ashthespy repository
- Loading branch information
1 parent
113f574
commit 5e251dc
Showing
34 changed files
with
14,113 additions
and
168 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
62 changes: 0 additions & 62 deletions
62
patch/kernel/rockchip64-dev/board-roc-rk3399-pc-add-sound-pcie-supplies.patch
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
patch/kernel/rockchip64-dev/board-roc-rk3399-pc-fix-disable-hs400.patch
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
59 changes: 59 additions & 0 deletions
59
patch/kernel/rockchip64-dev/rockpis-0003-WIP-Wireless-support.patch
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,59 @@ | ||
From 44f753e6f7be183e49c408d4db8a2c7530e7f057 Mon Sep 17 00:00:00 2001 | ||
From: ashthespy <ashthespy@gmail.com> | ||
Date: Wed, 15 Jan 2020 20:03:48 +0100 | ||
Subject: [PATCH 03/23] WIP: Wireless support | ||
|
||
--- | ||
.../boot/dts/rockchip/rk3308-rock-pi-s.dts | 21 +++++++++++++++++++ | ||
1 file changed, 21 insertions(+) | ||
|
||
diff --git a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts | ||
index f06ff0c6e028..88468a6065cf 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts | ||
@@ -39,6 +39,12 @@ sdio_pwrseq: sdio-pwrseq { | ||
compatible = "mmc-pwrseq-simple"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&wifi_enable_h>; | ||
+ /* | ||
+ * On the module itself this is one of these (depending | ||
+ * on the actual card populated): | ||
+ * - SDIO_RESET_L_WL_REG_ON | ||
+ * - PDN (power down when low) | ||
+ */ | ||
reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; | ||
}; | ||
|
||
@@ -114,6 +120,19 @@ vcc5v0_otg: vcc5v0-otg { | ||
pinctrl-0 = <&otg_vbus_drv>; | ||
vin-supply = <&vcc5v0_sys>; | ||
}; | ||
+ | ||
+ wireless-wlan { | ||
+ compatible = "wlan-platdata"; | ||
+ rockchip,grf = <&grf>; | ||
+ clocks = <&cru SCLK_WIFI>; | ||
+ clock-names = "clk_wifi"; | ||
+ ref-clock-frequency = <24000000>; | ||
+ pinctrl-names = "default"; | ||
+ pinctrl-0 = <&wifi_host_wake>; | ||
+ wifi_chip_type = "rtl8723ds"; | ||
+ WIFI,host_wake_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; | ||
+ status = "okay"; | ||
+ }; | ||
}; | ||
|
||
&cpu0 { | ||
@@ -180,7 +199,9 @@ sdio-pwrseq { | ||
wifi_enable_h: wifi-enable-h { | ||
rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; | ||
}; | ||
+ }; | ||
|
||
+ wireless-wlan { | ||
wifi_host_wake: wifi-host-wake { | ||
rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>; | ||
}; | ||
-- | ||
2.25.1 | ||
|
Oops, something went wrong.