Loading bindings/soc/qcom/qcom,cx_ipeak.txt +20 −0 Original line number Diff line number Diff line Loading @@ -6,17 +6,37 @@ if it is going to cross its own threshold. If all clients are going to cross their thresholds then Cx ipeak hw module will raise an interrupt to cDSP block to throttle cDSP's fmax. There are SOC like SCUBA where Cx ipeak HW module raised interrupt will throttle frequency of other victim clients. Required properties: - #size-cells : Must be 1 - compatible : name of the component used for driver matching, should be one "qcom,cx-ipeak-v1", "qcom,cx-ipeak-v2" - reg : physical base address and length of the register set(s), SRAM and XPU of the component. Optional properties: - interrupts : Danger and Safe interrupts details having interrupt number and type of interrupt. - interrupt-names : Identifier names for Danger and Safe interrupts. - victims_table : Victim clients details having client ID, victim ID and limit frequency to be applied in case of danger interrupt. Example: cx_ipeak_lm: cx_ipeak@1fe5040 { #size-cells = <1>; compatible = "qcom,cx-ipeak-v1"; reg = <0x01fe5040 0x28>; interrupts = <0 415 IRQ_TYPE_EDGE_RISING>, <0 416 IRQ_TYPE_EDGE_RISING>; interrupt-names = "cx_ipeak_danger", "cx_ipeak_safe"; victims_table = <1 0 844800000>; }; qcom/holi-cdp-pm6125.dtsi +7 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,13 @@ linux,can-disable; }; }; cx_ipeak_lm: cx_ipeak@3ed000 { #size-cells = <1>; compatible = "qcom,cx-ipeak-v2"; reg = <0x3ed000 0xe010>; status = "ok"; }; }; &pm7250b_charger { Loading qcom/holi-mtp-pm6125.dtsi +7 −0 Original line number Diff line number Diff line Loading @@ -155,6 +155,13 @@ #include "qg-batterydata-atl466271_3300mAh.dtsi" #include "qg-batterydata-atl436186020H_3780mAh.dtsi" }; cx_ipeak_lm: cx_ipeak@3ed000 { #size-cells = <1>; compatible = "qcom,cx-ipeak-v2"; reg = <0x3ed000 0xe010>; status = "ok"; }; }; &soc { Loading qcom/holi-mtp-usbc-pm6125.dtsi +7 −0 Original line number Diff line number Diff line Loading @@ -174,6 +174,13 @@ #include "qg-batterydata-atl466271_3300mAh.dtsi" #include "qg-batterydata-atl436186020H_3780mAh.dtsi" }; cx_ipeak_lm: cx_ipeak@3ed000 { #size-cells = <1>; compatible = "qcom,cx-ipeak-v2"; reg = <0x3ed000 0xe010>; status = "ok"; }; }; &soc { Loading qcom/holi-qrd-pm6125.dtsi +7 −0 Original line number Diff line number Diff line Loading @@ -211,6 +211,13 @@ #include "qg-batterydata-atl436186020H_3780mAh.dtsi" #include "qg-batterydata-atl466271_3300mAh.dtsi" }; cx_ipeak_lm: cx_ipeak@3ed000 { #size-cells = <1>; compatible = "qcom,cx-ipeak-v2"; reg = <0x3ed000 0xe010>; status = "ok"; }; }; &pm7250b_charger { Loading Loading
bindings/soc/qcom/qcom,cx_ipeak.txt +20 −0 Original line number Diff line number Diff line Loading @@ -6,17 +6,37 @@ if it is going to cross its own threshold. If all clients are going to cross their thresholds then Cx ipeak hw module will raise an interrupt to cDSP block to throttle cDSP's fmax. There are SOC like SCUBA where Cx ipeak HW module raised interrupt will throttle frequency of other victim clients. Required properties: - #size-cells : Must be 1 - compatible : name of the component used for driver matching, should be one "qcom,cx-ipeak-v1", "qcom,cx-ipeak-v2" - reg : physical base address and length of the register set(s), SRAM and XPU of the component. Optional properties: - interrupts : Danger and Safe interrupts details having interrupt number and type of interrupt. - interrupt-names : Identifier names for Danger and Safe interrupts. - victims_table : Victim clients details having client ID, victim ID and limit frequency to be applied in case of danger interrupt. Example: cx_ipeak_lm: cx_ipeak@1fe5040 { #size-cells = <1>; compatible = "qcom,cx-ipeak-v1"; reg = <0x01fe5040 0x28>; interrupts = <0 415 IRQ_TYPE_EDGE_RISING>, <0 416 IRQ_TYPE_EDGE_RISING>; interrupt-names = "cx_ipeak_danger", "cx_ipeak_safe"; victims_table = <1 0 844800000>; };
qcom/holi-cdp-pm6125.dtsi +7 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,13 @@ linux,can-disable; }; }; cx_ipeak_lm: cx_ipeak@3ed000 { #size-cells = <1>; compatible = "qcom,cx-ipeak-v2"; reg = <0x3ed000 0xe010>; status = "ok"; }; }; &pm7250b_charger { Loading
qcom/holi-mtp-pm6125.dtsi +7 −0 Original line number Diff line number Diff line Loading @@ -155,6 +155,13 @@ #include "qg-batterydata-atl466271_3300mAh.dtsi" #include "qg-batterydata-atl436186020H_3780mAh.dtsi" }; cx_ipeak_lm: cx_ipeak@3ed000 { #size-cells = <1>; compatible = "qcom,cx-ipeak-v2"; reg = <0x3ed000 0xe010>; status = "ok"; }; }; &soc { Loading
qcom/holi-mtp-usbc-pm6125.dtsi +7 −0 Original line number Diff line number Diff line Loading @@ -174,6 +174,13 @@ #include "qg-batterydata-atl466271_3300mAh.dtsi" #include "qg-batterydata-atl436186020H_3780mAh.dtsi" }; cx_ipeak_lm: cx_ipeak@3ed000 { #size-cells = <1>; compatible = "qcom,cx-ipeak-v2"; reg = <0x3ed000 0xe010>; status = "ok"; }; }; &soc { Loading
qcom/holi-qrd-pm6125.dtsi +7 −0 Original line number Diff line number Diff line Loading @@ -211,6 +211,13 @@ #include "qg-batterydata-atl436186020H_3780mAh.dtsi" #include "qg-batterydata-atl466271_3300mAh.dtsi" }; cx_ipeak_lm: cx_ipeak@3ed000 { #size-cells = <1>; compatible = "qcom,cx-ipeak-v2"; reg = <0x3ed000 0xe010>; status = "ok"; }; }; &pm7250b_charger { Loading