* [PATCH v3] arm64: dts: meson: S922X: extend cpu opp-points
@ 2020-04-22 23:39 Tim Lewis
2020-04-23 7:40 ` Neil Armstrong
0 siblings, 1 reply; 3+ messages in thread
From: Tim Lewis @ 2020-04-22 23:39 UTC (permalink / raw)
To: elatllat
Cc: narmstrong, khilman, christianshewitt, joy.cho, tobetter,
linux-amlogic, linux-kernel, linux-arm-kernel, devicetree,
mark.rutland, robh+dt
HardKernel supports overclock through the addition to extra opp points
in their official kernel sources for odroid-n2 [1]. Christian tested
on other S922X devices with "no obvious issues". Neil thinks dvfs and
thermal managementis can keep other S922X devices safe.
[1] https://github.com/hardkernel/linux/commit/f86cd9487c7483b2a05f448b9ebacf6bd5a2ad2f
Tested-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Tim Lewis <elatllat@gmail.com>
---
arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 15 +++++++++++++++
1 files changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi
index 046cc332d..1e5d0ee5d 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi
@@ -65,6 +65,11 @@
opp-hz = /bits/ 64 <1896000000>;
opp-microvolt = <981000>;
};
+
+ opp-1992000000 {
+ opp-hz = /bits/ 64 <1992000000>;
+ opp-microvolt = <1001000>;
+ };
};
cpub_opp_table_1: opp-table-1 {
@@ -120,5 +125,15 @@
opp-hz = /bits/ 64 <1704000000>;
opp-microvolt = <891000>;
};
+
+ opp-1800000000 {
+ opp-hz = /bits/ 64 <1800000000>;
+ opp-microvolt = <981000>;
+ };
+
+ opp-1908000000 {
+ opp-hz = /bits/ 64 <1908000000>;
+ opp-microvolt = <1022000>;
+ };
};
};
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v3] arm64: dts: meson: S922X: extend cpu opp-points
2020-04-22 23:39 [PATCH v3] arm64: dts: meson: S922X: extend cpu opp-points Tim Lewis
@ 2020-04-23 7:40 ` Neil Armstrong
2020-04-26 16:18 ` Tim Lewis
0 siblings, 1 reply; 3+ messages in thread
From: Neil Armstrong @ 2020-04-23 7:40 UTC (permalink / raw)
To: Tim Lewis
Cc: khilman, christianshewitt, joy.cho, tobetter, linux-amlogic,
linux-kernel, linux-arm-kernel, devicetree, mark.rutland,
robh+dt
On 23/04/2020 01:39, Tim Lewis wrote:
> HardKernel supports overclock through the addition to extra opp points
> in their official kernel sources for odroid-n2 [1]. Christian tested
> on other S922X devices with "no obvious issues". Neil thinks dvfs and
> thermal managementis can keep other S922X devices safe.
--------------/\
management
>
> [1] https://github.com/hardkernel/linux/commit/f86cd9487c7483b2a05f448b9ebacf6bd5a2ad2f
> Tested-by: Christian Hewitt <christianshewitt@gmail.com>
> Signed-off-by: Tim Lewis <elatllat@gmail.com>
>
> ---
> arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 15 +++++++++++++++
> 1 files changed, 15 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi
> index 046cc332d..1e5d0ee5d 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi
> @@ -65,6 +65,11 @@
> opp-hz = /bits/ 64 <1896000000>;
> opp-microvolt = <981000>;
> };
> +
> + opp-1992000000 {
> + opp-hz = /bits/ 64 <1992000000>;
> + opp-microvolt = <1001000>;
> + };
> };
>
> cpub_opp_table_1: opp-table-1 {
> @@ -120,5 +125,15 @@
> opp-hz = /bits/ 64 <1704000000>;
> opp-microvolt = <891000>;
> };
> +
> + opp-1800000000 {
> + opp-hz = /bits/ 64 <1800000000>;
> + opp-microvolt = <981000>;
> + };
> +
> + opp-1908000000 {
> + opp-hz = /bits/ 64 <1908000000>;
> + opp-microvolt = <1022000>;
> + };
> };
> };
>
The patch is well formed but I can only test on Odroid-N2.
Anyway, Christian did a test other S922X boxes and it doesn't crash.
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Neil
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3] arm64: dts: meson: S922X: extend cpu opp-points
2020-04-23 7:40 ` Neil Armstrong
@ 2020-04-26 16:18 ` Tim Lewis
0 siblings, 0 replies; 3+ messages in thread
From: Tim Lewis @ 2020-04-26 16:18 UTC (permalink / raw)
To: Neil Armstrong
Cc: khilman, Christian Hewitt, joy.cho, tobetter, linux-amlogic,
linux-kernel, linux-arm-kernel, devicetree, mark.rutland,
robh+dt
Oops, will fix in v4.
On Thu, Apr 23, 2020 at 3:40 AM Neil Armstrong <narmstrong@baylibre.com> wrote:
>
> On 23/04/2020 01:39, Tim Lewis wrote:
> > HardKernel supports overclock through the addition to extra opp points
> > in their official kernel sources for odroid-n2 [1]. Christian tested
> > on other S922X devices with "no obvious issues". Neil thinks dvfs and
> > thermal managementis can keep other S922X devices safe.
> --------------/\
> management
>
> >
> > [1] https://github.com/hardkernel/linux/commit/f86cd9487c7483b2a05f448b9ebacf6bd5a2ad2f
> > Tested-by: Christian Hewitt <christianshewitt@gmail.com>
> > Signed-off-by: Tim Lewis <elatllat@gmail.com>
> >
> > ---
> > arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 15 +++++++++++++++
> > 1 files changed, 15 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi
> > index 046cc332d..1e5d0ee5d 100644
> > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi
> > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi
> > @@ -65,6 +65,11 @@
> > opp-hz = /bits/ 64 <1896000000>;
> > opp-microvolt = <981000>;
> > };
> > +
> > + opp-1992000000 {
> > + opp-hz = /bits/ 64 <1992000000>;
> > + opp-microvolt = <1001000>;
> > + };
> > };
> >
> > cpub_opp_table_1: opp-table-1 {
> > @@ -120,5 +125,15 @@
> > opp-hz = /bits/ 64 <1704000000>;
> > opp-microvolt = <891000>;
> > };
> > +
> > + opp-1800000000 {
> > + opp-hz = /bits/ 64 <1800000000>;
> > + opp-microvolt = <981000>;
> > + };
> > +
> > + opp-1908000000 {
> > + opp-hz = /bits/ 64 <1908000000>;
> > + opp-microvolt = <1022000>;
> > + };
> > };
> > };
> >
>
> The patch is well formed but I can only test on Odroid-N2.
>
> Anyway, Christian did a test other S922X boxes and it doesn't crash.
>
> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
>
> Neil
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-26 16:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22 23:39 [PATCH v3] arm64: dts: meson: S922X: extend cpu opp-points Tim Lewis
2020-04-23 7:40 ` Neil Armstrong
2020-04-26 16:18 ` Tim Lewis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).