mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
dt-bindings: video: mpp: add reset group
Change-Id: Ibffc586265f2cfc390d9fe4941d7cb91bc46bec4 Signed-off-by: Grey Li <grey.li@rock-chips.com>
This commit is contained in:
@@ -18,12 +18,20 @@ Required properties:
|
||||
"rockchip,rkv-encoder-rv1108",
|
||||
"rockchip,hevc-encoder-v22",
|
||||
|
||||
-rockchip,srv: The pointer of service device node.
|
||||
- rockchip,srv: The pointer of service device node.
|
||||
the value must be the name of service device, like <&mpp_srv>.
|
||||
|
||||
- rockchip,taskqueue-node: The taskqueue node number of current device working.
|
||||
the value must between 0 and rockchip,taskqueue-count
|
||||
|
||||
- rockchip,resetgroup-node: The resetgroup node number of current reset group.
|
||||
If two devices have the same reset clk, they should in the same reset group.
|
||||
the value must between 0 and rockchip,resetgroup-count
|
||||
|
||||
- reset-name: The name of reset clk.
|
||||
If two devices have the same reset clk, the reset-name should stay the same
|
||||
and add "shared_" prefix.
|
||||
|
||||
Example:
|
||||
|
||||
DT entry:
|
||||
@@ -36,11 +44,12 @@ DT entry:
|
||||
clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
|
||||
clock-names = "aclk_vcodec", "hclk_vcodec";
|
||||
resets = <&cru SRST_H_VCODEC>, <&cru SRST_A_VCODEC>;
|
||||
reset-names = "video_h", "video_a";
|
||||
reset-names = "shared_video_h", "shared_video_a";
|
||||
iommus = <&vpu_mmu>;
|
||||
power-domains = <&power RK3399_PD_VCODEC>;
|
||||
rockchip,srv = <&mpp_srv>;
|
||||
rockchip,taskqueue-node = <0>;
|
||||
rockchip,resetgroup-node = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -52,10 +61,11 @@ DT entry:
|
||||
clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
|
||||
clock-names = "aclk_vcodec", "hclk_vcodec";
|
||||
resets = <&cru SRST_H_VCODEC>, <&cru SRST_A_VCODEC>;
|
||||
reset-names = "video_h", "video_a";
|
||||
reset-names = "shared_video_h", "shared_video_a";
|
||||
iommus = <&vpu_mmu>;
|
||||
rockchip,srv = <&mpp_srv>;
|
||||
rockchip,taskqueue-node = <0>;
|
||||
rockchip,resetgroup-node = <0>;
|
||||
power-domains = <&power RK3399_PD_VCODEC>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -6,9 +6,13 @@ Required properties:
|
||||
- rockchip,taskqueue-count: the value of queue nodes for task running
|
||||
the value must be between 1 and 8
|
||||
|
||||
- rockchip,resetgroup-count: the value of reset clk groups for device reset
|
||||
the value must be between 1 and 8
|
||||
|
||||
Example:
|
||||
mpp_srv: mpp_srv {
|
||||
compatible = "rockchip,mpp-service";
|
||||
rockchip,taskqueue-count = <1>;
|
||||
rockchip,resetgroup-count = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user