Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[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,mt8173-smi-larb"
10 - reg : the register and size of this local arbiter.
11 - mediatek,smi : a phandle to the smi_common node.
12 - power-domains : a phandle to the power domain of this local arbiter.
13 - clocks : Must contain an entry for each entry in clock-names.
14 - clock-names: must contain 2 entries, as follows:
15   - "apb" : Advanced Peripheral Bus clock, It's the clock for setting
16             the register.
17   - "smi" : It's the clock for transfer data and command.
18
19 Required property for mt2701 and mt2712:
20 - mediatek,larb-id :the hardware id of this larb.
21
22 Example:
23         larb1: larb@16010000 {
24                 compatible = "mediatek,mt8173-smi-larb";
25                 reg = <0 0x16010000 0 0x1000>;
26                 mediatek,smi = <&smi_common>;
27                 power-domains = <&scpsys MT8173_POWER_DOMAIN_VDEC>;
28                 clocks = <&vdecsys CLK_VDEC_CKEN>,
29                          <&vdecsys CLK_VDEC_LARB_CKEN>;
30                 clock-names = "apb", "smi";
31         };
32
33 Example for mt2701:
34         larb0: larb@14010000 {
35                 compatible = "mediatek,mt2701-smi-larb";
36                 reg = <0 0x14010000 0 0x1000>;
37                 mediatek,smi = <&smi_common>;
38                 mediatek,larb-id = <0>;
39                 clocks = <&mmsys CLK_MM_SMI_LARB0>,
40                          <&mmsys CLK_MM_SMI_LARB0>;
41                 clock-names = "apb", "smi";
42                 power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>;
43         };