Back to home page

OSCL-LXR

 
 

    


0001 Qualcomm SLIMbus controller
0002 This controller is used if applications processor driver controls SLIMbus
0003 master component.
0004 
0005 Required properties:
0006 
0007  - #address-cells - refer to Documentation/devicetree/bindings/slimbus/bus.txt
0008  - #size-cells  - refer to Documentation/devicetree/bindings/slimbus/bus.txt
0009 
0010  - reg : Offset and length of the register region(s) for the device
0011  - reg-names : Register region name(s) referenced in reg above
0012          Required register resource entries are:
0013          "ctrl": Physical address of controller register blocks
0014          "slew": required for "qcom,apq8064-slim" SOC.
0015  - compatible : should be "qcom,<SOC-NAME>-slim" for SOC specific compatible
0016                 followed by "qcom,slim" for fallback.
0017  - interrupts : Interrupt number used by this controller
0018  - clocks : Interface and core clocks used by this SLIMbus controller
0019  - clock-names : Required clock-name entries are:
0020         "iface" : Interface clock for this controller
0021         "core" : Interrupt for controller core's BAM
0022 
0023 Example:
0024 
0025         slim@28080000 {
0026                 compatible = "qcom,apq8064-slim", "qcom,slim";
0027                 reg = <0x28080000 0x2000>, <0x80207C 4>;
0028                 reg-names = "ctrl", "slew";
0029                 interrupts = <0 33 0>;
0030                 clocks = <&lcc SLIMBUS_SRC>, <&lcc AUDIO_SLIMBUS_CLK>;
0031                 clock-names = "iface", "core";
0032                 #address-cells = <2>;
0033                 #size-cell = <0>;
0034 
0035                 wcd9310: audio-codec@1,0{
0036                         compatible = "slim217,60";
0037                         reg = <1 0>;
0038                 };
0039         };