mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 23:14:31 +08:00
arm64: dts: sm8250: Add OPP table for all qup devices
qup has a requirement to vote on the performance state of the CX domain in sm8250 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. Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20200915120203.290295-1-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
43bb807400
commit
01e869cc0d
@ -411,6 +411,25 @@
|
||||
#mbox-cells = <2>;
|
||||
};
|
||||
|
||||
qup_opp_table: qup-opp-table {
|
||||
compatible = "operating-points-v2";
|
||||
|
||||
opp-50000000 {
|
||||
opp-hz = /bits/ 64 <50000000>;
|
||||
required-opps = <&rpmhpd_opp_min_svs>;
|
||||
};
|
||||
|
||||
opp-75000000 {
|
||||
opp-hz = /bits/ 64 <75000000>;
|
||||
required-opps = <&rpmhpd_opp_low_svs>;
|
||||
};
|
||||
|
||||
opp-120000000 {
|
||||
opp-hz = /bits/ 64 <120000000>;
|
||||
required-opps = <&rpmhpd_opp_svs>;
|
||||
};
|
||||
};
|
||||
|
||||
qupv3_id_2: geniqup@8c0000 {
|
||||
compatible = "qcom,geni-se-qup";
|
||||
reg = <0x0 0x008c0000 0x0 0x6000>;
|
||||
@ -445,6 +464,8 @@
|
||||
interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -471,6 +492,8 @@
|
||||
interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -497,6 +520,8 @@
|
||||
interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -523,6 +548,8 @@
|
||||
interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -534,6 +561,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart17_default>;
|
||||
interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -560,6 +589,8 @@
|
||||
interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -571,6 +602,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart18_default>;
|
||||
interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -597,6 +630,8 @@
|
||||
interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
@ -635,6 +670,8 @@
|
||||
interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -661,6 +698,8 @@
|
||||
interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -687,6 +726,8 @@
|
||||
interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -698,6 +739,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart2_default>;
|
||||
interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -724,6 +767,8 @@
|
||||
interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -750,6 +795,8 @@
|
||||
interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -776,6 +823,8 @@
|
||||
interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -802,6 +851,8 @@
|
||||
interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -813,6 +864,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart6_default>;
|
||||
interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -839,6 +892,8 @@
|
||||
interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
@ -877,6 +932,8 @@
|
||||
interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -903,6 +960,8 @@
|
||||
interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -929,6 +988,8 @@
|
||||
interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -955,6 +1016,8 @@
|
||||
interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -981,6 +1044,8 @@
|
||||
interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -992,6 +1057,8 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&qup_uart12_default>;
|
||||
interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -1018,6 +1085,8 @@
|
||||
interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
power-domains = <&rpmhpd SM8250_CX>;
|
||||
operating-points-v2 = <&qup_opp_table>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user