xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/rockchip-tsp.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1device-tree bindings for rockchip Transport Stream Processing Module (TSP)
2
3TSP is designed for processing Transport Stream Packets,
4including receiving TS packets, PID filtering, TS descrambling,
5De-multiplexing and TS outputting.Processed data are transferred to
6memory buffer which are continued to be processing by software.
7
8Required properties:
9- compatible: value should be one of the following
10		"rockchip,rk312x-tsp";
11		"rockchip,rk3228-tsp";
12		"rockchip,rk3288-tsp";
13		"rockchip,rk3328-tsp";
14		"rockchip,rk3368-tsp";
15
16- reg : offset and length of the register set for the device.
17
18- interrupts: TSP interrupt specifier.
19
20- interrupts-name: should be "irq_tsp".
21
22- clocks: phandle to TSP sclk/hclk/aclk clocks
23
24- clock-names: should be "clk_tsp", "hclk_tsp" and "aclk_tsp"
25
26- pinctrl-names: use "default"
27
28- pinctrl-0: pin config for iomux
29
30Example:
31SoC-specific DT entry:
32	tsp: tsp@ff050000 {
33		compatible = "rockchip,rk3328-tsp";
34		reg = <0x0 0xff050000 0x0 0x10000>;
35		rockchip,grf = <&grf>;
36		interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
37		interrupt-names = "irq_tsp";
38		clocks = <&cru SCLK_TSP>, <&cru ACLK_TSP>, <&cru HCLK_TSP>;
39		clock-names = "clk_tsp", "aclk_tsp", "hclk_tsp";
40		pinctrl-names = "default";
41		pinctrl-0 = <&tsp_d0
42			     &tsp_d1
43			     &tsp_d2
44			     &tsp_d3
45			     &tsp_d4
46			     &tsp_d5
47			     &tsp_d6
48			     &tsp_d7
49			     &tsp_sync
50			     &tsp_clk
51			     &tsp_fail
52			     &tsp_valid>;
53		status = "disabled";
54	};
55