dt-bindings: clock: Add Cambistmclkcc bindings for Sun

Add Cambistmclkcc bindings for Sun device.

Change-Id: Ie93ada09fef2ab5e4dc6908e4176691c439208c2
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
This commit is contained in:
Xubin Bai
2023-07-05 21:42:28 -07:00
parent d9755d8e19
commit 5291f99e0b

View File

@@ -0,0 +1,61 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/qcom,cambistmclkcc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. Camera BIST MCLK CC Controller Binding
maintainers:
- Xubin Bai <quic_xubibai@quicinc.com>
description: |
Camera BIST MCLK CC Controller Binding.
See also:
- dt-bindings/clock/qcom,cambistmclkcc-sun.h
properties:
compatible:
enum:
- qcom,cambistmclkcc-sun
clocks:
items:
- description: Board XO source
- description: Sleep clock source
clock-names:
items:
- const: bi_tcxo
- const: sleep_clk
vdd_mx-supply:
description: Phandle pointer to the vdd_mx logic rail supply
required:
- compatible
- clocks
- clock-names
allOf:
- $ref: "qcom,gcc.yaml#"
unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,rpmh.h>
cambistmclkcc: clock-controller@1760000 {
compatible = "qcom,sun-cambistmclkcc", "syscon";
reg = <0x1760000 0x6000>;
reg-name = "cc_base";
vdd_mx-supply = <&VDD_MX_LEVEL>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>;
clock-names = "bi_tcxo",
"sleep_clk";
#clock-cells = <1>;
#reset-cells = <1>;
};
...