Skip to content

Commit aa3790e

Browse files
taniyadas20Komal-Bajaj
authored andcommitted
FROMLIST: arm64: dts: qcom: Add GP M/N clock controller node for SA8775P and QCS8300
Add the GP M/N divider clock controller node at 0x088d3000 to the SA8775P (kodiak, lemans) and QCS8300 (monaco) SoC device trees. The node uses the qcom,clk-gp-mnd compatible, is clocked by the PDM XO4 and AHB clocks from GCC, and exposes a single clock output (gp_mn_clk) on the dedicated gp_mn pin mux function. The XO4 clock is pre-assigned to 4.8 MHz (XO/4). Link: https://lore.kernel.org/r/20260602-pdm_clk_gp_mnd_v1-v1-5-1522662b6c53@oss.qualcomm.com Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com>
1 parent d37ed16 commit aa3790e

3 files changed

Lines changed: 42 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/kodiak.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4408,6 +4408,20 @@
44084408
};
44094409
};
44104410

4411+
gp_mn: clock-controller@88d3000 {
4412+
compatible = "qcom,clk-gp-mnd";
4413+
reg = <0x0 0x088d3000 0x0 0xc>;
4414+
clocks = <&gcc GCC_PDM_XO4_CLK>,
4415+
<&gcc GCC_PDM_AHB_CLK>;
4416+
clock-names = "pdm_clk", "ahb_clk";
4417+
clock-output-names = "gp_mn_clk";
4418+
#clock-cells = <0>;
4419+
pinctrl-names = "active";
4420+
pinctrl-0 = <&gp_mn_active>;
4421+
assigned-clocks = <&gcc GCC_PDM_XO4_CLK>;
4422+
assigned-clock-rates = <4800000>;
4423+
};
4424+
44114425
qspi: spi@88dc000 {
44124426
compatible = "qcom,sc7280-qspi", "qcom,qspi-v1";
44134427
reg = <0 0x088dc000 0 0x1000>;

arch/arm64/boot/dts/qcom/lemans.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4003,6 +4003,20 @@
40034003
};
40044004
};
40054005

4006+
gp_mn: clock-controller@88d3000 {
4007+
compatible = "qcom,clk-gp-mnd";
4008+
reg = <0x0 0x088d3000 0x0 0xc>;
4009+
clocks = <&gcc GCC_PDM_XO4_CLK>,
4010+
<&gcc GCC_PDM_AHB_CLK>;
4011+
clock-names = "pdm_clk", "ahb_clk";
4012+
clock-output-names = "gp_mn_clk";
4013+
#clock-cells = <0>;
4014+
pinctrl-names = "active";
4015+
pinctrl-0 = <&gp_mn_active>;
4016+
assigned-clocks = <&gcc GCC_PDM_XO4_CLK>;
4017+
assigned-clock-rates = <4800000>;
4018+
};
4019+
40064020
usb_0_hsphy: phy@88e4000 {
40074021
compatible = "qcom,sa8775p-usb-hs-phy",
40084022
"qcom,usb-snps-hs-5nm-phy";

arch/arm64/boot/dts/qcom/monaco.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4906,6 +4906,20 @@
49064906
};
49074907
};
49084908

4909+
gp_mn: clock-controller@88d3000 {
4910+
compatible = "qcom,clk-gp-mnd";
4911+
reg = <0x0 0x088d3000 0x0 0xc>;
4912+
clocks = <&gcc GCC_PDM_XO4_CLK>,
4913+
<&gcc GCC_PDM_AHB_CLK>;
4914+
clock-names = "pdm_clk", "ahb_clk";
4915+
clock-output-names = "gp_mn_clk";
4916+
#clock-cells = <0>;
4917+
pinctrl-names = "active";
4918+
pinctrl-0 = <&gp_mn_active>;
4919+
assigned-clocks = <&gcc GCC_PDM_XO4_CLK>;
4920+
assigned-clock-rates = <4800000>;
4921+
};
4922+
49094923
usb_1_hsphy: phy@8904000 {
49104924
compatible = "qcom,qcs8300-usb-hs-phy",
49114925
"qcom,usb-snps-hs-7nm-phy";

0 commit comments

Comments
 (0)