mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 15:34:48 +08:00
arm64: dts: sdm845: Add OPP table for all qup devices
qup has a requirement to vote on the performance state of the CX domain in sdm845 devices. Add OPP tables for these and also add power-domains property for all qup instances for uart and spi. i2c does not support scaling and uses a fixed clock. Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/1593506712-24557-2-git-send-email-rnayak@codeaurora.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
a24ad4878c
commit
13cadb34e5
@ -1090,6 +1090,25 @@
|
||||
clock-names = "core";
|
||||
};
|
||||
|
||||
qup_opp_table: qup-opp-table {
|
||||
compatible = "operating-points-v2";
|
||||
|
||||
opp-19200000 {
|
||||
opp-hz = /bits/ 64 <19200000>;
|
||||
required-opps = <&rpmhpd_opp_min_svs>;
|
||||
};
|
||||
|
||||
opp-75000000 {
|
||||
opp-hz = /bits/ 64 <75000000>;
|
||||
required-opps = <&rpmhpd_opp_low_svs>;
|
||||
};
|
||||
|
||||
opp-100000000 {
|
||||
opp-hz = /bits/ 64 <100000000>;
|
||||
required-opps = <&rpmhpd_opp_svs>;
|
||||
};
|
||||
};
|
||||
|
||||
qupv3_id_0: geniqup@8c0000 {
|
||||
compatible = "qcom,geni-se-qup";
|
||||
reg = <0 0x008c0000 0 0x6000>;
|
||||
@ -1111,6 +1130,8 @@
|
||||
interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1135,6 +1156,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart0_default>;
|
||||
interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1148,6 +1171,8 @@
|
||||
interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1172,6 +1197,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart1_default>;
|
||||
interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1185,6 +1212,8 @@
|
||||
interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1209,6 +1238,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart2_default>;
|
||||
interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1222,6 +1253,8 @@
|
||||
interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1246,6 +1279,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart3_default>;
|
||||
interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1259,6 +1294,8 @@
|
||||
interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1283,6 +1320,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart4_default>;
|
||||
interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1296,6 +1335,8 @@
|
||||
interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1320,6 +1361,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart5_default>;
|
||||
interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1333,6 +1376,8 @@
|
||||
interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1357,6 +1402,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart6_default>;
|
||||
interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1370,6 +1417,8 @@
|
||||
interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1394,6 +1443,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart7_default>;
|
||||
interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
@ -1419,6 +1470,8 @@
|
||||
interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1443,6 +1496,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart8_default>;
|
||||
interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1456,6 +1511,8 @@
|
||||
interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1480,6 +1537,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart9_default>;
|
||||
interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1493,6 +1552,8 @@
|
||||
interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1517,6 +1578,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart10_default>;
|
||||
interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1530,6 +1593,8 @@
|
||||
interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1554,6 +1619,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart11_default>;
|
||||
interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1567,6 +1634,8 @@
|
||||
interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1591,6 +1660,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart12_default>;
|
||||
interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1604,6 +1675,8 @@
|
||||
interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1628,6 +1701,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart13_default>;
|
||||
interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1641,6 +1716,8 @@
|
||||
interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1665,6 +1742,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart14_default>;
|
||||
interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1678,6 +1757,8 @@
|
||||
interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1702,6 +1783,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart15_default>;
|
||||
interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SDM845_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user