mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 16:53:59 -04:00
Add interconnect-cells to clock provider so that it can be used as icc provider. Add master/slave ids for Qualcomm IPQ5332 Network-On-Chip interfaces. This will be used by the gcc-ipq5332 driver for providing interconnect services using the icc-clk framework. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com> Link: https://lore.kernel.org/r/20240730054817.1915652-2-quic_varada@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/clock/qcom,ipq5332-gcc.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm Global Clock & Reset Controller on IPQ5332
|
|
|
|
maintainers:
|
|
- Bjorn Andersson <andersson@kernel.org>
|
|
|
|
description: |
|
|
Qualcomm global clock control module provides the clocks, resets and power
|
|
domains on IPQ5332.
|
|
|
|
See also:: include/dt-bindings/clock/qcom,gcc-ipq5332.h
|
|
|
|
allOf:
|
|
- $ref: qcom,gcc.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: qcom,ipq5332-gcc
|
|
|
|
clocks:
|
|
items:
|
|
- description: Board XO clock source
|
|
- description: Sleep clock source
|
|
- description: PCIE 2lane PHY pipe clock source
|
|
- description: PCIE 2lane x1 PHY pipe clock source (For second lane)
|
|
- description: USB PCIE wrapper pipe clock source
|
|
|
|
'#power-domain-cells': false
|
|
'#interconnect-cells':
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- clocks
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
clock-controller@1800000 {
|
|
compatible = "qcom,ipq5332-gcc";
|
|
reg = <0x01800000 0x80000>;
|
|
clocks = <&xo_board>,
|
|
<&sleep_clk>,
|
|
<&pcie_2lane_phy_pipe_clk>,
|
|
<&pcie_2lane_phy_pipe_clk_x1>,
|
|
<&usb_pcie_wrapper_pipe_clk>;
|
|
#clock-cells = <1>;
|
|
#reset-cells = <1>;
|
|
};
|
|
...
|