Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1617067
| Path | csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Quentin Schulz <quentin.schulz@free-electrons.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 8/8] ARM: sun8i: sina33: add highest OPP of CPUs |
| Date | Wed, 05 Apr 2017 17:40:02 +0200 |
| Message-ID | <tsSet-2yB-5@gated-at.bofh.it> (permalink) |
| References | <tsPgB-IY-7@gated-at.bofh.it> |
| X-Mailer | git-send-email 2.9.3 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 44 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Quentin Schulz <quentin.schulz@free-electrons.com>, thomas.petazzoni@free-electrons.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-sunxi@googlegroups.com, icenowy@aosc.xyz |
| X-Original-Date | Wed, 5 Apr 2017 11:06:34 +0200 |
| X-Original-Message-ID | <20170405090634.4649-9-quentin.schulz@free-electrons.com> |
| X-Original-References | <20170405090634.4649-1-quentin.schulz@free-electrons.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1617067 |
Show key headers only | View raw
The A33 supports 1.1GHz and 1.2GHz frequencies at 1.32V and the Sinlinx
SinA33 has its cpu-supply property set in the cpu DT node.
Therefore, CPUfreq knows how to handle the regulator in charge of the
CPU and can adjust its voltage to match the OPP.
Add these two CPU frequencies to the CPU OPP table of the Sinlinx
SinA33.
Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
---
added in v3
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts b/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
index e34e092..9b620cc 100644
--- a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
+++ b/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
@@ -87,6 +87,20 @@
cpu-supply = <®_dcdc3>;
};
+&cpu0_opp_table {
+ opp@1104000000 {
+ opp-hz = /bits/ 64 <1104000000>;
+ opp-microvolt = <1320000>;
+ clock-latency-ns = <244144>; /* 8 32k periods */
+ };
+
+ opp@1200000000 {
+ opp-hz = /bits/ 64 <1200000000>;
+ opp-microvolt = <1320000>;
+ clock-latency-ns = <244144>; /* 8 32k periods */
+ };
+};
+
&de {
status = "okay";
};
--
2.9.3
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v4 0/8] add thermal throttling to Allwinner A33 SoC Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 11:50 +0200
[PATCH v4 1/8] dt-bindings: mfd: add A33 GPADC binding Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 12:10 +0200
Re: [PATCH v4 1/8] dt-bindings: mfd: add A33 GPADC binding Lee Jones <lee.jones@linaro.org> - 2017-04-05 14:20 +0200
[PATCH v4 2/8] dt-bindings: input: touschcreen: remove sun4i documentation Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 12:40 +0200
Re: [PATCH v4 2/8] dt-bindings: input: touschcreen: remove sun4i documentation Lee Jones <lee.jones@linaro.org> - 2017-04-05 17:00 +0200
[PATCH v4 3/8] iio: adc: sun4i-gpadc-iio: move code used in MFD probing to new function Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 13:00 +0200
Re: [PATCH v4 3/8] iio: adc: sun4i-gpadc-iio: move code used in MFD probing to new function Jonathan Cameron <jic23@kernel.org> - 2017-04-08 19:30 +0200
[PATCH v4 4/8] iio: adc: sun4i-gpadc-iio: add support for A33 thermal sensor Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 13:20 +0200
Re: [PATCH v4 4/8] iio: adc: sun4i-gpadc-iio: add support for A33 thermal sensor Jonathan Cameron <jic23@kernel.org> - 2017-04-08 18:50 +0200
[PATCH v4 5/8] ARM: sun8i: a33: add thermal sensor Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 14:00 +0200
Re: [PATCH v4 5/8] ARM: sun8i: a33: add thermal sensor Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-04-05 14:20 +0200
Re: [PATCH v4 8/8] ARM: sun8i: sina33: add highest OPP of CPUs Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-04-05 14:30 +0200
Re: [PATCH v4 6/8] ARM: sun8i: a33: add CPU thermal throttling Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-04-05 15:50 +0200
[PATCH v4 6/8] ARM: sun8i: a33: add CPU thermal throttling Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 17:20 +0200
[PATCH v4 8/8] ARM: sun8i: sina33: add highest OPP of CPUs Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-04-05 17:40 +0200
csiph-web