forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipq40xx: directly define voltage per opp
This should align opp table with what it was before converting to OPP v2. Signed-off-by: Pavel Kubelun <[email protected]> Signed-off-by: Christian Lamparter <[email protected]>
- Loading branch information
Showing
22 changed files
with
42 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ Signed-off-by: Matthew McClintock <[email protected]> | |
Signed-off-by: John Crispin <[email protected]> | ||
--- | ||
arch/arm/boot/dts/qcom-ipq4019.dtsi | 34 ++++++++++++++++++++++++++-------- | ||
1 file changed, 26 insertions(+), 8 deletions(-) | ||
1 file changed, 30 insertions(+), 8 deletions(-) | ||
|
||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
|
@@ -54,7 +54,7 @@ Signed-off-by: John Crispin <[email protected]> | |
}; | ||
|
||
L2: l2-cache { | ||
@@ -94,6 +90,28 @@ | ||
@@ -94,6 +90,32 @@ | ||
}; | ||
}; | ||
|
||
|
@@ -65,18 +65,22 @@ Signed-off-by: John Crispin <[email protected]> | |
+ opp-48000000 { | ||
+ opp-hz = /bits/ 64 <48000000>; | ||
+ clock-latency-ns = <256000>; | ||
+ opp-microvolt = <1100000>; | ||
+ }; | ||
+ opp-200000000 { | ||
+ opp-hz = /bits/ 64 <200000000>; | ||
+ clock-latency-ns = <256000>; | ||
+ opp-microvolt = <1100000>; | ||
+ }; | ||
+ opp-500000000 { | ||
+ opp-hz = /bits/ 64 <500000000>; | ||
+ clock-latency-ns = <256000>; | ||
+ opp-microvolt = <1100000>; | ||
+ }; | ||
+ opp-716000000 { | ||
+ opp-hz = /bits/ 64 <716000000>; | ||
+ clock-latency-ns = <256000>; | ||
+ opp-microvolt = <1100000>; | ||
+ }; | ||
+ }; | ||
+ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ Signed-off-by: John Crispin <[email protected]> | |
|
||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -262,7 +262,7 @@ | ||
@@ -266,7 +266,7 @@ | ||
|
||
saw0: regulator@b089000 { | ||
compatible = "qcom,saw2"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ Signed-off-by: John Crispin <[email protected]> | |
}; | ||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -410,5 +410,79 @@ | ||
@@ -414,5 +414,79 @@ | ||
"legacy"; | ||
status = "disabled"; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
}; | ||
|
||
cpus { | ||
@@ -132,6 +134,12 @@ | ||
@@ -136,6 +138,12 @@ | ||
}; | ||
}; | ||
|
||
|
@@ -54,7 +54,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
timer { | ||
compatible = "arm,armv7-timer"; | ||
interrupts = <1 2 0xf08>, | ||
@@ -177,13 +185,13 @@ | ||
@@ -181,13 +189,13 @@ | ||
#gpio-cells = <2>; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
|
@@ -70,7 +70,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
clocks = <&gcc GCC_BLSP1_AHB_CLK>; | ||
clock-names = "bam_clk"; | ||
#dma-cells = <1>; | ||
@@ -191,7 +199,7 @@ | ||
@@ -195,7 +203,7 @@ | ||
status = "disabled"; | ||
}; | ||
|
||
|
@@ -79,7 +79,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
compatible = "qcom,spi-qup-v2.2.1"; | ||
reg = <0x78b5000 0x600>; | ||
interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; | ||
@@ -200,10 +208,26 @@ | ||
@@ -204,10 +212,26 @@ | ||
clock-names = "core", "iface"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
@@ -107,7 +107,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
compatible = "qcom,i2c-qup-v2.2.1"; | ||
reg = <0x78b7000 0x600>; | ||
interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; | ||
@@ -212,14 +236,29 @@ | ||
@@ -216,14 +240,29 @@ | ||
clock-names = "iface", "core"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
@@ -138,7 +138,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
clocks = <&gcc GCC_CRYPTO_AHB_CLK>; | ||
clock-names = "bam_clk"; | ||
#dma-cells = <1>; | ||
@@ -293,7 +332,7 @@ | ||
@@ -297,7 +336,7 @@ | ||
serial@78af000 { | ||
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; | ||
reg = <0x78af000 0x200>; | ||
|
@@ -147,7 +147,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
status = "disabled"; | ||
clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, | ||
<&gcc GCC_BLSP1_AHB_CLK>; | ||
@@ -305,7 +344,7 @@ | ||
@@ -309,7 +348,7 @@ | ||
serial@78b0000 { | ||
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; | ||
reg = <0x78b0000 0x200>; | ||
|
@@ -156,7 +156,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
status = "disabled"; | ||
clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, | ||
<&gcc GCC_BLSP1_AHB_CLK>; | ||
@@ -327,6 +366,101 @@ | ||
@@ -331,6 +370,101 @@ | ||
reg = <0x4ab000 0x4>; | ||
}; | ||
|
||
|
@@ -258,7 +258,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
wifi0: wifi@a000000 { | ||
compatible = "qcom,ipq4019-wifi"; | ||
reg = <0xa000000 0x200000>; | ||
@@ -360,7 +494,7 @@ | ||
@@ -364,7 +498,7 @@ | ||
<GIC_SPI 45 IRQ_TYPE_EDGE_RISING>, | ||
<GIC_SPI 46 IRQ_TYPE_EDGE_RISING>, | ||
<GIC_SPI 47 IRQ_TYPE_EDGE_RISING>, | ||
|
@@ -267,7 +267,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
interrupt-names = "msi0", "msi1", "msi2", "msi3", | ||
"msi4", "msi5", "msi6", "msi7", | ||
"msi8", "msi9", "msi10", "msi11", | ||
@@ -402,7 +536,7 @@ | ||
@@ -406,7 +540,7 @@ | ||
<GIC_SPI 61 IRQ_TYPE_EDGE_RISING>, | ||
<GIC_SPI 62 IRQ_TYPE_EDGE_RISING>, | ||
<GIC_SPI 63 IRQ_TYPE_EDGE_RISING>, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ Signed-off-by: Mathias Kresin <[email protected]> | |
|
||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -381,7 +381,7 @@ | ||
@@ -385,7 +385,7 @@ | ||
#size-cells = <2>; | ||
|
||
ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
status = "ok"; | ||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -346,7 +346,7 @@ | ||
@@ -350,7 +350,7 @@ | ||
regulator; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ Signed-off-by: Christian Lamparter <[email protected]> | |
|
||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -397,8 +397,8 @@ | ||
@@ -401,8 +401,8 @@ | ||
#address-cells = <3>; | ||
#size-cells = <2>; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ Reviewed-by: Bjorn Andersson <[email protected]> | |
|
||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -400,7 +400,7 @@ | ||
@@ -404,7 +404,7 @@ | ||
ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000>, | ||
<0x82000000 0 0x40300000 0x40300000 0 0x00d00000>; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ Signed-off-by: Christian Lamparter <[email protected]> | |
|
||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -590,6 +590,29 @@ | ||
@@ -594,6 +594,29 @@ | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ Signed-off-by: Christian Lamparter <[email protected]> | |
}; | ||
|
||
cpus { | ||
@@ -613,6 +615,64 @@ | ||
@@ -617,6 +619,64 @@ | ||
status = "disabled"; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ Signed-off-by: Matthew McClintock <[email protected]> | |
Signed-off-by: John Crispin <[email protected]> | ||
Signed-off-by: Andy Gross <[email protected]> | ||
--- | ||
arch/arm/boot/dts/qcom-ipq4019.dtsi | 54 ++++++++++++++--------------- | ||
1 file changed, 26 insertions(+), 28 deletions(-) | ||
arch/arm/boot/dts/qcom-ipq4019.dtsi | 58 ++++++++++++++--------------- | ||
1 file changed, 30 insertions(+), 28 deletions(-) | ||
|
||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
|
@@ -79,7 +79,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
}; | ||
|
||
L2: l2-cache { | ||
@@ -136,6 +112,28 @@ | ||
@@ -136,6 +112,32 @@ | ||
}; | ||
}; | ||
|
||
|
@@ -89,18 +89,22 @@ Signed-off-by: Andy Gross <[email protected]> | |
+ | ||
+ opp-48000000 { | ||
+ opp-hz = /bits/ 64 <48000000>; | ||
+ opp-microvolt = <1100000>; | ||
+ clock-latency-ns = <256000>; | ||
+ }; | ||
+ opp-200000000 { | ||
+ opp-hz = /bits/ 64 <200000000>; | ||
+ opp-microvolt = <1100000>; | ||
+ clock-latency-ns = <256000>; | ||
+ }; | ||
+ opp-500000000 { | ||
+ opp-hz = /bits/ 64 <500000000>; | ||
+ opp-microvolt = <1100000>; | ||
+ clock-latency-ns = <256000>; | ||
+ }; | ||
+ opp-716000000 { | ||
+ opp-hz = /bits/ 64 <716000000>; | ||
+ opp-microvolt = <1100000>; | ||
+ clock-latency-ns = <256000>; | ||
+ }; | ||
+ }; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
|
||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -321,7 +321,7 @@ | ||
@@ -325,7 +325,7 @@ | ||
|
||
saw0: regulator@b089000 { | ||
compatible = "qcom,saw2"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ Signed-off-by: John Crispin <[email protected]> | |
}; | ||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -564,5 +564,79 @@ | ||
@@ -568,5 +568,79 @@ | ||
"legacy"; | ||
status = "disabled"; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ Signed-off-by: Andy Gross <[email protected]> | |
|
||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -401,7 +401,7 @@ | ||
@@ -405,7 +405,7 @@ | ||
#size-cells = <2>; | ||
|
||
ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ Signed-off-by: Christian Lamparter <[email protected]> | |
|
||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -401,8 +401,8 @@ | ||
@@ -405,8 +405,8 @@ | ||
#address-cells = <3>; | ||
#size-cells = <2>; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ Reviewed-by: Bjorn Andersson <[email protected]> | |
|
||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -404,7 +404,7 @@ | ||
@@ -408,7 +408,7 @@ | ||
ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000>, | ||
<0x82000000 0 0x40300000 0x40300000 0 0x00d00000>; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ Signed-off-by: Christian Lamparter <[email protected]> | |
|
||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | ||
@@ -594,6 +594,29 @@ | ||
@@ -598,6 +598,29 @@ | ||
}; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ Signed-off-by: Christian Lamparter <[email protected]> | |
}; | ||
|
||
cpus { | ||
@@ -617,6 +619,64 @@ | ||
@@ -621,6 +623,64 @@ | ||
status = "disabled"; | ||
}; | ||
|
||
|