Merge tag 'trace-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / memory-controllers / mediatek,smi-larb.txt
1 SMI (Smart Multimedia Interface) Local Arbiter
2
3 The hardware block diagram please check bindings/iommu/mediatek,iommu.txt
4
5 Required properties:
6 - compatible : must be one of :
7                 "mediatek,mt2701-smi-larb"
8                 "mediatek,mt2712-smi-larb"
9                 "mediatek,mt7623-smi-larb", "mediatek,mt2701-smi-larb"
10                 "mediatek,mt8173-smi-larb"
11 - reg : the register and size of this local arbiter.
12 - mediatek,smi : a phandle to the smi_common node.
13 - power-domains : a phandle to the power domain of this local arbiter.
14 - clocks : Must contain an entry for each entry in clock-names.
15 - clock-names: must contain 2 entries, as follows:
16   - "apb" : Advanced Peripheral Bus clock, It's the clock for setting
17             the register.
18   - "smi" : It's the clock for transfer data and command.
19
20 Required property for mt2701, mt2712 and mt7623:
21 - mediatek,larb-id :the hardware id of this larb.
22
23 Example:
24         larb1: larb@16010000 {
25                 compatible = "mediatek,mt8173-smi-larb";
26                 reg = <0 0x16010000 0 0x1000>;
27                 mediatek,smi = <&smi_common>;
28                 power-domains = <&scpsys MT8173_POWER_DOMAIN_VDEC>;
29                 clocks = <&vdecsys CLK_VDEC_CKEN>,
30                          <&vdecsys CLK_VDEC_LARB_CKEN>;
31                 clock-names = "apb", "smi";
32         };
33
34 Example for mt2701:
35         larb0: larb@14010000 {
36                 compatible = "mediatek,mt2701-smi-larb";
37                 reg = <0 0x14010000 0 0x1000>;
38                 mediatek,smi = <&smi_common>;
39                 mediatek,larb-id = <0>;
40                 clocks = <&mmsys CLK_MM_SMI_LARB0>,
41                          <&mmsys CLK_MM_SMI_LARB0>;
42                 clock-names = "apb", "smi";
43                 power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>;
44         };