mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
rockchip-legacy: Enable RGA for RK3288
This commit is contained in:
@@ -3458,7 +3458,7 @@ CONFIG_LCD_GENERAL=y
|
||||
#
|
||||
# RGA2
|
||||
#
|
||||
# CONFIG_ROCKCHIP_RGA2 is not set
|
||||
CONFIG_ROCKCHIP_RGA2=y
|
||||
|
||||
#
|
||||
# VCODEC
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
KERNEL=="media*", MODE="0660", GROUP="video"
|
||||
KERNEL=="rga", MODE="0660", GROUP="video"
|
||||
|
||||
36
patch/kernel/rockchip-legacy/600-rk3288-enable-rga.patch
Normal file
36
patch/kernel/rockchip-legacy/600-rk3288-enable-rga.patch
Normal file
@@ -0,0 +1,36 @@
|
||||
From 8fbf0f576585966f2b8f724e83d28fab3b8a76b4 Mon Sep 17 00:00:00 2001
|
||||
From: JMCC <jmcc1@gmx.com>
|
||||
Date: Mon, 4 Jan 2021 16:27:59 +0100
|
||||
Subject: [PATCH] rk3288-enable-rga
|
||||
|
||||
Signed-off-by: JMCC <jmcc1@gmx.com>
|
||||
---
|
||||
arch/arm/boot/dts/rk3288.dtsi | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
|
||||
index fb57f6fa..8f37933c 100644
|
||||
--- a/arch/arm/boot/dts/rk3288.dtsi
|
||||
+++ b/arch/arm/boot/dts/rk3288.dtsi
|
||||
@@ -1293,15 +1293,15 @@
|
||||
};
|
||||
|
||||
rga: rga@ff920000 {
|
||||
- compatible = "rockchip,rk3288-rga";
|
||||
+ compatible = "rockchip,rga2";
|
||||
reg = <0x0 0xff920000 0x0 0x180>;
|
||||
interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>;
|
||||
- clock-names = "aclk", "hclk", "sclk";
|
||||
+ clock-names = "aclk_rga", "hclk_rga", "clk_rga";
|
||||
power-domains = <&power RK3288_PD_VIO>;
|
||||
resets = <&cru SRST_RGA_CORE>, <&cru SRST_RGA_AXI>, <&cru SRST_RGA_AHB>;
|
||||
reset-names = "core", "axi", "ahb";
|
||||
- status = "disabled";
|
||||
+ status = "okay";
|
||||
};
|
||||
|
||||
vopb: vop@ff930000 {
|
||||
--
|
||||
Created with Armbian build tools https://github.com/armbian/build
|
||||
|
||||
Reference in New Issue
Block a user