diff --git a/patch/kernel/rockchip-default/xt-q8l-v10-add-device-tree.patch b/patch/kernel/rockchip-default/xt-q8l-v10-add-device-tree.patch index a468b9e0e..82814dae6 100644 --- a/patch/kernel/rockchip-default/xt-q8l-v10-add-device-tree.patch +++ b/patch/kernel/rockchip-default/xt-q8l-v10-add-device-tree.patch @@ -1,4 +1,4 @@ ---- /dev/null 2018-11-29 17:19:47.960000000 +0000 +--- /dev/null 2018-12-06 21:33:05.512000000 +0000 +++ b/arch/arm/boot/dts/rk3288-xt-q8l-v10.dts 2018-09-23 13:07:34.000000000 +0000 @@ -0,0 +1,1120 @@ +/* diff --git a/patch/kernel/rockchip-dev/xt-q8l-v10-add-device-tree.patch b/patch/kernel/rockchip-dev/xt-q8l-v10-add-device-tree.patch index 5beae03d5..1d93886e1 100644 --- a/patch/kernel/rockchip-dev/xt-q8l-v10-add-device-tree.patch +++ b/patch/kernel/rockchip-dev/xt-q8l-v10-add-device-tree.patch @@ -1,6 +1,6 @@ ---- /dev/null 2018-11-29 17:19:47.960000000 +0000 -+++ b/arch/arm/boot/dts/rk3288-xt-q8l-v10.dts 2018-11-29 21:12:34.069256135 +0000 -@@ -0,0 +1,951 @@ +--- /dev/null 2018-12-06 21:33:05.512000000 +0000 ++++ b/arch/arm/boot/dts/rk3288-xt-q8l-v10.dts 2018-12-06 21:46:51.493688015 +0000 +@@ -0,0 +1,966 @@ +/* + * Copyright (c) 2014, 2015 FUKAUMI Naoki + * 2018 Paolo Sabatino @@ -313,6 +313,21 @@ + /delete-node/operating-points; +}; + ++&cpu1 { ++ operating-points-v2 = <&cpu0_opp_table>; ++ /delete-node/operating-points; ++}; ++ ++&cpu2 { ++ operating-points-v2 = <&cpu0_opp_table>; ++ /delete-node/operating-points; ++}; ++ ++&cpu3 { ++ operating-points-v2 = <&cpu0_opp_table>; ++ /delete-node/operating-points; ++}; ++ +&gmac { + assigned-clocks = <&cru SCLK_MAC>; + assigned-clock-parents = <&ext_gmac>; @@ -331,7 +346,6 @@ + +&hdmi { + ddc-i2c-bus = <&i2c5>; -+ #sound-dai-cells = <0>; + status = "okay"; +}; + @@ -395,6 +409,7 @@ + inl1-supply = <&vcc_sys>; + inl2-supply = <&vcc_sys>; + inl3-supply = <&vcc_20>; ++ wakeup-source; + + regulators { + @@ -549,6 +564,7 @@ + * Here should go the RK1000 audio codec parts, but seems that + * there is no driver in linux kernel at the moment, so we can't + * describe it. ++ * Also, most important, there is no RK1000 on our board :) + * Datasheet is available here: + * http://dl.radxa.com/rock/docs/hw/ds/RK1000-S%20DATASHEET%20V14.pdf + */ @@ -838,7 +854,6 @@ + dmas = <&dmac_peri 1 &dmac_peri 2>; + dma-names = "tx", "rx"; + status = "okay"; -+// uart-has-rtscts; +}; + +&uart1 { @@ -866,6 +881,7 @@ +}; + +/* ++ * Here usbphy* should have their proper reset lines described in rk3288.dtsi + * Describing resets for usb phy is important because otherwise the USB + * port gets stuck in case it goes into autosuspend: plugging any device + * when the port is autosuspended will actually kill the port itself and @@ -874,6 +890,7 @@ + * specify the proper resources for all the phys though. + * The reference patch which works in conjuction with the reset lines: + * https://patchwork.kernel.org/patch/9469811/ ++ * + */ +&usbphy { + status = "okay"; @@ -902,30 +919,20 @@ +}; + +/* -+ * Enalbe VPU services and complete the relative IOMMU configurations -+ * including the clocks which are currently missing (kernel 4.17.2) from -+ * the current base definitions from rk3288.dtsi include file ++ * Enable VPU services and complete the relative IOMMU configurations + */ +&vopb { + status = "okay"; +}; + -+&vopl { -+ status = "okay"; -+}; -+ -+&vpu_service { -+ status = "okay"; -+}; -+ -+&hevc_service { -+ status = "okay"; -+}; -+ +&vopb_mmu { + status = "okay"; +}; + ++&vopl { ++ status = "okay"; ++}; ++ +&vopl_mmu { + status = "okay"; +}; @@ -934,10 +941,18 @@ + status = "okay"; +}; + ++&vpu_service { ++ status = "okay"; ++}; ++ +&hevc_mmu { + status = "okay"; +}; + ++&hevc_service { ++ status = "okay"; ++}; ++ +&wdt { + status = "okay"; +}; diff --git a/patch/kernel/rockchip-next/xt-q8l-v10-add-device-tree.patch b/patch/kernel/rockchip-next/xt-q8l-v10-add-device-tree.patch index 2dba063c2..4c17f841b 100644 --- a/patch/kernel/rockchip-next/xt-q8l-v10-add-device-tree.patch +++ b/patch/kernel/rockchip-next/xt-q8l-v10-add-device-tree.patch @@ -1,4 +1,4 @@ ---- /dev/null 2018-11-29 17:19:47.960000000 +0000 +--- /dev/null 2018-12-06 21:33:05.512000000 +0000 +++ b/arch/arm/boot/dts/rk3288-xt-q8l-v10.dts 2018-11-29 21:02:56.636665164 +0000 @@ -0,0 +1,951 @@ +/* diff --git a/patch/u-boot/u-boot-rockchip/board_xt-q8l-v10/xt-q8l-v10-device-tree.patch b/patch/u-boot/u-boot-rockchip/board_xt-q8l-v10/xt-q8l-v10-device-tree.patch index d18ba9638..fcc1aea24 100644 --- a/patch/u-boot/u-boot-rockchip/board_xt-q8l-v10/xt-q8l-v10-device-tree.patch +++ b/patch/u-boot/u-boot-rockchip/board_xt-q8l-v10/xt-q8l-v10-device-tree.patch @@ -1,4 +1,4 @@ ---- /dev/null 2018-11-29 17:19:47.960000000 +0000 +--- /dev/null 2018-12-06 21:33:05.512000000 +0000 +++ b/arch/arm/dts/rk3288-xt-q8l-v10.dts 2018-09-23 12:59:27.000000000 +0000 @@ -0,0 +1,740 @@ +/*