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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: clock: gcc-sdm845: add sdm670 global clocks

The Snapdragon 670 clocks will be added into the sdm845 gcc driver. Most
of the new clocks, GDSCs, and resets already have reserved IDs but there
are some resources that don't. Add the new clock from Snapdragon 670 and
document the differences between the SoC parent clocks.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220914013922.198778-2-mailingradian@gmail.com

authored by

Richard Acayan and committed by
Bjorn Andersson
657e9326 867bc326

+47 -13
+46 -13
Documentation/devicetree/bindings/clock/qcom,gcc-sdm845.yaml
··· 19 19 20 20 properties: 21 21 compatible: 22 - const: qcom,gcc-sdm845 22 + enum: 23 + - qcom,gcc-sdm670 24 + - qcom,gcc-sdm845 23 25 24 26 clocks: 25 - items: 26 - - description: Board XO source 27 - - description: Board active XO source 28 - - description: Sleep clock source 29 - - description: PCIE 0 Pipe clock source 30 - - description: PCIE 1 Pipe clock source 27 + minItems: 3 28 + maxItems: 5 31 29 32 30 clock-names: 33 - items: 34 - - const: bi_tcxo 35 - - const: bi_tcxo_ao 36 - - const: sleep_clk 37 - - const: pcie_0_pipe_clk 38 - - const: pcie_1_pipe_clk 31 + minItems: 3 32 + maxItems: 5 39 33 40 34 power-domains: 41 35 maxItems: 1 ··· 39 45 40 46 allOf: 41 47 - $ref: qcom,gcc.yaml# 48 + - if: 49 + properties: 50 + compatible: 51 + contains: 52 + const: qcom,gcc-sdm670 53 + then: 54 + properties: 55 + clocks: 56 + items: 57 + - description: Board XO source 58 + - description: Board active XO source 59 + - description: Sleep clock source 60 + clock-names: 61 + items: 62 + - const: bi_tcxo 63 + - const: bi_tcxo_ao 64 + - const: sleep_clk 65 + 66 + - if: 67 + properties: 68 + compatible: 69 + contains: 70 + const: qcom,gcc-sdm845 71 + then: 72 + properties: 73 + clocks: 74 + items: 75 + - description: Board XO source 76 + - description: Board active XO source 77 + - description: Sleep clock source 78 + - description: PCIE 0 Pipe clock source 79 + - description: PCIE 1 Pipe clock source 80 + clock-names: 81 + items: 82 + - const: bi_tcxo 83 + - const: bi_tcxo_ao 84 + - const: sleep_clk 85 + - const: pcie_0_pipe_clk 86 + - const: pcie_1_pipe_clk 42 87 43 88 unevaluatedProperties: false 44 89
+1
include/dt-bindings/clock/qcom,gcc-sdm845.h
··· 199 199 #define GCC_QSPI_CNOC_PERIPH_AHB_CLK 189 200 200 #define GCC_LPASS_Q6_AXI_CLK 190 201 201 #define GCC_LPASS_SWAY_CLK 191 202 + #define GPLL6 192 202 203 203 204 /* GCC Resets */ 204 205 #define GCC_MMSS_BCR 0