Path: blob/master/Documentation/devicetree/bindings/cpufreq/brcm,stb-avs-cpu-freq.txt
26308 views
Broadcom AVS mail box and interrupt register bindings1=====================================================23A total of three DT nodes are required. One node (brcm,avs-cpu-data-mem)4references the mailbox register used to communicate with the AVS CPU[1]. The5second node (brcm,avs-cpu-l2-intr) is required to trigger an interrupt on6the AVS CPU. The interrupt tells the AVS CPU that it needs to process a7command sent to it by a driver. Interrupting the AVS CPU is mandatory for8commands to be processed.910The interface also requires a reference to the AVS host interrupt controller,11so a driver can react to interrupts generated by the AVS CPU whenever a command12has been processed. See [2] for more information on the brcm,l2-intc node.1314[1] The AVS CPU is an independent co-processor that runs proprietary15firmware. On some SoCs, this firmware supports DFS and DVFS in addition to16Adaptive Voltage Scaling.1718[2] Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.yaml192021Node brcm,avs-cpu-data-mem22--------------------------2324Required properties:25- compatible: must include: brcm,avs-cpu-data-mem and26should include: one of brcm,bcm7271-avs-cpu-data-mem or27brcm,bcm7268-avs-cpu-data-mem28- reg: Specifies base physical address and size of the registers.29- interrupts: The interrupt that the AVS CPU will use to interrupt the host30when a command completed.31- interrupt-names: The name of the interrupt used to interrupt the host.3233Optional properties:34- None3536Node brcm,avs-cpu-l2-intr37-------------------------3839Required properties:40- compatible: must include: brcm,avs-cpu-l2-intr and41should include: one of brcm,bcm7271-avs-cpu-l2-intr or42brcm,bcm7268-avs-cpu-l2-intr43- reg: Specifies base physical address and size of the registers.4445Optional properties:46- None474849Example50=======5152avs_host_l2_intc: interrupt-controller@f04d1200 {53#interrupt-cells = <1>;54compatible = "brcm,l2-intc";55interrupt-parent = <&intc>;56reg = <0xf04d1200 0x48>;57interrupt-controller;58interrupts = <0x0 0x19 0x0>;59interrupt-names = "avs";60};6162avs-cpu-data-mem@f04c4000 {63compatible = "brcm,bcm7271-avs-cpu-data-mem",64"brcm,avs-cpu-data-mem";65reg = <0xf04c4000 0x60>;66interrupts = <0x1a>;67interrupt-parent = <&avs_host_l2_intc>;68interrupt-names = "sw_intr";69};7071avs-cpu-l2-intr@f04d1100 {72compatible = "brcm,bcm7271-avs-cpu-l2-intr",73"brcm,avs-cpu-l2-intr";74reg = <0xf04d1100 0x10>;75};767778