hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Rockchip RK3399 specific extensions to the cdn Display Port with rkfb
================================
 
Required properties:
- compatible: must be "rockchip,rk3399-cdn-dp-fb"
 
- reg: physical base address of the controller and length
 
- clocks: from common clock binding: handle to dp clock.
 
- clock-names: from common clock binding:
          Required elements: "core-clk" "pclk" "spdif"
 
- resets : a list of phandle + reset specifier pairs
- reset-names : string reset name, must be:
       "spdif"
- power-domains : power-domain property defined with a phandle
         to respective power domain.
- assigned-clocks: main clock, should be <&cru SCLK_DP_CORE>
- assigned-clock-rates : the DP core clk frequency, shall be: 100000000
 
- rockchip,grf: this soc should set GRF regs, so need get grf here.
 
- phys: from general PHY binding: the phandle for the PHY device.
 
- extcon: extcon specifier for the Power Delivery
 
- #sound-dai-cells = it must be 1 if your system is using 2 DAIs: I2S, SPDIF
 
-------------------------------------------------------------------------------
 
Example:
   cdn_dp_fb: dp-fb@fec00000 {
       compatible = "rockchip,rk3399-cdn-dp-fb";
       reg = <0x0 0xfec00000 0x0 0x100000>;
       interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
       clocks = <&cru SCLK_DP_CORE>, <&cru PCLK_DP_CTRL>,
            <&cru SCLK_SPDIF_REC_DPTX>;
       clock-names = "core-clk", "pclk", "spdif";
       assigned-clocks = <&cru SCLK_DP_CORE>;
       assigned-clock-rates = <100000000>;
       power-domains = <&power RK3399_PD_HDCP>;
       phys = <&tcphy0 0>, <&tcphy1 0>;
       resets = <&cru SRST_DPTX_SPDIF_REC>;
       reset-names = "spdif";
       rockchip,grf = <&grf>;
       #address-cells = <1>;
       #size-cells = <0>;
       #sound-dai-cells = <1>;
   };