^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Qualcomm SLIMbus controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) This controller is used if applications processor driver controls SLIMbus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) master component.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - #address-cells - refer to Documentation/devicetree/bindings/slimbus/bus.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - #size-cells - refer to Documentation/devicetree/bindings/slimbus/bus.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - reg : Offset and length of the register region(s) for the device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - reg-names : Register region name(s) referenced in reg above
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Required register resource entries are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) "ctrl": Physical address of controller register blocks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) "slew": required for "qcom,apq8064-slim" SOC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - compatible : should be "qcom,<SOC-NAME>-slim" for SOC specific compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) followed by "qcom,slim" for fallback.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - interrupts : Interrupt number used by this controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - clocks : Interface and core clocks used by this SLIMbus controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - clock-names : Required clock-name entries are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) "iface" : Interface clock for this controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) "core" : Interrupt for controller core's BAM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) slim@28080000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) compatible = "qcom,apq8064-slim", "qcom,slim";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) reg = <0x28080000 0x2000>, <0x80207C 4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) reg-names = "ctrl", "slew";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) interrupts = <0 33 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) clocks = <&lcc SLIMBUS_SRC>, <&lcc AUDIO_SLIMBUS_CLK>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) clock-names = "iface", "core";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #address-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) #size-cell = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) wcd9310: audio-codec@1,0{
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) compatible = "slim217,60";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) reg = <1 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) };