Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: clock: ipq5424-apss-clk: Add ipq5424 apss clock controller

The CPU core in ipq5424 is clocked by a huayra PLL with RCG support.
The RCG and PLL have a separate register space from the GCC.
Also the L3 cache has a separate pll and needs to be scaled along
with the CPU.

Co-developed-by: Md Sadre Alam <quic_mdalam@quicinc.com>
Signed-off-by: Md Sadre Alam <quic_mdalam@quicinc.com>
Signed-off-by: Sricharan Ramabadhran <quic_srichara@quicinc.com>
[ Added interconnect related changes ]
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
Link: https://lore.kernel.org/r/20250811090954.2854440-2-quic_varada@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Sricharan Ramabadhran and committed by
Bjorn Andersson
c17ccefb 8f5ae30d

+64
+55
Documentation/devicetree/bindings/clock/qcom,ipq5424-apss-clk.yaml
··· 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,ipq5424-apss-clk.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm APSS IPQ5424 Clock Controller 8 + 9 + maintainers: 10 + - Varadarajan Narayanan <quic_varada@quicinc.com> 11 + 12 + description: 13 + The CPU core in ipq5424 is clocked by a huayra PLL with RCG support. 14 + The RCG and PLL have a separate register space from the GCC. 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + - qcom,ipq5424-apss-clk 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + clocks: 25 + items: 26 + - description: Reference to the XO clock. 27 + - description: Reference to the GPLL0 clock. 28 + 29 + '#clock-cells': 30 + const: 1 31 + 32 + '#interconnect-cells': 33 + const: 1 34 + 35 + required: 36 + - compatible 37 + - reg 38 + - clocks 39 + - '#clock-cells' 40 + - '#interconnect-cells' 41 + 42 + additionalProperties: false 43 + 44 + examples: 45 + - | 46 + #include <dt-bindings/clock/qcom,ipq5424-gcc.h> 47 + 48 + apss_clk: clock-controller@fa80000 { 49 + compatible = "qcom,ipq5424-apss-clk"; 50 + reg = <0x0fa80000 0x20000>; 51 + clocks = <&xo_board>, 52 + <&gcc GPLL0>; 53 + #clock-cells = <1>; 54 + #interconnect-cells = <1>; 55 + };
+6
include/dt-bindings/clock/qcom,apss-ipq.h
··· 8 8 9 9 #define APCS_ALIAS0_CLK_SRC 0 10 10 #define APCS_ALIAS0_CORE_CLK 1 11 + #define APSS_PLL_EARLY 2 12 + #define APSS_SILVER_CLK_SRC 3 13 + #define APSS_SILVER_CORE_CLK 4 14 + #define L3_PLL 5 15 + #define L3_CLK_SRC 6 16 + #define L3_CORE_CLK 7 11 17 12 18 #endif
+3
include/dt-bindings/interconnect/qcom,ipq5424.h
··· 21 21 #define MASTER_CNOC_USB 16 22 22 #define SLAVE_CNOC_USB 17 23 23 24 + #define MASTER_CPU 0 25 + #define SLAVE_L3 1 26 + 24 27 #endif /* INTERCONNECT_QCOM_IPQ5424_H */