dt-bindings: clock: qcom,camcc-sm8250: extend clocks and power domains
Add clocks and properties (power-domains, required-opps) already used in SM8250 DTS: sm8250-hdk.dtb: clock-controller@ad00000: clocks: [[46, 10], [44, 0], [44, 1], [45]] is too long sm8250-hdk.dtb: clock-controller@ad00000: clock-names:0: 'bi_tcxo' was expected sm8250-hdk.dtb: clock-controller@ad00000: 'power-domains', 'required-opps' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221224214404.18280-1-krzysztof.kozlowski@linaro.org
This commit is contained in:
parent
06839dfc87
commit
f6f10b4ae5
@ -21,12 +21,16 @@ properties:
|
|||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
items:
|
items:
|
||||||
|
- description: AHB
|
||||||
- description: Board XO source
|
- description: Board XO source
|
||||||
|
- description: Board active XO source
|
||||||
- description: Sleep clock source
|
- description: Sleep clock source
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
items:
|
items:
|
||||||
|
- const: iface
|
||||||
- const: bi_tcxo
|
- const: bi_tcxo
|
||||||
|
- const: bi_tcxo_ao
|
||||||
- const: sleep_clk
|
- const: sleep_clk
|
||||||
|
|
||||||
'#clock-cells':
|
'#clock-cells':
|
||||||
@ -38,9 +42,18 @@ properties:
|
|||||||
'#power-domain-cells':
|
'#power-domain-cells':
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
|
power-domains:
|
||||||
|
items:
|
||||||
|
- description: MMCX power domain
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
|
||||||
|
required-opps:
|
||||||
|
maxItems: 1
|
||||||
|
description:
|
||||||
|
OPP node describing required MMCX performance point.
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
@ -54,13 +67,16 @@ additionalProperties: false
|
|||||||
|
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
|
#include <dt-bindings/clock/qcom,gcc-sm8250.h>
|
||||||
#include <dt-bindings/clock/qcom,rpmh.h>
|
#include <dt-bindings/clock/qcom,rpmh.h>
|
||||||
clock-controller@ad00000 {
|
clock-controller@ad00000 {
|
||||||
compatible = "qcom,sm8250-camcc";
|
compatible = "qcom,sm8250-camcc";
|
||||||
reg = <0x0ad00000 0x10000>;
|
reg = <0x0ad00000 0x10000>;
|
||||||
clocks = <&rpmhcc RPMH_CXO_CLK>,
|
clocks = <&gcc GCC_CAMERA_AHB_CLK>,
|
||||||
|
<&rpmhcc RPMH_CXO_CLK>,
|
||||||
|
<&rpmhcc RPMH_CXO_CLK_A>,
|
||||||
<&sleep_clk>;
|
<&sleep_clk>;
|
||||||
clock-names = "bi_tcxo", "sleep_clk";
|
clock-names = "iface", "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
#reset-cells = <1>;
|
#reset-cells = <1>;
|
||||||
#power-domain-cells = <1>;
|
#power-domain-cells = <1>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user