Merge "dt-bindings: clock: Add Cambistmclkcc bindings for Sun"

This commit is contained in:
qctecmdr
2023-08-08 14:38:03 -07:00
committed by Gerrit - the friendly Code Review server

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>;
};
...