From 141d3d285ac9043d63c571680736cc5e17a8d329 Mon Sep 17 00:00:00 2001 From: Tony Date: Sun, 18 Dec 2022 16:27:53 -0500 Subject: [PATCH] Delete add-board-rk3399-roc-pc-plus.patch (#4587) Device tree exists in mainline and is more complete. Also likely this board is not using this kernel anyway. --- .../add-board-rk3399-roc-pc-plus.patch | 134 ------------------ 1 file changed, 134 deletions(-) delete mode 100644 patch/kernel/archive/rockchip64-6.1/add-board-rk3399-roc-pc-plus.patch diff --git a/patch/kernel/archive/rockchip64-6.1/add-board-rk3399-roc-pc-plus.patch b/patch/kernel/archive/rockchip64-6.1/add-board-rk3399-roc-pc-plus.patch deleted file mode 100644 index bfc792f64e..0000000000 --- a/patch/kernel/archive/rockchip64-6.1/add-board-rk3399-roc-pc-plus.patch +++ /dev/null @@ -1,134 +0,0 @@ ---- /dev/null -+++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts -@@ -0,0 +1,130 @@ -+// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -+/* -+ * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd -+ */ -+ -+/dts-v1/; -+#include "rk3399-roc-pc-mezzanine.dts" -+ -+/ { -+ model = "Firefly roc-rk3399-pc PLUS"; -+ compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399"; -+ -+ vcc_sys: vcc-sys { -+/delete-property/ gpio; -+/delete-property/ pinctrl-names; -+/delete-property/ pinctrl-0; -+ }; -+ -+ es8388-sound { -+ status = "okay"; -+ compatible = "simple-audio-card"; -+ simple-audio-card,format = "i2s"; -+ simple-audio-card,name = "rockchip,es8388-codec"; -+ simple-audio-card,mclk-fs = <256>; -+ simple-audio-card,cpu { -+ sound-dai = <&i2s1>; -+ system-clock-frequency = <11289600>; -+ }; -+ simple-audio-card,codec { -+ sound-dai = <&es8388>; -+ system-clock-frequency = <11289600>; -+ }; -+ }; -+ -+ leds { -+ compatible = "gpio-leds"; -+ -+ yellow_led: led-2 { -+ label = "yellow:yellow-led"; -+ gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; -+ default-state = "off"; -+ linux,default-trigger = "mmc1"; -+ }; -+ -+ FAN_EN { -+ //fan power -+ gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; //GPIO1_A1 -+ default-state = "on"; -+ }; -+ }; -+}; -+ -+&rk808{ -+ rtc { -+ compatible = "rk808-rtc"; -+ status = "disabled"; -+ }; -+}; -+ -+&i2c0 { -+ status = "okay"; -+ hym8563: hym8563@51 { -+ compatible = "haoyu,hym8563"; -+ reg = <0x51>; -+ interrupt-parent = <&gpio0>; -+ interrupts = <5 IRQ_TYPE_EDGE_FALLING>; -+ pinctrl-names = "default"; -+ #clock-cells = <0>; -+ clock-frequency = <32768>; -+ clock-output-names = "xin32k"; -+ }; -+}; -+ -+&i2s1 { -+ status = "okay"; -+}; -+ -+&i2c1 { -+ status = "okay"; -+ es8388: es8388@11 { -+ compatible = "everest,es8388"; -+ status = "okay"; -+ reg = <0x11>; -+ hp-det-gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>; -+ hp-ctl-gpio = <&gpio0 2 GPIO_ACTIVE_HIGH>; -+ clock-names = "mclk"; -+ clocks = <&cru SCLK_I2S_8CH_OUT>; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&i2s_8ch_mclk>; -+ pinctrl-1 = <&ear_ctl_h>; -+ #sound-dai-cells = <0>; -+ }; -+}; -+ -+&pinctrl { -+ -+ i2s0 { -+ -+ i2s0_8ch_bus: i2s0-8ch-bus { -+ rockchip,pins = -+ <3 RK_PD0 1 &pcfg_pull_none>, -+ <3 RK_PD1 1 &pcfg_pull_none>, -+ <3 RK_PD2 1 &pcfg_pull_none>, -+ <3 RK_PD3 1 &pcfg_pull_none>, -+ <3 RK_PD4 1 &pcfg_pull_none>, -+ <3 RK_PD5 1 &pcfg_pull_none>, -+ <3 RK_PD6 1 &pcfg_pull_none>, -+ <3 RK_PD7 1 &pcfg_pull_none>; -+ }; -+ -+ i2s_8ch_mclk: i2s-8ch-mclk { -+ rockchip,pins = <4 0 1 &pcfg_pull_none>; -+ }; -+ -+ }; -+ -+ leds { -+ -+ yellow_led_pin: yellow-led-pin { -+ rockchip,pins = <0 13 RK_FUNC_GPIO &pcfg_pull_none>; -+ }; -+ }; -+ -+ es8388-pins { -+ ear_ctl_h: ear-ctl-h { -+ rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_down>; -+ }; -+ }; -+ -+}; -