Skip to content

Commit

Permalink
rk356x-rga(:1)
Browse files Browse the repository at this point in the history
Original-Subject: [ARCHEOLOGY] update rockchip64-edge to 5.18 (#3814)
> X-Git-Archeology: - Revision 597d2dac11f00d9070a4e49d6bad1b2244e36cb3: armbian/build@597d2da
> X-Git-Archeology:   Date: Sat, 28 May 2022 07:56:22 +0200
> X-Git-Archeology:   From: Jianfeng Liu <liujianfeng1994@gmail.com>
> X-Git-Archeology:   Subject: update rockchip64-edge to 5.18 (#3814)
> X-Git-Archeology: 
> X-Git-Archeology: - Revision 34ae84fac5d0b66a1ab2d1e51534b7beb13ef245: armbian/build@34ae84f
> X-Git-Archeology:   Date: Fri, 05 May 2023 14:22:00 +0200
> X-Git-Archeology:   From: amazingfate <liujianfeng1994@gmail.com>
> X-Git-Archeology:   Subject: bump rockchip64 edge to v6.3
> X-Git-Archeology: 
X-Armbian: Patch-File: rk356x-rga
X-Armbian: Patch-File-Counter: 1
X-Armbian: Patch-Rel-Directory: patch/kernel/archive/rockchip64-6.3
X-Armbian: Patch-Type: kernel
X-Armbian: Patch-Root-Type: core
X-Armbian: Patch-Sub-Type: common
X-Armbian: Original-Subject: [ARCHEOLOGY] update rockchip64-edge to 5.18 (#3814)
  • Loading branch information
amazingfate authored and Armbian AutoPatcher committed May 28, 2022
1 parent a142fa3 commit c165808
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/media/rockchip-rga.yaml
Expand Up @@ -20,9 +20,11 @@ properties:
oneOf:
- const: rockchip,rk3288-rga
- const: rockchip,rk3399-rga
- const: rockchip,rk356x-rga
- items:
- const: rockchip,rk3228-rga
- const: rockchip,rk3288-rga
- const: rockchip,rk356x-rga

reg:
maxItems: 1
Expand Down
11 changes: 11 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk356x.dtsi
Expand Up @@ -633,6 +633,17 @@
#iommu-cells = <0>;
};

rga: rga@fdeb0000 {
compatible = "rockchip,rk356x-rga";
reg = <0x0 0xfdeb0000 0x0 0x10000>;
interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru CLK_RGA_CORE>;
clock-names = "aclk", "hclk", "sclk";
resets = <&cru SRST_RGA_CORE>, <&cru SRST_A_RGA>, <&cru SRST_H_RGA>;
reset-names = "core", "axi", "ahb";
power-domains = <&power RK3568_PD_RGA>;
};

sdmmc2: mmc@fe000000 {
compatible = "rockchip,rk3568-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xfe000000 0x0 0x4000>;
Expand Down
3 changes: 3 additions & 0 deletions drivers/media/platform/rockchip/rga/rga.c
Expand Up @@ -979,6 +979,9 @@ static const struct of_device_id rockchip_rga_match[] = {
{
.compatible = "rockchip,rk3399-rga",
},
{
.compatible = "rockchip,rk356x-rga",
},
{},
};

Expand Down

0 comments on commit c165808

Please sign in to comment.