| 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,sm4450-camcc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Qualcomm Camera Clock & Reset Controller on SM4450 |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Ajit Pandey <[email protected]> |
| 11 |
- Taniya Das <[email protected]> |
| 12 |
|
| 13 |
description: | |
| 14 |
Qualcomm camera clock control module provides the clocks, resets and power |
| 15 |
domains on SM4450 |
| 16 |
|
| 17 |
See also: include/dt-bindings/clock/qcom,sm4450-camcc.h |
| 18 |
|
| 19 |
properties: |
| 20 |
compatible: |
| 21 |
const: qcom,sm4450-camcc |
| 22 |
|
| 23 |
clocks: |
| 24 |
items: |
| 25 |
- description: Board XO source |
| 26 |
- description: Camera AHB clock source from GCC |
| 27 |
|
| 28 |
required: |
| 29 |
- compatible |
| 30 |
- clocks |
| 31 |
- '#power-domain-cells' |
| 32 |
|
| 33 |
allOf: |
| 34 |
- $ref: qcom,gcc.yaml# |
| 35 |
|
| 36 |
unevaluatedProperties: false |
| 37 |
|
| 38 |
examples: |
| 39 |
- | |
| 40 |
#include <dt-bindings/clock/qcom,rpmh.h> |
| 41 |
#include <dt-bindings/clock/qcom,sm4450-gcc.h> |
| 42 |
clock-controller@ade0000 { |
| 43 |
compatible = "qcom,sm4450-camcc"; |
| 44 |
reg = <0x0ade0000 0x20000>; |
| 45 |
clocks = <&rpmhcc RPMH_CXO_CLK>, |
| 46 |
<&gcc GCC_CAMERA_AHB_CLK>; |
| 47 |
#clock-cells = <1>; |
| 48 |
#reset-cells = <1>; |
| 49 |
#power-domain-cells = <1>; |
| 50 |
}; |
| 51 |
... |