Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: serial: qcom,msm-uartdm: Vote for shared resources

Document power-domains, operating-points-v2 and interconnects to allow
making performance state votes for certain clock frequencies of the UART
DM controller. The interconnect path to DRAM is needed when UART DM is
used together with a DMA engine.

Voting for these shared resources is necessary to guarantee performance
with power management enabled. Otherwise these resources might run at
minimal performance state which is not sufficient for certain UART
baud rates.

Signed-off-by: Stephan Gerhold <stephan.gerhold@kernkonzept.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231128-serial-msm-dvfs-v1-1-4f290d20a4be@kernkonzept.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Stephan Gerhold and committed by
Greg Kroah-Hartman
692079bd 1e7e5616

+13
+13
Documentation/devicetree/bindings/serial/qcom,msm-uartdm.yaml
··· 48 48 - const: tx 49 49 - const: rx 50 50 51 + interconnects: 52 + maxItems: 1 53 + 51 54 interrupts: 55 + maxItems: 1 56 + 57 + operating-points-v2: true 58 + 59 + power-domains: 52 60 maxItems: 1 53 61 54 62 qcom,rx-crci: ··· 107 99 108 100 examples: 109 101 - | 102 + #include <dt-bindings/interconnect/qcom,msm8996.h> 110 103 #include <dt-bindings/interrupt-controller/arm-gic.h> 104 + #include <dt-bindings/power/qcom-rpmpd.h> 111 105 112 106 serial@f991e000 { 113 107 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; ··· 119 109 clock-names = "core", "iface"; 120 110 dmas = <&dma0 0>, <&dma0 1>; 121 111 dma-names = "tx", "rx"; 112 + power-domains = <&rpmpd MSM8996_VDDCX>; 113 + operating-points-v2 = <&uart_opp_table>; 114 + interconnects = <&pnoc MASTER_BLSP_1 &bimc SLAVE_EBI_CH0>; 122 115 };