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

dt-bindings: clocks: convert SDM845 Camera CC bindings to YAML

Convert clock/qcom,camcc.txt to clock/qcom,sdm845-camcc.yaml.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220215201539.3970459-2-dmitry.baryshkov@linaro.org

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
a0d61d02 e6db8c8b

+63 -18
-18
Documentation/devicetree/bindings/clock/qcom,camcc.txt
··· 1 - Qualcomm Camera Clock & Reset Controller Binding 2 - ------------------------------------------------ 3 - 4 - Required properties : 5 - - compatible : shall contain "qcom,sdm845-camcc". 6 - - reg : shall contain base register location and length. 7 - - #clock-cells : from common clock binding, shall contain 1. 8 - - #reset-cells : from common reset binding, shall contain 1. 9 - - #power-domain-cells : from generic power domain binding, shall contain 1. 10 - 11 - Example: 12 - camcc: clock-controller@ad00000 { 13 - compatible = "qcom,sdm845-camcc"; 14 - reg = <0xad00000 0x10000>; 15 - #clock-cells = <1>; 16 - #reset-cells = <1>; 17 - #power-domain-cells = <1>; 18 - };
+63
Documentation/devicetree/bindings/clock/qcom,sdm845-camcc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/clock/qcom,sdm845-camcc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Camera Clock & Reset Controller Binding for SDM845 8 + 9 + maintainers: 10 + - Bjorn Andersson <bjorn.andersson@linaro.org> 11 + 12 + description: | 13 + Qualcomm camera clock control module which supports the clocks, resets and 14 + power domains on SDM845. 15 + 16 + See also dt-bindings/clock/qcom,camcc-sm845.h 17 + 18 + properties: 19 + compatible: 20 + const: qcom,sdm845-camcc 21 + 22 + clocks: 23 + items: 24 + - description: Board XO source 25 + 26 + clock-names: 27 + items: 28 + - const: bi_tcxo 29 + 30 + '#clock-cells': 31 + const: 1 32 + 33 + '#reset-cells': 34 + const: 1 35 + 36 + '#power-domain-cells': 37 + const: 1 38 + 39 + reg: 40 + maxItems: 1 41 + 42 + required: 43 + - compatible 44 + - reg 45 + - clocks 46 + - clock-names 47 + - '#clock-cells' 48 + - '#reset-cells' 49 + - '#power-domain-cells' 50 + 51 + additionalProperties: false 52 + 53 + examples: 54 + - | 55 + #include <dt-bindings/clock/qcom,rpmh.h> 56 + clock-controller@ad00000 { 57 + compatible = "qcom,sdm845-camcc"; 58 + reg = <0x0ad00000 0x10000>; 59 + #clock-cells = <1>; 60 + #reset-cells = <1>; 61 + #power-domain-cells = <1>; 62 + }; 63 + ...