Commit e6419c35 authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Mark Brown

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarStephan Gerhold <stephan.gerhold@kernkonzept.com>
Link: https://lore.kernel.org/r/20230919-spi-qup-dvfs-v2-1-1bac2e9ab8db@kernkonzept.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent c40897f4
...@@ -47,6 +47,11 @@ properties: ...@@ -47,6 +47,11 @@ properties:
interrupts: interrupts:
maxItems: 1 maxItems: 1
operating-points-v2: true
power-domains:
maxItems: 1
reg: reg:
maxItems: 1 maxItems: 1
...@@ -63,6 +68,7 @@ examples: ...@@ -63,6 +68,7 @@ examples:
- | - |
#include <dt-bindings/clock/qcom,gcc-msm8996.h> #include <dt-bindings/clock/qcom,gcc-msm8996.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
spi@7575000 { spi@7575000 {
compatible = "qcom,spi-qup-v2.2.1"; compatible = "qcom,spi-qup-v2.2.1";
...@@ -76,6 +82,8 @@ examples: ...@@ -76,6 +82,8 @@ examples:
pinctrl-1 = <&blsp1_spi1_sleep>; pinctrl-1 = <&blsp1_spi1_sleep>;
dmas = <&blsp1_dma 12>, <&blsp1_dma 13>; dmas = <&blsp1_dma 12>, <&blsp1_dma 13>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
power-domains = <&rpmpd MSM8996_VDDCX>;
operating-points-v2 = <&spi_opp_table>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment