Qualcomm Camera Clock & Reset Controller on SA8775P
Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,sa8775p-camcc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Taniya Das <quic_tdas@quicinc.com>", "Imran Shaik <quic_imrashai@quicinc.com>"
Qualcomm camera clock control module provides the clocks, resets and power domains on SA8775p.
See also:
include/dt-bindings/clock/qcom,qcs8300-camcc.h
include/dt-bindings/clock/qcom,sa8775p-camcc.h
include/dt-bindings/clock/qcom,sc8280xp-camcc.h
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,qcs8300-camcc", "qcom,sa8775p-camcc", "qcom,sc8280xp-camcc"
clocks — required here #
Array item rules (items) #
Item 1
Camera AHB clock from GCC
Item 2
Board XO source
Item 3
Board active XO source
Item 4
Sleep clock source
power-domains — required here #
Maximum number of items (maxItems): 1
MMCX power domain
required-opps — not listed as required here #
OPP node describing required MMCX performance point.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "power-domains", "#power-domain-cells"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,gcc.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,sc8280xp-camcc"When the condition matches (
then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
clock-controller@ade0000 {
compatible = "qcom,sa8775p-camcc";
reg = <0x0ade0000 0x20000>;
clocks = <&gcc GCC_CAMERA_AHB_CLK>,
<&rpmhcc RPMH_CXO_CLK>,
<&rpmhcc RPMH_CXO_CLK_A>,
<&sleep_clk>;
power-domains = <&rpmhpd SA8775P_MMCX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)