Skip to content

Commit e6419c3

Browse files
stephan-ghbroonie
authored andcommitted
spi: dt-bindings: qup: Document power-domains and OPP
Document power-domains and operating-points-v2 to allow making performance state votes for certain clock frequencies of the SPI QUP controller. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Stephan Gerhold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent c40897f commit e6419c3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Documentation/devicetree/bindings/spi/qcom,spi-qup.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ properties:
4747
interrupts:
4848
maxItems: 1
4949

50+
operating-points-v2: true
51+
52+
power-domains:
53+
maxItems: 1
54+
5055
reg:
5156
maxItems: 1
5257

@@ -63,6 +68,7 @@ examples:
6368
- |
6469
#include <dt-bindings/clock/qcom,gcc-msm8996.h>
6570
#include <dt-bindings/interrupt-controller/arm-gic.h>
71+
#include <dt-bindings/power/qcom-rpmpd.h>
6672
6773
spi@7575000 {
6874
compatible = "qcom,spi-qup-v2.2.1";
@@ -76,6 +82,8 @@ examples:
7682
pinctrl-1 = <&blsp1_spi1_sleep>;
7783
dmas = <&blsp1_dma 12>, <&blsp1_dma 13>;
7884
dma-names = "tx", "rx";
85+
power-domains = <&rpmpd MSM8996_VDDCX>;
86+
operating-points-v2 = <&spi_opp_table>;
7987
#address-cells = <1>;
8088
#size-cells = <0>;
8189
};

0 commit comments

Comments
 (0)