[PATCH v3 03/11] dt-bindings: clock: Add Qualcomm QCS615 Camera clock controller
Vladimir Zapolskiy
vladimir.zapolskiy at linaro.org
Fri Nov 8 04:28:27 PST 2024
Hello Taniya,
On 11/8/24 06:09, Taniya Das wrote:
> Add DT bindings for the Camera clock on QCS615 platforms. Add the
> relevant DT include definitions as well.
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> Signed-off-by: Taniya Das <quic_tdas at quicinc.com>
> ---
> .../bindings/clock/qcom,qcs615-camcc.yaml | 60 +++++++++++
> include/dt-bindings/clock/qcom,qcs615-camcc.h | 110 +++++++++++++++++++++
> 2 files changed, 170 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/clock/qcom,qcs615-camcc.yaml b/Documentation/devicetree/bindings/clock/qcom,qcs615-camcc.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..0abd277aa3ddd2e1384d0af59699dc1deda5575b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/qcom,qcs615-camcc.yaml
> @@ -0,0 +1,60 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/clock/qcom,qcs615-camcc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm Camera Clock & Reset Controller on QCS615
> +
> +maintainers:
> + - Taniya Das <quic_tdas at quicinc.com>
> +
> +description: |
> + Qualcomm camera clock control module provides the clocks, resets and power
> + domains on QCS615
> +
> + See also: include/dt-bindings/clock/qcom,qcs615-camcc.h
> +
> +properties:
> + compatible:
> + const: qcom,qcs615-camcc
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + items:
> + - description: Board XO source
> +
> + '#clock-cells':
> + const: 1
> +
> + '#reset-cells':
> + const: 1
> +
> + '#power-domain-cells':
> + const: 1
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - '#clock-cells'
> + - '#reset-cells'
> + - '#power-domain-cells'
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/clock/qcom,rpmh.h>
> + clock-controller at ad00000 {
> + compatible = "qcom,qcs615-camcc";
> + reg = <0xad00000 0x10000>;
> + clocks = <&rpmhcc RPMH_CXO_CLK>;
> +
> + #clock-cells = <1>;
> + #reset-cells = <1>;
> + #power-domain-cells = <1>;
> + };
> +...
would you find it possible to merge this binding into the existing one
qcom,sdm845-camcc.yaml?
Those two are very similar, sdm845-camcc requires clock-names though.
--
Best wishes,
Vladimir
More information about the linux-arm-kernel
mailing list