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

dt-bindings: clocks: qcom,gcc-msm8998: Reflect actually referenced clks

Some of these clocks are not referenced by the driver at all whereas
aud_ref_clk and core_bi_pll_test_se are but were missing from the
bindings. These clocks are optional (and not currently provided
anywhere) while "xo" and "sleep_clk" are mandatory.

Note that none of these clocks were used beforehand as the driver
referenced them by their global name.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Link: https://lore.kernel.org/r/20210911121340.261920-7-marijn.suijten@somainline.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Marijn Suijten and committed by
Stephen Boyd
60600397 9ee049eb

+8 -18
+8 -18
Documentation/devicetree/bindings/clock/qcom,gcc-msm8998.yaml
··· 25 25 items: 26 26 - description: Board XO source 27 27 - description: Sleep clock source 28 - - description: USB 3.0 phy pipe clock 29 - - description: UFS phy rx symbol clock for pipe 0 30 - - description: UFS phy rx symbol clock for pipe 1 31 - - description: UFS phy tx symbol clock 32 - - description: PCIE phy pipe clock 28 + - description: Audio reference clock (Optional clock) 29 + - description: PLL test clock source (Optional clock) 30 + minItems: 2 33 31 34 32 clock-names: 35 33 items: 36 34 - const: xo 37 35 - const: sleep_clk 38 - - const: usb3_pipe 39 - - const: ufs_rx_symbol0 40 - - const: ufs_rx_symbol1 41 - - const: ufs_tx_symbol0 42 - - const: pcie0_pipe 36 + - const: aud_ref_clk # Optional clock 37 + - const: core_bi_pll_test_se # Optional clock 38 + minItems: 2 43 39 44 40 '#clock-cells': 45 41 const: 1 ··· 76 80 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, 77 81 <&sleep>, 78 82 <0>, 79 - <0>, 80 - <0>, 81 - <0>, 82 83 <0>; 83 84 clock-names = "xo", 84 85 "sleep_clk", 85 - "usb3_pipe", 86 - "ufs_rx_symbol0", 87 - "ufs_rx_symbol1", 88 - "ufs_tx_symbol0", 89 - "pcie0_pipe"; 86 + "aud_ref_clk", 87 + "core_bi_pll_test_se"; 90 88 }; 91 89 ...